about_page 0.2.5 → 0.2.6
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.
- data/lib/about_page/dependencies.rb +7 -7
- data/lib/about_page/version.rb +1 -1
- metadata +4 -4
@@ -13,24 +13,24 @@ module AboutPage
|
|
13
13
|
h[:implied] ||= []
|
14
14
|
h[:implied] << spec
|
15
15
|
else
|
16
|
-
data[2].each { |g|
|
17
|
-
h[g] ||= []
|
16
|
+
data[2].each { |g|
|
17
|
+
h[g] ||= []
|
18
18
|
h[g] << spec
|
19
19
|
}
|
20
20
|
end
|
21
|
-
h
|
21
|
+
h
|
22
22
|
}
|
23
23
|
end
|
24
24
|
|
25
25
|
def spec_list
|
26
26
|
ruby_ver = "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
|
27
27
|
required = environment.current_dependencies.inject({}) { |h,d| h[d.name] = d.groups; h }
|
28
|
-
list = [[
|
28
|
+
list = [[
|
29
29
|
RUBY_ENGINE,
|
30
30
|
Module.const_defined?(:JRUBY_VERSION) ? "#{JRUBY_VERSION}r#{JRUBY_REVISION} (#{ruby_ver})" : ruby_ver,
|
31
|
-
'system'
|
31
|
+
['system']
|
32
32
|
]] + environment.specs.sort { |a,b| a.name <=> b.name }.collect { |s| [
|
33
|
-
s.name,
|
33
|
+
s.name,
|
34
34
|
[s.version.to_s, s.git_version.to_s].join,
|
35
35
|
required[s.name]
|
36
36
|
]}
|
@@ -57,7 +57,7 @@ module AboutPage
|
|
57
57
|
location = [spec.source.options.values_at('path','uri').compact.first,rev].compact.join('@')
|
58
58
|
[spec.version.to_s,location].compact.join(' ').strip
|
59
59
|
end
|
60
|
-
|
60
|
+
|
61
61
|
def dependency_hash(key, graph=nil, depth=0)
|
62
62
|
graph = Bundler::Graph.new(environment,'/dev/null') if graph.nil?
|
63
63
|
result = { :version => dependency_version(key) }
|
data/lib/about_page/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: about_page
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-08-
|
13
|
+
date: 2013-08-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -188,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
188
188
|
version: '0'
|
189
189
|
segments:
|
190
190
|
- 0
|
191
|
-
hash:
|
191
|
+
hash: 2976567394568683986
|
192
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
193
|
none: false
|
194
194
|
requirements:
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
version: '0'
|
198
198
|
segments:
|
199
199
|
- 0
|
200
|
-
hash:
|
200
|
+
hash: 2976567394568683986
|
201
201
|
requirements: []
|
202
202
|
rubyforge_project:
|
203
203
|
rubygems_version: 1.8.23
|