rack-user-locale 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -1
- data/Gemfile.lock +11 -3
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/rack-user-locale.gemspec +11 -8
- data/test/helper.rb +5 -1
- metadata +22 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3376e9a9241aac31b2921eef24650abe3d96924411690604d40d0c2670e2ba38
|
4
|
+
data.tar.gz: c0cf13fc9e07cf9e27795c37d39c4f3e3394538342b293b83cc2c43b55a18209
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e155f5a3c408c649440e60ac0c6f45a95118967c4eab0ecd833252ec78261e218b2893f2f067461484be3e115ef77edf924bf9656488a430b0aa9a2cf47062e
|
7
|
+
data.tar.gz: 692899bc9906adfda797c51b03a79464b8f7bfa1fa9d68e76dd982efad5f3aa4708399bc0bb28821379cfcafb83e19fe867622f661cc3fedc90ccc02564cb917
|
data/Gemfile
CHANGED
@@ -13,7 +13,8 @@ group :development do
|
|
13
13
|
gem "jeweler", "~> 2.3"
|
14
14
|
gem "minitest", "~> 5.0"
|
15
15
|
gem "minitest-fail-fast", "~> 0.1"
|
16
|
-
gem "minitest-
|
16
|
+
gem "minitest-macos-notification", "~> 0"
|
17
|
+
gem "minitest-reporters", "~> 1.3"
|
17
18
|
gem "rack-test", "~> 1.1"
|
18
19
|
gem "yard", "~> 0.9"
|
19
20
|
end
|
data/Gemfile.lock
CHANGED
@@ -39,7 +39,12 @@ GEM
|
|
39
39
|
minitest (5.11.3)
|
40
40
|
minitest-fail-fast (0.1.0)
|
41
41
|
minitest (~> 5)
|
42
|
-
minitest-
|
42
|
+
minitest-macos-notification (0.0.3)
|
43
|
+
minitest (~> 5.0)
|
44
|
+
minitest-reporters (~> 1.3.1)
|
45
|
+
os (~> 1.0)
|
46
|
+
terminal-notifier (~> 2.0)
|
47
|
+
minitest-reporters (1.3.2)
|
43
48
|
ansi
|
44
49
|
builder
|
45
50
|
minitest (>= 5.0)
|
@@ -55,6 +60,7 @@ GEM
|
|
55
60
|
multi_json (~> 1.3)
|
56
61
|
multi_xml (~> 0.5)
|
57
62
|
rack (>= 1.2, < 3)
|
63
|
+
os (1.0.0)
|
58
64
|
psych (3.0.2)
|
59
65
|
rack (2.0.5)
|
60
66
|
rack-test (1.1.0)
|
@@ -63,6 +69,7 @@ GEM
|
|
63
69
|
rdoc (6.0.4)
|
64
70
|
ruby-progressbar (1.10.0)
|
65
71
|
semver2 (3.4.2)
|
72
|
+
terminal-notifier (2.0.0)
|
66
73
|
thread_safe (0.3.6)
|
67
74
|
yard (0.9.16)
|
68
75
|
|
@@ -76,10 +83,11 @@ DEPENDENCIES
|
|
76
83
|
jeweler (~> 2.3)
|
77
84
|
minitest (~> 5.0)
|
78
85
|
minitest-fail-fast (~> 0.1)
|
79
|
-
minitest-
|
86
|
+
minitest-macos-notification (~> 0)
|
87
|
+
minitest-reporters (~> 1.3)
|
80
88
|
rack
|
81
89
|
rack-test (~> 1.1)
|
82
90
|
yard (~> 0.9)
|
83
91
|
|
84
92
|
BUNDLED WITH
|
85
|
-
1.16.
|
93
|
+
1.16.4
|
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ require "jeweler"
|
|
15
15
|
Jeweler::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
17
|
gem.name = "rack-user-locale"
|
18
|
-
gem.homepage = "http://github.com/
|
18
|
+
gem.homepage = "http://github.com/schinery/rack-user-locale"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = %(Rack module for getting and setting a user's locale)
|
21
21
|
gem.description = %(A Rack module for getting and setting a user's locale via a cookie or browser default language.)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/rack-user-locale.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: rack-user-locale 0.1.
|
5
|
+
# stub: rack-user-locale 0.1.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rack-user-locale".freeze
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Stuart Chinery".freeze, "Dave Hrycyszyn".freeze]
|
14
|
-
s.date = "2018-08-
|
14
|
+
s.date = "2018-08-28"
|
15
15
|
s.description = "A Rack module for getting and setting a user's locale via a cookie or browser default language.".freeze
|
16
16
|
s.email = "stuart.chinery@gmail.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
@@ -35,9 +35,9 @@ Gem::Specification.new do |s|
|
|
35
35
|
"test/helper.rb",
|
36
36
|
"test/rack-user-locale_test.rb"
|
37
37
|
]
|
38
|
-
s.homepage = "http://github.com/
|
38
|
+
s.homepage = "http://github.com/schinery/rack-user-locale".freeze
|
39
39
|
s.licenses = ["MIT".freeze]
|
40
|
-
s.rubygems_version = "2.7.
|
40
|
+
s.rubygems_version = "2.7.7".freeze
|
41
41
|
s.summary = "Rack module for getting and setting a user's locale".freeze
|
42
42
|
|
43
43
|
if s.respond_to? :specification_version then
|
@@ -51,7 +51,8 @@ Gem::Specification.new do |s|
|
|
51
51
|
s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.3"])
|
52
52
|
s.add_development_dependency(%q<minitest>.freeze, ["~> 5.0"])
|
53
53
|
s.add_development_dependency(%q<minitest-fail-fast>.freeze, ["~> 0.1"])
|
54
|
-
s.add_development_dependency(%q<minitest-
|
54
|
+
s.add_development_dependency(%q<minitest-macos-notification>.freeze, ["~> 0"])
|
55
|
+
s.add_development_dependency(%q<minitest-reporters>.freeze, ["~> 1.3"])
|
55
56
|
s.add_development_dependency(%q<rack-test>.freeze, ["~> 1.1"])
|
56
57
|
s.add_development_dependency(%q<yard>.freeze, ["~> 0.9"])
|
57
58
|
else
|
@@ -62,7 +63,8 @@ Gem::Specification.new do |s|
|
|
62
63
|
s.add_dependency(%q<jeweler>.freeze, ["~> 2.3"])
|
63
64
|
s.add_dependency(%q<minitest>.freeze, ["~> 5.0"])
|
64
65
|
s.add_dependency(%q<minitest-fail-fast>.freeze, ["~> 0.1"])
|
65
|
-
s.add_dependency(%q<minitest-
|
66
|
+
s.add_dependency(%q<minitest-macos-notification>.freeze, ["~> 0"])
|
67
|
+
s.add_dependency(%q<minitest-reporters>.freeze, ["~> 1.3"])
|
66
68
|
s.add_dependency(%q<rack-test>.freeze, ["~> 1.1"])
|
67
69
|
s.add_dependency(%q<yard>.freeze, ["~> 0.9"])
|
68
70
|
end
|
@@ -74,7 +76,8 @@ Gem::Specification.new do |s|
|
|
74
76
|
s.add_dependency(%q<jeweler>.freeze, ["~> 2.3"])
|
75
77
|
s.add_dependency(%q<minitest>.freeze, ["~> 5.0"])
|
76
78
|
s.add_dependency(%q<minitest-fail-fast>.freeze, ["~> 0.1"])
|
77
|
-
s.add_dependency(%q<minitest-
|
79
|
+
s.add_dependency(%q<minitest-macos-notification>.freeze, ["~> 0"])
|
80
|
+
s.add_dependency(%q<minitest-reporters>.freeze, ["~> 1.3"])
|
78
81
|
s.add_dependency(%q<rack-test>.freeze, ["~> 1.1"])
|
79
82
|
s.add_dependency(%q<yard>.freeze, ["~> 0.9"])
|
80
83
|
end
|
data/test/helper.rb
CHANGED
@@ -14,6 +14,7 @@ end
|
|
14
14
|
|
15
15
|
require "minitest/autorun"
|
16
16
|
require "minitest/fail_fast"
|
17
|
+
require "minitest/macos_notification"
|
17
18
|
require "minitest/reporters"
|
18
19
|
require "minitest/spec"
|
19
20
|
|
@@ -27,7 +28,10 @@ class Minitest::Test
|
|
27
28
|
end
|
28
29
|
|
29
30
|
Minitest::Reporters.use!(
|
30
|
-
|
31
|
+
[
|
32
|
+
Minitest::Reporters::SpecReporter.new,
|
33
|
+
Minitest::Reporters::MacosNotificationReporter.new(title: "Rack::UserLocale Gem")
|
34
|
+
],
|
31
35
|
ENV,
|
32
36
|
Minitest.backtrace_filter
|
33
37
|
)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-user-locale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stuart Chinery
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-08-
|
12
|
+
date: 2018-08-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
@@ -109,20 +109,34 @@ dependencies:
|
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0.1'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: minitest-macos-notification
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
112
126
|
- !ruby/object:Gem::Dependency
|
113
127
|
name: minitest-reporters
|
114
128
|
requirement: !ruby/object:Gem::Requirement
|
115
129
|
requirements:
|
116
|
-
- -
|
130
|
+
- - "~>"
|
117
131
|
- !ruby/object:Gem::Version
|
118
|
-
version: 1.3
|
132
|
+
version: '1.3'
|
119
133
|
type: :development
|
120
134
|
prerelease: false
|
121
135
|
version_requirements: !ruby/object:Gem::Requirement
|
122
136
|
requirements:
|
123
|
-
- -
|
137
|
+
- - "~>"
|
124
138
|
- !ruby/object:Gem::Version
|
125
|
-
version: 1.3
|
139
|
+
version: '1.3'
|
126
140
|
- !ruby/object:Gem::Dependency
|
127
141
|
name: rack-test
|
128
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,7 +189,7 @@ files:
|
|
175
189
|
- test/basic_rack_app.rb
|
176
190
|
- test/helper.rb
|
177
191
|
- test/rack-user-locale_test.rb
|
178
|
-
homepage: http://github.com/
|
192
|
+
homepage: http://github.com/schinery/rack-user-locale
|
179
193
|
licenses:
|
180
194
|
- MIT
|
181
195
|
metadata: {}
|
@@ -195,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
209
|
version: '0'
|
196
210
|
requirements: []
|
197
211
|
rubyforge_project:
|
198
|
-
rubygems_version: 2.7.
|
212
|
+
rubygems_version: 2.7.7
|
199
213
|
signing_key:
|
200
214
|
specification_version: 4
|
201
215
|
summary: Rack module for getting and setting a user's locale
|