rack-user-locale 1.1.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +20 -17
  4. data/VERSION +1 -1
  5. metadata +13 -124
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dc51ae0380e03d6cb6b2d97f76c35046ce797743542438d4034b325208f858e
4
- data.tar.gz: 771dfb2612220a99c331d38b1814a1559f9fcacdb3e1ed415547cf0e4dd268c5
3
+ metadata.gz: d5bdd7bdbf4fcd6dcf35a7be940952259138fad63171a7f3d5ac35a60030c6e4
4
+ data.tar.gz: a65fab6e746f65fd028015cacabc77a859409a00597f577353817266d8326547
5
5
  SHA512:
6
- metadata.gz: b1aa1b2a4b177f9d7b0df84ce5c7b64e170a47e999f35732ed89fb7c787ddb1fc3483710d217e2480af3be1765d412bcf4ca9aa1cf9650339ecf27e9394ad62f
7
- data.tar.gz: d4ec84e5e50d6a1a99591a32eec18bd5f35641b7d1a163e113f8b5520202575fa804965d1658342bbf125379f609a8cfa49efb0caa5fcd66d4f0544fdab9a418
6
+ metadata.gz: 8fbc86084cacf650ffaaec3c33785fd85fa5a72c8d46b903f428842b433c3bf0d67226ac04dadf19d5a66ebfca7d26bad77b770fa9a9274f2a14e7215867837f
7
+ data.tar.gz: 1bfc6f3ec1715c544346dd1d7fc7110cfcbac02a7241f50be1f6a275cd5b56a45f7c9f88b42f9b12ad1533d010ac40c897e9cacd01a55a8c6094f2c30e71b97b
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2020 Stuart Chinery
1
+ Copyright (c) 2021 Technical Panda Ltd
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,15 +1,13 @@
1
1
  # Rack User Locale
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/rack-user-locale.png)](http://badge.fury.io/rb/rack-user-locale)
4
- [![Build Status](https://secure.travis-ci.org/schinery/rack-user-locale.png)](http://travis-ci.org/schinery/rack-user-locale)
3
+ [![Gem Version](https://badge.fury.io/rb/rack-user-locale.svg)](http://badge.fury.io/rb/rack-user-locale)
4
+ ![CI](https://github.com/technicalpanda/rack-user-locale/workflows/CI/badge.svg)
5
5
 
6
6
  A Rack module for getting and setting a user's locale via a cookie or browser default language.
7
7
 
8
- Credit to these gems for pointing me in the direction I wanted to go in...
8
+ ## Requirements
9
9
 
10
- - https://github.com/rack/rack-contrib/blob/master/lib/rack/contrib/locale.rb
11
- - https://github.com/jeremyvdw/rack-locale-selector
12
- - https://github.com/jeffersongirao/rack-locale_chooser
10
+ * Ruby >= 2.7
13
11
 
14
12
  ## Installation
15
13
 
@@ -75,18 +73,23 @@ If you don't want to use the default cookie name of `user-locale`, you can set i
75
73
  use Rack::UserLocale, cookie_name: "some-cookie-name"
76
74
  ```
77
75
 
78
- ## Contributing to rack-user-locale
76
+ ## Inspiration
77
+
78
+ Credit to these gems for pointing me in the direction I wanted to go in...
79
+
80
+ - https://github.com/rack/rack-contrib/blob/main/lib/rack/contrib/locale.rb
81
+ - https://github.com/jeremyvdw/rack-locale-selector
82
+ - https://github.com/jeffersongirao/rack-locale_chooser
83
+
84
+ ## Contributing
85
+
86
+ Bug reports and pull requests are welcome on GitHub at https://github.com/technicalpanda/rack-user-locale. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
87
+
88
+ ## License
79
89
 
80
- - Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
81
- - Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
82
- - Fork the project.
83
- - Start a feature/bugfix branch.
84
- - Commit and push until you are happy with your contribution.
85
- - Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
86
- - Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
90
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
87
91
 
88
- ## Copyright
92
+ ## Code of Conduct
89
93
 
90
- Copyright (c) 2020 [Stuart Chinery](https://github.com/schinery) and [Dave Hrycyszyn](https://github.com/futurechimp).
94
+ Everyone interacting with this project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/technicalpanda/rack-user-locale/blob/main/CODE_OF_CONDUCT.md).
91
95
 
92
- See LICENSE.txt for further details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 2.0.1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-user-locale
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Chinery
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-01 00:00:00.000000000 Z
11
+ date: 2022-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -30,130 +30,18 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.1.2
33
+ version: 2.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 2.1.2
41
- - !ruby/object:Gem::Dependency
42
- name: byebug
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '11.1'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '11.1'
55
- - !ruby/object:Gem::Dependency
56
- name: minitest
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '5.14'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '5.14'
69
- - !ruby/object:Gem::Dependency
70
- name: minitest-fail-fast
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '0.1'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '0.1'
83
- - !ruby/object:Gem::Dependency
84
- name: minitest-macos-notification
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '0.3'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '0.3'
97
- - !ruby/object:Gem::Dependency
98
- name: minitest-reporters
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '1.4'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '1.4'
111
- - !ruby/object:Gem::Dependency
112
- name: rack-test
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '1.1'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '1.1'
125
- - !ruby/object:Gem::Dependency
126
- name: rake
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '13.0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '13.0'
139
- - !ruby/object:Gem::Dependency
140
- name: rubocop
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '0.79'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '0.79'
40
+ version: 2.2.0
153
41
  description: A Rack module for getting and setting a user's locale via a cookie or
154
42
  browser default language.
155
43
  email:
156
- - stuart.chinery@gmail.com
44
+ - code@technicalpanda.co.uk
157
45
  executables: []
158
46
  extensions: []
159
47
  extra_rdoc_files: []
@@ -164,11 +52,12 @@ files:
164
52
  - VERSION
165
53
  - lib/rack/user-locale/version.rb
166
54
  - lib/user_locale.rb
167
- homepage: https://github.com/schinery/rack-user-locale
55
+ homepage: https://github.com/technicalpanda/rack-user-locale
168
56
  licenses:
169
57
  - MIT
170
- metadata: {}
171
- post_install_message:
58
+ metadata:
59
+ rubygems_mfa_required: 'true'
60
+ post_install_message:
172
61
  rdoc_options: []
173
62
  require_paths:
174
63
  - lib
@@ -176,15 +65,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
65
  requirements:
177
66
  - - ">="
178
67
  - !ruby/object:Gem::Version
179
- version: '0'
68
+ version: '2.7'
180
69
  required_rubygems_version: !ruby/object:Gem::Requirement
181
70
  requirements:
182
71
  - - ">="
183
72
  - !ruby/object:Gem::Version
184
73
  version: '0'
185
74
  requirements: []
186
- rubygems_version: 3.1.2
187
- signing_key:
75
+ rubygems_version: 3.2.33
76
+ signing_key:
188
77
  specification_version: 4
189
78
  summary: A Rack module for getting and setting a user's locale
190
79
  test_files: []