breezer 0.8.1 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '008b785cf79bbaced74f56e07b2ac73b238f8439b4187ed35dd669430148f090'
4
- data.tar.gz: cc20a767fbc28b93326313e9928ceee4a346118c97e275fcfa5a8fbab06367cf
3
+ metadata.gz: 6424e8a10398402701c4f9dc0aab3352aa59496df25c43b856d1e123d37da4ed
4
+ data.tar.gz: 385ff3e95c6c0317ed1bd5176cef91c7aa75b5ef9e11ca189e0cfb8fa8845cc2
5
5
  SHA512:
6
- metadata.gz: e042969ba170596a6b30fc61d58414487abccba29c6afbf345824f3999c0b4311f956884e4c48357378b4e173341a614961da4d7b30ceb3717e52b4eb0d4f8bc
7
- data.tar.gz: 36dbdfba9cca483903f80ec1cb93b987544a421679ef38fa0bc7db8417d527e9154ff4fe4964365fb223a113b7fa69fa2632fafcd2d181c802e7190504045cc9
6
+ metadata.gz: 8b3d91c6e58a1d451aed9bfc520df9dd047fb5274e5d9ef3c5dd05affe1973714a52260124f2cde4f52a70ce7e3b1591862fd0c016b719460d37a439c37cbda4
7
+ data.tar.gz: 72b8d93356851b5751d3306a93e6bc63f74221aedfa12ed1a9288883a01d950433dbfbb7c636d3631dc4c28e90f5bab1bed726f247a47e414d3ef9ca4bf57b2b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- breezer (0.8.1)
4
+ breezer (0.9.0)
5
5
  bundler (> 1.0)
6
6
 
7
7
  GEM
@@ -12,7 +12,7 @@ module Breezer
12
12
  def run!(args)
13
13
  gemfile_file = get_gemfile_file(args)
14
14
 
15
- options = parse_options({ debug: false }.merge(args))
15
+ options = parse_options({ debug: false }, args)
16
16
  lockfile_file = options[:lockfile_file] || "#{gemfile_file}.lock"
17
17
 
18
18
  unless File.file?(gemfile_file)
@@ -35,7 +35,7 @@ module Breezer
35
35
  File.directory?(gemfile_dir) ? File.join(gemfile_dir, 'Gemfile') : gemfile_dir
36
36
  end
37
37
 
38
- def parse_options(options = { debug: false }) # rubocop:todo Metrics/AbcSize
38
+ def parse_options(options = { debug: false }, argv) # rubocop:todo Metrics/AbcSize
39
39
  OptionParser.new do |parser| # rubocop:todo Metrics/BlockLength
40
40
  parser.banner = 'Usage: breezer DIR [options]'
41
41
 
@@ -73,7 +73,7 @@ module Breezer
73
73
  puts Breezer::VERSION
74
74
  exit(0)
75
75
  end
76
- end.parse!
76
+ end.parse!(argv)
77
77
  end
78
78
  end
79
79
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Breezer
4
- VERSION = '0.8.1'
4
+ VERSION = '0.9.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breezer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Aubin