rocktumbler 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/rocktumbler/gem.rb +3 -0
- data/lib/rocktumbler/option.rb +4 -4
- data/lib/rocktumbler/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e41a7d8a70ac7e1f73ed22c11ddd2e5464ff8fa
|
|
4
|
+
data.tar.gz: f4b2bfe7fed3b08b595f08b2e38ddd01c62c51dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02343ca99512bb34ec1dc9259544cb98611c6e88d71fb83f0b9e8876eac9f51f207a8141d2a09ab354a69a959ee2d56cff93439427852c4c1ea787b0af941468
|
|
7
|
+
data.tar.gz: 6162060270912554af21aefd281a6015befedb3da5b6f3235c294cf0648a1f923929f83e1b8e6b9107e07614687367ede15ced9b54936f9985341e996926830d
|
data/README.md
CHANGED
|
@@ -64,7 +64,7 @@ Specific options:
|
|
|
64
64
|
-i, --info Display gem info comment.
|
|
65
65
|
-d, --homepage Display gem homepage comment.
|
|
66
66
|
-s, --skip-write Skip writing of Gemfile
|
|
67
|
-
-
|
|
67
|
+
-V, --verbose Display formatted output to STDOUT
|
|
68
68
|
|
|
69
69
|
Common options:
|
|
70
70
|
-h, --help Show this message
|
data/lib/rocktumbler/gem.rb
CHANGED
|
@@ -52,6 +52,9 @@ module Rocktumbler
|
|
|
52
52
|
def format_source
|
|
53
53
|
return '' unless @gem_dep.source
|
|
54
54
|
source_options = @gem_dep.source.options
|
|
55
|
+
if source_options['remotes']
|
|
56
|
+
return ", source: '#{source_options['remotes'].first}'"
|
|
57
|
+
end
|
|
55
58
|
%w(git github git_source source path gist bitbucket).each do |source_type|
|
|
56
59
|
next unless source_options[source_type]
|
|
57
60
|
return ", #{source_type}: '#{source_options[source_type]}'"
|
data/lib/rocktumbler/option.rb
CHANGED
|
@@ -21,19 +21,19 @@ module Rocktumbler
|
|
|
21
21
|
opts.separator ""
|
|
22
22
|
opts.separator "Specific options:"
|
|
23
23
|
|
|
24
|
-
opts.on("-i", "--info", "Display gem info comment.") do
|
|
24
|
+
opts.on("-i", "--info", "Display gem info comment.") do
|
|
25
25
|
options.gem_info = true
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
-
opts.on("-d", "--homepage", "Display gem homepage comment.") do
|
|
28
|
+
opts.on("-d", "--homepage", "Display gem homepage comment.") do
|
|
29
29
|
options.gem_homepage = true
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
opts.on("-s", "--skip-write", "Skip writing of Gemfile") do
|
|
32
|
+
opts.on("-s", "--skip-write", "Skip writing of Gemfile") do
|
|
33
33
|
options.skip_write = true
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
opts.on("-
|
|
36
|
+
opts.on("-V", "--verbose", "Display formatted output to STDOUT") do
|
|
37
37
|
options.verbose = true
|
|
38
38
|
end
|
|
39
39
|
|
data/lib/rocktumbler/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rocktumbler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon Reed
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-03-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
136
136
|
version: '0'
|
|
137
137
|
requirements: []
|
|
138
138
|
rubyforge_project:
|
|
139
|
-
rubygems_version: 2.4.
|
|
139
|
+
rubygems_version: 2.4.2
|
|
140
140
|
signing_key:
|
|
141
141
|
specification_version: 4
|
|
142
142
|
summary: Polish your Gemfile to make sure it remains consistent.
|