about_page 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,12 +23,18 @@ module AboutPage
23
23
  end
24
24
 
25
25
  def spec_list
26
+ ruby_ver = "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
26
27
  required = environment.current_dependencies.inject({}) { |h,d| h[d.name] = d.groups; h }
27
- list = environment.specs.sort { |a,b| a.name <=> b.name }.collect { |s| [
28
+ list = [[
29
+ RUBY_ENGINE,
30
+ Module.const_defined?(:JRUBY_VERSION) ? "#{JRUBY_VERSION}r#{JRUBY_REVISION} (#{ruby_ver})" : ruby_ver,
31
+ 'system'
32
+ ]] + environment.specs.sort { |a,b| a.name <=> b.name }.collect { |s| [
28
33
  s.name,
29
34
  [s.version.to_s, s.git_version.to_s].join,
30
35
  required[s.name]
31
36
  ]}
37
+ list
32
38
  end
33
39
 
34
40
  private
@@ -1,3 +1,3 @@
1
1
  module AboutPage
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
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
4
+ version: 0.2.5
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-07 00:00:00.000000000 Z
13
+ date: 2013-08-09 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: -2237397871698380263
191
+ hash: 475776485710502643
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: -2237397871698380263
200
+ hash: 475776485710502643
201
201
  requirements: []
202
202
  rubyforge_project:
203
203
  rubygems_version: 1.8.23