rtiss_acts_as_versioned 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rtiss_acts_as_versioned.rb +2 -2
- 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: 85c837eaad50a545769f14911ea26e8bd6d03344
|
4
|
+
data.tar.gz: d3dd30fd2e944aa691b4db979f9da20337f240fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43805ee66159f18b492621ae1b3ab7a90f8437e0b53c3c1b24c81abb6ec82685c2585c5f644fde0365746bfe4feb8e89fe224301a16b8164ef93e0e8ef36207e
|
7
|
+
data.tar.gz: c0c1fd0bcafa91533e72d12c71ffe66f366a1ef2089702d0b8bf422043447752bf308f79d1f942324481ab8db23078a800df4d7d470a8c2997d805684919f3b0
|
@@ -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.3'
|
24
24
|
|
25
25
|
module ActiveRecord #:nodoc:
|
26
26
|
module Acts #:nodoc:
|
@@ -205,7 +205,7 @@ module ActiveRecord #:nodoc:
|
|
205
205
|
end
|
206
206
|
|
207
207
|
class_eval <<-CLASS_METHODS, __FILE__, __LINE__ + 1
|
208
|
-
has_many :versions, version_association_options do
|
208
|
+
has_many :versions, **version_association_options do
|
209
209
|
# finds earliest version of this record
|
210
210
|
def earliest
|
211
211
|
@earliest ||= order('#{version_column}').first
|
@@ -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.3'
|
16
|
+
s.date = '2024-08-26'
|
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.3
|
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: 2024-08-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|