recent_ruby 0.1.2 → 0.1.4

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
2
  SHA256:
3
- metadata.gz: 420fc5f417186abdf6549740b35dd0ec775ce8387525e78aa7e3b42dd02305db
4
- data.tar.gz: bb855b6b71ec3361548693124e6295bb9e1ec5c3abf6dfe81db51316ceb8d05a
3
+ metadata.gz: f406862bfdf432ad65b300ad09aead67fcce753fb0ac929281cbd298ae1cc5f0
4
+ data.tar.gz: 144d50fa711c3389809ee9da144f3ca3d06c18db591eff0186c663b87eb59619
5
5
  SHA512:
6
- metadata.gz: 634b7cf02c0cefeea7388f30f0a1c3e88e18ba8f875d54743567e09509886ff0da1b1ab10c8e857ddca16f848a6220853c250af23ff711794593928535d86fbf
7
- data.tar.gz: bb443e1391e41dbac930ad005f64c1954565d8e79102655665383a1c963601979984430f4b7eefd7f51c3ad16233c031634c5cd78dc39303e2be180a23b5d8b2
6
+ metadata.gz: 97dab02eefdb5857e599fde1f3eed3dcc5ccb5088aca7a4a79952aedcb341b61f11923b4a1c1fcbf7848617849df183a01e4f9e2d642f14d9c44d06451dcb4be
7
+ data.tar.gz: f94ffb9457e24e56f84dcf8abb140c4100343a79b4a854fd82c2caeb40c7b45ccf9b2d0cdcbdb45c4298ae79f1af501ff82ff875938a9b614135c9eeb35b27f5
data/Gemfile.lock CHANGED
@@ -1,19 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- recent_ruby (0.1.1)
4
+ recent_ruby (0.1.4)
5
5
  methadone (~> 1.9.5)
6
6
  parser
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (6.1.3.2)
11
+ activesupport (7.0.4.3)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
15
15
  tzinfo (~> 2.0)
16
- zeitwerk (~> 2.3)
17
16
  aruba (1.1.0)
18
17
  childprocess (>= 2.0, < 5.0)
19
18
  contracts (~> 0.16.0)
@@ -24,7 +23,7 @@ GEM
24
23
  builder (3.2.4)
25
24
  childprocess (4.0.0)
26
25
  coderay (1.1.3)
27
- concurrent-ruby (1.1.8)
26
+ concurrent-ruby (1.2.2)
28
27
  contracts (0.16.1)
29
28
  cucumber (6.0.0)
30
29
  builder (~> 3.2, >= 3.2.4)
@@ -60,7 +59,7 @@ GEM
60
59
  cucumber-messages (~> 15.0, >= 15.0.0)
61
60
  diff-lcs (1.4.4)
62
61
  ffi (1.15.0)
63
- i18n (1.8.10)
62
+ i18n (1.12.0)
64
63
  concurrent-ruby (~> 1.0)
65
64
  methadone (1.9.5)
66
65
  bundler
@@ -69,9 +68,9 @@ GEM
69
68
  mime-types (3.3.1)
70
69
  mime-types-data (~> 3.2015)
71
70
  mime-types-data (3.2021.0225)
72
- minitest (5.14.4)
71
+ minitest (5.18.0)
73
72
  multi_test (0.1.2)
74
- parser (3.0.1.1)
73
+ parser (3.2.1.1)
75
74
  ast (~> 2.4.1)
76
75
  power_assert (2.0.0)
77
76
  protobuf-cucumber (3.10.8)
@@ -82,7 +81,7 @@ GEM
82
81
  pry (0.14.1)
83
82
  coderay (~> 1.1)
84
83
  method_source (~> 1.0)
85
- rake (10.5.0)
84
+ rake (13.0.3)
86
85
  rdoc (6.3.1)
87
86
  rspec-expectations (3.10.1)
88
87
  diff-lcs (>= 1.2.0, < 2.0)
@@ -94,9 +93,8 @@ GEM
94
93
  power_assert
95
94
  thor (1.1.0)
96
95
  thread_safe (0.3.6)
97
- tzinfo (2.0.4)
96
+ tzinfo (2.0.6)
98
97
  concurrent-ruby (~> 1.0)
99
- zeitwerk (2.4.2)
100
98
 
101
99
  PLATFORMS
102
100
  ruby
@@ -105,10 +103,10 @@ DEPENDENCIES
105
103
  aruba
106
104
  bundler (>= 2.1.0)
107
105
  pry
108
- rake (~> 10.0)
106
+ rake (~> 13.0)
109
107
  rdoc
110
108
  recent_ruby!
111
109
  test-unit
112
110
 
113
111
  BUNDLED WITH
114
- 2.1.4
112
+ 2.3.24
data/README.md CHANGED
@@ -6,7 +6,7 @@ This script takes a Ruby version number, compares it to all available Ruby versi
6
6
 
7
7
  Heroku (and other platforms) use the Gemfile to determine which version of Ruby to use. This means, whenever a Ruby vulnerability is found, you need to update your Gemfile in order to be safe. More importantly it means you need to pay close attention to the Ruby security notices. On smaller teams, this is often overlooked.
8
8
 
9
- For gems, you can use Brakeman or Hakiri or Github itself to stay up-to-date with security patches. For your Ruby version, you can now use Recent Ruby.
9
+ For gems, you can use Brakeman or Hakiri to stay up-to-date with security patches. For your Ruby version, use recent_ruby.
10
10
 
11
11
  ## Installation
12
12
 
@@ -24,7 +24,7 @@ gem 'recent_ruby', require: false
24
24
 
25
25
  ## Usage
26
26
 
27
- Just add Recent Ruby in your CI/CD build process, wherever you would put Rubocop or Brakeman. Recent Ruby can check either your Gemfile, or whatever is supplied as a command line argument, and checks if that version of Ruby is the most recent TEENY/PATCH release for that minor version.
27
+ Just add Recent Ruby in your CI/CD build process, wherever you would put Rubocop or Brakeman. Recent Ruby can check either your Gemfile (`recent_ruby --gemfile Gemfile`), or whatever is supplied as a command line argument (`recent_ruby --version-string 2.3.5`), and checks if that version of Ruby is the most recent TEENY/PATCH release for that minor version.
28
28
 
29
29
  It also makes sure that your minor version is not End-of-Life yet. If your version of Ruby does happen to be out of date and potentially insecure, it exits with status code 1. This means you can simply drop it into your .circle.yml or your Semaphore build step, or wherever you usually put these things.
30
30
 
@@ -75,7 +75,7 @@ Comparing version numbers...
75
75
  Current version is 2.3.3, but the latest patch release for 2.3 is 2.3.7!
76
76
  ```
77
77
 
78
- Build steps I use on in the project settings on SemaphoreCI:
78
+ Build steps I use in the project settings on SemaphoreCI:
79
79
 
80
80
  ```
81
81
  # Setup:
@@ -87,11 +87,11 @@ recent_ruby --gemfile Gemfile
87
87
 
88
88
  ## How
89
89
 
90
- If `--gemfile` was supplied, we use the parser gem to extract the Ruby version from the Gemfile.
90
+ If `--gemfile` was supplied, we use the parser gem to extract the Ruby version and patchlevel from the Gemfile.
91
91
 
92
92
  First, we check that we’re being supplied an MRI stable release. If not, we immediately stop and error with exit code 1. Next, we grab the list of releases from the ruby-build repository and do some comparison to make sure we’re on the latest TEENY/PATCH release. Then we download the build specification from the ruby-build repository, and make sure an End-of-Life warning is not present.
93
93
 
94
- Since the ruby-build repository is well maintained and used in production by many, it’s a reliable source.
94
+ Since the ruby-build repository is well maintained and used in production by many, it’s a reliable source for this purpose.
95
95
 
96
96
  ## Contributing
97
97
 
@@ -1,3 +1,3 @@
1
1
  module RecentRuby
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
data/recent_ruby.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.require_paths = ["lib"]
33
33
 
34
34
  spec.add_development_dependency "bundler", ">= 2.1.0"
35
- spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "rake", "~> 13.0"
36
36
  spec.add_development_dependency('rdoc')
37
37
  spec.add_development_dependency('pry')
38
38
  spec.add_development_dependency('aruba')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recent_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Luitjes
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-11 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rdoc
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- description:
125
+ description:
126
126
  email:
127
127
  - lucas@luitjes.it
128
128
  executables:
@@ -149,7 +149,7 @@ licenses:
149
149
  - MIT
150
150
  metadata:
151
151
  allowed_push_host: https://rubygems.org
152
- post_install_message:
152
+ post_install_message:
153
153
  rdoc_options: []
154
154
  require_paths:
155
155
  - lib
@@ -164,8 +164,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
- rubygems_version: 3.1.4
168
- signing_key:
167
+ rubygems_version: 3.2.22
168
+ signing_key:
169
169
  specification_version: 4
170
170
  summary: CLI tool for your CI/CD to make sure a recent and secure ruby version is
171
171
  used.