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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe9d2889a396135782af095f1650a6cf73e0ddb8
4
- data.tar.gz: 26c18230492a30a3fe82e7a4e00e1db030e2a8bc
3
+ metadata.gz: 1efbf1d634e0b0aa98996696597062602c489b2e
4
+ data.tar.gz: ca508082b5119005ac74c7a879e19689025344b2
5
5
  SHA512:
6
- metadata.gz: 0a0b4dcd584719043a44c6a48839d912aca5de9c3cc4b1a1989b8450565a3b375ec88b4f841a4009bbd425e57ec7b5e3936ce8d73ce6172630ee5ea572bae681
7
- data.tar.gz: 15130d752fe269ee934cdbabbe32143bb97bca01ee61cdd60578eccb7dc1f6339aa7749ca23c4cac6717de1c5245cc8804d8ce12ffdda7d966719275f12316ae
6
+ metadata.gz: a08241603bfe03def737174d6f4c77a25829b9ea29df6c074837303a1eaf318fbf702297d6d7d77bd1275c2cf9de4f11e0fb820be425a5406d58669cafa32fa8
7
+ data.tar.gz: 3ed3281dd701719866e52db7749513672919103bf6caf8e1dc5ed04e767ed2a38fc9c608f6826f86203fc53d8b595eeb1f14ee8ce029bc88516984d1d76d66f9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.0.3 (2016-11-01)
4
+
5
+ * Fix issue with callable constraints
6
+ * Update development dependencies
7
+
3
8
  ## 5.0.2 (2016-08-02)
4
9
 
5
10
  * Replace around_filter with around_action
@@ -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
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module RouteTranslator
3
- VERSION = '5.0.2'.freeze
3
+ VERSION = '5.0.3'.freeze
4
4
  end
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.2
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-08-02 00:00:00.000000000 Z
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.2'
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.2'
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.42.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.42.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.6.4
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