still_active 0.4.0 → 0.5.0

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: ab3c29906ae6ae00be8c2f0a8dddf017e356bddbe1bf6e0a7ed9fcf011765467
4
- data.tar.gz: c9c305028a2d1bcf8f539828eec6ae68d2448b08909ca3821df409aafce43bbb
3
+ metadata.gz: ceb8e8354e46bfc9298ab2ca1a9cc60bd74bb4f9389cd3d71a8f5a47bcc60168
4
+ data.tar.gz: 85e622f7867cfc8fb00dfed786b1a291634c05351633e27ae7a8875571b8c1f7
5
5
  SHA512:
6
- metadata.gz: ecab8a4fbd11d64f59261adc5326ea206a111c06e46d3723c0d69c84880dd596a7028b69232c525cc955678a90224f2ac7c3569e4a23a556cdc8db569f1b12ee
7
- data.tar.gz: 1e13d267394f60ed2399d4bc0ca9feaf41dee5f650a1176cf6b5bbe4c038388d9a8ad522ce6042e2eea2c2319787c5701c563f72406430c814b3e54bb848d36b
6
+ metadata.gz: 9c196159d6ff27c5979469cd6c85205fb36a308bdd559c1cad63a50d35dffe3158bd125dd96d211f2fb7907f1db6bc4a1d7fb0483d2d1e64ade04744b42764a2
7
+ data.tar.gz: 7c6446be503c2dc64864a294c270ca2bdc751101da4287c787cbea5ef34bda1e58a114d1a00edad146e2b15fb7a92e5cc0fc9436a506a73bb43096cde8dceb86
@@ -13,12 +13,12 @@ name: "CodeQL"
13
13
 
14
14
  on:
15
15
  push:
16
- branches: [ master ]
16
+ branches: [ main ]
17
17
  pull_request:
18
18
  # The branches below must be a subset of the branches above
19
- branches: [ master ]
19
+ branches: [ main ]
20
20
  schedule:
21
- - cron: '26 18 * * 2'
21
+ - cron: '0 0 1 * *'
22
22
 
23
23
  jobs:
24
24
  analyze:
@@ -42,7 +42,7 @@ jobs:
42
42
 
43
43
  # Initializes the CodeQL tools for scanning.
44
44
  - name: Initialize CodeQL
45
- uses: github/codeql-action/init@v1
45
+ uses: github/codeql-action/init@v2
46
46
  with:
47
47
  languages: ${{ matrix.language }}
48
48
  # If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
53
53
  # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54
54
  # If this step fails, then you should remove it and run the build manually (see below)
55
55
  - name: Autobuild
56
- uses: github/codeql-action/autobuild@v1
56
+ uses: github/codeql-action/autobuild@v2
57
57
 
58
58
  # ℹ️ Command-line programs to run using the OS shell.
59
59
  # 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
67
67
  # make release
68
68
 
69
69
  - name: Perform CodeQL Analysis
70
- uses: github/codeql-action/analyze@v1
70
+ uses: github/codeql-action/analyze@v2
@@ -1,12 +1,19 @@
1
1
  name: RSpec tests
2
2
 
3
- on: [push,pull_request]
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ # The branches below must be a subset of the branches above
8
+ branches: [ main ]
9
+ schedule:
10
+ - cron: '0 0 1 * *'
4
11
 
5
12
  jobs:
6
13
  test:
7
14
  strategy:
8
15
  matrix:
9
- ruby: [2.7, 3.0, head, truffleruby, truffleruby-head]
16
+ ruby: [3.0, 3.1, 3.2, head]
10
17
  runs-on: ubuntu-latest
11
18
  steps:
12
19
  - uses: actions/checkout@v2
@@ -3,12 +3,12 @@ name: "Rubocop"
3
3
 
4
4
  on:
5
5
  push:
6
- branches: [ master ]
6
+ branches: [ main ]
7
7
  pull_request:
8
8
  # The branches below must be a subset of the branches above
9
- branches: [ master ]
9
+ branches: [ main ]
10
10
  schedule:
11
- - cron: '37 16 * * 2'
11
+ - cron: '0 0 1 * *'
12
12
 
13
13
  jobs:
14
14
  rubocop:
@@ -25,7 +25,7 @@ jobs:
25
25
  - name: Set up Ruby
26
26
  uses: ruby/setup-ruby@v1
27
27
  with:
28
- ruby-version: 3.0.2
28
+ ruby-version: 3.2.0
29
29
 
30
30
  # This step is not necessary if you add the gem to your Gemfile
31
31
  # - name: Install Code Scanning integration
@@ -42,6 +42,6 @@ jobs:
42
42
  "
43
43
 
44
44
  - name: Upload Sarif output
45
- uses: github/codeql-action/upload-sarif@v1
45
+ uses: github/codeql-action/upload-sarif@v2
46
46
  with:
47
47
  sarif_file: rubocop.sarif
data/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## [0.5.0] - 2023-05-21
6
+
7
+ - Explicitly test against ruby 3.2
8
+ - Remove support for ruby 2.7, truffleruby
9
+ - Bump dependencies
10
+ - Lint
11
+ - Migrate references from master to main
12
+
13
+ ## [0.4.1] - 2022-01-01
14
+
15
+ - Explicitly test against ruby 3.1
16
+ - Fix for using ActiveSupport 7
17
+ - schedule running CI once per month
18
+
5
19
  ## [0.4.0] - 2021-11-11
6
20
 
7
21
  - Change minimum version of Ruby to 2.7
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ gemspec
7
7
 
8
8
  gem "code-scanning-rubocop"
9
9
  gem "dead_end"
10
- gem "rake", "~> 13.0"
11
- gem "rspec", "~> 3.0"
10
+ gem "rake", ">= 13.0"
11
+ gem "rspec", ">= 3.0"
12
12
  gem "vcr"
13
13
  gem "webmock"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- still_active (0.4.0)
4
+ still_active (0.5.0)
5
5
  activesupport
6
6
  async
7
7
  async-http
@@ -12,65 +12,69 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (6.1.4.1)
15
+ activesupport (7.0.4.3)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
19
19
  tzinfo (~> 2.0)
20
- zeitwerk (~> 2.3)
21
- addressable (2.8.0)
22
- public_suffix (>= 2.0.2, < 5.0)
20
+ addressable (2.8.4)
21
+ public_suffix (>= 2.0.2, < 6.0)
23
22
  ast (2.4.2)
24
- async (1.30.1)
23
+ async (2.5.1)
25
24
  console (~> 1.10)
26
- nio4r (~> 2.3)
25
+ io-event (~> 1.1)
27
26
  timers (~> 4.1)
28
- async-http (0.56.5)
27
+ async-http (0.60.1)
29
28
  async (>= 1.25)
30
29
  async-io (>= 1.28)
31
30
  async-pool (>= 0.2)
32
- protocol-http (~> 0.22.0)
33
- protocol-http1 (~> 0.14.0)
34
- protocol-http2 (~> 0.14.0)
35
- async-io (1.32.2)
31
+ protocol-http (~> 0.24.0)
32
+ protocol-http1 (~> 0.15.0)
33
+ protocol-http2 (~> 0.15.0)
34
+ traces (>= 0.8.0)
35
+ async-io (1.34.3)
36
36
  async
37
- async-pool (0.3.9)
37
+ async-pool (0.4.0)
38
38
  async (>= 1.25)
39
- code-scanning-rubocop (0.5.0)
39
+ code-scanning-rubocop (0.6.1)
40
40
  rubocop (~> 1.0)
41
- concurrent-ruby (1.1.9)
42
- console (1.13.1)
41
+ concurrent-ruby (1.2.2)
42
+ console (1.16.2)
43
43
  fiber-local
44
44
  crack (0.4.5)
45
45
  rexml
46
- dead_end (3.0.1)
47
- debug (1.3.4)
48
- irb (>= 1.3.6)
49
- reline (>= 0.2.7)
46
+ dead_end (4.0.0)
47
+ debug (1.8.0)
48
+ irb (>= 1.5.0)
49
+ reline (>= 0.3.1)
50
50
  descendants_tracker (0.0.4)
51
51
  thread_safe (~> 0.3, >= 0.3.1)
52
- diff-lcs (1.4.4)
53
- faker (2.19.0)
54
- i18n (>= 1.6, < 2)
55
- faraday (1.8.0)
52
+ diff-lcs (1.5.0)
53
+ faker (3.2.0)
54
+ i18n (>= 1.8.11, < 2)
55
+ faraday (1.10.3)
56
56
  faraday-em_http (~> 1.0)
57
57
  faraday-em_synchrony (~> 1.0)
58
58
  faraday-excon (~> 1.1)
59
- faraday-httpclient (~> 1.0.1)
59
+ faraday-httpclient (~> 1.0)
60
+ faraday-multipart (~> 1.0)
60
61
  faraday-net_http (~> 1.0)
61
- faraday-net_http_persistent (~> 1.1)
62
+ faraday-net_http_persistent (~> 1.0)
62
63
  faraday-patron (~> 1.0)
63
64
  faraday-rack (~> 1.0)
64
- multipart-post (>= 1.2, < 3)
65
+ faraday-retry (~> 1.0)
65
66
  ruby2_keywords (>= 0.0.4)
66
67
  faraday-em_http (1.0.0)
67
68
  faraday-em_synchrony (1.0.0)
68
69
  faraday-excon (1.1.0)
69
70
  faraday-httpclient (1.0.1)
71
+ faraday-multipart (1.0.4)
72
+ multipart-post (~> 2)
70
73
  faraday-net_http (1.0.1)
71
74
  faraday-net_http_persistent (1.2.0)
72
75
  faraday-patron (1.0.0)
73
76
  faraday-rack (1.0.0)
77
+ faraday-retry (1.0.3)
74
78
  fiber-local (1.0.0)
75
79
  gems (1.2.0)
76
80
  github_api (0.19.0)
@@ -81,85 +85,96 @@ GEM
81
85
  oauth2 (~> 1.0)
82
86
  hashdiff (1.0.1)
83
87
  hashie (3.6.0)
84
- i18n (1.8.11)
88
+ i18n (1.13.0)
85
89
  concurrent-ruby (~> 1.0)
86
- io-console (0.5.9)
87
- irb (1.3.7)
88
- reline (>= 0.2.7)
89
- jwt (2.3.0)
90
- minitest (5.14.4)
90
+ io-console (0.6.0)
91
+ io-console (0.6.0-java)
92
+ io-event (1.2.2)
93
+ irb (1.6.4)
94
+ reline (>= 0.3.0)
95
+ json (2.6.3)
96
+ json (2.6.3-java)
97
+ jwt (2.7.0)
98
+ minitest (5.18.0)
91
99
  multi_json (1.15.0)
92
100
  multi_xml (0.6.0)
93
- multipart-post (2.1.1)
94
- nio4r (2.5.8)
95
- oauth2 (1.4.7)
96
- faraday (>= 0.8, < 2.0)
101
+ multipart-post (2.3.0)
102
+ oauth2 (1.4.11)
103
+ faraday (>= 0.17.3, < 3.0)
97
104
  jwt (>= 1.0, < 3.0)
98
105
  multi_json (~> 1.3)
99
106
  multi_xml (~> 0.5)
100
- rack (>= 1.2, < 3)
101
- parallel (1.21.0)
102
- parser (3.0.2.0)
107
+ rack (>= 1.2, < 4)
108
+ parallel (1.23.0)
109
+ parser (3.2.2.1)
103
110
  ast (~> 2.4.1)
104
111
  protocol-hpack (1.4.2)
105
- protocol-http (0.22.5)
106
- protocol-http1 (0.14.2)
112
+ protocol-http (0.24.1)
113
+ protocol-http1 (0.15.0)
107
114
  protocol-http (~> 0.22)
108
- protocol-http2 (0.14.2)
115
+ protocol-http2 (0.15.1)
109
116
  protocol-hpack (~> 1.4)
110
117
  protocol-http (~> 0.18)
111
- public_suffix (4.0.6)
112
- rack (2.2.3)
113
- rainbow (3.0.0)
118
+ public_suffix (5.0.1)
119
+ rack (3.0.7)
120
+ rainbow (3.1.1)
114
121
  rake (13.0.6)
115
- regexp_parser (2.1.1)
116
- reline (0.2.7)
122
+ regexp_parser (2.8.0)
123
+ reline (0.3.4)
117
124
  io-console (~> 0.5)
118
125
  rexml (3.2.5)
119
- rspec (3.10.0)
120
- rspec-core (~> 3.10.0)
121
- rspec-expectations (~> 3.10.0)
122
- rspec-mocks (~> 3.10.0)
123
- rspec-core (3.10.1)
124
- rspec-support (~> 3.10.0)
125
- rspec-expectations (3.10.1)
126
+ rspec (3.12.0)
127
+ rspec-core (~> 3.12.0)
128
+ rspec-expectations (~> 3.12.0)
129
+ rspec-mocks (~> 3.12.0)
130
+ rspec-core (3.12.2)
131
+ rspec-support (~> 3.12.0)
132
+ rspec-expectations (3.12.3)
126
133
  diff-lcs (>= 1.2.0, < 2.0)
127
- rspec-support (~> 3.10.0)
128
- rspec-mocks (3.10.2)
134
+ rspec-support (~> 3.12.0)
135
+ rspec-mocks (3.12.5)
129
136
  diff-lcs (>= 1.2.0, < 2.0)
130
- rspec-support (~> 3.10.0)
131
- rspec-support (3.10.3)
132
- rubocop (1.22.3)
137
+ rspec-support (~> 3.12.0)
138
+ rspec-support (3.12.0)
139
+ rubocop (1.51.0)
140
+ json (~> 2.3)
133
141
  parallel (~> 1.10)
134
- parser (>= 3.0.0.0)
142
+ parser (>= 3.2.0.0)
135
143
  rainbow (>= 2.2.2, < 4.0)
136
144
  regexp_parser (>= 1.8, < 3.0)
137
- rexml
138
- rubocop-ast (>= 1.12.0, < 2.0)
145
+ rexml (>= 3.2.5, < 4.0)
146
+ rubocop-ast (>= 1.28.0, < 2.0)
139
147
  ruby-progressbar (~> 1.7)
140
- unicode-display_width (>= 1.4.0, < 3.0)
141
- rubocop-ast (1.12.0)
142
- parser (>= 3.0.1.1)
143
- rubocop-performance (1.12.0)
148
+ unicode-display_width (>= 2.4.0, < 3.0)
149
+ rubocop-ast (1.28.1)
150
+ parser (>= 3.2.1.0)
151
+ rubocop-capybara (2.18.0)
152
+ rubocop (~> 1.41)
153
+ rubocop-factory_bot (2.23.1)
154
+ rubocop (~> 1.33)
155
+ rubocop-performance (1.18.0)
144
156
  rubocop (>= 1.7.0, < 2.0)
145
157
  rubocop-ast (>= 0.4.0)
146
- rubocop-rspec (2.6.0)
147
- rubocop (~> 1.19)
148
- rubocop-shopify (2.3.0)
149
- rubocop (~> 1.22)
150
- ruby-progressbar (1.11.0)
158
+ rubocop-rspec (2.22.0)
159
+ rubocop (~> 1.33)
160
+ rubocop-capybara (~> 2.17)
161
+ rubocop-factory_bot (~> 2.22)
162
+ rubocop-shopify (2.13.0)
163
+ rubocop (~> 1.50)
164
+ ruby-progressbar (1.13.0)
151
165
  ruby2_keywords (0.0.5)
152
166
  thread_safe (0.3.6)
153
- timers (4.3.3)
154
- tzinfo (2.0.4)
167
+ thread_safe (0.3.6-java)
168
+ timers (4.3.5)
169
+ traces (0.9.1)
170
+ tzinfo (2.0.6)
155
171
  concurrent-ruby (~> 1.0)
156
- unicode-display_width (2.1.0)
157
- vcr (6.0.0)
158
- webmock (3.14.0)
172
+ unicode-display_width (2.4.2)
173
+ vcr (6.1.0)
174
+ webmock (3.18.1)
159
175
  addressable (>= 2.8.0)
160
176
  crack (>= 0.3.2)
161
177
  hashdiff (>= 0.4.0, < 2.0.0)
162
- zeitwerk (2.5.1)
163
178
 
164
179
  PLATFORMS
165
180
  ruby
@@ -172,8 +187,8 @@ DEPENDENCIES
172
187
  dead_end
173
188
  debug
174
189
  faker
175
- rake (~> 13.0)
176
- rspec (~> 3.0)
190
+ rake (>= 13.0)
191
+ rspec (>= 3.0)
177
192
  rubocop
178
193
  rubocop-performance
179
194
  rubocop-rspec
@@ -183,4 +198,4 @@ DEPENDENCIES
183
198
  webmock
184
199
 
185
200
  BUNDLED WITH
186
- 2.2.31
201
+ 2.4.12
data/README.md CHANGED
@@ -1,7 +1,13 @@
1
- # StillActive
1
+ # `still_active`
2
2
 
3
3
  Identify which of your dependencies are no longer under active development.
4
4
 
5
+ [![Gem Version](https://badge.fury.io/rb/still_active.svg)](https://badge.fury.io/rb/still_active)
6
+
7
+ ![Code Quality analysis](https://github.com/SeanLF/still_active/actions/workflows/codeql-analysis.yml/badge.svg)
8
+ ![RSpec](https://github.com/SeanLF/still_active/actions/workflows/rspec.yml/badge.svg)
9
+ ![Rubocop analysis](https://github.com/SeanLF/still_active/actions/workflows/rubocop-analysis.yml/badge.svg)
10
+
5
11
  ## Installation
6
12
 
7
13
  ```bash
@@ -48,26 +54,26 @@ Will output:
48
54
 
49
55
  ```bash
50
56
  # for this gem
51
- stll_active --github-oauth-token=my-token-here
57
+ still_active --github-oauth-token=my-token-here
52
58
  ```
53
59
 
54
60
  Outputs:
55
61
 
56
- | gem activity old? | up to date? | name | version used | release date | latest version | release date | latest pre-release version | release date | last commit date |
57
- | ----------------- | ----------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ------------ | ----------------------------------------------------------------------- | ------------ | ----------------------------------------------------------------------- | ------------ | ------------------------------------------------------------ |
58
- | | ✅ | [code-scanning-rubocop](https://github.com/arthurnn/code-scanning-rubocop) | [0.5.0](https://rubygems.org/gems/code-scanning-rubocop/versions/0.5.0) | 2020/12 | [0.5.0](https://rubygems.org/gems/code-scanning-rubocop/versions/0.5.0) | 2020/12 | ❓ | ❓ | [2020/12](https://github.com/arthurnn/code-scanning-rubocop) |
59
- | | ✅ | [dead_end](https://github.com/zombocom/dead_end) | [3.0.1](https://rubygems.org/gems/dead_end/versions/3.0.1) | 2021/11 | [3.0.1](https://rubygems.org/gems/dead_end/versions/3.0.1) | 2021/11 | ❓ | ❓ | [2021/11](https://github.com/zombocom/dead_end) |
60
- | | ✅ | [debug](https://github.com/ruby/debug) | [1.3.4](https://rubygems.org/gems/debug/versions/1.3.4) | 2021/10 | [1.3.4](https://rubygems.org/gems/debug/versions/1.3.4) | 2021/10 | [1.0.0.rc2](https://rubygems.org/gems/debug/versions/1.0.0.rc2) | 2021/09 | [2021/11](https://github.com/ruby/debug) |
61
- | | ✅ | [faker](https://github.com/faker-ruby/faker) | [2.19.0](https://rubygems.org/gems/faker/versions/2.19.0) | 2021/08 | [2.19.0](https://rubygems.org/gems/faker/versions/2.19.0) | 2021/08 | ❓ | ❓ | [2021/11](https://github.com/faker-ruby/faker) |
62
- | | ✅ | [rake](https://github.com/ruby/rake) | [13.0.6](https://rubygems.org/gems/rake/versions/13.0.6) | 2021/07 | [13.0.6](https://rubygems.org/gems/rake/versions/13.0.6) | 2021/07 | [13.0.0.pre.1](https://rubygems.org/gems/rake/versions/13.0.0.pre.1) | 2019/09 | [2021/07](https://github.com/ruby/rake) |
63
- | | ✅ | [rspec](https://github.com/rspec/rspec) | [3.10.0](https://rubygems.org/gems/rspec/versions/3.10.0) | 2020/10 | [3.10.0](https://rubygems.org/gems/rspec/versions/3.10.0) | 2020/10 | [3.6.0.beta2](https://rubygems.org/gems/rspec/versions/3.6.0.beta2) | 2016/12 | [2021/10](https://github.com/rspec/rspec) |
64
- | | ✅ | [rubocop](https://github.com/rubocop/rubocop) | [1.22.3](https://rubygems.org/gems/rubocop/versions/1.22.3) | 2021/10 | [1.22.3](https://rubygems.org/gems/rubocop/versions/1.22.3) | 2021/10 | ❓ | ❓ | [2021/11](https://github.com/rubocop/rubocop) |
65
- | | ✅ | [rubocop-performance](https://github.com/rubocop/rubocop-performance) | [1.12.0](https://rubygems.org/gems/rubocop-performance/versions/1.12.0) | 2021/10 | [1.12.0](https://rubygems.org/gems/rubocop-performance/versions/1.12.0) | 2021/10 | ❓ | ❓ | [2021/11](https://github.com/rubocop/rubocop-performance) |
66
- | | ✅ | [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) | [2.6.0](https://rubygems.org/gems/rubocop-rspec/versions/2.6.0) | 2021/11 | [2.6.0](https://rubygems.org/gems/rubocop-rspec/versions/2.6.0) | 2021/11 | [2.0.0.pre](https://rubygems.org/gems/rubocop-rspec/versions/2.0.0.pre) | 2020/10 | [2021/11](https://github.com/rubocop/rubocop-rspec) |
67
- | | ✅ | [rubocop-shopify](https://github.com/Shopify/ruby-style-guide) | [2.3.0](https://rubygems.org/gems/rubocop-shopify/versions/2.3.0) | 2021/10 | [2.3.0](https://rubygems.org/gems/rubocop-shopify/versions/2.3.0) | 2021/10 | ❓ | ❓ | [2021/11](https://github.com/Shopify/ruby-style-guide) |
68
- | | | [still_active](https://github.com/SeanLF/still_active) | [0.4.0](https://rubygems.org/gems/still_active/versions/0.4.0) | 2021/11 | [0.4.0](https://rubygems.org/gems/still_active/versions/0.4.0) | 2021/11 | ❓ | ❓ | [2021/11](https://github.com/SeanLF/still_active) |
69
- | | ✅ | [vcr](https://github.com/vcr/vcr) | [6.0.0](https://rubygems.org/gems/vcr/versions/6.0.0) | 2020/05 | [6.0.0](https://rubygems.org/gems/vcr/versions/6.0.0) | 2020/05 | [2.0.0.rc2](https://rubygems.org/gems/vcr/versions/2.0.0.rc2) | 2012/02 | [2021/10](https://github.com/vcr/vcr) |
70
- | | ✅ | [webmock](https://github.com/bblimke/webmock) | [3.14.0](https://rubygems.org/gems/webmock/versions/3.14.0) | 2021/08 | [3.14.0](https://rubygems.org/gems/webmock/versions/3.14.0) | 2021/08 | [2.0.0.beta2](https://rubygems.org/gems/webmock/versions/2.0.0.beta2) | 2016/04 | [2021/09](https://github.com/bblimke/webmock) |
62
+ | gem activity old? | up to date? | name | version used | release date | latest version | release date | latest pre-release version | release date | last commit date |
63
+ | ----------------- | ----------- | ---- | ------------ | ------------ | -------------- | ------------ | --------------------------- | ------------ | ---------------- |
64
+ | ⚠️ | ✅ | [code-scanning-rubocop](https://github.com/arthurnn/code-scanning-rubocop) | [0.6.1](https://rubygems.org/gems/code-scanning-rubocop/versions/0.6.1) | 2022/02 | [0.6.1](https://rubygems.org/gems/code-scanning-rubocop/versions/0.6.1) | 2022/02 | ❓ | ❓ | [2022/02](https://github.com/arthurnn/code-scanning-rubocop) |
65
+ | | ✅ | [dead_end](https://github.com/zombocom/dead_end) | [4.0.0](https://rubygems.org/gems/dead_end/versions/4.0.0) | 2022/06 | [4.0.0](https://rubygems.org/gems/dead_end/versions/4.0.0) | 2022/06 | ❓ | ❓ | [2023/05](https://github.com/zombocom/dead_end) |
66
+ | | ✅ | [debug](https://github.com/ruby/debug) | [1.8.0](https://rubygems.org/gems/debug/versions/1.8.0) | 2023/05 | [1.8.0](https://rubygems.org/gems/debug/versions/1.8.0) | 2023/05 | [1.0.0.rc2](https://rubygems.org/gems/debug/versions/1.0.0.rc2) | 2021/09 | [2023/05](https://github.com/ruby/debug) |
67
+ | | ✅ | [faker](https://github.com/faker-ruby/faker) | [3.2.0](https://rubygems.org/gems/faker/versions/3.2.0) | 2023/04 | [3.2.0](https://rubygems.org/gems/faker/versions/3.2.0) | 2023/04 | ❓ | ❓ | [2023/05](https://github.com/faker-ruby/faker) |
68
+ | | ✅ | [rake](https://github.com/ruby/rake) | [13.0.6](https://rubygems.org/gems/rake/versions/13.0.6) | 2021/07 | [13.0.6](https://rubygems.org/gems/rake/versions/13.0.6) | 2021/07 | [13.0.0.pre.1](https://rubygems.org/gems/rake/versions/13.0.0.pre.1) | 2019/09 | [2023/05](https://github.com/ruby/rake) |
69
+ | | ✅ | [rspec](https://github.com/rspec/rspec-metagem) | [3.12.0](https://rubygems.org/gems/rspec/versions/3.12.0) | 2022/10 | [3.12.0](https://rubygems.org/gems/rspec/versions/3.12.0) | 2022/10 | [3.6.0.beta2](https://rubygems.org/gems/rspec/versions/3.6.0.beta2) | 2016/12 | [2022/10](https://github.com/rspec/rspec-metagem) |
70
+ | | ✅ | [rubocop](https://github.com/rubocop/rubocop) | [1.51.0](https://rubygems.org/gems/rubocop/versions/1.51.0) | 2023/05 | [1.51.0](https://rubygems.org/gems/rubocop/versions/1.51.0) | 2023/05 | ❓ | ❓ | [2023/05](https://github.com/rubocop/rubocop) |
71
+ | | ✅ | [rubocop-performance](https://github.com/rubocop/rubocop-performance) | [1.18.0](https://rubygems.org/gems/rubocop-performance/versions/1.18.0) | 2023/05 | [1.18.0](https://rubygems.org/gems/rubocop-performance/versions/1.18.0) | 2023/05 | ❓ | ❓ | [2023/05](https://github.com/rubocop/rubocop-performance) |
72
+ | | ✅ | [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) | [2.22.0](https://rubygems.org/gems/rubocop-rspec/versions/2.22.0) | 2023/05 | [2.22.0](https://rubygems.org/gems/rubocop-rspec/versions/2.22.0) | 2023/05 | [2.0.0.pre](https://rubygems.org/gems/rubocop-rspec/versions/2.0.0.pre) | 2020/10 | [2023/05](https://github.com/rubocop/rubocop-rspec) |
73
+ | | ✅ | [rubocop-shopify](https://github.com/Shopify/ruby-style-guide) | [2.13.0](https://rubygems.org/gems/rubocop-shopify/versions/2.13.0) | 2023/04 | [2.13.0](https://rubygems.org/gems/rubocop-shopify/versions/2.13.0) | 2023/04 | ❓ | ❓ | [2023/05](https://github.com/Shopify/ruby-style-guide) |
74
+ | | ⚠️ | [still_active](https://github.com/SeanLF/still_active) | [0.5.0](https://rubygems.org/gems/still_active/versions/0.5.0) | | [0.4.1](https://rubygems.org/gems/still_active/versions/0.4.1) | 2022/02 | ❓ | ❓ | [2023/05](https://github.com/SeanLF/still_active) |
75
+ | | ✅ | [vcr](https://github.com/vcr/vcr) | [6.1.0](https://rubygems.org/gems/vcr/versions/6.1.0) | 2022/03 | [6.1.0](https://rubygems.org/gems/vcr/versions/6.1.0) | 2022/03 | [2.0.0.rc2](https://rubygems.org/gems/vcr/versions/2.0.0.rc2) | 2012/02 | [2023/01](https://github.com/vcr/vcr) |
76
+ | | ✅ | [webmock](https://github.com/bblimke/webmock) | [3.18.1](https://rubygems.org/gems/webmock/versions/3.18.1) | 2022/08 | [3.18.1](https://rubygems.org/gems/webmock/versions/3.18.1) | 2022/08 | [2.0.0.beta2](https://rubygems.org/gems/webmock/versions/2.0.0.beta2) | 2016/04 | [2022/08](https://github.com/bblimke/webmock) |
71
77
 
72
78
  ### Configuration options
73
79
 
@@ -1,13 +1,17 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "active_support/isolated_execution_state"
3
4
  require "active_support/core_ext/integer/time"
4
5
 
5
6
  module StillActive
6
7
  module EmojiHelper
7
8
  extend self
8
9
  def inactive_gem_emoji(result_hash)
9
- most_recent_activity = [result_hash.dig(:last_commit_date), result_hash.dig(:latest_version_release_date),
10
- result_hash.dig(:latest_pre_release_version_release_date),].compact.sort.last
10
+ most_recent_activity = [
11
+ result_hash.dig(:last_commit_date),
12
+ result_hash.dig(:latest_version_release_date),
13
+ result_hash.dig(:latest_pre_release_version_release_date),
14
+ ].compact.sort.last
11
15
  return StillActive.config.unsure_emoji if most_recent_activity.nil?
12
16
 
13
17
  case most_recent_activity
@@ -47,8 +47,10 @@ module StillActive
47
47
  formatted_latest_release_version = markdown_url(text: latest_version, url: latest_version_url)
48
48
  formatted_latest_release_date = year_month(latest_version_release_date)
49
49
 
50
- formatted_latest_pre_release_version = markdown_url(text: latest_version_prerelease,
51
- url: latest_version_prerelease_url)
50
+ formatted_latest_pre_release_version = markdown_url(
51
+ text: latest_version_prerelease,
52
+ url: latest_version_prerelease_url,
53
+ )
52
54
  formatted_latest_pre_release_date = year_month(latest_version_prerelease_date)
53
55
 
54
56
  formatted_last_commit_date = markdown_url(text: year_month(last_commit_date), url: last_commit_url)
@@ -30,10 +30,10 @@ module StillActive
30
30
  last_activity_warning_emoj: EmojiHelper.inactive_gem_emoji(result[name]),
31
31
  up_to_date_emoji: EmojiHelper.using_latest_emoji(
32
32
  using_last_release: VersionHelper.up_to_date?(
33
- version_used: result[name].dig(:version_used), latest_version: result[name].dig(:latest_version)
33
+ version_used: result[name].dig(:version_used), latest_version: result[name].dig(:latest_version),
34
34
  ),
35
35
  using_last_pre_release: VersionHelper.up_to_date?(
36
- version_used: result[name].dig(:version_used), latest_version: result[name].dig(:latest_pre_release_version)
36
+ version_used: result[name].dig(:version_used), latest_version: result[name].dig(:latest_pre_release_version),
37
37
  ),
38
38
  ),
39
39
  })
@@ -4,8 +4,18 @@ require "bundler"
4
4
 
5
5
  module StillActive
6
6
  class Config
7
- attr_accessor :critical_warning_emoji, :futurist_emoji, :gemfile_path, :gems, :github_oauth_token, :output_format,
8
- :parallelism, :no_warning_range_end, :success_emoji, :unsure_emoji, :warning_emoji, :warning_range_end
7
+ attr_accessor :critical_warning_emoji,
8
+ :futurist_emoji,
9
+ :gemfile_path,
10
+ :gems,
11
+ :github_oauth_token,
12
+ :output_format,
13
+ :parallelism,
14
+ :no_warning_range_end,
15
+ :success_emoji,
16
+ :unsure_emoji,
17
+ :warning_emoji,
18
+ :warning_range_end
9
19
 
10
20
  def initialize
11
21
  @gemfile_path = Bundler.default_gemfile.to_s
@@ -65,12 +65,18 @@ module StillActive
65
65
  end
66
66
 
67
67
  def add_range_options(opts)
68
- opts.on("--no-warning-range-end=YEARS", Integer,
69
- "maximum number of years since last activity until which you do not want to be warned about ") do |value|
68
+ opts.on(
69
+ "--no-warning-range-end=YEARS",
70
+ Integer,
71
+ "maximum number of years since last activity until which you do not want to be warned about ",
72
+ ) do |value|
70
73
  StillActive.config { |config| config.no_warning_range_end = value }
71
74
  end
72
- opts.on("--warning-range-end=YEARS", Integer,
73
- "maximum number of years since last activity that you want to be warned about") do |value|
75
+ opts.on(
76
+ "--warning-range-end=YEARS",
77
+ Integer,
78
+ "maximum number of years since last activity that you want to be warned about",
79
+ ) do |value|
74
80
  StillActive.config { |config| config.warning_range_end = value }
75
81
  end
76
82
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StillActive
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
@@ -37,8 +37,11 @@ module StillActive
37
37
 
38
38
  vs = versions(gem_name: gem_name)
39
39
  repo_info = repository_info(gem_name: gem_name, versions: vs)
40
- last_commit_date = last_commit_date(source: repo_info[:source], repository_owner: repo_info[:owner],
41
- repository_name: repo_info[:name])
40
+ last_commit_date = last_commit_date(
41
+ source: repo_info[:source],
42
+ repository_owner: repo_info[:owner],
43
+ repository_name: repo_info[:name],
44
+ )
42
45
  last_release = VersionHelper.find_version(versions: vs, pre_release: false)
43
46
  last_pre_release = VersionHelper.find_version(versions: vs, pre_release: true)
44
47
  result_object[gem_name].merge!({
@@ -63,7 +66,7 @@ module StillActive
63
66
  VersionHelper.up_to_date?(
64
67
  version_used: version_used,
65
68
  latest_version: last_release,
66
- latest_pre_release_version: last_pre_release
69
+ latest_pre_release_version: last_pre_release,
67
70
  ),
68
71
 
69
72
  version_used_release_date: VersionHelper.release_date(version_hash: version_used),
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: still_active
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Floyd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-11 00:00:00.000000000 Z
11
+ date: 2023-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dead_end
@@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
252
  - !ruby/object:Gem::Version
253
253
  version: '0'
254
254
  requirements: []
255
- rubygems_version: 3.2.31
255
+ rubygems_version: 3.4.10
256
256
  signing_key:
257
257
  specification_version: 4
258
258
  summary: Check if gems are under active development.