ruby-version 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +3 -3
- data/VERSION +1 -1
- data/lib/ruby-version.rb +1 -2
- data/ruby-version.gemspec +10 -10
- metadata +48 -54
data/Gemfile.lock
CHANGED
@@ -2,15 +2,15 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
git (1.2.5)
|
5
|
-
hash-utils (0.
|
6
|
-
jeweler (1.6.
|
5
|
+
hash-utils (0.19.0)
|
6
|
+
jeweler (1.6.4)
|
7
7
|
bundler (~> 1.0)
|
8
8
|
git (>= 1.2.5)
|
9
9
|
rake
|
10
10
|
rake (0.9.2)
|
11
11
|
riot (0.12.4)
|
12
12
|
rr
|
13
|
-
rr (1.0.
|
13
|
+
rr (1.0.4)
|
14
14
|
|
15
15
|
PLATFORMS
|
16
16
|
ruby
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/lib/ruby-version.rb
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
require "hash-utils/numeric" # >= 0.16.0
|
5
5
|
require "hash-utils/object" # >= 0.17.0
|
6
|
-
require "lookup-hash"
|
7
6
|
|
8
7
|
##
|
9
8
|
# Outer wrapper for the {Ruby::Version} module.
|
@@ -23,7 +22,7 @@ module Ruby
|
|
23
22
|
# It's content is equal to the +RUBY_VERSION+ constant.
|
24
23
|
#
|
25
24
|
|
26
|
-
VERSION = RUBY_VERSION.freeze
|
25
|
+
VERSION = RUBY_VERSION.dup.freeze
|
27
26
|
|
28
27
|
##
|
29
28
|
# Holds comparign cache.
|
data/ruby-version.gemspec
CHANGED
@@ -4,13 +4,13 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.2.
|
7
|
+
s.name = "ruby-version"
|
8
|
+
s.version = "0.2.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date =
|
13
|
-
s.email =
|
11
|
+
s.authors = ["Martin Koz\u{e1}k"]
|
12
|
+
s.date = "2011-09-08"
|
13
|
+
s.email = "martinkozak@martinkozak.net"
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE.txt",
|
16
16
|
"README.md"
|
@@ -27,11 +27,11 @@ Gem::Specification.new do |s|
|
|
27
27
|
"ruby-version.gemspec",
|
28
28
|
"test"
|
29
29
|
]
|
30
|
-
s.homepage =
|
31
|
-
s.licenses = [
|
32
|
-
s.require_paths = [
|
33
|
-
s.rubygems_version =
|
34
|
-
s.summary =
|
30
|
+
s.homepage = "http://github.com/martinkozak/ruby-version"
|
31
|
+
s.licenses = ["MIT"]
|
32
|
+
s.require_paths = ["lib"]
|
33
|
+
s.rubygems_version = "1.8.10"
|
34
|
+
s.summary = "Wraps the RUBY_VERSION constant and allows version number matching."
|
35
35
|
|
36
36
|
if s.respond_to? :specification_version then
|
37
37
|
s.specification_version = 3
|
metadata
CHANGED
@@ -1,71 +1,68 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-version
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.2
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
-
|
7
|
+
authors:
|
8
|
+
- Martin Kozák
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-09-08 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: hash-utils
|
17
|
-
requirement: &
|
16
|
+
requirement: &15598800 !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
|
-
requirements:
|
20
|
-
- -
|
21
|
-
- !ruby/object:Gem::Version
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
22
21
|
version: 0.17.0
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
version_requirements: *
|
26
|
-
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: *15598800
|
25
|
+
- !ruby/object:Gem::Dependency
|
27
26
|
name: bundler
|
28
|
-
requirement: &
|
27
|
+
requirement: &15597860 !ruby/object:Gem::Requirement
|
29
28
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
33
32
|
version: 1.0.0
|
34
33
|
type: :development
|
35
34
|
prerelease: false
|
36
|
-
version_requirements: *
|
37
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *15597860
|
36
|
+
- !ruby/object:Gem::Dependency
|
38
37
|
name: jeweler
|
39
|
-
requirement: &
|
38
|
+
requirement: &15596440 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
44
43
|
version: 1.5.2
|
45
44
|
type: :development
|
46
45
|
prerelease: false
|
47
|
-
version_requirements: *
|
48
|
-
- !ruby/object:Gem::Dependency
|
46
|
+
version_requirements: *15596440
|
47
|
+
- !ruby/object:Gem::Dependency
|
49
48
|
name: riot
|
50
|
-
requirement: &
|
49
|
+
requirement: &15595620 !ruby/object:Gem::Requirement
|
51
50
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
55
54
|
version: 0.12.3
|
56
55
|
type: :development
|
57
56
|
prerelease: false
|
58
|
-
version_requirements: *
|
57
|
+
version_requirements: *15595620
|
59
58
|
description:
|
60
59
|
email: martinkozak@martinkozak.net
|
61
60
|
executables: []
|
62
|
-
|
63
61
|
extensions: []
|
64
|
-
|
65
|
-
extra_rdoc_files:
|
62
|
+
extra_rdoc_files:
|
66
63
|
- LICENSE.txt
|
67
64
|
- README.md
|
68
|
-
files:
|
65
|
+
files:
|
69
66
|
- .document
|
70
67
|
- Gemfile
|
71
68
|
- Gemfile.lock
|
@@ -77,34 +74,31 @@ files:
|
|
77
74
|
- ruby-version.gemspec
|
78
75
|
- test
|
79
76
|
homepage: http://github.com/martinkozak/ruby-version
|
80
|
-
licenses:
|
77
|
+
licenses:
|
81
78
|
- MIT
|
82
79
|
post_install_message:
|
83
80
|
rdoc_options: []
|
84
|
-
|
85
|
-
require_paths:
|
81
|
+
require_paths:
|
86
82
|
- lib
|
87
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
88
84
|
none: false
|
89
|
-
requirements:
|
90
|
-
- -
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
|
93
|
-
segments:
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
segments:
|
94
90
|
- 0
|
95
|
-
|
96
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
hash: 4342661046758665632
|
92
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
93
|
none: false
|
98
|
-
requirements:
|
99
|
-
- -
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version:
|
94
|
+
requirements:
|
95
|
+
- - ! '>='
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
102
98
|
requirements: []
|
103
|
-
|
104
99
|
rubyforge_project:
|
105
|
-
rubygems_version: 1.8.
|
100
|
+
rubygems_version: 1.8.10
|
106
101
|
signing_key:
|
107
102
|
specification_version: 3
|
108
103
|
summary: Wraps the RUBY_VERSION constant and allows version number matching.
|
109
104
|
test_files: []
|
110
|
-
|