acts_as_versioned_rails3 0.6.1 → 0.6.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.
- data/README +4 -15
- data/Rakefile +1 -1
- data/acts_as_versioned_rails3.gemspec +2 -2
- data/lib/acts_as_versioned_rails3.rb +1 -1
- metadata +20 -7
data/README
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
=
|
1
|
+
= acts_as_versioned_rails3
|
2
2
|
|
3
3
|
This library adds simple versioning to an ActiveRecord module. ActiveRecord is required.
|
4
4
|
|
@@ -6,19 +6,8 @@ This library adds simple versioning to an ActiveRecord module. ActiveRecord is
|
|
6
6
|
|
7
7
|
Install
|
8
8
|
|
9
|
-
* gem install
|
9
|
+
* gem install acts_as_versioned_rails3
|
10
10
|
|
11
|
-
|
11
|
+
This is a fork of the original from technoweenie
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
Gemcutter FTW
|
16
|
-
|
17
|
-
* http://gemcutter.org/gems/acts_as_versioned
|
18
|
-
|
19
|
-
Subversion
|
20
|
-
|
21
|
-
* http://svn.github.com/technoweenie/acts_as_versioned.git
|
22
|
-
|
23
|
-
Special thanks to Dreamer on ##rubyonrails for help in early testing. His ServerSideWiki (http://serversidewiki.com)
|
24
|
-
was the first project to use acts_as_versioned <em>in the wild</em>.
|
13
|
+
http://github.com/technoweenie/acts_as_versioned
|
data/Rakefile
CHANGED
@@ -95,7 +95,7 @@ task :release => :build do
|
|
95
95
|
sh "git commit --allow-empty -a -m 'Release #{version}'"
|
96
96
|
sh "git tag v#{version}"
|
97
97
|
sh "git push origin master"
|
98
|
-
sh "git push v#{version}"
|
98
|
+
sh "git push origin v#{version}"
|
99
99
|
sh "gem push pkg/#{name}-#{version}.gem"
|
100
100
|
end
|
101
101
|
|
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'acts_as_versioned_rails3'
|
16
|
-
s.version = '0.6.
|
17
|
-
s.date = '2012-
|
16
|
+
s.version = '0.6.2'
|
17
|
+
s.date = '2012-06-12'
|
18
18
|
#s.rubyforge_project = 'acts_as_versioned_rails3'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
@@ -67,7 +67,7 @@ module ActiveRecord #:nodoc:
|
|
67
67
|
#
|
68
68
|
# See ActiveRecord::Acts::Versioned::ClassMethods#acts_as_versioned for configuration options
|
69
69
|
module Versioned
|
70
|
-
VERSION = "0.6.
|
70
|
+
VERSION = "0.6.2"
|
71
71
|
CALLBACKS = [:set_new_version, :save_version, :save_version?]
|
72
72
|
|
73
73
|
# == Configuration options
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_versioned_rails3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: 3.0.9
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.0.9
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: sqlite3-ruby
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,7 +37,12 @@ dependencies:
|
|
32
37
|
version: 1.3.1
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.3.1
|
36
46
|
description: Add simple versioning to ActiveRecord models.
|
37
47
|
email: rm@microting.com
|
38
48
|
executables: []
|
@@ -80,6 +90,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
90
|
- - ! '>='
|
81
91
|
- !ruby/object:Gem::Version
|
82
92
|
version: '0'
|
93
|
+
segments:
|
94
|
+
- 0
|
95
|
+
hash: 3241609348416899864
|
83
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
97
|
none: false
|
85
98
|
requirements:
|
@@ -88,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
101
|
version: '0'
|
89
102
|
requirements: []
|
90
103
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.8.
|
104
|
+
rubygems_version: 1.8.24
|
92
105
|
signing_key:
|
93
106
|
specification_version: 2
|
94
107
|
summary: Add simple versioning to ActiveRecord models.
|