rtiss_acts_as_versioned 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/rtiss_acts_as_versioned.rb +3 -2
- data/rtiss_acts_as_versioned.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d61d281b782f32c19f2d2d8320397df1c77fcee5
|
4
|
+
data.tar.gz: eddf855f5f3745e383fda5951b1a35d7b909ece3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 166c0b23761ac795d5a553fceea218d6a5da8babce39aec8b5ff82c6912715050b6f8d4fa4cd64920da93b3e3009139e84f947fd608473c0428556fc120f8e42
|
7
|
+
data.tar.gz: 73a2284345a5a0ed47f96aa3f1b91d66254d81d55e56a693cb74f2ae02378cf03d47dd70993d2c6394637ace2f58bf6b824e8776cdfa72f069e22c6792a98150
|
@@ -20,7 +20,7 @@
|
|
20
20
|
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
21
|
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
22
|
|
23
|
-
VERSION = '0.9.
|
23
|
+
VERSION = '0.9.1'
|
24
24
|
|
25
25
|
module ActiveRecord #:nodoc:
|
26
26
|
module Acts #:nodoc:
|
@@ -305,7 +305,8 @@ module ActiveRecord #:nodoc:
|
|
305
305
|
versioned_class.table_name = versioned_table_name
|
306
306
|
versioned_class.belongs_to self.to_s.demodulize.underscore.to_sym,
|
307
307
|
:class_name => "::#{self.to_s}",
|
308
|
-
:foreign_key => versioned_foreign_key
|
308
|
+
:foreign_key => versioned_foreign_key,
|
309
|
+
:optional => true
|
309
310
|
versioned_class.send :include, options[:extend] if options[:extend].is_a?(Module)
|
310
311
|
versioned_class.sequence_name = version_sequence_name if version_sequence_name
|
311
312
|
end
|
@@ -12,8 +12,8 @@ Gem::Specification.new do |s|
|
|
12
12
|
## If your rubyforge_project name is different, then edit it and comment out
|
13
13
|
## the sub! line in the Rakefile
|
14
14
|
s.name = 'rtiss_acts_as_versioned'
|
15
|
-
s.version = '0.9.
|
16
|
-
s.date = '
|
15
|
+
s.version = '0.9.1'
|
16
|
+
s.date = '2020-04-23'
|
17
17
|
s.rubyforge_project = 'rtiss_acts_as_versioned'
|
18
18
|
s.summary = "Add simple versioning to ActiveRecord models (TISS version)."
|
19
19
|
s.description = "Add simple versioning to ActiveRecord models (TISS version).
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtiss_acts_as_versioned
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rick Olson
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-04-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
146
|
rubyforge_project: rtiss_acts_as_versioned
|
147
|
-
rubygems_version: 2.
|
147
|
+
rubygems_version: 2.6.14.4
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Add simple versioning to ActiveRecord models (TISS version).
|