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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f337975091999833b65c1006c8c3fddfe607cdd8
4
- data.tar.gz: 22575d38a75b5ff6e41caa7085ed0e0c4f657364
2
+ SHA256:
3
+ metadata.gz: 2b3046b81b110bebbb85da258c0e72195d5dcf80c0d9109d551a54d67569a83f
4
+ data.tar.gz: dd671ff3279a0fe1820303a59f3a37891cbd127b0ca3feedee8f73fb29c39884
5
5
  SHA512:
6
- metadata.gz: 1fc1f396adef6cc6c7feadf0a4506b0dda7a07e1b8239415e5fdc55e3b493c2bab16a15a4d875d9bf0ae10ca685b1baf0196f5e31d1e074d651de91fdaa4f5c8
7
- data.tar.gz: e15947a112ff63bfb5db232c3fcf1ca66073d0a09f74142b0c89cdfe163a2d74fe303675dab8e8da31cd55d328bd436089893c47d639e810e7daf624a1321f29
6
+ metadata.gz: a7b1f2f6bbd3ee1dfff29eacbc12480346a0aa2fab8fcb5b2a66e1f2403d5f66555a3f3061f95afc9d646ef4e148de4a11ef451f1ce517dec7af54d0e9335d49
7
+ data.tar.gz: 52bc2e8b823c10d94bdf9db6b8dba0c391c128b056a5e14e54a8f919fe60fb7fabd26c91066097f784b75ebcc777ea48c9c79e455985b3a8bc05df25962a78e4
@@ -1,14 +1,17 @@
1
+ sudo: false
1
2
  language: ruby
2
3
 
3
4
  rvm:
4
- #- ruby-head (travis error)
5
- - 2.1.0
6
- - 2.0.0
7
- - 1.9.3
8
- - 1.9.2
9
- - 1.8.7
10
- - ree
11
- - jruby
12
- - jruby-19mode
13
- - jruby-18mode
14
- - rbx
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
@@ -0,0 +1,15 @@
1
+ # Change Log
2
+
3
+ ## 1.0.2 / 2020-01-04
4
+
5
+ * Freeze string literals
6
+
7
+ ## 1.0.1 / 2014-01-15
8
+
9
+ * Fix VERSION constant
10
+ * Add RubyVersion.revision method
11
+
12
+ ## 1.0.0 / 2014-01-14
13
+
14
+ * Moved from zucker 13.1 gem into its own gem
15
+
data/Gemfile CHANGED
@@ -2,8 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- platform :rbx do
6
- gem 'rubysl-date'
7
- gem 'rubysl-singleton'
8
- end
9
-
@@ -1,8 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'date'
2
4
  require 'time'
3
5
 
4
6
  module RubyVersion
5
- VERSION = '1.0.1'
7
+ VERSION = '1.0.2'
6
8
 
7
9
  class << self
8
10
  def to_s
@@ -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 to simplify checking for the right Ruby version in your programs.'
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 = "mail@janlelis.de"
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'
@@ -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.1
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: 2014-01-17 00:00:00.000000000 Z
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 to simplify checking for the right Ruby
84
- version in your programs.
85
- email: mail@janlelis.de
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.rdoc
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
- rubyforge_project:
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.
@@ -1,7 +0,0 @@
1
- === 1.0.1 / 2014-01-15
2
- * Fix VERSION constant
3
- * Add RubyVersion.revision method
4
-
5
- === 1.0.0 / 2014-01-14
6
- * Moved from zucker 13.1 gem into its own gem
7
-