rails_locale_detection 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -1
- data/Appraisals +9 -1
- data/Gemfile.lock +101 -95
- data/README.md +4 -0
- data/gemfiles/rails3.2.gemfile +1 -1
- data/gemfiles/rails4.0.gemfile +1 -1
- data/gemfiles/rails4.1.gemfile +1 -1
- data/gemfiles/rails4.2.gemfile +1 -1
- data/gemfiles/rails5.0.gemfile +2 -2
- data/gemfiles/rails5.1.gemfile +7 -0
- data/gemfiles/rails5.2.gemfile +7 -0
- data/lib/rails_locale_detection/version.rb +1 -1
- data/rails_locale_detection.gemspec +2 -2
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da94d0ec0d03f37345a4a131ef18c8d3362824c0
|
4
|
+
data.tar.gz: 57a594826fb7ce78c8834cb2bbd9e946310ffd91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0a227eeb4c9a54e6cddfaf11200898b575a1513fb6d86055aa5f955118a984b685e3590f9e99f5fd36a8ef376c9090d28b476dc91a9861ce1336388b6cf8e62
|
7
|
+
data.tar.gz: 690f7ddf3bd22052dce18345d6edab80b23a66c1e9be5fe81dc9c41dffd43ee835b389129757091684b3f25d878108ef15df277ba8f06c43b72c79c5b34fc14e
|
data/.travis.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
before_install: gem install bundler --version '1.
|
1
|
+
before_install: gem install bundler --version '1.16.2'
|
2
2
|
|
3
3
|
sudo: false
|
4
4
|
|
@@ -8,6 +8,8 @@ gemfile:
|
|
8
8
|
- gemfiles/rails4.1.gemfile
|
9
9
|
- gemfiles/rails4.2.gemfile
|
10
10
|
- gemfiles/rails5.0.gemfile
|
11
|
+
- gemfiles/rails5.1.gemfile
|
12
|
+
- gemfiles/rails5.2.gemfile
|
11
13
|
|
12
14
|
rvm:
|
13
15
|
- "2.3.0"
|
data/Appraisals
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,148 +1,154 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rails_locale_detection (2.
|
4
|
+
rails_locale_detection (2.3.0)
|
5
5
|
http_accept_language (~> 2.0.5)
|
6
6
|
rails (>= 3.2.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actioncable (5.
|
12
|
-
actionpack (= 5.
|
13
|
-
nio4r (~>
|
14
|
-
websocket-driver (
|
15
|
-
actionmailer (5.
|
16
|
-
actionpack (= 5.
|
17
|
-
actionview (= 5.
|
18
|
-
activejob (= 5.
|
11
|
+
actioncable (5.2.0)
|
12
|
+
actionpack (= 5.2.0)
|
13
|
+
nio4r (~> 2.0)
|
14
|
+
websocket-driver (>= 0.6.1)
|
15
|
+
actionmailer (5.2.0)
|
16
|
+
actionpack (= 5.2.0)
|
17
|
+
actionview (= 5.2.0)
|
18
|
+
activejob (= 5.2.0)
|
19
19
|
mail (~> 2.5, >= 2.5.4)
|
20
20
|
rails-dom-testing (~> 2.0)
|
21
|
-
actionpack (5.
|
22
|
-
actionview (= 5.
|
23
|
-
activesupport (= 5.
|
21
|
+
actionpack (5.2.0)
|
22
|
+
actionview (= 5.2.0)
|
23
|
+
activesupport (= 5.2.0)
|
24
24
|
rack (~> 2.0)
|
25
|
-
rack-test (
|
25
|
+
rack-test (>= 0.6.3)
|
26
26
|
rails-dom-testing (~> 2.0)
|
27
27
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
28
|
-
actionview (5.
|
29
|
-
activesupport (= 5.
|
28
|
+
actionview (5.2.0)
|
29
|
+
activesupport (= 5.2.0)
|
30
30
|
builder (~> 3.1)
|
31
|
-
|
31
|
+
erubi (~> 1.4)
|
32
32
|
rails-dom-testing (~> 2.0)
|
33
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
34
|
-
activejob (5.
|
35
|
-
activesupport (= 5.
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
34
|
+
activejob (5.2.0)
|
35
|
+
activesupport (= 5.2.0)
|
36
36
|
globalid (>= 0.3.6)
|
37
|
-
activemodel (5.
|
38
|
-
activesupport (= 5.
|
39
|
-
activerecord (5.
|
40
|
-
activemodel (= 5.
|
41
|
-
activesupport (= 5.
|
42
|
-
arel (
|
43
|
-
|
37
|
+
activemodel (5.2.0)
|
38
|
+
activesupport (= 5.2.0)
|
39
|
+
activerecord (5.2.0)
|
40
|
+
activemodel (= 5.2.0)
|
41
|
+
activesupport (= 5.2.0)
|
42
|
+
arel (>= 9.0)
|
43
|
+
activestorage (5.2.0)
|
44
|
+
actionpack (= 5.2.0)
|
45
|
+
activerecord (= 5.2.0)
|
46
|
+
marcel (~> 0.3.1)
|
47
|
+
activesupport (5.2.0)
|
44
48
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
45
|
-
i18n (
|
49
|
+
i18n (>= 0.7, < 2)
|
46
50
|
minitest (~> 5.1)
|
47
51
|
tzinfo (~> 1.1)
|
48
|
-
appraisal (2.
|
52
|
+
appraisal (2.2.0)
|
49
53
|
bundler
|
50
54
|
rake
|
51
55
|
thor (>= 0.14.0)
|
52
|
-
arel (
|
53
|
-
builder (3.2.
|
54
|
-
concurrent-ruby (1.0.
|
55
|
-
|
56
|
-
|
56
|
+
arel (9.0.0)
|
57
|
+
builder (3.2.3)
|
58
|
+
concurrent-ruby (1.0.5)
|
59
|
+
crass (1.0.4)
|
60
|
+
diff-lcs (1.3)
|
61
|
+
erubi (1.7.1)
|
57
62
|
gem-release (0.5.5)
|
58
|
-
globalid (0.
|
59
|
-
activesupport (>= 4.
|
63
|
+
globalid (0.4.1)
|
64
|
+
activesupport (>= 4.2.0)
|
60
65
|
http_accept_language (2.0.5)
|
61
66
|
i18n (0.7.0)
|
62
|
-
loofah (2.
|
67
|
+
loofah (2.2.2)
|
68
|
+
crass (~> 1.0.2)
|
63
69
|
nokogiri (>= 1.5.9)
|
64
|
-
mail (2.
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
rack (
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
activesupport (= 5.
|
90
|
-
bundler (>= 1.3.0
|
91
|
-
railties (= 5.
|
70
|
+
mail (2.7.0)
|
71
|
+
mini_mime (>= 0.1.1)
|
72
|
+
marcel (0.3.2)
|
73
|
+
mimemagic (~> 0.3.2)
|
74
|
+
method_source (0.9.0)
|
75
|
+
mimemagic (0.3.2)
|
76
|
+
mini_mime (1.0.0)
|
77
|
+
mini_portile2 (2.3.0)
|
78
|
+
minitest (5.11.3)
|
79
|
+
nio4r (2.3.1)
|
80
|
+
nokogiri (1.8.3)
|
81
|
+
mini_portile2 (~> 2.3.0)
|
82
|
+
power_assert (1.1.2)
|
83
|
+
rack (2.0.5)
|
84
|
+
rack-test (1.0.0)
|
85
|
+
rack (>= 1.0, < 3)
|
86
|
+
rails (5.2.0)
|
87
|
+
actioncable (= 5.2.0)
|
88
|
+
actionmailer (= 5.2.0)
|
89
|
+
actionpack (= 5.2.0)
|
90
|
+
actionview (= 5.2.0)
|
91
|
+
activejob (= 5.2.0)
|
92
|
+
activemodel (= 5.2.0)
|
93
|
+
activerecord (= 5.2.0)
|
94
|
+
activestorage (= 5.2.0)
|
95
|
+
activesupport (= 5.2.0)
|
96
|
+
bundler (>= 1.3.0)
|
97
|
+
railties (= 5.2.0)
|
92
98
|
sprockets-rails (>= 2.0.0)
|
93
|
-
rails-dom-testing (2.0.
|
94
|
-
activesupport (>= 4.2.0
|
95
|
-
nokogiri (
|
96
|
-
rails-html-sanitizer (1.0.
|
97
|
-
loofah (~> 2.
|
98
|
-
railties (5.
|
99
|
-
actionpack (= 5.
|
100
|
-
activesupport (= 5.
|
99
|
+
rails-dom-testing (2.0.3)
|
100
|
+
activesupport (>= 4.2.0)
|
101
|
+
nokogiri (>= 1.6)
|
102
|
+
rails-html-sanitizer (1.0.4)
|
103
|
+
loofah (~> 2.2, >= 2.2.2)
|
104
|
+
railties (5.2.0)
|
105
|
+
actionpack (= 5.2.0)
|
106
|
+
activesupport (= 5.2.0)
|
101
107
|
method_source
|
102
108
|
rake (>= 0.8.7)
|
103
109
|
thor (>= 0.18.1, < 2.0)
|
104
110
|
rake (11.2.2)
|
105
|
-
rspec-core (3.
|
106
|
-
rspec-support (~> 3.
|
107
|
-
rspec-expectations (3.
|
111
|
+
rspec-core (3.7.1)
|
112
|
+
rspec-support (~> 3.7.0)
|
113
|
+
rspec-expectations (3.7.0)
|
108
114
|
diff-lcs (>= 1.2.0, < 2.0)
|
109
|
-
rspec-support (~> 3.
|
110
|
-
rspec-mocks (3.
|
115
|
+
rspec-support (~> 3.7.0)
|
116
|
+
rspec-mocks (3.7.0)
|
111
117
|
diff-lcs (>= 1.2.0, < 2.0)
|
112
|
-
rspec-support (~> 3.
|
113
|
-
rspec-rails (3.
|
118
|
+
rspec-support (~> 3.7.0)
|
119
|
+
rspec-rails (3.7.2)
|
114
120
|
actionpack (>= 3.0)
|
115
121
|
activesupport (>= 3.0)
|
116
122
|
railties (>= 3.0)
|
117
|
-
rspec-core (~> 3.
|
118
|
-
rspec-expectations (~> 3.
|
119
|
-
rspec-mocks (~> 3.
|
120
|
-
rspec-support (~> 3.
|
121
|
-
rspec-support (3.
|
122
|
-
sprockets (3.7.
|
123
|
+
rspec-core (~> 3.7.0)
|
124
|
+
rspec-expectations (~> 3.7.0)
|
125
|
+
rspec-mocks (~> 3.7.0)
|
126
|
+
rspec-support (~> 3.7.0)
|
127
|
+
rspec-support (3.7.1)
|
128
|
+
sprockets (3.7.1)
|
123
129
|
concurrent-ruby (~> 1.0)
|
124
130
|
rack (> 1, < 3)
|
125
|
-
sprockets-rails (3.
|
131
|
+
sprockets-rails (3.2.1)
|
126
132
|
actionpack (>= 4.0)
|
127
133
|
activesupport (>= 4.0)
|
128
134
|
sprockets (>= 3.0.0)
|
129
|
-
test-unit (3.2.
|
135
|
+
test-unit (3.2.8)
|
130
136
|
power_assert
|
131
|
-
thor (0.
|
132
|
-
thread_safe (0.3.
|
137
|
+
thor (0.20.0)
|
138
|
+
thread_safe (0.3.6)
|
133
139
|
timecop (0.6.3)
|
134
|
-
tzinfo (1.2.
|
140
|
+
tzinfo (1.2.5)
|
135
141
|
thread_safe (~> 0.1)
|
136
|
-
websocket-driver (0.
|
142
|
+
websocket-driver (0.7.0)
|
137
143
|
websocket-extensions (>= 0.1.0)
|
138
|
-
websocket-extensions (0.1.
|
144
|
+
websocket-extensions (0.1.3)
|
139
145
|
|
140
146
|
PLATFORMS
|
141
147
|
ruby
|
142
148
|
|
143
149
|
DEPENDENCIES
|
144
|
-
appraisal (~> 2.
|
145
|
-
bundler (~> 1.
|
150
|
+
appraisal (~> 2.2.0)
|
151
|
+
bundler (~> 1.16.2)
|
146
152
|
gem-release (~> 0.5.3)
|
147
153
|
i18n (~> 0.7.0)
|
148
154
|
rails_locale_detection!
|
@@ -152,4 +158,4 @@ DEPENDENCIES
|
|
152
158
|
timecop (~> 0.6.1)
|
153
159
|
|
154
160
|
BUNDLED WITH
|
155
|
-
1.
|
161
|
+
1.16.2
|
data/README.md
CHANGED
@@ -56,6 +56,10 @@ The configuration options:
|
|
56
56
|
|
57
57
|
## Changelog
|
58
58
|
|
59
|
+
### 2.3 (2018-06-16)
|
60
|
+
|
61
|
+
* Update dependencies
|
62
|
+
|
59
63
|
### 2.2 (2017-04-22)
|
60
64
|
|
61
65
|
* Cookie is now set only when the locale differs from the previous value, to avoid Set-Cookie headers being sent with every request
|
data/gemfiles/rails3.2.gemfile
CHANGED
data/gemfiles/rails4.0.gemfile
CHANGED
data/gemfiles/rails4.1.gemfile
CHANGED
data/gemfiles/rails4.2.gemfile
CHANGED
data/gemfiles/rails5.0.gemfile
CHANGED
@@ -21,8 +21,8 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.add_dependency('http_accept_language', '~> 2.0.5')
|
22
22
|
gem.add_dependency('rails', '>= 3.2.0')
|
23
23
|
|
24
|
-
gem.add_development_dependency('appraisal', '~> 2.
|
25
|
-
gem.add_development_dependency('bundler', '~> 1.
|
24
|
+
gem.add_development_dependency('appraisal', '~> 2.2.0')
|
25
|
+
gem.add_development_dependency('bundler', '~> 1.16.2')
|
26
26
|
gem.add_development_dependency('i18n', '~> 0.7.0')
|
27
27
|
gem.add_development_dependency('gem-release', '~> 0.5.3')
|
28
28
|
gem.add_development_dependency('rake', '~> 11.2.2')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_locale_detection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateo Murphy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http_accept_language
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: 2.2.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: 2.2.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.16.2
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.16.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: i18n
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,6 +173,8 @@ files:
|
|
173
173
|
- gemfiles/rails4.1.gemfile
|
174
174
|
- gemfiles/rails4.2.gemfile
|
175
175
|
- gemfiles/rails5.0.gemfile
|
176
|
+
- gemfiles/rails5.1.gemfile
|
177
|
+
- gemfiles/rails5.2.gemfile
|
176
178
|
- lib/rails_locale_detection.rb
|
177
179
|
- lib/rails_locale_detection/controller_methods.rb
|
178
180
|
- lib/rails_locale_detection/detection_methods.rb
|