audit_tracker 0.1.0 → 0.2.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: 4b9079e64cb35e5229690f0ea50e4464767249e8b6154af79035ba584b3caf1a
4
- data.tar.gz: 42206ff6944bdc9770a73ee1692e3f508b586c9f65fc19d408a592ed0c39329e
3
+ metadata.gz: e04e4b70d9b97884587df52fa907bbacc870b80bafe44a6154c5e39703aca885
4
+ data.tar.gz: caa26a044b7a836dee8f7e572640653e791b020190989f83e1defc2c1f4565eb
5
5
  SHA512:
6
- metadata.gz: dc762930e22fb6036963eae309ed6d08bf0a3c25ac4bca21b8913b23e322c93b3f68c5e9338887a5165b0d38c22c5c44a4b6267e45da475048f9c837bfe7ab59
7
- data.tar.gz: c225767c844fc9c5025352ec4fe14b774cf6580bb74708a85241fb613236a7855a4f2e2f18d481c5f4341514d10719bfd082a15f5828a07a7d11a7fa974b6a0a
6
+ metadata.gz: e33745dd28b6db93ac71fc430614ad8b5bcb030615f32f21711890076e560a39b96def7ae7463c7e4e213418a8577204c81ef23f11f293d99e33868845bb572c
7
+ data.tar.gz: 7ade127c0cbad5cf261527f95a973ef0f086c407e63bad26d49db1c8c477fcc4f9a959fb4f87bca89d33f3ab5db29c452a358a3f480a88c67b521d5de0b11b1d
data/.rubocop.yml CHANGED
@@ -1,2 +1,30 @@
1
1
  require:
2
2
  - rubocop-powerhome
3
+
4
+ Rails/ActionFilter:
5
+ Enabled: false
6
+
7
+ Rails/ActionOrder:
8
+ Enabled: false
9
+
10
+ Rails/CreateTableWithTimestamps:
11
+ Exclude:
12
+ - 'spec/internal/db/schema.rb'
13
+
14
+ Rails/SchemaComment:
15
+ Exclude:
16
+ - 'spec/internal/db/schema.rb'
17
+
18
+ Rails/HelperInstanceVariable:
19
+ Exclude:
20
+ - 'lib/audit_tracker/tracker.rb'
21
+ - 'lib/audit_tracker/dsl.rb'
22
+ - 'lib/audit_tracker.rb'
23
+
24
+ Metrics/BlockLength:
25
+ Exclude:
26
+ - 'spec/internal/db/schema.rb'
27
+ - 'audit_tracker.gemspec'
28
+
29
+ Rails/EnvironmentVariableAccess:
30
+ Enabled: false
data/Appraisals ADDED
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ appraise "rails-7-1" do
4
+ gem "rails", "7.1.5.2"
5
+ gem "rspec-rails", "~> 7.1.1"
6
+ end
7
+
8
+ appraise "rails-7-2" do
9
+ gem "rails", "7.2.2.2"
10
+ gem "rspec-rails", "~> 8.0.1"
11
+ end
12
+
13
+ appraise "rails-8-0" do
14
+ gem "rails", "8.0.5"
15
+ gem "rspec-rails", "~> 8.0.1"
16
+ end
17
+
18
+ appraise "rails-8-1" do
19
+ gem "rails", "8.1.3"
20
+ gem "rspec-rails", "~> 8.0.1"
21
+ end
data/Gemfile CHANGED
@@ -2,16 +2,10 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- # Specify your gem's dependencies in audit_tracker.gemspec
6
5
  gemspec
7
6
 
8
- rails_version = ENV.fetch("RAILS_VERSION", ">= 5.2.8.1")
9
-
10
- gem "rails", rails_version
11
-
12
- gem "byebug"
13
7
  gem "license_finder", ">= 7.0"
14
8
  gem "rake", ">= 13.0"
15
9
  gem "rspec", ">= 3.0"
16
10
  gem "rubocop", ">= 1.32"
17
- gem "rubocop-powerhome", ">= 0.5.0"
11
+ gem "rubocop-powerhome", path: "../rubocop-powerhome"
data/Gemfile.lock ADDED
@@ -0,0 +1,246 @@
1
+ PATH
2
+ remote: ../rubocop-powerhome
3
+ specs:
4
+ rubocop-powerhome (0.7.0)
5
+ rubocop (= 1.82.1)
6
+ rubocop-performance
7
+ rubocop-rails
8
+ rubocop-rake
9
+ rubocop-rspec
10
+
11
+ PATH
12
+ remote: .
13
+ specs:
14
+ audit_tracker (0.2.0)
15
+
16
+ GEM
17
+ remote: https://rubygems.org/
18
+ specs:
19
+ actionpack (7.2.3.1)
20
+ actionview (= 7.2.3.1)
21
+ activesupport (= 7.2.3.1)
22
+ cgi
23
+ nokogiri (>= 1.8.5)
24
+ racc
25
+ rack (>= 2.2.4, < 3.3)
26
+ rack-session (>= 1.0.1)
27
+ rack-test (>= 0.6.3)
28
+ rails-dom-testing (~> 2.2)
29
+ rails-html-sanitizer (~> 1.6)
30
+ useragent (~> 0.16)
31
+ actionview (7.2.3.1)
32
+ activesupport (= 7.2.3.1)
33
+ builder (~> 3.1)
34
+ cgi
35
+ erubi (~> 1.11)
36
+ rails-dom-testing (~> 2.2)
37
+ rails-html-sanitizer (~> 1.6)
38
+ activemodel (7.2.3.1)
39
+ activesupport (= 7.2.3.1)
40
+ activerecord (7.2.3.1)
41
+ activemodel (= 7.2.3.1)
42
+ activesupport (= 7.2.3.1)
43
+ timeout (>= 0.4.0)
44
+ activesupport (7.2.3.1)
45
+ base64
46
+ benchmark (>= 0.3)
47
+ bigdecimal
48
+ concurrent-ruby (~> 1.0, >= 1.3.1)
49
+ connection_pool (>= 2.2.5)
50
+ drb
51
+ i18n (>= 1.6, < 2)
52
+ logger (>= 1.4.2)
53
+ minitest (>= 5.1, < 6)
54
+ securerandom (>= 0.3)
55
+ tzinfo (~> 2.0, >= 2.0.5)
56
+ appraisal (2.5.0)
57
+ bundler
58
+ rake
59
+ thor (>= 0.14.0)
60
+ ast (2.4.3)
61
+ base64 (0.3.0)
62
+ benchmark (0.5.0)
63
+ bigdecimal (4.1.1)
64
+ builder (3.3.0)
65
+ cgi (0.5.1)
66
+ combustion (1.5.0)
67
+ activesupport (>= 3.0.0)
68
+ railties (>= 3.0.0)
69
+ thor (>= 0.14.6)
70
+ concurrent-ruby (1.3.6)
71
+ connection_pool (3.0.2)
72
+ crass (1.0.6)
73
+ csv (3.3.5)
74
+ date (3.5.1)
75
+ diff-lcs (1.6.2)
76
+ drb (2.2.3)
77
+ erb (6.0.2)
78
+ erubi (1.13.1)
79
+ i18n (1.14.8)
80
+ concurrent-ruby (~> 1.0)
81
+ io-console (0.8.2)
82
+ irb (1.17.0)
83
+ pp (>= 0.6.0)
84
+ prism (>= 1.3.0)
85
+ rdoc (>= 4.0.0)
86
+ reline (>= 0.4.2)
87
+ json (2.19.3)
88
+ language_server-protocol (3.17.0.5)
89
+ license_finder (7.2.1)
90
+ bundler
91
+ csv (~> 3.2)
92
+ rubyzip (>= 1, < 3)
93
+ thor (~> 1.2)
94
+ tomlrb (>= 1.3, < 2.1)
95
+ with_env (= 1.1.0)
96
+ xml-simple (~> 1.1.9)
97
+ lint_roller (1.1.0)
98
+ logger (1.7.0)
99
+ loofah (2.25.1)
100
+ crass (~> 1.0.2)
101
+ nokogiri (>= 1.12.0)
102
+ mini_portile2 (2.8.9)
103
+ minitest (5.27.0)
104
+ nokogiri (1.19.2)
105
+ mini_portile2 (~> 2.8.2)
106
+ racc (~> 1.4)
107
+ nokogiri (1.19.2-arm64-darwin)
108
+ racc (~> 1.4)
109
+ nokogiri (1.19.2-x86_64-linux-gnu)
110
+ racc (~> 1.4)
111
+ parallel (1.28.0)
112
+ parser (3.3.11.1)
113
+ ast (~> 2.4.1)
114
+ racc
115
+ pp (0.6.3)
116
+ prettyprint
117
+ prettyprint (0.2.0)
118
+ prism (1.9.0)
119
+ psych (5.3.1)
120
+ date
121
+ stringio
122
+ racc (1.8.1)
123
+ rack (3.2.6)
124
+ rack-session (2.1.2)
125
+ base64 (>= 0.1.0)
126
+ rack (>= 3.0.0)
127
+ rack-test (2.2.0)
128
+ rack (>= 1.3)
129
+ rackup (2.3.1)
130
+ rack (>= 3)
131
+ rails-dom-testing (2.3.0)
132
+ activesupport (>= 5.0.0)
133
+ minitest
134
+ nokogiri (>= 1.6)
135
+ rails-html-sanitizer (1.7.0)
136
+ loofah (~> 2.25)
137
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
138
+ railties (7.2.3.1)
139
+ actionpack (= 7.2.3.1)
140
+ activesupport (= 7.2.3.1)
141
+ cgi
142
+ irb (~> 1.13)
143
+ rackup (>= 1.0.0)
144
+ rake (>= 12.2)
145
+ thor (~> 1.0, >= 1.2.2)
146
+ tsort (>= 0.2)
147
+ zeitwerk (~> 2.6)
148
+ rainbow (3.1.1)
149
+ rake (13.3.1)
150
+ rdoc (7.2.0)
151
+ erb
152
+ psych (>= 4.0.0)
153
+ tsort
154
+ regexp_parser (2.12.0)
155
+ reline (0.6.3)
156
+ io-console (~> 0.5)
157
+ rexml (3.4.4)
158
+ rspec (3.13.2)
159
+ rspec-core (~> 3.13.0)
160
+ rspec-expectations (~> 3.13.0)
161
+ rspec-mocks (~> 3.13.0)
162
+ rspec-core (3.13.6)
163
+ rspec-support (~> 3.13.0)
164
+ rspec-expectations (3.13.5)
165
+ diff-lcs (>= 1.2.0, < 2.0)
166
+ rspec-support (~> 3.13.0)
167
+ rspec-mocks (3.13.8)
168
+ diff-lcs (>= 1.2.0, < 2.0)
169
+ rspec-support (~> 3.13.0)
170
+ rspec-support (3.13.7)
171
+ rubocop (1.82.1)
172
+ json (~> 2.3)
173
+ language_server-protocol (~> 3.17.0.2)
174
+ lint_roller (~> 1.1.0)
175
+ parallel (~> 1.10)
176
+ parser (>= 3.3.0.2)
177
+ rainbow (>= 2.2.2, < 4.0)
178
+ regexp_parser (>= 2.9.3, < 3.0)
179
+ rubocop-ast (>= 1.48.0, < 2.0)
180
+ ruby-progressbar (~> 1.7)
181
+ unicode-display_width (>= 2.4.0, < 4.0)
182
+ rubocop-ast (1.49.1)
183
+ parser (>= 3.3.7.2)
184
+ prism (~> 1.7)
185
+ rubocop-performance (1.26.1)
186
+ lint_roller (~> 1.1)
187
+ rubocop (>= 1.75.0, < 2.0)
188
+ rubocop-ast (>= 1.47.1, < 2.0)
189
+ rubocop-rails (2.34.3)
190
+ activesupport (>= 4.2.0)
191
+ lint_roller (~> 1.1)
192
+ rack (>= 1.1)
193
+ rubocop (>= 1.75.0, < 2.0)
194
+ rubocop-ast (>= 1.44.0, < 2.0)
195
+ rubocop-rake (0.7.1)
196
+ lint_roller (~> 1.1)
197
+ rubocop (>= 1.72.1)
198
+ rubocop-rspec (3.9.0)
199
+ lint_roller (~> 1.1)
200
+ rubocop (~> 1.81)
201
+ ruby-progressbar (1.13.0)
202
+ rubyzip (2.4.1)
203
+ securerandom (0.4.1)
204
+ shoulda-matchers (5.1.0)
205
+ activesupport (>= 5.2.0)
206
+ sqlite3 (2.9.2)
207
+ mini_portile2 (~> 2.8.0)
208
+ sqlite3 (2.9.2-arm64-darwin)
209
+ sqlite3 (2.9.2-x86_64-linux-gnu)
210
+ stringio (3.2.0)
211
+ thor (1.5.0)
212
+ timeout (0.6.1)
213
+ tomlrb (2.0.4)
214
+ tsort (0.2.0)
215
+ tzinfo (2.0.6)
216
+ concurrent-ruby (~> 1.0)
217
+ unicode-display_width (3.2.0)
218
+ unicode-emoji (~> 4.1)
219
+ unicode-emoji (4.2.0)
220
+ useragent (0.16.11)
221
+ with_env (1.1.0)
222
+ xml-simple (1.1.9)
223
+ rexml
224
+ zeitwerk (2.7.5)
225
+
226
+ PLATFORMS
227
+ arm64-darwin-22
228
+ arm64-darwin-23
229
+ ruby
230
+ x86_64-linux
231
+
232
+ DEPENDENCIES
233
+ activerecord (>= 7.1.5.2, < 8.2)
234
+ appraisal (~> 2.5.0)
235
+ audit_tracker!
236
+ combustion (~> 1.3)
237
+ license_finder (>= 7.0)
238
+ rake (>= 13.0)
239
+ rspec (>= 3.0)
240
+ rubocop (>= 1.32)
241
+ rubocop-powerhome!
242
+ shoulda-matchers (~> 5.1.0)
243
+ sqlite3 (~> 2.9)
244
+
245
+ BUNDLED WITH
246
+ 2.5.23
@@ -12,8 +12,9 @@ Gem::Specification.new do |spec|
12
12
  spec.description = spec.summary
13
13
  spec.homepage = "https://github.com/powerhome/power-tools"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = ">= 2.7"
15
+ spec.required_ruby_version = ">= 3.2"
16
16
 
17
+ spec.metadata["rubygems_mfa_required"] = "true"
17
18
  spec.metadata["homepage_uri"] = spec.homepage
18
19
  spec.metadata["source_code_uri"] = spec.homepage
19
20
  spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/packages/audit_tracker/docs/CHANGELOG.md"
@@ -29,10 +30,9 @@ Gem::Specification.new do |spec|
29
30
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
31
  spec.require_paths = ["lib"]
31
32
 
32
- spec.add_development_dependency "activerecord", ">= 5.2.8.1"
33
+ spec.add_development_dependency "activerecord", ">= 7.1.5.2", "< 8.2"
34
+ spec.add_development_dependency "appraisal", "~> 2.5.0"
33
35
  spec.add_development_dependency "combustion", "~> 1.3"
34
- spec.add_development_dependency "rspec-rails", "~> 5.1.2"
35
36
  spec.add_development_dependency "shoulda-matchers", "~> 5.1.0"
36
- spec.add_development_dependency "sqlite3", "~> 1.4.2"
37
- spec.metadata["rubygems_mfa_required"] = "true"
37
+ spec.add_development_dependency "sqlite3", "~> 2.9"
38
38
  end
data/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.0] - 2026-07-28
4
+
5
+ [HFH-4410 - Bump powertools for Rails 8.1.3](https://github.com/powerhome/power-tools/pull/426)
6
+
7
+ - Upgrade Rails to 8.1.3 for Nitro and Runway compatability
8
+ - Drop support for Ruby < 3.3 and Rails < 7.1 [#396](https://github.com/powerhome/power-tools/pull/396)
9
+ - Update Rails version to 7.2.3.1 for Active Support CVE [#403](https://github.com/powerhome/power-tools/pull/403)
10
+
11
+ ---
12
+
13
+ - Standardize all libs to support ruby 3.0, ruby 3.3 x rails 6.1 through rails 7.2 [#359](https://github.com/powerhome/power-tools/pull/359)
14
+ - Drop support for Ruby < 3.3 and Rails < 7.1 [#396](https://github.com/powerhome/power-tools/pull/396)
15
+
16
+ ## [0.1.1] - 2023-01-08
17
+
18
+ - Bugfixes, minor version bumps
19
+
3
20
  ## [0.1.0] - 2022-07-28
4
21
 
5
22
  - Initial release
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by Appraisal
4
+
5
+ source "https://rubygems.org"
6
+
7
+ gem "license_finder", ">= 7.0"
8
+ gem "rails", "7.1.5.2"
9
+ gem "rake", ">= 13.0"
10
+ gem "rspec", ">= 3.0"
11
+ gem "rspec-rails", "~> 7.1.1"
12
+ gem "rubocop", ">= 1.32"
13
+ gem "rubocop-powerhome", path: "../../rubocop-powerhome"
14
+
15
+ gemspec path: "../"