route_translator 5.0.2 → 5.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/route_translator/translator.rb +1 -1
- data/lib/route_translator/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1efbf1d634e0b0aa98996696597062602c489b2e
|
4
|
+
data.tar.gz: ca508082b5119005ac74c7a879e19689025344b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a08241603bfe03def737174d6f4c77a25829b9ea29df6c074837303a1eaf318fbf702297d6d7d77bd1275c2cf9de4f11e0fb820be425a5406d58669cafa32fa8
|
7
|
+
data.tar.gz: 3ed3281dd701719866e52db7749513672919103bf6caf8e1dc5ed04e767ed2a38fc9c608f6826f86203fc53d8b595eeb1f14ee8ce029bc88516984d1d76d66f9
|
data/CHANGELOG.md
CHANGED
@@ -46,7 +46,7 @@ module RouteTranslator
|
|
46
46
|
next
|
47
47
|
end
|
48
48
|
|
49
|
-
translated_options_constraints = options_constraints.dup
|
49
|
+
translated_options_constraints = options_constraints.respond_to?(:call) ? {} : options_constraints.dup
|
50
50
|
translated_options = options.dup
|
51
51
|
|
52
52
|
translated_options_constraints[RouteTranslator.locale_param_key] = locale.to_s
|
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: 5.0.
|
4
|
+
version: 5.0.3
|
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: 2016-
|
13
|
+
date: 2016-11-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -140,28 +140,28 @@ dependencies:
|
|
140
140
|
requirements:
|
141
141
|
- - "~>"
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
version: '11.
|
143
|
+
version: '11.3'
|
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: '11.
|
150
|
+
version: '11.3'
|
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.45.0
|
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.45.0
|
165
165
|
- !ruby/object:Gem::Dependency
|
166
166
|
name: simplecov
|
167
167
|
requirement: !ruby/object:Gem::Requirement
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
219
|
version: '0'
|
220
220
|
requirements: []
|
221
221
|
rubyforge_project:
|
222
|
-
rubygems_version: 2.
|
222
|
+
rubygems_version: 2.5.1
|
223
223
|
signing_key:
|
224
224
|
specification_version: 4
|
225
225
|
summary: Translate your Rails routes in a simple manner
|