route_translator 5.6.4 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/lib/route_translator.rb +1 -1
- data/lib/route_translator/version.rb +1 -1
- metadata +13 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 212ef31e3f372379aa5ded18aab48bb1f6e359aa97c5fdf58e1823c205df4b79
|
|
4
|
+
data.tar.gz: 98305539d5d1920ef945c248d1beca4e03e1278d59ab04751c8d485e38ee9ec4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d9df795f4585432a1216ecbcf0db74bf8931383b84be75d2845b75a4324cfef7eff3f4c8c33cb27ca64d3c46087069493962472756f8f2c6523674f216c8bb2
|
|
7
|
+
data.tar.gz: 040bde21814e5ee5915dc405b981960d1407ee5c89f7efbef57258d345c48aa7886245b8e5c416e75519bdb8462a9e797a4dc35726d46260855ec06121844eff
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.7.0 / 2019-01-19
|
|
4
|
+
|
|
5
|
+
* [FEATURE] Add Rails 6.0.0.beta1 compatibility
|
|
6
|
+
* [ENHANCEMENT] Test against latest Ruby versions
|
|
7
|
+
* [ENHANCEMENT] Update development dependencies
|
|
8
|
+
|
|
3
9
|
## 5.6.4 / 2018-10-03
|
|
4
10
|
|
|
5
11
|
* [ENHANCEMENT] Update development dependencies
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2007 Raul Murciano [http://raul.murciano.net], Domestika INTERNET S.L. [http://domestika.org], 2015 Enric Lluelles [http://enric.lluell.es],
|
|
3
|
+
Copyright (c) 2007 Raul Murciano [http://raul.murciano.net], Domestika INTERNET S.L. [http://domestika.org], 2015 Enric Lluelles [http://enric.lluell.es], 2019 Geremia Taglialatela
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@ RouteTranslator is a gem to allow you to manage the translations of your app rou
|
|
|
9
9
|
|
|
10
10
|
It started as a fork of the awesome [translate_routes](https://github.com/raul/translate_routes) plugin by [Raúl Murciano](https://github.com/raul).
|
|
11
11
|
|
|
12
|
-
Right now it works with Rails 5
|
|
12
|
+
Right now it works with Rails 5 and Rails 6.0.0.beta1
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
data/lib/route_translator.rb
CHANGED
|
@@ -11,7 +11,7 @@ require 'route_translator/locale_sanitizer'
|
|
|
11
11
|
module RouteTranslator
|
|
12
12
|
extend RouteTranslator::Host
|
|
13
13
|
|
|
14
|
-
TRANSLATABLE_SEGMENT = /^([-_a-zA-Z0-9]+)(\()
|
|
14
|
+
TRANSLATABLE_SEGMENT = /^([-_a-zA-Z0-9]+)(\()?/.freeze
|
|
15
15
|
|
|
16
16
|
Configuration = Struct.new(:available_locales, :disable_fallback, :force_locale,
|
|
17
17
|
:hide_locale, :host_locales, :generate_unlocalized_routes,
|
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.
|
|
4
|
+
version: 5.7.0
|
|
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:
|
|
13
|
+
date: 2019-01-19 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: actionpack
|
|
@@ -19,9 +19,9 @@ dependencies:
|
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
21
|
version: 5.0.0.1
|
|
22
|
-
- - "
|
|
22
|
+
- - "<="
|
|
23
23
|
- !ruby/object:Gem::Version
|
|
24
|
-
version:
|
|
24
|
+
version: 6.0.0.beta1
|
|
25
25
|
type: :runtime
|
|
26
26
|
prerelease: false
|
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,9 +29,9 @@ dependencies:
|
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
31
|
version: 5.0.0.1
|
|
32
|
-
- - "
|
|
32
|
+
- - "<="
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
|
-
version:
|
|
34
|
+
version: 6.0.0.beta1
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: activesupport
|
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -39,9 +39,9 @@ dependencies:
|
|
|
39
39
|
- - ">="
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
41
|
version: 5.0.0.1
|
|
42
|
-
- - "
|
|
42
|
+
- - "<="
|
|
43
43
|
- !ruby/object:Gem::Version
|
|
44
|
-
version:
|
|
44
|
+
version: 6.0.0.beta1
|
|
45
45
|
type: :runtime
|
|
46
46
|
prerelease: false
|
|
47
47
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -49,9 +49,9 @@ dependencies:
|
|
|
49
49
|
- - ">="
|
|
50
50
|
- !ruby/object:Gem::Version
|
|
51
51
|
version: 5.0.0.1
|
|
52
|
-
- - "
|
|
52
|
+
- - "<="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version:
|
|
54
|
+
version: 6.0.0.beta1
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: appraisal
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -148,14 +148,14 @@ dependencies:
|
|
|
148
148
|
requirements:
|
|
149
149
|
- - "~>"
|
|
150
150
|
- !ruby/object:Gem::Version
|
|
151
|
-
version: 0.
|
|
151
|
+
version: 0.63.0
|
|
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.
|
|
158
|
+
version: 0.63.0
|
|
159
159
|
- !ruby/object:Gem::Dependency
|
|
160
160
|
name: simplecov
|
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -215,8 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
215
215
|
- !ruby/object:Gem::Version
|
|
216
216
|
version: '0'
|
|
217
217
|
requirements: []
|
|
218
|
-
|
|
219
|
-
rubygems_version: 2.7.7
|
|
218
|
+
rubygems_version: 3.0.1
|
|
220
219
|
signing_key:
|
|
221
220
|
specification_version: 4
|
|
222
221
|
summary: Translate your Rails routes in a simple manner
|