fast_versioning 0.4.0 → 0.4.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: f23aad092de370494cc95f706f8c7bbc9a372cc6dda86e716031f9414e912741
4
- data.tar.gz: bfedd3ec05a966525da519774953e39d792f903c4d4597d1c76d1504e75251b4
3
+ metadata.gz: 23f653a3f9017175d02635e4631b112c39f4c172d574ff773c28fddb8779819c
4
+ data.tar.gz: 05e54ed2435fb1590af1013445a151d60aed19bd86d24c35339a5bba8ee4bdda
5
5
  SHA512:
6
- metadata.gz: b6a01d2884e738df3696888bc9d5ab34853593cca16007bc7040066e1f793063e53dae4ed017c7ba5342732b69aa89e94ef0d760688ea7b5da3bb7a5ca466d3a
7
- data.tar.gz: 48aa886da32b1b28c50907ce4798b778331ec83c3c4ae2bc6f4d548ec1a3c354f888af6d9d74ea164d1e8d3450a0fa3b2b05ee5ef2aaaede1f39c1eefe76d742
6
+ metadata.gz: dc289843b4225045ba104c24f887b4da440e86b22ee58df62ee323c0e89e908999cd8555bfd94cddda0608e010dff2f8af827e45d6cf4d613604a99fcdd3f36b
7
+ data.tar.gz: 0c4a213dbd1ab861ce77cd0a1a04dca9c5166f693f1296c585655e622b1e535590b825f0393742ff9b42a92adc8262f69d45a41f56ad6c9b97ac4eacfd1cd06c
@@ -1,7 +1,7 @@
1
1
  module FastVersioning
2
2
  class FastVersion < ActiveRecord::Base
3
3
  belongs_to :item, polymorphic: true
4
- belongs_to :whodunnit, polymorphic: true
4
+ belongs_to :whodunnit, polymorphic: true, optional: true
5
5
  belongs_to :version, class_name: 'PaperTrail::Version'
6
6
 
7
7
  serialize :meta, JSON
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_versioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arcadia Power
@@ -10,20 +10,20 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-07-18 00:00:00.000000000 Z
13
+ date: 2019-09-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">="
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
21
  version: '5.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ">="
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: '5.0'
29
29
  - !ruby/object:Gem::Dependency