has-many-with-set 2.0.1 → 2.0.2

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: 7e8e839377ca955a037f2937e2368d36c99fd25215c8f4f5864cbcbc6185a96a
4
- data.tar.gz: 004c1ab925ba63bbf798d656d0f1e4f8b1dda1386c4ab5dbfcfb9b22297d3f75
3
+ metadata.gz: 9f4d6cd6bb1fcee11a1e2eaf915e7c0efdaa9dee073a3fe96deaef9b7af36add
4
+ data.tar.gz: 86a6fdaff6623418817b0db7bcd6ed47987a7ba0c06fbc5a6ba87d55b086f04d
5
5
  SHA512:
6
- metadata.gz: 77fcac2268137b3944583156030c4aa07c329bd3d82ec971c1e51f78c6bb3ff2028a298f75918c62e7f4d5d6868e52ad12cd08937347cfe25e791d271a057225
7
- data.tar.gz: 9fd99a14d66f977c000f04537fbd18f4a5918c78cdb17f70d8bab19c4861a9cdbfc66f25a076cffb1fac87563f2c248d368e7620d50b84d7b96821b2d1c94594
6
+ metadata.gz: 2de00b586e37ca848f38a74a47a0c60ece0f54754e8b0baf6eb0461fd723597a928240785797e24e33ce3196b191e01d9e0cc4ad16a101a07b78c8f36c63bc78
7
+ data.tar.gz: 83bcad1a37ad1f694549f99e4daa419ddd39a976c1d03b2ddfdbe3c835ea3314318ba627a2102d79197ac466b6e252b0e598b026e619da319c20e56467d5b31f
data/README.md CHANGED
@@ -69,7 +69,7 @@ To to use *_has-many-with-set_* to relate two already existing models you have t
69
69
  And add the relationship to your parent model:
70
70
 
71
71
  ```
72
- class Parent < ActiveRecord::Base
72
+ class Parent < ApplicationRecord
73
73
  has_many_with_set :children
74
74
  end
75
75
  ```
@@ -109,7 +109,7 @@ tags = Tag.all
109
109
  a.save
110
110
  end
111
111
 
112
- ArticlesTagsSetsTag = Class.new(ActiveRecord::Base)
112
+ ArticlesTagsSetsTag = Class.new(ApplicationRecord)
113
113
  ArticlesTagsSetsTag.count # this class doesn't exist by default,
114
114
  # I had to create it by hand for the example.
115
115
  => 80
@@ -1,3 +1,3 @@
1
1
  module HasManyWithSet
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has-many-with-set
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francisco Soto