route_translator 13.0.0 → 13.1.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 +5 -0
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/lib/route_translator/extensions/action_controller.rb +6 -6
- data/lib/route_translator/version.rb +1 -1
- metadata +13 -25
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 773a40298cd3819de8d7801f3ae31b0dc5fcb4c3db65f809570adb1ae0a25e7e
|
|
4
|
+
data.tar.gz: 9176264924cade856a3c1e2e6b811bb744ca132f4382a377afb45aa4dd79061c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d20204dae597c1d97111bf3f75d2079dd027bd71f8c36918d65be770daed4c5eb695d7802977b0650d9bd394861e93b5293d512f6dbc29d3e766ad9619ce5145
|
|
7
|
+
data.tar.gz: 87155014e01709f6418964b4278b699b2009371e03c69eb6b75d0ac32f1d579a6f415f3437fb77b08b0044fb954aefcb02e03cfe2f387b703fe9a94d40f38729
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 13.1.0 / 2022-12-26
|
|
4
|
+
|
|
5
|
+
* [ENHANCEMENT] Test against Ruby 3.1 and Ruby 3.2
|
|
6
|
+
* [ENHANCEMENT] Better integration with ActionController::TestCase
|
|
7
|
+
|
|
3
8
|
## 13.0.0 / 2022-09-01
|
|
4
9
|
|
|
5
10
|
* [FEATURE] Replace Addressable gem with `URI::DEFAULT_PARSER` ([#268](https://github.com/enriclluelles/route_translator/pull/234))
|
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], 2023 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.2 and
|
|
12
|
+
Right now it works with Rails 5.2, 6.x, and 7.x
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -22,10 +22,10 @@ module RouteTranslator
|
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
-
ActiveSupport.on_load(:action_controller)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
ActiveSupport.on_load(:action_controller) { include RouteTranslator::Controller }
|
|
26
|
+
|
|
27
|
+
ActiveSupport.on_load(:action_controller_test_case) do
|
|
28
|
+
require 'route_translator/extensions/test_case'
|
|
29
|
+
|
|
30
|
+
include RouteTranslator::TestCase
|
|
31
31
|
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: 13.
|
|
4
|
+
version: 13.1.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: 2022-
|
|
13
|
+
date: 2022-12-26 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: actionpack
|
|
@@ -70,36 +70,30 @@ dependencies:
|
|
|
70
70
|
name: byebug
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
74
|
-
- !ruby/object:Gem::Version
|
|
75
|
-
version: '10.0'
|
|
76
|
-
- - "<"
|
|
73
|
+
- - "~>"
|
|
77
74
|
- !ruby/object:Gem::Version
|
|
78
|
-
version: '
|
|
75
|
+
version: '11.1'
|
|
79
76
|
type: :development
|
|
80
77
|
prerelease: false
|
|
81
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
82
79
|
requirements:
|
|
83
|
-
- - "
|
|
84
|
-
- !ruby/object:Gem::Version
|
|
85
|
-
version: '10.0'
|
|
86
|
-
- - "<"
|
|
80
|
+
- - "~>"
|
|
87
81
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: '
|
|
82
|
+
version: '11.1'
|
|
89
83
|
- !ruby/object:Gem::Dependency
|
|
90
84
|
name: minitest
|
|
91
85
|
requirement: !ruby/object:Gem::Requirement
|
|
92
86
|
requirements:
|
|
93
87
|
- - "~>"
|
|
94
88
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: '5.
|
|
89
|
+
version: '5.16'
|
|
96
90
|
type: :development
|
|
97
91
|
prerelease: false
|
|
98
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
99
93
|
requirements:
|
|
100
94
|
- - "~>"
|
|
101
95
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: '5.
|
|
96
|
+
version: '5.16'
|
|
103
97
|
- !ruby/object:Gem::Dependency
|
|
104
98
|
name: rails
|
|
105
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -138,22 +132,16 @@ dependencies:
|
|
|
138
132
|
name: simplecov
|
|
139
133
|
requirement: !ruby/object:Gem::Requirement
|
|
140
134
|
requirements:
|
|
141
|
-
- - "
|
|
142
|
-
- !ruby/object:Gem::Version
|
|
143
|
-
version: 0.18.5
|
|
144
|
-
- - "<"
|
|
135
|
+
- - "~>"
|
|
145
136
|
- !ruby/object:Gem::Version
|
|
146
|
-
version:
|
|
137
|
+
version: 0.22.0
|
|
147
138
|
type: :development
|
|
148
139
|
prerelease: false
|
|
149
140
|
version_requirements: !ruby/object:Gem::Requirement
|
|
150
141
|
requirements:
|
|
151
|
-
- - "
|
|
152
|
-
- !ruby/object:Gem::Version
|
|
153
|
-
version: 0.18.5
|
|
154
|
-
- - "<"
|
|
142
|
+
- - "~>"
|
|
155
143
|
- !ruby/object:Gem::Version
|
|
156
|
-
version:
|
|
144
|
+
version: 0.22.0
|
|
157
145
|
- !ruby/object:Gem::Dependency
|
|
158
146
|
name: simplecov-lcov
|
|
159
147
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -216,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
216
204
|
- !ruby/object:Gem::Version
|
|
217
205
|
version: '0'
|
|
218
206
|
requirements: []
|
|
219
|
-
rubygems_version: 3.
|
|
207
|
+
rubygems_version: 3.2.33
|
|
220
208
|
signing_key:
|
|
221
209
|
specification_version: 4
|
|
222
210
|
summary: Translate your Rails routes in a simple manner
|