slugs 4.0.0.0 → 4.0.0.1

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.
data/test/record_test.rb CHANGED
@@ -29,6 +29,12 @@ class RecordTest < ActiveSupport::TestCase
29
29
  assert_equal user, User.find('zakk-wylde')
30
30
  assert_equal user, User.find(user.id)
31
31
  assert_equal user, User.find(user.id.to_s)
32
+
33
+ domain = Domain.create
34
+ assert_nothing_raised do
35
+ Domain.find domain.id
36
+ Domain.exists? domain.id+1
37
+ end
32
38
  end
33
39
 
34
40
  test 'indices' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slugs
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.0
4
+ version: 4.0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmontossi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-06 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -73,6 +73,7 @@ files:
73
73
  - test/dummy/app/controllers/application_controller.rb
74
74
  - test/dummy/app/helpers/application_helper.rb
75
75
  - test/dummy/app/models/category.rb
76
+ - test/dummy/app/models/domain.rb
76
77
  - test/dummy/app/models/product.rb
77
78
  - test/dummy/app/models/shop.rb
78
79
  - test/dummy/app/models/user.rb
@@ -107,6 +108,7 @@ files:
107
108
  - test/dummy/db/migrate/20161016174202_create_products.rb
108
109
  - test/dummy/db/migrate/20161016174225_create_categories.rb
109
110
  - test/dummy/db/migrate/20161124162802_create_slugs.rb
111
+ - test/dummy/db/migrate/20161208062832_create_domains.rb
110
112
  - test/dummy/db/schema.rb
111
113
  - test/dummy/log/development.log
112
114
  - test/dummy/log/test.log
@@ -148,6 +150,7 @@ test_files:
148
150
  - test/dummy/app/controllers/application_controller.rb
149
151
  - test/dummy/app/helpers/application_helper.rb
150
152
  - test/dummy/app/models/category.rb
153
+ - test/dummy/app/models/domain.rb
151
154
  - test/dummy/app/models/product.rb
152
155
  - test/dummy/app/models/shop.rb
153
156
  - test/dummy/app/models/user.rb
@@ -182,6 +185,7 @@ test_files:
182
185
  - test/dummy/db/migrate/20161016174202_create_products.rb
183
186
  - test/dummy/db/migrate/20161016174225_create_categories.rb
184
187
  - test/dummy/db/migrate/20161124162802_create_slugs.rb
188
+ - test/dummy/db/migrate/20161208062832_create_domains.rb
185
189
  - test/dummy/db/schema.rb
186
190
  - test/dummy/log/development.log
187
191
  - test/dummy/log/test.log