mobility 0.8.9 → 0.8.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 792cd0d08532672e8bef3620b2e0741c6dab8bbe7105b80638ac5c0468e02a43
4
- data.tar.gz: 76d31ca70d2b207c9612284a934f10b2ea0d68ad56f98ee92e03207323239841
3
+ metadata.gz: dd8355a959c296a84759983153fc1233f69aa78cc78228b4b20f0f467372da3d
4
+ data.tar.gz: 58da1ee48b36cd40c2e1b12edfea91ab22034090c57638f301908dcebf3f9145
5
5
  SHA512:
6
- metadata.gz: c8194524ecaa6bd398d911b028f9a4029e374db423887ac1a7e21b68e501290531284c718733795df08b6d9d173033188bb28ac57c1aca9b897271788a812a7c
7
- data.tar.gz: a89d634b7350cf01758cc929d36e354376ac9c2f9ee08b183e24f0200377756ba6950cd5d80b62b045527cbb43cf5a0c1e739564f1890b81bbfbcf68c8800cd5
6
+ metadata.gz: bcf5520b40769d00e0a848f6a18865c74ec3a48b74a83c421ad5bca89e19e9ccb86e66b6d7538e57f88a44737bc9bcc0b122f3fa4d1659a0a596c21237b4e1f6
7
+ data.tar.gz: 12b2ea52538025521a472c9f1b03cc165e677534e559174076a1c6142a6f53b81406636d52715dab7c3aa91fdc16644f1f6e8e61739631e9f841a105cfa1394f
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## 0.8
4
4
 
5
+ ### 0.8.10 (February 11, 2020)
6
+ * Enforce case_sensitive comparison for Rails 6.1
7
+ ([#333](https://github.com/shioyama/mobility/pull/333), thanks [morozRed](https://github.com/morozRed)!)
8
+
5
9
  ### 0.8.9 (October 25, 2019)
6
10
  * Fix Dirty plugin to work with Rails 6
7
11
  ([#343](https://github.com/shioyama/mobility/pull/343),
@@ -8,15 +8,47 @@ PATH
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
+ actionpack (4.2.11.1)
12
+ actionview (= 4.2.11.1)
13
+ activesupport (= 4.2.11.1)
14
+ rack (~> 1.6)
15
+ rack-test (~> 0.6.2)
16
+ rails-dom-testing (~> 1.0, >= 1.0.5)
17
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
+ actionview (4.2.11.1)
19
+ activesupport (= 4.2.11.1)
20
+ builder (~> 3.1)
21
+ erubis (~> 2.7.0)
22
+ rails-dom-testing (~> 1.0, >= 1.0.5)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
24
+ activemodel (4.2.11.1)
25
+ activesupport (= 4.2.11.1)
26
+ builder (~> 3.1)
27
+ activerecord (4.2.11.1)
28
+ activemodel (= 4.2.11.1)
29
+ activesupport (= 4.2.11.1)
30
+ arel (~> 6.0)
31
+ activesupport (4.2.11.1)
32
+ i18n (~> 0.7)
33
+ minitest (~> 5.1)
34
+ thread_safe (~> 0.3, >= 0.3.4)
35
+ tzinfo (~> 1.1)
36
+ arel (6.0.4)
11
37
  benchmark-ips (2.7.2)
12
- byebug (10.0.2)
38
+ builder (3.2.3)
39
+ byebug (11.0.1)
13
40
  coderay (1.1.2)
14
- concurrent-ruby (1.0.5)
41
+ concurrent-ruby (1.1.5)
42
+ crass (1.0.5)
15
43
  database_cleaner (1.7.0)
16
44
  diff-lcs (1.3)
17
- ffi (1.9.25)
45
+ erubis (2.7.0)
46
+ ffi (1.11.1)
18
47
  formatador (0.2.5)
19
- guard (2.14.2)
48
+ generator_spec (0.9.4)
49
+ activesupport (>= 3.0.0)
50
+ railties (>= 3.0.0)
51
+ guard (2.15.1)
20
52
  formatador (>= 0.2.4)
21
53
  listen (>= 2.7, < 4.0)
22
54
  lumberjack (>= 1.0.12, < 2.0)
@@ -30,59 +62,83 @@ GEM
30
62
  guard (~> 2.1)
31
63
  guard-compat (~> 1.1)
32
64
  rspec (>= 2.99.0, < 4.0)
33
- i18n (1.1.1)
65
+ i18n (0.9.5)
34
66
  concurrent-ruby (~> 1.0)
35
- listen (3.1.5)
36
- rb-fsevent (~> 0.9, >= 0.9.4)
37
- rb-inotify (~> 0.9, >= 0.9.7)
38
- ruby_dep (~> 1.2)
67
+ listen (3.2.0)
68
+ rb-fsevent (~> 0.10, >= 0.10.3)
69
+ rb-inotify (~> 0.9, >= 0.9.10)
70
+ loofah (2.3.1)
71
+ crass (~> 1.0.2)
72
+ nokogiri (>= 1.5.9)
39
73
  lumberjack (1.0.13)
40
- method_source (0.9.0)
74
+ method_source (0.9.2)
75
+ mini_portile2 (2.4.0)
76
+ minitest (5.12.2)
41
77
  mysql2 (0.4.10)
42
78
  nenv (0.3.0)
43
- notiffany (0.1.1)
79
+ nokogiri (1.10.4)
80
+ mini_portile2 (~> 2.4.0)
81
+ notiffany (0.1.3)
44
82
  nenv (~> 0.1)
45
83
  shellany (~> 0.0)
46
84
  pg (0.21.0)
47
- pry (0.11.3)
85
+ pry (0.12.2)
48
86
  coderay (~> 1.1.0)
49
87
  method_source (~> 0.9.0)
50
- pry-byebug (3.6.0)
51
- byebug (~> 10.0)
88
+ pry-byebug (3.7.0)
89
+ byebug (~> 11.0)
52
90
  pry (~> 0.10)
53
- rack (2.0.5)
54
- rake (12.3.1)
91
+ rack (1.6.11)
92
+ rack-test (0.6.3)
93
+ rack (>= 1.0)
94
+ rails-deprecated_sanitizer (1.0.3)
95
+ activesupport (>= 4.2.0.alpha)
96
+ rails-dom-testing (1.0.9)
97
+ activesupport (>= 4.2.0, < 5.0)
98
+ nokogiri (~> 1.6)
99
+ rails-deprecated_sanitizer (>= 1.0.1)
100
+ rails-html-sanitizer (1.3.0)
101
+ loofah (~> 2.3)
102
+ railties (4.2.11.1)
103
+ actionpack (= 4.2.11.1)
104
+ activesupport (= 4.2.11.1)
105
+ rake (>= 0.8.7)
106
+ thor (>= 0.18.1, < 2.0)
107
+ rake (12.3.3)
55
108
  rb-fsevent (0.10.3)
56
- rb-inotify (0.9.10)
57
- ffi (>= 0.5.0, < 2)
109
+ rb-inotify (0.10.0)
110
+ ffi (~> 1.0)
58
111
  request_store (1.4.1)
59
112
  rack (>= 1.4)
60
- rspec (3.8.0)
61
- rspec-core (~> 3.8.0)
62
- rspec-expectations (~> 3.8.0)
63
- rspec-mocks (~> 3.8.0)
64
- rspec-core (3.8.0)
65
- rspec-support (~> 3.8.0)
66
- rspec-expectations (3.8.2)
113
+ rspec (3.9.0)
114
+ rspec-core (~> 3.9.0)
115
+ rspec-expectations (~> 3.9.0)
116
+ rspec-mocks (~> 3.9.0)
117
+ rspec-core (3.9.0)
118
+ rspec-support (~> 3.9.0)
119
+ rspec-expectations (3.9.0)
67
120
  diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.8.0)
69
- rspec-mocks (3.8.0)
121
+ rspec-support (~> 3.9.0)
122
+ rspec-mocks (3.9.0)
70
123
  diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.8.0)
72
- rspec-support (3.8.0)
73
- ruby_dep (1.5.0)
74
- sequel (5.20.0)
124
+ rspec-support (~> 3.9.0)
125
+ rspec-support (3.9.0)
75
126
  shellany (0.0.1)
76
127
  sqlite3 (1.3.13)
77
- thor (0.20.0)
78
- yard (0.9.16)
128
+ thor (0.20.3)
129
+ thread_safe (0.3.6)
130
+ tzinfo (1.2.5)
131
+ thread_safe (~> 0.1)
132
+ yard (0.9.20)
79
133
 
80
134
  PLATFORMS
81
135
  ruby
82
136
 
83
137
  DEPENDENCIES
138
+ activerecord (>= 4.2.6, < 5.0)
84
139
  benchmark-ips
85
140
  database_cleaner (~> 1.5, >= 1.5.3)
141
+ generator_spec (~> 0.9.4)
86
142
  guard-rspec
87
143
  mobility!
88
144
  mysql2 (~> 0.4.9)
@@ -90,8 +146,7 @@ DEPENDENCIES
90
146
  pry-byebug
91
147
  rake (~> 12, >= 12.2.1)
92
148
  rspec (~> 3.0)
93
- sequel (>= 5.0.0, < 6.0.0)
94
- sqlite3 (~> 1.3.6)
149
+ sqlite3 (~> 1.3.13)
95
150
  yard (~> 0.9.0)
96
151
 
97
152
  BUNDLED WITH
data/Guardfile CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## Uncomment and set this to only include directories you want to watch
5
5
  # directories %w(app lib config test spec features) \
6
- # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
6
+ # .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
7
 
8
8
  ## Note: if you are using the `directories` clause above and you are not
9
9
  ## watching the project directory ('.'), then you will want to move
@@ -40,6 +40,28 @@ guard :rspec, cmd: "bundle exec rspec" do
40
40
  ruby = dsl.ruby
41
41
  dsl.watch_spec_files_for(ruby.lib_files)
42
42
 
43
+ # Rails files
44
+ rails = dsl.rails(view_extensions: %w(erb haml slim))
45
+ dsl.watch_spec_files_for(rails.app_files)
46
+ dsl.watch_spec_files_for(rails.views)
47
+
48
+ watch(rails.controllers) do |m|
49
+ [
50
+ rspec.spec.call("routing/#{m[1]}_routing"),
51
+ rspec.spec.call("controllers/#{m[1]}_controller"),
52
+ rspec.spec.call("acceptance/#{m[1]}")
53
+ ]
54
+ end
55
+
56
+ # Rails config changes
57
+ watch(rails.spec_helper) { rspec.spec_dir }
58
+ watch(rails.routes) { "#{rspec.spec_dir}/routing" }
59
+ watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
60
+
61
+ # Capybara features specs
62
+ watch(rails.view_dirs) { |m| rspec.spec.call("features/#{m[1]}") }
63
+ watch(rails.layouts) { |m| rspec.spec.call("features/#{m[1]}") }
64
+
43
65
  # Turnip features and steps
44
66
  watch(%r{^spec/acceptance/(.+)\.feature$})
45
67
  watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
data/README.md CHANGED
@@ -51,7 +51,7 @@ Installation
51
51
  Add this line to your application's Gemfile:
52
52
 
53
53
  ```ruby
54
- gem 'mobility', '~> 0.8.9'
54
+ gem 'mobility', '~> 0.8.10'
55
55
  ```
56
56
 
57
57
  Mobility is cryptographically signed. To be sure the gem you install hasn't
@@ -6,7 +6,7 @@ module Mobility
6
6
 
7
7
  belongs_to :translatable, polymorphic: true, touch: true
8
8
 
9
- validates :key, presence: true, uniqueness: { scope: [:translatable_id, :translatable_type, :locale] }
9
+ validates :key, presence: true, uniqueness: { scope: [:translatable_id, :translatable_type, :locale], case_sensitive: true }
10
10
  validates :translatable, presence: true
11
11
  validates :locale, presence: true
12
12
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mobility
4
- VERSION = "0.8.9"
4
+ VERSION = "0.8.10"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobility
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.9
4
+ version: 0.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Salzberg
@@ -10,32 +10,31 @@ bindir: exe
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MQ4wDAYDVQQDDAVjaHJp
14
- czEYMBYGCgmSJomT8ixkARkWCGRlamltYXRhMRMwEQYKCZImiZPyLGQBGRYDY29t
15
- MB4XDTE5MDkxNzIxNTE0NFoXDTIwMDkxNjIxNTE0NFowPzEOMAwGA1UEAwwFY2hy
16
- aXMxGDAWBgoJkiaJk/IsZAEZFghkZWppbWF0YTETMBEGCgmSJomT8ixkARkWA2Nv
17
- bTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAJmJoeQUuRZn95UFlmyx
18
- 7tz1Gus86VxP3HL4JFygrXKibPPR3lWTKT5hEce0Tq4Uz3XbtR/6HDVROl6F6o+D
19
- TMRWDWpCt8rmO15I9qk3/qO+QKeCGq4Ip8f+ngNmltxrIm1QCrfWcDRyXbxC6pVS
20
- nPnzmzvEKecBcarFejoEFVaYyAg/dr+mYSBuw4OAyihjiZiyrJiSZFaNwTPF/Cgl
21
- /Fg4owJgLBJnIjQECgS36/bS/FwbqhjKn0zC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ITUeDHpNoxF6KAp3zSsdoBoEHdOBNH7Jpxp+L3a2LZ0k6fW12xEafmymOD3fp
30
+ BmIrE2Vr9aUec2Sk4fbKEYqsxhmXx+o8kKU7tnxVYMv4cX5X3yo45FA7Rh2JQuub
31
+ MBT+NALoYFaSTHWIr/4tAolWVt8NNGUKEokaFjjf5gAGM6piq6ohTHl5dCtcEPX1
32
+ klHOa2pIFwuUAWoVCpZa9XzRV5qz+mUrU70DF9dX6Cotv/sKOIxiGvQLnwzlSQWH
33
+ iXMqkM6Y5FSwViOQy4U2egDDSTB5a16iAnN7/qzqex6SYTsQdSmyc0mWCb9rkIoF
34
+ gSQml7TqcC6dZRsZRwYqzD9kUwdAJoCqno2CBUKs2l0yQAjFT36lRrVJznb7uWwa
35
+ xpPFnsrtyaZW6Dty8TSG3qzmeGpmpIotA8x1VA==
37
36
  -----END CERTIFICATE-----
38
- date: 2019-10-25 00:00:00.000000000 Z
37
+ date: 2020-02-11 00:00:00.000000000 Z
39
38
  dependencies:
40
39
  - !ruby/object:Gem::Dependency
41
40
  name: request_store
@@ -274,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
273
  - !ruby/object:Gem::Version
275
274
  version: '0'
276
275
  requirements: []
277
- rubygems_version: 3.0.2
276
+ rubygems_version: 3.0.6
278
277
  signing_key:
279
278
  specification_version: 4
280
279
  summary: Pluggable Ruby translation framework
metadata.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- )�<��tj��w���Byx �;�U�s1�= e�p�$�p���"��0�뵱Y�#��
2
- �r�!��]��nT��|T��������^�� ��u
1
+ ^��M�s jk���
2
+ O浴^!�쾽4���c��J;�c���J|�%L��羐�`�ʾ��#�0�ON���� T� �l Fb��)/~�r|D�W�xV ��� F��-rLd�x�$|UZ�к���H�g�G�P�̹$p���L�,)Ƣ$�V8��ą1������R�K�$l�!�(��}��� ܾ�Z�e�����%^�� ڪ�ώ���r��D-���eb'>m��}dHG8L=��