rails-rfc6570 2.6.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,11 +2,11 @@
2
2
 
3
3
  require 'spec_helper'
4
4
 
5
- RSpec.describe ::Rails::RFC6570::Visitor do
5
+ RSpec.describe Rails::RFC6570::Visitor do
6
6
  subject(:accept) { visitor.accept(node) }
7
7
 
8
8
  let(:visitor) { described_class.new }
9
- let(:node) { ::ActionDispatch::Journey::Parser.new.parse(path) }
9
+ let(:node) { ActionDispatch::Journey::Parser.new.parse(path) }
10
10
 
11
11
  describe '/' do
12
12
  let(:path) { '/' }
@@ -94,7 +94,7 @@ describe Rails::RFC6570, type: :request do
94
94
  before { get '/action', headers: headers }
95
95
 
96
96
  it 'includes URL helpers' do
97
- expect(response.status).to eq 200
97
+ expect(response).to have_http_status :ok
98
98
  end
99
99
 
100
100
  it 'allows to return and render templates' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-rfc6570
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-16 00:00:00.000000000 Z
11
+ date: 2023-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -44,20 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '2.3'
47
- - !ruby/object:Gem::Dependency
48
- name: bundler
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: '0'
61
47
  description:
62
48
  email:
63
49
  - jgraichen@altimos.de
@@ -119,47 +105,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
105
  requirements:
120
106
  - - ">="
121
107
  - !ruby/object:Gem::Version
122
- version: '2.5'
108
+ version: '2.7'
123
109
  required_rubygems_version: !ruby/object:Gem::Requirement
124
110
  requirements:
125
111
  - - ">="
126
112
  - !ruby/object:Gem::Version
127
113
  version: '0'
128
114
  requirements: []
129
- rubygems_version: 3.2.22
115
+ rubygems_version: 3.4.18
130
116
  signing_key:
131
117
  specification_version: 4
132
118
  summary: Pragmatical access to your Rails routes as RFC6570 URI templates.
133
- test_files:
134
- - spec/dummy/README.rdoc
135
- - spec/dummy/Rakefile
136
- - spec/dummy/app/controllers/application_controller.rb
137
- - spec/dummy/bin/bundle
138
- - spec/dummy/bin/rails
139
- - spec/dummy/bin/rake
140
- - spec/dummy/config.ru
141
- - spec/dummy/config/application.rb
142
- - spec/dummy/config/boot.rb
143
- - spec/dummy/config/database.yml
144
- - spec/dummy/config/environment.rb
145
- - spec/dummy/config/environments/development.rb
146
- - spec/dummy/config/environments/production.rb
147
- - spec/dummy/config/environments/test.rb
148
- - spec/dummy/config/initializers/backtrace_silencers.rb
149
- - spec/dummy/config/initializers/filter_parameter_logging.rb
150
- - spec/dummy/config/initializers/inflections.rb
151
- - spec/dummy/config/initializers/mime_types.rb
152
- - spec/dummy/config/initializers/secret_token.rb
153
- - spec/dummy/config/initializers/session_store.rb
154
- - spec/dummy/config/initializers/wrap_parameters.rb
155
- - spec/dummy/config/locales/en.yml
156
- - spec/dummy/config/routes.rb
157
- - spec/dummy/db/test.sqlite3
158
- - spec/dummy/log/test.log
159
- - spec/dummy/public/404.html
160
- - spec/dummy/public/422.html
161
- - spec/dummy/public/500.html
162
- - spec/dummy/public/favicon.ico
163
- - spec/rails/rfc6570/visitor_spec.rb
164
- - spec/rails/rfc6570_spec.rb
165
- - spec/spec_helper.rb
119
+ test_files: []