latest_ruby 0.0.5 → 0.0.6
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/latest_ruby.rb +7 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 047330d8d41d3578f464bbaf8799923d68933d6b
|
|
4
|
+
data.tar.gz: 251688cd4a5f35c3c28efeb70ac9787fd65440c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd987f34ae82ed3eb43dea66eb449863af9a09f7dd9dbef6fcf3d6a3ed5ce95cda51493332466a28b3a49665972dc19cca4fd4e29d60891a51a7287d2402d1cc
|
|
7
|
+
data.tar.gz: 55a982fd7b0c9b194c589ea6caaf8b18c34474f14f854739cd22a7a30806bacd553b36d3350a116da9cdb0d37652c0f3b271c3da21a9c66eef2f37120c3865ca
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.6
|
data/lib/latest_ruby.rb
CHANGED
|
@@ -21,12 +21,16 @@ module Latest
|
|
|
21
21
|
File.read(VERSION_FILE).chomp : '(could not find VERSION file)'
|
|
22
22
|
|
|
23
23
|
class << self
|
|
24
|
-
def
|
|
25
|
-
Ruby.new(MRI.new('2.
|
|
24
|
+
def ruby24
|
|
25
|
+
Ruby.new(MRI.new('2.4', MRIRetriever.new))
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
# The latest Ruby version by default.
|
|
29
|
-
alias_method :ruby, :
|
|
29
|
+
alias_method :ruby, :ruby24
|
|
30
|
+
|
|
31
|
+
def ruby23
|
|
32
|
+
Ruby.new(MRI.new('2.3', MRIRetriever.new))
|
|
33
|
+
end
|
|
30
34
|
|
|
31
35
|
def ruby22
|
|
32
36
|
Ruby.new(MRI.new('2.2', MRIRetriever.new))
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: latest_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kyrylo Silin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-12-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: versionomy
|
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
115
115
|
version: '0'
|
|
116
116
|
requirements: []
|
|
117
117
|
rubyforge_project:
|
|
118
|
-
rubygems_version: 2.5.
|
|
118
|
+
rubygems_version: 2.5.2
|
|
119
119
|
signing_key:
|
|
120
120
|
specification_version: 4
|
|
121
121
|
summary: Answers the question of what the latest Ruby version is
|