rails-footnotes 5.0.0 → 7.0.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: c46e88fcf583fff51677ec9c3d049017bc3154f17c38aa9c872f14b5ab5184db
4
- data.tar.gz: 16f25b1769f5bd07bbc68c5e598d9a247669fa8249bc08ebcadd0f62427ad085
3
+ metadata.gz: 67dd876890a76a0d5907902934ec0fd233d143c002a5dc67572f2015f6f3ef0a
4
+ data.tar.gz: be6c1412e334b99111f4c0e5eb702c79f1e213aa39bc01750478b7c9823d7363
5
5
  SHA512:
6
- metadata.gz: 207f2170eed40c410ab90f923ecddc199abe7fdcf341f1e047d9ceda03be2f6135ac049c821249645929123a719cd78812bcfffda8b4aa25340788851f264ec6
7
- data.tar.gz: faec60331eb700897e1013e1e3df6b158ba57f3682ab61e479612da878666dd2c34a5f47f76b9fc4162e9bbfeb85f7b7cf28b282ff9ddfa847c81592477cb326
6
+ metadata.gz: c752688540b1f643dc25faf90fcdb879ac0477aa463acb423ec24011eb76d3d84160b1a583630d7002699ae181dc083cff17f7e2a6d46bdf75ba52f4416dd270
7
+ data.tar.gz: a9010b8aead77c935804b045e4b227f04979a6a2b31bd367c90a06d5dcbf96cc31a2c83dd6d868c59824f650213d84bf9e4690bb7bf06d15e389b5fd6489a1c7
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
7
+ - package-ecosystem: "bundler"
8
+ directory: "/"
9
+ schedule:
10
+ interval: "daily"
@@ -8,18 +8,12 @@ on:
8
8
 
9
9
  jobs:
10
10
  test:
11
-
12
11
  runs-on: ubuntu-latest
13
- strategy:
14
- matrix:
15
- ruby-version: ['3.0']
16
-
17
12
  steps:
18
- - uses: actions/checkout@v2
13
+ - uses: actions/checkout@v4
19
14
  - name: Set up Ruby
20
15
  uses: ruby/setup-ruby@v1
21
16
  with:
22
- ruby-version: ${{ matrix.ruby-version }}
23
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
17
+ bundler-cache: true
24
18
  - name: Run tests
25
19
  run: bin/rspec
@@ -0,0 +1,33 @@
1
+ name: "Merge updates"
2
+ on:
3
+ workflow_run:
4
+ workflows: ["CI"]
5
+ types: ["completed"]
6
+ branches: ["dependabot/**"]
7
+ jobs:
8
+ merge:
9
+ name: "Merge"
10
+ runs-on: "ubuntu-latest"
11
+ permissions:
12
+ contents: write
13
+ issues: write
14
+ pull-requests: write
15
+ if: >
16
+ github.event.workflow_run.event == 'pull_request' &&
17
+ github.event.workflow_run.conclusion == 'success' &&
18
+ github.actor == 'dependabot[bot]'
19
+ steps:
20
+ - name: "Merge pull request"
21
+ uses: "actions/github-script@v7"
22
+ with:
23
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
24
+ script: |
25
+ const pullRequest = context.payload.workflow_run.pull_requests[0]
26
+ const repository = context.repo
27
+
28
+ await github.rest.pulls.merge({
29
+ merge_method: "merge",
30
+ owner: repository.owner,
31
+ pull_number: pullRequest.number,
32
+ repo: repository.repo,
33
+ })
data/.gitignore CHANGED
@@ -1,15 +1,10 @@
1
- .*
2
- !.github
3
- !.gitignore
4
- !.gitmodules
5
- !*.example
6
1
  *.gem
7
2
  .bundle
8
3
  .rspec_results
9
- pkg/*
10
4
  /coverage
11
- tags
12
5
  /doc
13
6
  /myapp
14
- spec/tmp
7
+ pkg/*
15
8
  spec/log
9
+ spec/tmp
10
+ tags
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.2
data/Gemfile CHANGED
@@ -2,9 +2,12 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
+ ruby file: ".ruby-version"
6
+
5
7
  gem "capybara", "~> 3.35"
6
8
  gem "nokogiri", "~> 1.12"
7
9
  gem "pry", "~> 0.14.1"
8
10
  gem "rake", "~> 13.0"
9
- gem "rspec-rails", "~> 5.0"
11
+ gem "rspec-rails", "~> 6.0"
10
12
  gem "sprockets-rails", "~> 3.2"
13
+ gem "matrix", "~> 0.4.2"
data/Gemfile.lock CHANGED
@@ -1,76 +1,83 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails-footnotes (5.0.0)
5
- rails (~> 6.0)
4
+ rails-footnotes (7.0.0)
5
+ rails (~> 7.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (6.1.4)
11
- actionpack (= 6.1.4)
12
- activesupport (= 6.1.4)
10
+ actioncable (7.0.8)
11
+ actionpack (= 7.0.8)
12
+ activesupport (= 7.0.8)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
- actionmailbox (6.1.4)
16
- actionpack (= 6.1.4)
17
- activejob (= 6.1.4)
18
- activerecord (= 6.1.4)
19
- activestorage (= 6.1.4)
20
- activesupport (= 6.1.4)
15
+ actionmailbox (7.0.8)
16
+ actionpack (= 7.0.8)
17
+ activejob (= 7.0.8)
18
+ activerecord (= 7.0.8)
19
+ activestorage (= 7.0.8)
20
+ activesupport (= 7.0.8)
21
21
  mail (>= 2.7.1)
22
- actionmailer (6.1.4)
23
- actionpack (= 6.1.4)
24
- actionview (= 6.1.4)
25
- activejob (= 6.1.4)
26
- activesupport (= 6.1.4)
22
+ net-imap
23
+ net-pop
24
+ net-smtp
25
+ actionmailer (7.0.8)
26
+ actionpack (= 7.0.8)
27
+ actionview (= 7.0.8)
28
+ activejob (= 7.0.8)
29
+ activesupport (= 7.0.8)
27
30
  mail (~> 2.5, >= 2.5.4)
31
+ net-imap
32
+ net-pop
33
+ net-smtp
28
34
  rails-dom-testing (~> 2.0)
29
- actionpack (6.1.4)
30
- actionview (= 6.1.4)
31
- activesupport (= 6.1.4)
32
- rack (~> 2.0, >= 2.0.9)
35
+ actionpack (7.0.8)
36
+ actionview (= 7.0.8)
37
+ activesupport (= 7.0.8)
38
+ rack (~> 2.0, >= 2.2.4)
33
39
  rack-test (>= 0.6.3)
34
40
  rails-dom-testing (~> 2.0)
35
41
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
- actiontext (6.1.4)
37
- actionpack (= 6.1.4)
38
- activerecord (= 6.1.4)
39
- activestorage (= 6.1.4)
40
- activesupport (= 6.1.4)
42
+ actiontext (7.0.8)
43
+ actionpack (= 7.0.8)
44
+ activerecord (= 7.0.8)
45
+ activestorage (= 7.0.8)
46
+ activesupport (= 7.0.8)
47
+ globalid (>= 0.6.0)
41
48
  nokogiri (>= 1.8.5)
42
- actionview (6.1.4)
43
- activesupport (= 6.1.4)
49
+ actionview (7.0.8)
50
+ activesupport (= 7.0.8)
44
51
  builder (~> 3.1)
45
52
  erubi (~> 1.4)
46
53
  rails-dom-testing (~> 2.0)
47
54
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
- activejob (6.1.4)
49
- activesupport (= 6.1.4)
55
+ activejob (7.0.8)
56
+ activesupport (= 7.0.8)
50
57
  globalid (>= 0.3.6)
51
- activemodel (6.1.4)
52
- activesupport (= 6.1.4)
53
- activerecord (6.1.4)
54
- activemodel (= 6.1.4)
55
- activesupport (= 6.1.4)
56
- activestorage (6.1.4)
57
- actionpack (= 6.1.4)
58
- activejob (= 6.1.4)
59
- activerecord (= 6.1.4)
60
- activesupport (= 6.1.4)
61
- marcel (~> 1.0.0)
58
+ activemodel (7.0.8)
59
+ activesupport (= 7.0.8)
60
+ activerecord (7.0.8)
61
+ activemodel (= 7.0.8)
62
+ activesupport (= 7.0.8)
63
+ activestorage (7.0.8)
64
+ actionpack (= 7.0.8)
65
+ activejob (= 7.0.8)
66
+ activerecord (= 7.0.8)
67
+ activesupport (= 7.0.8)
68
+ marcel (~> 1.0)
62
69
  mini_mime (>= 1.1.0)
63
- activesupport (6.1.4)
70
+ activesupport (7.0.8)
64
71
  concurrent-ruby (~> 1.0, >= 1.0.2)
65
72
  i18n (>= 1.6, < 2)
66
73
  minitest (>= 5.1)
67
74
  tzinfo (~> 2.0)
68
- zeitwerk (~> 2.3)
69
- addressable (2.8.0)
70
- public_suffix (>= 2.0.2, < 5.0)
75
+ addressable (2.8.5)
76
+ public_suffix (>= 2.0.2, < 6.0)
71
77
  builder (3.2.4)
72
- capybara (3.35.3)
78
+ capybara (3.39.2)
73
79
  addressable
80
+ matrix
74
81
  mini_mime (>= 0.1.3)
75
82
  nokogiri (~> 1.8)
76
83
  rack (>= 1.6.0)
@@ -78,110 +85,133 @@ GEM
78
85
  regexp_parser (>= 1.5, < 3.0)
79
86
  xpath (~> 3.2)
80
87
  coderay (1.1.3)
81
- concurrent-ruby (1.1.9)
88
+ concurrent-ruby (1.2.2)
82
89
  crass (1.0.6)
83
- diff-lcs (1.4.4)
84
- erubi (1.10.0)
85
- globalid (0.5.2)
86
- activesupport (>= 5.0)
87
- i18n (1.8.10)
90
+ date (3.3.4)
91
+ diff-lcs (1.5.0)
92
+ erubi (1.12.0)
93
+ globalid (1.2.1)
94
+ activesupport (>= 6.1)
95
+ i18n (1.14.1)
88
96
  concurrent-ruby (~> 1.0)
89
- loofah (2.12.0)
97
+ loofah (2.22.0)
90
98
  crass (~> 1.0.2)
91
- nokogiri (>= 1.5.9)
92
- mail (2.7.1)
99
+ nokogiri (>= 1.12.0)
100
+ mail (2.8.1)
93
101
  mini_mime (>= 0.1.1)
94
- marcel (1.0.1)
102
+ net-imap
103
+ net-pop
104
+ net-smtp
105
+ marcel (1.0.2)
106
+ matrix (0.4.2)
95
107
  method_source (1.0.0)
96
- mini_mime (1.1.0)
97
- minitest (5.14.4)
98
- nio4r (2.5.8)
99
- nokogiri (1.12.3-arm64-darwin)
108
+ mini_mime (1.1.5)
109
+ minitest (5.20.0)
110
+ net-imap (0.4.6)
111
+ date
112
+ net-protocol
113
+ net-pop (0.1.2)
114
+ net-protocol
115
+ net-protocol (0.2.2)
116
+ timeout
117
+ net-smtp (0.4.0)
118
+ net-protocol
119
+ nio4r (2.6.1)
120
+ nokogiri (1.15.5-arm64-darwin)
100
121
  racc (~> 1.4)
101
- nokogiri (1.12.3-x86_64-linux)
122
+ nokogiri (1.15.5-x86_64-linux)
102
123
  racc (~> 1.4)
103
- pry (0.14.1)
124
+ pry (0.14.2)
104
125
  coderay (~> 1.1)
105
126
  method_source (~> 1.0)
106
- public_suffix (4.0.6)
107
- racc (1.5.2)
108
- rack (2.2.3)
109
- rack-test (1.1.0)
110
- rack (>= 1.0, < 3)
111
- rails (6.1.4)
112
- actioncable (= 6.1.4)
113
- actionmailbox (= 6.1.4)
114
- actionmailer (= 6.1.4)
115
- actionpack (= 6.1.4)
116
- actiontext (= 6.1.4)
117
- actionview (= 6.1.4)
118
- activejob (= 6.1.4)
119
- activemodel (= 6.1.4)
120
- activerecord (= 6.1.4)
121
- activestorage (= 6.1.4)
122
- activesupport (= 6.1.4)
127
+ public_suffix (5.0.4)
128
+ racc (1.7.3)
129
+ rack (2.2.8)
130
+ rack-test (2.1.0)
131
+ rack (>= 1.3)
132
+ rails (7.0.8)
133
+ actioncable (= 7.0.8)
134
+ actionmailbox (= 7.0.8)
135
+ actionmailer (= 7.0.8)
136
+ actionpack (= 7.0.8)
137
+ actiontext (= 7.0.8)
138
+ actionview (= 7.0.8)
139
+ activejob (= 7.0.8)
140
+ activemodel (= 7.0.8)
141
+ activerecord (= 7.0.8)
142
+ activestorage (= 7.0.8)
143
+ activesupport (= 7.0.8)
123
144
  bundler (>= 1.15.0)
124
- railties (= 6.1.4)
125
- sprockets-rails (>= 2.0.0)
126
- rails-dom-testing (2.0.3)
127
- activesupport (>= 4.2.0)
145
+ railties (= 7.0.8)
146
+ rails-dom-testing (2.2.0)
147
+ activesupport (>= 5.0.0)
148
+ minitest
128
149
  nokogiri (>= 1.6)
129
- rails-html-sanitizer (1.4.1)
130
- loofah (~> 2.3)
131
- railties (6.1.4)
132
- actionpack (= 6.1.4)
133
- activesupport (= 6.1.4)
150
+ rails-html-sanitizer (1.6.0)
151
+ loofah (~> 2.21)
152
+ nokogiri (~> 1.14)
153
+ railties (7.0.8)
154
+ actionpack (= 7.0.8)
155
+ activesupport (= 7.0.8)
134
156
  method_source
135
- rake (>= 0.13)
157
+ rake (>= 12.2)
136
158
  thor (~> 1.0)
137
- rake (13.0.6)
138
- regexp_parser (2.1.1)
139
- rspec-core (3.10.1)
140
- rspec-support (~> 3.10.0)
141
- rspec-expectations (3.10.1)
159
+ zeitwerk (~> 2.5)
160
+ rake (13.1.0)
161
+ regexp_parser (2.8.2)
162
+ rspec-core (3.12.2)
163
+ rspec-support (~> 3.12.0)
164
+ rspec-expectations (3.12.3)
142
165
  diff-lcs (>= 1.2.0, < 2.0)
143
- rspec-support (~> 3.10.0)
144
- rspec-mocks (3.10.2)
166
+ rspec-support (~> 3.12.0)
167
+ rspec-mocks (3.12.6)
145
168
  diff-lcs (>= 1.2.0, < 2.0)
146
- rspec-support (~> 3.10.0)
147
- rspec-rails (5.0.2)
169
+ rspec-support (~> 3.12.0)
170
+ rspec-rails (6.1.0)
171
+ actionpack (>= 6.1)
172
+ activesupport (>= 6.1)
173
+ railties (>= 6.1)
174
+ rspec-core (~> 3.12)
175
+ rspec-expectations (~> 3.12)
176
+ rspec-mocks (~> 3.12)
177
+ rspec-support (~> 3.12)
178
+ rspec-support (3.12.1)
179
+ sprockets (4.2.1)
180
+ concurrent-ruby (~> 1.0)
181
+ rack (>= 2.2.4, < 4)
182
+ sprockets-rails (3.4.2)
148
183
  actionpack (>= 5.2)
149
184
  activesupport (>= 5.2)
150
- railties (>= 5.2)
151
- rspec-core (~> 3.10)
152
- rspec-expectations (~> 3.10)
153
- rspec-mocks (~> 3.10)
154
- rspec-support (~> 3.10)
155
- rspec-support (3.10.2)
156
- sprockets (4.0.2)
157
- concurrent-ruby (~> 1.0)
158
- rack (> 1, < 3)
159
- sprockets-rails (3.2.2)
160
- actionpack (>= 4.0)
161
- activesupport (>= 4.0)
162
185
  sprockets (>= 3.0.0)
163
- thor (1.1.0)
164
- tzinfo (2.0.4)
186
+ thor (1.3.0)
187
+ timeout (0.4.1)
188
+ tzinfo (2.0.6)
165
189
  concurrent-ruby (~> 1.0)
166
- websocket-driver (0.7.5)
190
+ websocket-driver (0.7.6)
167
191
  websocket-extensions (>= 0.1.0)
168
192
  websocket-extensions (0.1.5)
169
193
  xpath (3.2.0)
170
194
  nokogiri (~> 1.8)
171
- zeitwerk (2.4.2)
195
+ zeitwerk (2.6.12)
172
196
 
173
197
  PLATFORMS
174
198
  arm64-darwin-20
199
+ arm64-darwin-22
200
+ arm64-darwin-23
175
201
  x86_64-linux
176
202
 
177
203
  DEPENDENCIES
178
204
  capybara (~> 3.35)
205
+ matrix (~> 0.4.2)
179
206
  nokogiri (~> 1.12)
180
207
  pry (~> 0.14.1)
181
208
  rails-footnotes!
182
209
  rake (~> 13.0)
183
- rspec-rails (~> 5.0)
210
+ rspec-rails (~> 6.0)
184
211
  sprockets-rails (~> 3.2)
185
212
 
213
+ RUBY VERSION
214
+ ruby 3.2.2p53
215
+
186
216
  BUNDLED WITH
187
- 2.2.23
217
+ 2.4.22
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- = Rails 6 Footnotes
1
+ = Rails 7 Footnotes
2
2
 
3
3
  Rails footnotes displays footnotes in your application for easy debugging, such as sessions,
4
4
  request parameters, cookies, filter chain, routes, queries, etc.
@@ -14,7 +14,7 @@ module Footnotes
14
14
  end
15
15
 
16
16
  def valid?
17
- prefix? && controller_filename && File.exists?(controller_filename)
17
+ prefix? && controller_filename && File.exist?(controller_filename)
18
18
  end
19
19
 
20
20
  protected
@@ -27,7 +27,7 @@ module Footnotes
27
27
  end
28
28
 
29
29
  def valid?
30
- prefix? && filename && File.exists?(filename)
30
+ prefix? && filename && File.exist?(filename)
31
31
  end
32
32
 
33
33
  protected
@@ -1,3 +1,3 @@
1
1
  module Footnotes
2
- VERSION = "5.0.0"
2
+ VERSION = "7.0.0"
3
3
  end
@@ -12,8 +12,8 @@ Gem::Specification.new do |s|
12
12
  s.summary = %q{Every Rails page has footnotes that gives information about your application and links back to your editor.}
13
13
  s.description = %q{Every Rails page has footnotes that gives information about your application and links back to your editor.}
14
14
 
15
- s.add_dependency "rails", "~> 6.0"
16
- s.required_ruby_version = "~> 3.0"
15
+ s.add_dependency "rails", "~> 7.0"
16
+ s.required_ruby_version = ">= 3.0"
17
17
 
18
18
  s.files = `git ls-files`.split("\n")
19
19
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
data/renovate.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "ruby-version": {
3
+ "enabled": true
4
+ }
5
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-footnotes
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman V. Babenko
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2021-08-23 00:00:00.000000000 Z
16
+ date: 2023-11-29 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rails
@@ -21,14 +21,14 @@ dependencies:
21
21
  requirements:
22
22
  - - "~>"
23
23
  - !ruby/object:Gem::Version
24
- version: '6.0'
24
+ version: '7.0'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
28
28
  requirements:
29
29
  - - "~>"
30
30
  - !ruby/object:Gem::Version
31
- version: '6.0'
31
+ version: '7.0'
32
32
  description: Every Rails page has footnotes that gives information about your application
33
33
  and links back to your editor.
34
34
  email:
@@ -37,9 +37,12 @@ executables: []
37
37
  extensions: []
38
38
  extra_rdoc_files: []
39
39
  files:
40
+ - ".github/dependabot.yml"
40
41
  - ".github/workflows/ci.yml"
42
+ - ".github/workflows/merge-dependabot.yml"
41
43
  - ".gitignore"
42
44
  - ".rspec.example"
45
+ - ".ruby-version"
43
46
  - CHANGELOG
44
47
  - Gemfile
45
48
  - Gemfile.lock
@@ -79,8 +82,8 @@ files:
79
82
  - lib/rails-footnotes/notes/stylesheets_note.rb
80
83
  - lib/rails-footnotes/notes/view_note.rb
81
84
  - lib/rails-footnotes/version.rb
82
- - lib/rails6-footnotes.rb
83
85
  - rails-footnotes.gemspec
86
+ - renovate.json
84
87
  - spec/abstract_note_spec.rb
85
88
  - spec/app/assets/config/manifest.js
86
89
  - spec/app/assets/javascripts/foobar.js
@@ -112,7 +115,7 @@ require_paths:
112
115
  - lib
113
116
  required_ruby_version: !ruby/object:Gem::Requirement
114
117
  requirements:
115
- - - "~>"
118
+ - - ">="
116
119
  - !ruby/object:Gem::Version
117
120
  version: '3.0'
118
121
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -121,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
124
  - !ruby/object:Gem::Version
122
125
  version: '0'
123
126
  requirements: []
124
- rubygems_version: 3.2.23
127
+ rubygems_version: 3.4.10
125
128
  signing_key:
126
129
  specification_version: 4
127
130
  summary: Every Rails page has footnotes that gives information about your application
@@ -1 +0,0 @@
1
- require_relative "./rails-footnotes"