paper_trail-active_record 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fa97181a35e9ee580bb03d4bdef4da4d9a05aa6d90561274df1d8a69c08445c
4
- data.tar.gz: 6888e2d9591bf6764bb66abba3dfd85b4e82d7a7a3628f2b6862473aa9b356f8
3
+ metadata.gz: e424c0dbb41ccae430a47d5edbdaaf42267f4789c9bda011c50e97841a8b3596
4
+ data.tar.gz: 89a7021a5fa8141ddc07167c6f7ee8ce1e04ca64135dee976b9e730c89e3773d
5
5
  SHA512:
6
- metadata.gz: 953db9408ab0369e96e693ec79546eacd299b0009635546740222358525bf21d42f1c91f6c2b7024e183d3e11e53b73630eabd0d7ac34ca919585596cf7ef3a0
7
- data.tar.gz: e9e680685bcb3c5de6f575c515f53432639338d59514cc259b3f4c579a02a428d5d7a8a19989c97b3537ba5bad673020cb704c5b8e3430ba197148316f1fb815
6
+ metadata.gz: 8d2e504931134b961b3c750312e80f14e00909cb3fbfab616c0fdc6ff08de6bd9388de86bad8861022980c7f6737c4964fe7d144986167a89c3719b24f79b097
7
+ data.tar.gz: '093d5bcb1f5f59e0753d19f30c7564f48ccea1408bea59b056c84325e52351a93c175666b072f3fbff33d0cf8a9f34c62b8937cac2ea86419c0937db4f719631'
@@ -1,3 +1,7 @@
1
+ ## 0.1.1 (2020-04-23)
2
+
3
+ - Fix: `has_many_versions` was passing wrong value for extends
4
+
1
5
  ## 0.1.0 (2020-04-23)
2
6
 
3
7
  Initial release
@@ -51,7 +51,7 @@ module BaseExtensions
51
51
  end
52
52
 
53
53
  def has_many_versions(name, *args, **options)
54
- has_many name, *args, class_name: 'Version', extend: [PaperTrail::ActiveRecord.config.versions_extends], **options
54
+ has_many name, *args, class_name: 'Version', extend: PaperTrail::ActiveRecord.config.versions_extends, **options
55
55
  end
56
56
 
57
57
  # Creates associations for finding related versions — that is, versions for related/children
@@ -1,7 +1,7 @@
1
1
  module PaperTrail
2
2
  module ActiveRecord
3
3
  def self.version
4
- "0.1.0"
4
+ "0.1.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paper_trail-active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Rick