route_translator 5.6.3 → 5.6.4

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: c11002d5001ef5c617dcec8482d2a8b14310aa3c98c866af382b20ded1733d7b
4
- data.tar.gz: 6df30b357cd266ff0eaa2d2c1a09e363f8d06006b93485c80dc78149de71cc3a
3
+ metadata.gz: 7e9451a97c8edd4f8d2afe57bb95e6c8caf2414b224ffbff4f8b6df0d63cb52a
4
+ data.tar.gz: 0d46469b382cae4c757db718c11ea6b8b42db1e6c00435dff0cbdcf1f4f5af50
5
5
  SHA512:
6
- metadata.gz: e46b1b7ff20d5538571af7afab06d7425c11c720457ff9d855f36679e7dbd8a9d5707caac4f7435d6b917d70a749a95f25c031146010e155872bf33f405fc8ee
7
- data.tar.gz: 2b209a0288902dc3e8a27d3c3770e1737040fbfb1abded5085204ba43f1134bf34eea5e9dfa03a69a1e4fae3d76406ff801cebaa3efde039a12b9e6df53a7083
6
+ metadata.gz: e6b705a29f05831cb3226162c353cdeddfabe4a39c90886d9cb672b9bc6b0ecf13133115539c7a6a8405053cc303394aba28eba00ae4305a3230702e5875827f
7
+ data.tar.gz: 4d273a3686b19df2a1e3285805df0bedd28be18aae88cb4ad0f245663272e710e6be8dcdb7c69d87a59a3fc1f892f2f37807a3a13b7504fa2c2c021c4b37c2eb
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.6.4 / 2018-10-03
4
+
5
+ * [ENHANCEMENT] Update development dependencies
6
+
3
7
  ## 5.6.3 / 2018-06-07
4
8
 
5
9
  * [ENHANCEMENT] Update development dependencies
@@ -16,6 +16,7 @@ module RouteTranslator
16
16
 
17
17
  def translate_name(name, locale, named_routes_names)
18
18
  return if name.blank?
19
+
19
20
  translated_name = "#{name}_#{locale.to_s.underscore}"
20
21
 
21
22
  translated_name if named_routes_names.exclude?(translated_name.to_sym)
@@ -9,6 +9,7 @@ module RouteTranslator
9
9
  def add_helpers_to_test_cases(helper_container)
10
10
  %w[ActionController ActionMailer ActionView].each do |klass_name|
11
11
  next unless Module.const_defined?(klass_name)
12
+
12
13
  klass_name.constantize::TestCase.__send__(:include, helper_container)
13
14
  end
14
15
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RouteTranslator
4
- VERSION = '5.6.3'.freeze
4
+ VERSION = '5.6.4'.freeze
5
5
  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.6.3
4
+ version: 5.6.4
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: 2018-06-07 00:00:00.000000000 Z
13
+ date: 2018-10-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: actionpack
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.11.1
89
+ version: 0.12.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.11.1
96
+ version: 0.12.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: minitest
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -148,14 +148,14 @@ dependencies:
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: 0.57.1
151
+ version: 0.59.2
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: 0.57.1
158
+ version: 0.59.2
159
159
  - !ruby/object:Gem::Dependency
160
160
  name: simplecov
161
161
  requirement: !ruby/object:Gem::Requirement