rails_locale_detection 2.2.0 → 2.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea1092ade8043f0b2f88515a629a04345173d59c
4
- data.tar.gz: 864516b1d69f76f2ebc46afaee91e05324f334e9
3
+ metadata.gz: da94d0ec0d03f37345a4a131ef18c8d3362824c0
4
+ data.tar.gz: 57a594826fb7ce78c8834cb2bbd9e946310ffd91
5
5
  SHA512:
6
- metadata.gz: 6b182282c9d7eac0afe67471a137364e3c1acde803f0755fcf0eb4f7ff72d4e19b220d8e01f8ec2bd768b0ff62028278369aea50e1980c9da5497f4686201699
7
- data.tar.gz: fa878bfee4fae246b13efd5a8ff5f32bceea6cbb698b9cbc0d6d4cc7ab66872731a881836f12391be583f3bfc9ebd7672b200849463992d8cb16c4b9acbcf9c0
6
+ metadata.gz: c0a227eeb4c9a54e6cddfaf11200898b575a1513fb6d86055aa5f955118a984b685e3590f9e99f5fd36a8ef376c9090d28b476dc91a9861ce1336388b6cf8e62
7
+ data.tar.gz: 690f7ddf3bd22052dce18345d6edab80b23a66c1e9be5fe81dc9c41dffd43ee835b389129757091684b3f25d878108ef15df277ba8f06c43b72c79c5b34fc14e
@@ -1,4 +1,4 @@
1
- before_install: gem install bundler --version '1.12.5'
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
@@ -15,5 +15,13 @@ appraise "rails4.2" do
15
15
  end
16
16
 
17
17
  appraise "rails5.0" do
18
- gem "rails", "5.0.0"
18
+ gem "rails", "5.0.7"
19
+ end
20
+
21
+ appraise "rails5.1" do
22
+ gem "rails", "5.1.6"
23
+ end
24
+
25
+ appraise "rails5.2" do
26
+ gem "rails", "5.2.0"
19
27
  end
@@ -1,148 +1,154 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_locale_detection (2.2.0)
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.0.0)
12
- actionpack (= 5.0.0)
13
- nio4r (~> 1.2)
14
- websocket-driver (~> 0.6.1)
15
- actionmailer (5.0.0)
16
- actionpack (= 5.0.0)
17
- actionview (= 5.0.0)
18
- activejob (= 5.0.0)
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.0.0)
22
- actionview (= 5.0.0)
23
- activesupport (= 5.0.0)
21
+ actionpack (5.2.0)
22
+ actionview (= 5.2.0)
23
+ activesupport (= 5.2.0)
24
24
  rack (~> 2.0)
25
- rack-test (~> 0.6.3)
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.0.0)
29
- activesupport (= 5.0.0)
28
+ actionview (5.2.0)
29
+ activesupport (= 5.2.0)
30
30
  builder (~> 3.1)
31
- erubis (~> 2.7.0)
31
+ erubi (~> 1.4)
32
32
  rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
34
- activejob (5.0.0)
35
- activesupport (= 5.0.0)
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.0.0)
38
- activesupport (= 5.0.0)
39
- activerecord (5.0.0)
40
- activemodel (= 5.0.0)
41
- activesupport (= 5.0.0)
42
- arel (~> 7.0)
43
- activesupport (5.0.0)
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 (~> 0.7)
49
+ i18n (>= 0.7, < 2)
46
50
  minitest (~> 5.1)
47
51
  tzinfo (~> 1.1)
48
- appraisal (2.1.0)
52
+ appraisal (2.2.0)
49
53
  bundler
50
54
  rake
51
55
  thor (>= 0.14.0)
52
- arel (7.1.0)
53
- builder (3.2.2)
54
- concurrent-ruby (1.0.2)
55
- diff-lcs (1.2.5)
56
- erubis (2.7.0)
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.3.6)
59
- activesupport (>= 4.1.0)
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.0.3)
67
+ loofah (2.2.2)
68
+ crass (~> 1.0.2)
63
69
  nokogiri (>= 1.5.9)
64
- mail (2.6.4)
65
- mime-types (>= 1.16, < 4)
66
- method_source (0.8.2)
67
- mime-types (3.1)
68
- mime-types-data (~> 3.2015)
69
- mime-types-data (3.2016.0521)
70
- mini_portile2 (2.1.0)
71
- minitest (5.9.0)
72
- nio4r (1.2.1)
73
- nokogiri (1.6.8)
74
- mini_portile2 (~> 2.1.0)
75
- pkg-config (~> 1.1.7)
76
- pkg-config (1.1.7)
77
- power_assert (0.3.0)
78
- rack (2.0.1)
79
- rack-test (0.6.3)
80
- rack (>= 1.0)
81
- rails (5.0.0)
82
- actioncable (= 5.0.0)
83
- actionmailer (= 5.0.0)
84
- actionpack (= 5.0.0)
85
- actionview (= 5.0.0)
86
- activejob (= 5.0.0)
87
- activemodel (= 5.0.0)
88
- activerecord (= 5.0.0)
89
- activesupport (= 5.0.0)
90
- bundler (>= 1.3.0, < 2.0)
91
- railties (= 5.0.0)
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.1)
94
- activesupport (>= 4.2.0, < 6.0)
95
- nokogiri (~> 1.6.0)
96
- rails-html-sanitizer (1.0.3)
97
- loofah (~> 2.0)
98
- railties (5.0.0)
99
- actionpack (= 5.0.0)
100
- activesupport (= 5.0.0)
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.5.1)
106
- rspec-support (~> 3.5.0)
107
- rspec-expectations (3.5.0)
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.5.0)
110
- rspec-mocks (3.5.0)
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.5.0)
113
- rspec-rails (3.5.1)
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.5.0)
118
- rspec-expectations (~> 3.5.0)
119
- rspec-mocks (~> 3.5.0)
120
- rspec-support (~> 3.5.0)
121
- rspec-support (3.5.0)
122
- sprockets (3.7.0)
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.1.1)
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.1)
135
+ test-unit (3.2.8)
130
136
  power_assert
131
- thor (0.19.1)
132
- thread_safe (0.3.5)
137
+ thor (0.20.0)
138
+ thread_safe (0.3.6)
133
139
  timecop (0.6.3)
134
- tzinfo (1.2.2)
140
+ tzinfo (1.2.5)
135
141
  thread_safe (~> 0.1)
136
- websocket-driver (0.6.4)
142
+ websocket-driver (0.7.0)
137
143
  websocket-extensions (>= 0.1.0)
138
- websocket-extensions (0.1.2)
144
+ websocket-extensions (0.1.3)
139
145
 
140
146
  PLATFORMS
141
147
  ruby
142
148
 
143
149
  DEPENDENCIES
144
- appraisal (~> 2.1.0)
145
- bundler (~> 1.14.6)
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.14.6
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
@@ -4,4 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "3.2.22"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -4,4 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "4.0.13"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -4,4 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "4.1.13"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -4,4 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "4.2.4"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "5.0.0"
5
+ gem "rails", "5.0.7"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "5.1.6"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "5.2.0"
6
+
7
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module RailsLocaleDetection
2
- VERSION = "2.2.0"
2
+ VERSION = "2.3.0"
3
3
  end
@@ -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.1.0')
25
- gem.add_development_dependency('bundler', '~> 1.14.6')
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.2.0
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: 2017-04-23 00:00:00.000000000 Z
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.1.0
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.1.0
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.14.6
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.14.6
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