latest_ruby 3.0.2 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/VERSION +1 -1
  4. data/lib/latest_ruby.rb +5 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44752c31e92e9d96cccc4d874e268b76aa22e4b3dadab60a3fabe47f198021e5
4
- data.tar.gz: 6e9ddbad378f7eeffa9347369c4b273f5247fa393cf01887202bcb7cfc7082b8
3
+ metadata.gz: 78fd30461df8e4b2cb0daffd755f819f9b77258180ba478da683cd9c22cd18d3
4
+ data.tar.gz: 8e2109bb04c3e2b360c8d7c332381baa31c955edba543fd646409cbacc18797d
5
5
  SHA512:
6
- metadata.gz: d4208703d57438d7eff585d1fa79700c46cbdb422538778da4432dfe0eaba1dae0087c15aa61e5b2c30d7018147ff6316e33bb721b04a97061d460d7c60dbb03
7
- data.tar.gz: 7c691b621198ce451e91e7a8a49100c9f6ae5bfc8757e6c3af098d21e4d22303d796bf81f8036143a69f370a47edc5e179f739b4cc96c3f9b305359d00b3711d
6
+ metadata.gz: 37148dc186b474d65c49490aa7b70bb11893f95a4d0db2cf31702eaa029d5b692b5551fca368fdb7fb00694c8e4a99f44fd788609b1c7d7336f8a522d3ff116b
7
+ data.tar.gz: e308d8cab04ec9a41ef382523550ed605e50f9b33e4195185fceb56e897966169b929d1694aab1fcd607b48364d0b6123302dfaa42a93396fc55efde64d36177
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Latest Ruby changelog
2
2
  =====================
3
3
 
4
+ ### v3.1.0 (December 26, 2021)
5
+
6
+ * Added support for Ruby 3.1
7
+ ([#21](https://github.com/kyrylo/latest_ruby/pull/21))
8
+
4
9
  ### v3.0.2 (September 9, 2021)
5
10
 
6
11
  * Fixed support for Rubinius
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.2
1
+ 3.1.0
data/lib/latest_ruby.rb CHANGED
@@ -21,6 +21,10 @@ module Latest
21
21
  File.read(VERSION_FILE).chomp : '(could not find VERSION file)'
22
22
 
23
23
  class << self
24
+ def ruby31
25
+ Ruby.new(MRI.new('3.1', MRIRetriever.new))
26
+ end
27
+
24
28
  def ruby30
25
29
  Ruby.new(MRI.new('3.0', MRIRetriever.new))
26
30
  end
@@ -38,7 +42,7 @@ module Latest
38
42
  end
39
43
 
40
44
  # The latest Ruby version by default.
41
- alias_method :ruby, :ruby30
45
+ alias_method :ruby, :ruby31
42
46
 
43
47
  def ruby24
44
48
  Ruby.new(MRI.new('2.4', 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: 3.0.2
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyrylo Silin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-09 00:00:00.000000000 Z
11
+ date: 2021-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake