rtiss_acts_as_versioned 0.9.1 → 0.9.2
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.
- checksums.yaml +4 -4
- data/lib/rtiss_acts_as_versioned.rb +4 -4
- data/rtiss_acts_as_versioned.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa58c29bc182ff4d9c7c28aff6f7406e646db23a
|
|
4
|
+
data.tar.gz: 457cd94cb009f45f01d953bba5b1b6ae155e785e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87fd7d36c67f766c7b47eb3a5467ece59665002942f5fd711a7ddeaf96231479cbfa1c4a14af2f3db76cfaf583e22421547167f62c4f06b1096d8c96670d58ab
|
|
7
|
+
data.tar.gz: 5f2fe84016f43dff43e8d8472b4431b942aa8f5afaa8839c4e306e0a02e0ce1ff3167c304cdbb9853d34e756e94df53d1be66a31565be351156d2d865b8c6986
|
|
@@ -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.2'
|
|
24
24
|
|
|
25
25
|
module ActiveRecord #:nodoc:
|
|
26
26
|
module Acts #:nodoc:
|
|
@@ -550,10 +550,10 @@ module ActiveRecord #:nodoc:
|
|
|
550
550
|
t.column record_restored_column, :integer, :default => nil
|
|
551
551
|
end
|
|
552
552
|
|
|
553
|
-
self.versioned_columns.each do |col|
|
|
553
|
+
self.versioned_columns.each do |col|
|
|
554
554
|
self.connection.add_column versioned_table_name, col.name, col.type,
|
|
555
555
|
:limit => col.limit,
|
|
556
|
-
:default => col.
|
|
556
|
+
:default => col.default,
|
|
557
557
|
:scale => col.scale,
|
|
558
558
|
:precision => col.precision
|
|
559
559
|
end
|
|
@@ -561,7 +561,7 @@ module ActiveRecord #:nodoc:
|
|
|
561
561
|
if type_col = self.columns_hash[inheritance_column]
|
|
562
562
|
self.connection.add_column versioned_table_name, versioned_inheritance_column, type_col.type,
|
|
563
563
|
:limit => type_col.limit,
|
|
564
|
-
:default => type_col.
|
|
564
|
+
:default => type_col.default,
|
|
565
565
|
:scale => type_col.scale,
|
|
566
566
|
:precision => type_col.precision
|
|
567
567
|
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 = '2020-04-
|
|
15
|
+
s.version = '0.9.2'
|
|
16
|
+
s.date = '2020-04-27'
|
|
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.2
|
|
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: 2020-04-
|
|
13
|
+
date: 2020-04-27 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activerecord
|