dryrun 0.5.5 → 0.5.6

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
  SHA1:
3
- metadata.gz: f1d4284e0f1d5f27c29fa31ad2b89103b266d810
4
- data.tar.gz: d84749b737725187e476a3a518a1829a881d0127
3
+ metadata.gz: dc5f1d32dd2a7d259ad043ecde9a25fc5f0b7146
4
+ data.tar.gz: 3384737896f649bc8619ad52e82da91b13fc2069
5
5
  SHA512:
6
- metadata.gz: 9dfb52ae515f7d72968df2f02b8ac7f4f412b0c59996633a6d803558b345f3f993ad064356369d6ba21eddf904bcb7e9fd446180b6906cce999a7d189177354c
7
- data.tar.gz: 8177d368ee74ed2f80584201dab5c3e0df19f3af26d79cd0c7bb417a726d7436b7fd859904b2f64a96c310e2751a0fb3eb069f5207209cf3f07e45172e47e6c4
6
+ metadata.gz: d4ff45ec0e483640a4b9994575608b970e129e393f81daadd9542c312e80ca3e7797d6ccf16d5bcbbdf76f6adafa10c2d8319298d088957fbe9a52fd5e898cd1
7
+ data.tar.gz: a192021cf82eb0670b42a99e50ebca1e55850b7a047ad985f3ca69abef137d5a8e9ac43d570434476b0b62334d571fa0361a3e440f6207169938de079cf35266
data/lib/dryrun.rb CHANGED
@@ -17,13 +17,9 @@ module DryRun
17
17
  @custom_module = nil
18
18
  @flavour = ''
19
19
 
20
- unless @url
21
- puts @opt_parser.help
22
- exit
23
- end
24
-
20
+ # Parse Options
21
+ arguments.push "-h" unless @url
25
22
  create_options_parser(arguments)
26
-
27
23
  end
28
24
 
29
25
  def create_options_parser(args)
@@ -38,7 +34,6 @@ module DryRun
38
34
 
39
35
  opts.on('-f', '--flavour FLAVOUR', 'Specifies the flavour (e.g. dev, qa, prod)') do |flavour|
40
36
  @flavour = flavour.capitalize
41
- puts "im on the flavour: #{@flavour}"
42
37
  end
43
38
 
44
39
  opts.on('-p PATH', '--path PATH', 'Custom path to android project') do |app_path|
@@ -54,6 +49,7 @@ module DryRun
54
49
  puts DryRun::VERSION
55
50
  exit
56
51
  end
52
+
57
53
  opts.parse!
58
54
 
59
55
  end
@@ -1,3 +1,3 @@
1
1
  module DryRun
2
- VERSION = '0.5.5'
2
+ VERSION = '0.5.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dryrun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - cesar ferreira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-09 00:00:00.000000000 Z
11
+ date: 2016-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake