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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/breezer/command.rb +3 -3
- data/lib/breezer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6424e8a10398402701c4f9dc0aab3352aa59496df25c43b856d1e123d37da4ed
|
4
|
+
data.tar.gz: 385ff3e95c6c0317ed1bd5176cef91c7aa75b5ef9e11ca189e0cfb8fa8845cc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b3d91c6e58a1d451aed9bfc520df9dd047fb5274e5d9ef3c5dd05affe1973714a52260124f2cde4f52a70ce7e3b1591862fd0c016b719460d37a439c37cbda4
|
7
|
+
data.tar.gz: 72b8d93356851b5751d3306a93e6bc63f74221aedfa12ed1a9288883a01d950433dbfbb7c636d3631dc4c28e90f5bab1bed726f247a47e414d3ef9ca4bf57b2b
|
data/Gemfile.lock
CHANGED
data/lib/breezer/command.rb
CHANGED
@@ -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 }
|
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
|
data/lib/breezer/version.rb
CHANGED