still_active 0.4.1 → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee30b8e061e74685f513407c59b392fa1cfc921e7012784763f13266c230fcdf
4
- data.tar.gz: f624f61d7277575ac709ac2a2d28f351749eebbb72c9d6f39eb0566078777dc7
3
+ metadata.gz: ceb8e8354e46bfc9298ab2ca1a9cc60bd74bb4f9389cd3d71a8f5a47bcc60168
4
+ data.tar.gz: 85e622f7867cfc8fb00dfed786b1a291634c05351633e27ae7a8875571b8c1f7
5
5
  SHA512:
6
- metadata.gz: 73c1cb19174263fc3f7df06b66810456193bd7eeaadc2fc9d2b85d56d3081d1d03d923d9ed05eb7b139afca5bfcfa16596fecb060f61de23af62c8d8b67de761
7
- data.tar.gz: 1d14e63886116b9a4d8fb91e2ec4d745f2528bca461df5183562f6989e03d7a5d4e9c60edc2e02047b5666d5807b2f5386be8c2f844119afd69587459249fd2e
6
+ metadata.gz: 9c196159d6ff27c5979469cd6c85205fb36a308bdd559c1cad63a50d35dffe3158bd125dd96d211f2fb7907f1db6bc4a1d7fb0483d2d1e64ade04744b42764a2
7
+ data.tar.gz: 7c6446be503c2dc64864a294c270ca2bdc751101da4287c787cbea5ef34bda1e58a114d1a00edad146e2b15fb7a92e5cc0fc9436a506a73bb43096cde8dceb86
@@ -13,10 +13,10 @@ 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
21
  - cron: '0 0 1 * *'
22
22
 
@@ -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
@@ -2,10 +2,10 @@ name: RSpec tests
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ master ]
5
+ branches: [ main ]
6
6
  pull_request:
7
7
  # The branches below must be a subset of the branches above
8
- branches: [ master ]
8
+ branches: [ main ]
9
9
  schedule:
10
10
  - cron: '0 0 1 * *'
11
11
 
@@ -13,7 +13,7 @@ jobs:
13
13
  test:
14
14
  strategy:
15
15
  matrix:
16
- ruby: [2.7, 3.0, 3.1, head, truffleruby, truffleruby-head]
16
+ ruby: [3.0, 3.1, 3.2, head]
17
17
  runs-on: ubuntu-latest
18
18
  steps:
19
19
  - uses: actions/checkout@v2
@@ -3,10 +3,10 @@ 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
11
  - cron: '0 0 1 * *'
12
12
 
@@ -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.1.0
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,14 @@
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
+
5
13
  ## [0.4.1] - 2022-01-01
6
14
 
7
15
  - Explicitly test against ruby 3.1
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.1)
4
+ still_active (0.5.0)
5
5
  activesupport
6
6
  async
7
7
  async-http
@@ -12,46 +12,47 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.0.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
- addressable (2.8.0)
21
- public_suffix (>= 2.0.2, < 5.0)
20
+ addressable (2.8.4)
21
+ public_suffix (>= 2.0.2, < 6.0)
22
22
  ast (2.4.2)
23
- async (1.30.1)
23
+ async (2.5.1)
24
24
  console (~> 1.10)
25
- nio4r (~> 2.3)
25
+ io-event (~> 1.1)
26
26
  timers (~> 4.1)
27
- async-http (0.56.5)
27
+ async-http (0.60.1)
28
28
  async (>= 1.25)
29
29
  async-io (>= 1.28)
30
30
  async-pool (>= 0.2)
31
- protocol-http (~> 0.22.0)
32
- protocol-http1 (~> 0.14.0)
33
- protocol-http2 (~> 0.14.0)
34
- 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)
35
36
  async
36
- async-pool (0.3.9)
37
+ async-pool (0.4.0)
37
38
  async (>= 1.25)
38
- code-scanning-rubocop (0.5.0)
39
+ code-scanning-rubocop (0.6.1)
39
40
  rubocop (~> 1.0)
40
- concurrent-ruby (1.1.9)
41
- console (1.14.0)
41
+ concurrent-ruby (1.2.2)
42
+ console (1.16.2)
42
43
  fiber-local
43
44
  crack (0.4.5)
44
45
  rexml
45
- dead_end (3.1.1)
46
- debug (1.4.0)
47
- irb (>= 1.3.6)
48
- 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)
49
50
  descendants_tracker (0.0.4)
50
51
  thread_safe (~> 0.3, >= 0.3.1)
51
52
  diff-lcs (1.5.0)
52
- faker (2.19.0)
53
- i18n (>= 1.6, < 2)
54
- faraday (1.9.3)
53
+ faker (3.2.0)
54
+ i18n (>= 1.8.11, < 2)
55
+ faraday (1.10.3)
55
56
  faraday-em_http (~> 1.0)
56
57
  faraday-em_synchrony (~> 1.0)
57
58
  faraday-excon (~> 1.1)
@@ -67,8 +68,8 @@ GEM
67
68
  faraday-em_synchrony (1.0.0)
68
69
  faraday-excon (1.1.0)
69
70
  faraday-httpclient (1.0.1)
70
- faraday-multipart (1.0.3)
71
- multipart-post (>= 1.2, < 3)
71
+ faraday-multipart (1.0.4)
72
+ multipart-post (~> 2)
72
73
  faraday-net_http (1.0.1)
73
74
  faraday-net_http_persistent (1.2.0)
74
75
  faraday-patron (1.0.0)
@@ -84,81 +85,93 @@ GEM
84
85
  oauth2 (~> 1.0)
85
86
  hashdiff (1.0.1)
86
87
  hashie (3.6.0)
87
- i18n (1.9.1)
88
+ i18n (1.13.0)
88
89
  concurrent-ruby (~> 1.0)
89
- io-console (0.5.11)
90
- irb (1.4.1)
90
+ io-console (0.6.0)
91
+ io-console (0.6.0-java)
92
+ io-event (1.2.2)
93
+ irb (1.6.4)
91
94
  reline (>= 0.3.0)
92
- jwt (2.3.0)
93
- minitest (5.15.0)
95
+ json (2.6.3)
96
+ json (2.6.3-java)
97
+ jwt (2.7.0)
98
+ minitest (5.18.0)
94
99
  multi_json (1.15.0)
95
100
  multi_xml (0.6.0)
96
- multipart-post (2.1.1)
97
- nio4r (2.5.8)
98
- oauth2 (1.4.7)
99
- faraday (>= 0.8, < 2.0)
101
+ multipart-post (2.3.0)
102
+ oauth2 (1.4.11)
103
+ faraday (>= 0.17.3, < 3.0)
100
104
  jwt (>= 1.0, < 3.0)
101
105
  multi_json (~> 1.3)
102
106
  multi_xml (~> 0.5)
103
- rack (>= 1.2, < 3)
104
- parallel (1.21.0)
105
- parser (3.1.0.0)
107
+ rack (>= 1.2, < 4)
108
+ parallel (1.23.0)
109
+ parser (3.2.2.1)
106
110
  ast (~> 2.4.1)
107
111
  protocol-hpack (1.4.2)
108
- protocol-http (0.22.5)
109
- protocol-http1 (0.14.2)
112
+ protocol-http (0.24.1)
113
+ protocol-http1 (0.15.0)
110
114
  protocol-http (~> 0.22)
111
- protocol-http2 (0.14.2)
115
+ protocol-http2 (0.15.1)
112
116
  protocol-hpack (~> 1.4)
113
117
  protocol-http (~> 0.18)
114
- public_suffix (4.0.6)
115
- rack (2.2.3)
118
+ public_suffix (5.0.1)
119
+ rack (3.0.7)
116
120
  rainbow (3.1.1)
117
121
  rake (13.0.6)
118
- regexp_parser (2.2.0)
119
- reline (0.3.1)
122
+ regexp_parser (2.8.0)
123
+ reline (0.3.4)
120
124
  io-console (~> 0.5)
121
125
  rexml (3.2.5)
122
- rspec (3.10.0)
123
- rspec-core (~> 3.10.0)
124
- rspec-expectations (~> 3.10.0)
125
- rspec-mocks (~> 3.10.0)
126
- rspec-core (3.10.2)
127
- rspec-support (~> 3.10.0)
128
- rspec-expectations (3.10.2)
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)
129
133
  diff-lcs (>= 1.2.0, < 2.0)
130
- rspec-support (~> 3.10.0)
131
- rspec-mocks (3.10.3)
134
+ rspec-support (~> 3.12.0)
135
+ rspec-mocks (3.12.5)
132
136
  diff-lcs (>= 1.2.0, < 2.0)
133
- rspec-support (~> 3.10.0)
134
- rspec-support (3.10.3)
135
- rubocop (1.25.0)
137
+ rspec-support (~> 3.12.0)
138
+ rspec-support (3.12.0)
139
+ rubocop (1.51.0)
140
+ json (~> 2.3)
136
141
  parallel (~> 1.10)
137
- parser (>= 3.1.0.0)
142
+ parser (>= 3.2.0.0)
138
143
  rainbow (>= 2.2.2, < 4.0)
139
144
  regexp_parser (>= 1.8, < 3.0)
140
- rexml
141
- rubocop-ast (>= 1.15.1, < 2.0)
145
+ rexml (>= 3.2.5, < 4.0)
146
+ rubocop-ast (>= 1.28.0, < 2.0)
142
147
  ruby-progressbar (~> 1.7)
143
- unicode-display_width (>= 1.4.0, < 3.0)
144
- rubocop-ast (1.15.1)
145
- parser (>= 3.0.1.1)
146
- rubocop-performance (1.13.2)
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)
147
156
  rubocop (>= 1.7.0, < 2.0)
148
157
  rubocop-ast (>= 0.4.0)
149
- rubocop-rspec (2.8.0)
150
- rubocop (~> 1.19)
151
- rubocop-shopify (2.4.0)
152
- rubocop (~> 1.24)
153
- 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)
154
165
  ruby2_keywords (0.0.5)
155
166
  thread_safe (0.3.6)
156
- timers (4.3.3)
157
- 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)
158
171
  concurrent-ruby (~> 1.0)
159
- unicode-display_width (2.1.0)
160
- vcr (6.0.0)
161
- webmock (3.14.0)
172
+ unicode-display_width (2.4.2)
173
+ vcr (6.1.0)
174
+ webmock (3.18.1)
162
175
  addressable (>= 2.8.0)
163
176
  crack (>= 0.3.2)
164
177
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -174,8 +187,8 @@ DEPENDENCIES
174
187
  dead_end
175
188
  debug
176
189
  faker
177
- rake (~> 13.0)
178
- rspec (~> 3.0)
190
+ rake (>= 13.0)
191
+ rspec (>= 3.0)
179
192
  rubocop
180
193
  rubocop-performance
181
194
  rubocop-rspec
@@ -185,4 +198,4 @@ DEPENDENCIES
185
198
  webmock
186
199
 
187
200
  BUNDLED WITH
188
- 2.2.31
201
+ 2.4.12
data/README.md CHANGED
@@ -54,26 +54,26 @@ Will output:
54
54
 
55
55
  ```bash
56
56
  # for this gem
57
- stll_active --github-oauth-token=my-token-here
57
+ still_active --github-oauth-token=my-token-here
58
58
  ```
59
59
 
60
60
  Outputs:
61
61
 
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.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) |
65
- | | ✅ | [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) |
66
- | | ✅ | [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) |
67
- | | ✅ | [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) |
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 | [2021/07](https://github.com/ruby/rake) |
69
- | | ✅ | [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) |
70
- | | ✅ | [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) |
71
- | | ✅ | [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) |
72
- | | ✅ | [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) |
73
- | | ✅ | [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) |
74
- | | | [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) |
75
- | | ✅ | [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) |
76
- | | ✅ | [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) |
77
77
 
78
78
  ### Configuration options
79
79
 
@@ -7,8 +7,11 @@ module StillActive
7
7
  module EmojiHelper
8
8
  extend self
9
9
  def inactive_gem_emoji(result_hash)
10
- most_recent_activity = [result_hash.dig(:last_commit_date), result_hash.dig(:latest_version_release_date),
11
- 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
12
15
  return StillActive.config.unsure_emoji if most_recent_activity.nil?
13
16
 
14
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.1"
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.1
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: 2022-02-01 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.3.5
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.