running 0.0.2 → 0.0.3
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/running.rb +6 -2
- data/running.gemspec +2 -2
- metadata +5 -16
data/lib/running.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Running
|
|
|
4
4
|
|
|
5
5
|
class << self
|
|
6
6
|
def ruby?
|
|
7
|
-
!mswin? && (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby" || RUBY_ENGINE == "rbx")
|
|
7
|
+
!mswin? && (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby" || RUBY_ENGINE == "rbx" || RUBY_ENGINE == "maglev")
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
def ruby_18?
|
|
@@ -31,6 +31,10 @@ module Running
|
|
|
31
31
|
ruby? && !defined?(RUBY_ENGINE).nil? && RUBY_ENGINE == "rbx"
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
+
def maglev?
|
|
35
|
+
ruby? && !defined?(RUBY_ENGINE).nil? && RUBY_ENGINE == "maglev"
|
|
36
|
+
end
|
|
37
|
+
|
|
34
38
|
def jruby?
|
|
35
39
|
!defined?(RUBY_ENGINE).nil? && RUBY_ENGINE == "jruby"
|
|
36
40
|
end
|
|
@@ -55,4 +59,4 @@ module Running
|
|
|
55
59
|
true
|
|
56
60
|
end
|
|
57
61
|
end
|
|
58
|
-
end
|
|
62
|
+
end
|
data/running.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'running'
|
|
3
|
-
s.version = '0.0.
|
|
3
|
+
s.version = '0.0.3'
|
|
4
4
|
s.authors = ['Kyle Drake']
|
|
5
5
|
s.email = ['kyledrake@gmail.com']
|
|
6
6
|
s.homepage = 'http://github.com/kyledrake/running'
|
|
@@ -11,4 +11,4 @@ Gem::Specification.new do |s|
|
|
|
11
11
|
s.require_paths = %w[lib]
|
|
12
12
|
s.rubyforge_project = s.name
|
|
13
13
|
s.required_rubygems_version = '>= 1.3.4'
|
|
14
|
-
end
|
|
14
|
+
end
|
metadata
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: running
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: 27
|
|
5
4
|
prerelease:
|
|
6
|
-
|
|
7
|
-
- 0
|
|
8
|
-
- 0
|
|
9
|
-
- 2
|
|
10
|
-
version: 0.0.2
|
|
5
|
+
version: 0.0.3
|
|
11
6
|
platform: ruby
|
|
12
7
|
authors:
|
|
13
8
|
- Kyle Drake
|
|
@@ -15,7 +10,8 @@ autorequire:
|
|
|
15
10
|
bindir: bin
|
|
16
11
|
cert_chain: []
|
|
17
12
|
|
|
18
|
-
date: 2011-08-02 00:00:00
|
|
13
|
+
date: 2011-08-02 00:00:00 -07:00
|
|
14
|
+
default_executable:
|
|
19
15
|
dependencies: []
|
|
20
16
|
|
|
21
17
|
description: Helpers for finding out which version of Ruby (MRI 1.8, MRI 1.9, Rubinius, etc) you are using. Use cases include testing with code features only available on certain platforms.
|
|
@@ -32,6 +28,7 @@ files:
|
|
|
32
28
|
- README.markdown
|
|
33
29
|
- lib/running.rb
|
|
34
30
|
- running.gemspec
|
|
31
|
+
has_rdoc: true
|
|
35
32
|
homepage: http://github.com/kyledrake/running
|
|
36
33
|
licenses: []
|
|
37
34
|
|
|
@@ -45,25 +42,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
45
42
|
requirements:
|
|
46
43
|
- - ">="
|
|
47
44
|
- !ruby/object:Gem::Version
|
|
48
|
-
hash: 3
|
|
49
|
-
segments:
|
|
50
|
-
- 0
|
|
51
45
|
version: "0"
|
|
52
46
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
47
|
none: false
|
|
54
48
|
requirements:
|
|
55
49
|
- - ">="
|
|
56
50
|
- !ruby/object:Gem::Version
|
|
57
|
-
hash: 19
|
|
58
|
-
segments:
|
|
59
|
-
- 1
|
|
60
|
-
- 3
|
|
61
|
-
- 4
|
|
62
51
|
version: 1.3.4
|
|
63
52
|
requirements: []
|
|
64
53
|
|
|
65
54
|
rubyforge_project: running
|
|
66
|
-
rubygems_version: 1.
|
|
55
|
+
rubygems_version: 1.5.2
|
|
67
56
|
signing_key:
|
|
68
57
|
specification_version: 3
|
|
69
58
|
summary: Helpers for finding out which version of Ruby (MRI 1.8, MRI 1.9, Rubinius, etc) you are using.
|