route_translator 7.0.0 → 7.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2f33ffee939f6a410cc991d1e6937123d096263461dee1ff8c1f2d9d0ab4286
|
4
|
+
data.tar.gz: f23abb52df341f50327dcca5e357b1d48fdebf1520218c3f152998c9eeedede0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 529f1d1621286b84c0e47a532a6f17ff4efd901153b2086f13ebf3f4c18462d65470f91ac78d9180601f8af38ed754eecab3869c56b8f2bd39ba90b9341cc83b
|
7
|
+
data.tar.gz: 145661421d0bc78601484d1e0c41fb525306814fa97057e2eeb41fce0a24f7399a42dd4e8361a8e58001468eb0a257472227bd461a9283bdb3510082d9594c07
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 7.0.1 / 2019-10-14
|
4
|
+
|
5
|
+
* [BUGFIX] Fix missing dup on blocks ([#203](https://github.com/enriclluelles/route_translator/pull/203))
|
6
|
+
* [ENHANCEMENT] Test against latest Ruby versions
|
7
|
+
* [ENHANCEMENT] Update development dependencies
|
8
|
+
|
3
9
|
## 7.0.0 / 2019-07-30
|
4
10
|
|
5
11
|
* [FEATURE] Add Rails > 6.0.0.rc1 compatibility
|
@@ -37,6 +37,6 @@ module RouteTranslator
|
|
37
37
|
end
|
38
38
|
|
39
39
|
ActiveSupport.on_load(:action_controller) do
|
40
|
-
ActionController::Base.
|
41
|
-
ActionController::TestCase.
|
40
|
+
ActionController::Base.include RouteTranslator::Controller
|
41
|
+
ActionController::TestCase.include RouteTranslator::TestCase if ENV['RAILS_ENV'] == 'test'
|
42
42
|
end
|
@@ -26,9 +26,9 @@ module ActionDispatch
|
|
26
26
|
|
27
27
|
def translate_mapping(locale, route_set, translated_options, translated_path_ast, scope, controller, default_action, to, formatted, via, translated_options_constraints, anchor)
|
28
28
|
scope_params = {
|
29
|
-
blocks: scope[:blocks] || [],
|
29
|
+
blocks: (scope[:blocks] || []).dup,
|
30
30
|
constraints: scope[:constraints] || {},
|
31
|
-
defaults:
|
31
|
+
defaults: scope[:defaults] || {},
|
32
32
|
module: scope[:module],
|
33
33
|
options: scope[:options] ? scope[:options].merge(translated_options) : translated_options
|
34
34
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: route_translator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geremia Taglialatela
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-
|
13
|
+
date: 2019-10-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: actionpack
|
@@ -92,28 +92,28 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.13.
|
95
|
+
version: 0.13.3
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 0.13.
|
102
|
+
version: 0.13.3
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: minitest
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '5.
|
109
|
+
version: '5.12'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '5.
|
116
|
+
version: '5.12'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: rails
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,70 +140,70 @@ dependencies:
|
|
140
140
|
requirements:
|
141
141
|
- - "~>"
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
version: '
|
143
|
+
version: '13.0'
|
144
144
|
type: :development
|
145
145
|
prerelease: false
|
146
146
|
version_requirements: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
148
|
- - "~>"
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version: '
|
150
|
+
version: '13.0'
|
151
151
|
- !ruby/object:Gem::Dependency
|
152
152
|
name: rubocop
|
153
153
|
requirement: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
155
|
- - "~>"
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: 0.
|
157
|
+
version: 0.75.1
|
158
158
|
type: :development
|
159
159
|
prerelease: false
|
160
160
|
version_requirements: !ruby/object:Gem::Requirement
|
161
161
|
requirements:
|
162
162
|
- - "~>"
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version: 0.
|
164
|
+
version: 0.75.1
|
165
165
|
- !ruby/object:Gem::Dependency
|
166
166
|
name: rubocop-performance
|
167
167
|
requirement: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
169
|
- - "~>"
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
version: '1.
|
171
|
+
version: '1.5'
|
172
172
|
type: :development
|
173
173
|
prerelease: false
|
174
174
|
version_requirements: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
176
|
- - "~>"
|
177
177
|
- !ruby/object:Gem::Version
|
178
|
-
version: '1.
|
178
|
+
version: '1.5'
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: rubocop-rails
|
181
181
|
requirement: !ruby/object:Gem::Requirement
|
182
182
|
requirements:
|
183
183
|
- - "~>"
|
184
184
|
- !ruby/object:Gem::Version
|
185
|
-
version: '2.
|
185
|
+
version: '2.3'
|
186
186
|
type: :development
|
187
187
|
prerelease: false
|
188
188
|
version_requirements: !ruby/object:Gem::Requirement
|
189
189
|
requirements:
|
190
190
|
- - "~>"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: '2.
|
192
|
+
version: '2.3'
|
193
193
|
- !ruby/object:Gem::Dependency
|
194
194
|
name: simplecov
|
195
195
|
requirement: !ruby/object:Gem::Requirement
|
196
196
|
requirements:
|
197
197
|
- - "~>"
|
198
198
|
- !ruby/object:Gem::Version
|
199
|
-
version: 0.17.
|
199
|
+
version: 0.17.1
|
200
200
|
type: :development
|
201
201
|
prerelease: false
|
202
202
|
version_requirements: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
204
|
- - "~>"
|
205
205
|
- !ruby/object:Gem::Version
|
206
|
-
version: 0.17.
|
206
|
+
version: 0.17.1
|
207
207
|
description: Translates the Rails routes of your application into the languages defined
|
208
208
|
in your locale files
|
209
209
|
email:
|
@@ -249,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
251
|
requirements: []
|
252
|
-
rubygems_version: 3.0.
|
252
|
+
rubygems_version: 3.0.6
|
253
253
|
signing_key:
|
254
254
|
specification_version: 4
|
255
255
|
summary: Translate your Rails routes in a simple manner
|