ruby_version 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +14 -11
- data/ChangeLog.md +15 -0
- data/Gemfile +0 -5
- data/lib/ruby_version.rb +3 -1
- data/ruby_version.gemspec +2 -3
- data/spec/ruby_version_spec.rb +1 -1
- metadata +9 -22
- data/ChangeLog.rdoc +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2b3046b81b110bebbb85da258c0e72195d5dcf80c0d9109d551a54d67569a83f
|
4
|
+
data.tar.gz: dd671ff3279a0fe1820303a59f3a37891cbd127b0ca3feedee8f73fb29c39884
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7b1f2f6bbd3ee1dfff29eacbc12480346a0aa2fab8fcb5b2a66e1f2403d5f66555a3f3061f95afc9d646ef4e148de4a11ef451f1ce517dec7af54d0e9335d49
|
7
|
+
data.tar.gz: 52bc2e8b823c10d94bdf9db6b8dba0c391c128b056a5e14e54a8f919fe60fb7fabd26c91066097f784b75ebcc777ea48c9c79e455985b3a8bc05df25962a78e4
|
data/.travis.yml
CHANGED
@@ -1,14 +1,17 @@
|
|
1
|
+
sudo: false
|
1
2
|
language: ruby
|
2
3
|
|
3
4
|
rvm:
|
4
|
-
|
5
|
-
- 2.
|
6
|
-
- 2.
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
-
|
11
|
-
-
|
12
|
-
-
|
13
|
-
-
|
14
|
-
-
|
5
|
+
- 2.7
|
6
|
+
- 2.6
|
7
|
+
- 2.5
|
8
|
+
- 2.4
|
9
|
+
- 2.3
|
10
|
+
- 2.2
|
11
|
+
- 2.1
|
12
|
+
- 2.0
|
13
|
+
- 1.9
|
14
|
+
- ruby-head
|
15
|
+
- jruby-9.2.9.0
|
16
|
+
- jruby-head
|
17
|
+
- truffleruby
|
data/ChangeLog.md
ADDED
data/Gemfile
CHANGED
data/lib/ruby_version.rb
CHANGED
data/ruby_version.gemspec
CHANGED
@@ -6,10 +6,10 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.name = "ruby_version"
|
7
7
|
gem.version = RubyVersion::VERSION
|
8
8
|
gem.summary = 'Adds the RubyVersion pseudo-constant.'
|
9
|
-
gem.description = 'Provides a RubyVersion class
|
9
|
+
gem.description = 'Provides a RubyVersion class which offers a convenient DSL for checking for the right Ruby version'
|
10
10
|
gem.license = "MIT"
|
11
11
|
gem.authors = ["Jan Lelis"]
|
12
|
-
gem.email = "
|
12
|
+
gem.email = ["hi@ruby.consulting"]
|
13
13
|
gem.homepage = "https://github.com/janlelis/ruby_version"
|
14
14
|
|
15
15
|
gem.files = Dir['{**/}{.*,*}'].select { |path| File.file?(path) }
|
@@ -17,7 +17,6 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ['lib']
|
19
19
|
|
20
|
-
gem.add_development_dependency 'bundler', '~> 1.0'
|
21
20
|
gem.add_development_dependency 'rake', '~> 10.1'
|
22
21
|
gem.add_development_dependency 'rdoc', '~> 3.0'
|
23
22
|
gem.add_development_dependency 'rspec', '~> 2.4'
|
data/spec/ruby_version_spec.rb
CHANGED
@@ -35,7 +35,7 @@ describe 'RubyVersion' do
|
|
35
35
|
end
|
36
36
|
|
37
37
|
it 'also allows to check for the release dates' do
|
38
|
-
RubyVersion.is.older_than( Date.today ).should == true
|
38
|
+
RubyVersion.is.older_than( Date.today + 365 ).should == true
|
39
39
|
RubyVersion.is.newer_than( '2000-01-01' ).should == true
|
40
40
|
end
|
41
41
|
end
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_version
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rake
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,9 +66,10 @@ dependencies:
|
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '0.2'
|
83
|
-
description: Provides a RubyVersion class
|
84
|
-
|
85
|
-
email:
|
69
|
+
description: Provides a RubyVersion class which offers a convenient DSL for checking
|
70
|
+
for the right Ruby version
|
71
|
+
email:
|
72
|
+
- hi@ruby.consulting
|
86
73
|
executables: []
|
87
74
|
extensions: []
|
88
75
|
extra_rdoc_files: []
|
@@ -90,7 +77,7 @@ files:
|
|
90
77
|
- ".gitignore"
|
91
78
|
- ".rspec"
|
92
79
|
- ".travis.yml"
|
93
|
-
- ChangeLog.
|
80
|
+
- ChangeLog.md
|
94
81
|
- Gemfile
|
95
82
|
- Gemfile.lock
|
96
83
|
- LICENSE.txt
|
@@ -98,6 +85,7 @@ files:
|
|
98
85
|
- Rakefile
|
99
86
|
- lib/ruby_version.rb
|
100
87
|
- pkg/ruby_version-1.0.0.gem
|
88
|
+
- pkg/ruby_version-1.0.1.gem
|
101
89
|
- ruby_version.gemspec
|
102
90
|
- spec/ruby_version_spec.rb
|
103
91
|
- spec/spec_helper.rb
|
@@ -120,8 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
108
|
- !ruby/object:Gem::Version
|
121
109
|
version: '0'
|
122
110
|
requirements: []
|
123
|
-
|
124
|
-
rubygems_version: 2.2.1
|
111
|
+
rubygems_version: 3.0.6
|
125
112
|
signing_key:
|
126
113
|
specification_version: 4
|
127
114
|
summary: Adds the RubyVersion pseudo-constant.
|