rtiss_acts_as_versioned 0.7.5 → 0.7.6
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 +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bc683271fa7762c9b9374d6a8b9ef9ac9838771
|
4
|
+
data.tar.gz: 1b4cf12f43c1ff427c614a7f41641f9803cefa6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f4d947e149ef35b3dd74eaa66ca75b7195b90ec8b863e30dcf9eb03d6da98657fff3cc5476cd21d14f8d5110928429d45dc02b2e27efc185c919f4a01d89e81
|
7
|
+
data.tar.gz: 11fd33365cf0866c6eac34232e736ac1167ebb50f9b247e126ecc733d97e20fcf781ec423db83d2d59ae9f89d345b08a1594d769435f91fcf985a5c070b7775c
|
@@ -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.7.
|
23
|
+
VERSION = '0.7.6'
|
24
24
|
|
25
25
|
module ActiveRecord #:nodoc:
|
26
26
|
module Acts #:nodoc:
|
@@ -276,7 +276,7 @@ module ActiveRecord #:nodoc:
|
|
276
276
|
end
|
277
277
|
|
278
278
|
new_version = clone
|
279
|
-
new_version.version += 1
|
279
|
+
# new_version.version += 1
|
280
280
|
new_version.send("#{self.original_class.deleted_in_original_table_flag}=", false)
|
281
281
|
new_version.send("#{self.original_class.record_restored_flag}=", true)
|
282
282
|
if new_version.respond_to? :updated_at=
|
@@ -12,7 +12,7 @@ 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.7.
|
15
|
+
s.version = '0.7.6'
|
16
16
|
s.date = '2014-10-30'
|
17
17
|
s.rubyforge_project = 'rtiss_acts_as_versioned'
|
18
18
|
s.summary = "Add simple versioning to ActiveRecord models (TISS version)."
|