Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
update dependencies, including slop to the latest version and hiera-e…
Browse files Browse the repository at this point in the history
…yaml to the latest version to suppress the deprecation notice
  • Loading branch information
danarnold committed Aug 2, 2019
1 parent b193ae0 commit b5b3eb9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

gem 'slop', '~> 3.6'
gem 'slop', '~> 4.7'
gem 'colorize'
gem 'hiera-eyaml'

Expand Down
14 changes: 9 additions & 5 deletions bin/chorizo
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ require 'chorizo'
require 'slop'
require 'colorize'

opts = Slop.parse(help: true) do
banner 'Usage: chorizo [options]'
opts = Slop.parse do |o|
o.banner = 'usage: chorizo [options]'

on :t, :target, 'target host. one of "cloud66" or "heroku"', argument: true
on :e, :environment, 'environment. e.x. "staging"', argument: true
on :a, :app, 'app. (for heroku only)', argument: :optional
o.string '-t', '--target', 'target host. one of "cloud66" or "heroku"'
o.string '-e', '--environment', 'environment. e.x. "staging"'
o.string '-a', '--app', 'app. (for heroku only)'
o.on '-h', '--help' do
puts o
exit
end
end

unless opts[:environment]
Expand Down
9 changes: 4 additions & 5 deletions chorizo.gemspec
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
Gem::Specification.new do |s|
s.name = 'chorizo'
s.version = '0.1.7'
s.date = '2018-02-16'
s.version = '0.2.0'
s.summary = 'Parse and set environment variables on hosting providers'
s.description = 'Parse and set environment variables on hosting providers'
s.authors = ["Daniel Arnold"]
s.email = '[email protected]'
s.files = Dir['lib/*']
s.add_runtime_dependency 'colorize', '0.7.7'
s.add_runtime_dependency 'slop', '~> 3.6'
s.add_runtime_dependency 'hiera-eyaml', '2.1.0'
s.add_runtime_dependency 'colorize', '~> 0.8'
s.add_runtime_dependency 'slop', '~> 4.7'
s.add_runtime_dependency 'hiera-eyaml', '~> 3.0'
s.executables << 'chorizo'
s.homepage = 'http://rubygems.org/gems/chorizo'
s.homepage = 'https://github.com/cacheventures/chorizo'
Expand Down

0 comments on commit b5b3eb9

Please sign in to comment.