ruby-version 0.1.0 → 0.1.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.
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/ruby-version.gemspec +57 -0
- metadata +4 -3
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Ruby Version
|
2
2
|
============
|
3
3
|
|
4
|
-
**ruby-version**
|
5
|
-
|
4
|
+
**ruby-version** wraps the `RUBY_VERSION` constant and allows version
|
5
|
+
number matching. Usage is simple:
|
6
6
|
|
7
7
|
require "ruby-version"
|
8
8
|
|
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
gem.name = "ruby-version"
|
19
19
|
gem.homepage = "http://github.com/martinkozak/ruby-version"
|
20
20
|
gem.license = "MIT"
|
21
|
-
gem.summary = '
|
21
|
+
gem.summary = 'Wraps the RUBY_VERSION constant and allows version number matching.'
|
22
22
|
gem.email = "martinkozak@martinkozak.net"
|
23
23
|
gem.authors = ["Martin Kozák"]
|
24
24
|
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{ruby-version}
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = [%q{Martin Kozák}]
|
12
|
+
s.date = %q{2011-06-23}
|
13
|
+
s.email = %q{martinkozak@martinkozak.net}
|
14
|
+
s.extra_rdoc_files = [
|
15
|
+
"LICENSE.txt",
|
16
|
+
"README.md"
|
17
|
+
]
|
18
|
+
s.files = [
|
19
|
+
".document",
|
20
|
+
"Gemfile",
|
21
|
+
"Gemfile.lock",
|
22
|
+
"LICENSE.txt",
|
23
|
+
"README.md",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/ruby-version.rb",
|
27
|
+
"ruby-version.gemspec",
|
28
|
+
"test"
|
29
|
+
]
|
30
|
+
s.homepage = %q{http://github.com/martinkozak/ruby-version}
|
31
|
+
s.licenses = [%q{MIT}]
|
32
|
+
s.require_paths = [%q{lib}]
|
33
|
+
s.rubygems_version = %q{1.8.5}
|
34
|
+
s.summary = %q{Wraps the RUBY_VERSION constant and allows version number matching.}
|
35
|
+
|
36
|
+
if s.respond_to? :specification_version then
|
37
|
+
s.specification_version = 3
|
38
|
+
|
39
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
40
|
+
s.add_runtime_dependency(%q<hash-utils>, [">= 0.16.0"])
|
41
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
42
|
+
s.add_development_dependency(%q<jeweler>, [">= 1.5.2"])
|
43
|
+
s.add_development_dependency(%q<riot>, [">= 0.12.3"])
|
44
|
+
else
|
45
|
+
s.add_dependency(%q<hash-utils>, [">= 0.16.0"])
|
46
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
47
|
+
s.add_dependency(%q<jeweler>, [">= 1.5.2"])
|
48
|
+
s.add_dependency(%q<riot>, [">= 0.12.3"])
|
49
|
+
end
|
50
|
+
else
|
51
|
+
s.add_dependency(%q<hash-utils>, [">= 0.16.0"])
|
52
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
53
|
+
s.add_dependency(%q<jeweler>, [">= 1.5.2"])
|
54
|
+
s.add_dependency(%q<riot>, [">= 0.12.3"])
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ruby-version
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- "Martin Koz\xC3\xA1k"
|
@@ -74,6 +74,7 @@ files:
|
|
74
74
|
- Rakefile
|
75
75
|
- VERSION
|
76
76
|
- lib/ruby-version.rb
|
77
|
+
- ruby-version.gemspec
|
77
78
|
- test
|
78
79
|
homepage: http://github.com/martinkozak/ruby-version
|
79
80
|
licenses:
|
@@ -88,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
88
89
|
requirements:
|
89
90
|
- - ">="
|
90
91
|
- !ruby/object:Gem::Version
|
91
|
-
hash: -
|
92
|
+
hash: -114962964112072926
|
92
93
|
segments:
|
93
94
|
- 0
|
94
95
|
version: "0"
|
@@ -104,6 +105,6 @@ rubyforge_project:
|
|
104
105
|
rubygems_version: 1.8.5
|
105
106
|
signing_key:
|
106
107
|
specification_version: 3
|
107
|
-
summary:
|
108
|
+
summary: Wraps the RUBY_VERSION constant and allows version number matching.
|
108
109
|
test_files: []
|
109
110
|
|