rtiss_acts_as_versioned 0.9.3 → 0.10.3

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.
metadata CHANGED
@@ -1,16 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtiss_acts_as_versioned
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rick Olson
8
8
  - Johannes Thoma
9
9
  - Igor Jancev
10
- autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2024-08-26 00:00:00.000000000 Z
12
+ date: 2026-11-26 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: activerecord
@@ -18,42 +17,42 @@ dependencies:
18
17
  requirements:
19
18
  - - ">="
20
19
  - !ruby/object:Gem::Version
21
- version: 4.2.5
20
+ version: 7.1.6
22
21
  type: :runtime
23
22
  prerelease: false
24
23
  version_requirements: !ruby/object:Gem::Requirement
25
24
  requirements:
26
25
  - - ">="
27
26
  - !ruby/object:Gem::Version
28
- version: 4.2.5
27
+ version: 7.1.6
29
28
  - !ruby/object:Gem::Dependency
30
- name: sqlite3-ruby
29
+ name: sqlite3
31
30
  requirement: !ruby/object:Gem::Requirement
32
31
  requirements:
33
32
  - - "~>"
34
33
  - !ruby/object:Gem::Version
35
- version: 1.3.1
34
+ version: '2.7'
36
35
  type: :development
37
36
  prerelease: false
38
37
  version_requirements: !ruby/object:Gem::Requirement
39
38
  requirements:
40
39
  - - "~>"
41
40
  - !ruby/object:Gem::Version
42
- version: 1.3.1
41
+ version: '2.7'
43
42
  - !ruby/object:Gem::Dependency
44
43
  name: rails
45
44
  requirement: !ruby/object:Gem::Requirement
46
45
  requirements:
47
46
  - - "~>"
48
47
  - !ruby/object:Gem::Version
49
- version: 4.2.5
48
+ version: 7.1.6
50
49
  type: :development
51
50
  prerelease: false
52
51
  version_requirements: !ruby/object:Gem::Requirement
53
52
  requirements:
54
53
  - - "~>"
55
54
  - !ruby/object:Gem::Version
56
- version: 4.2.5
55
+ version: 7.1.6
57
56
  - !ruby/object:Gem::Dependency
58
57
  name: activerecord-testcase
59
58
  requirement: !ruby/object:Gem::Requirement
@@ -68,20 +67,6 @@ dependencies:
68
67
  - - ">="
69
68
  - !ruby/object:Gem::Version
70
69
  version: '0'
71
- - !ruby/object:Gem::Dependency
72
- name: activerecord-deprecated_finders
73
- requirement: !ruby/object:Gem::Requirement
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- type: :development
79
- prerelease: false
80
- version_requirements: !ruby/object:Gem::Requirement
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- version: '0'
85
70
  description: "Add simple versioning to ActiveRecord models (TISS version).\n\nEach
86
71
  model has a to-many model named mymodel_h which records all changes \n(including
87
72
  destroys but not deletes) made to the model. This is the version\nused by http://tiss.tuwien.ac.at
@@ -92,33 +77,33 @@ email: igor.jancev@tuwien.ac.at
92
77
  executables: []
93
78
  extensions: []
94
79
  extra_rdoc_files:
95
- - README
96
80
  - MIT-LICENSE
97
- - CHANGELOG
81
+ - README.md
98
82
  files:
99
- - CHANGELOG
100
83
  - Gemfile
101
84
  - MIT-LICENSE
102
- - README
85
+ - README.md
103
86
  - RUNNING_UNIT_TESTS
104
87
  - Rakefile
105
88
  - init.rb
106
89
  - lib/rtiss_acts_as_versioned.rb
90
+ - lib/rtiss_acts_as_versioned/act_methods.rb
91
+ - lib/rtiss_acts_as_versioned/version.rb
92
+ - mise.toml.example
107
93
  - rtiss_acts_as_versioned.gemspec
108
94
  - test/abstract_unit.rb
109
95
  - test/database.yml
110
96
  - test/fixtures/authors.yml
97
+ - test/fixtures/good_thing.rb
111
98
  - test/fixtures/landmark.rb
112
99
  - test/fixtures/landmark_h.yml
113
100
  - test/fixtures/landmarks.yml
114
101
  - test/fixtures/locked_pages.yml
115
102
  - test/fixtures/locked_pages_revisions.yml
116
- - test/fixtures/locked_rolle.rb
117
103
  - test/fixtures/migrations/2_add_versioned_tables.rb
118
104
  - test/fixtures/page.rb
119
105
  - test/fixtures/pages.yml
120
106
  - test/fixtures/pages_h.yml
121
- - test/fixtures/rolle.rb
122
107
  - test/fixtures/widget.rb
123
108
  - test/migration_test.rb
124
109
  - test/schema.rb
@@ -127,7 +112,6 @@ files:
127
112
  homepage: http://github.com/rtiss/rtiss_acts_as_versioned
128
113
  licenses: []
129
114
  metadata: {}
130
- post_install_message:
131
115
  rdoc_options:
132
116
  - "--charset=UTF-8"
133
117
  require_paths:
@@ -143,9 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
127
  - !ruby/object:Gem::Version
144
128
  version: '0'
145
129
  requirements: []
146
- rubyforge_project: rtiss_acts_as_versioned
147
- rubygems_version: 2.6.14.4
148
- signing_key:
130
+ rubygems_version: 3.6.9
149
131
  specification_version: 4
150
132
  summary: Add simple versioning to ActiveRecord models (TISS version).
151
133
  test_files: []
data/CHANGELOG DELETED
@@ -1,84 +0,0 @@
1
- *GIT* (version numbers are overrated)
2
-
3
- * 0.6 (19 Jul 2010) Rails 3 refactoring by gvarela!
4
-
5
- * (16 Jun 2008) Backwards Compatibility is overrated (big updates for rails 2.1)
6
-
7
- * Use ActiveRecord 2.1's dirty attribute checking instead [Asa Calow]
8
- * Remove last traces of #non_versioned_fields
9
- * Remove AR::Base.find_version and AR::Base.find_versions, rely on AR association proxies and named_scope
10
- * Remove #versions_count, rely on AR association counter caching.
11
- * Remove #versioned_attributes, basically the same as AR::Base.versioned_columns
12
-
13
- * (5 Oct 2006) Allow customization of #versions association options [Dan Peterson]
14
-
15
- *0.5.1*
16
-
17
- * (8 Aug 2006) Versioned models now belong to the unversioned model. @article_version.article.class => Article [Aslak Hellesoy]
18
-
19
- *0.5* # do versions even matter for plugins?
20
-
21
- * (21 Apr 2006) Added without_locking and without_revision methods.
22
-
23
- Foo.without_revision do
24
- @foo.update_attributes ...
25
- end
26
-
27
- *0.4*
28
-
29
- * (28 March 2006) Rename non_versioned_fields to non_versioned_columns (old one is kept for compatibility).
30
- * (28 March 2006) Made explicit documentation note that string column names are required for non_versioned_columns.
31
-
32
- *0.3.1*
33
-
34
- * (7 Jan 2006) explicitly set :foreign_key option for the versioned model's belongs_to assocation for STI [Caged]
35
- * (7 Jan 2006) added tests to prove has_many :through joins work
36
-
37
- *0.3*
38
-
39
- * (2 Jan 2006) added ability to share a mixin with versioned class
40
- * (2 Jan 2006) changed the dynamic version model to MyModel::Version
41
-
42
- *0.2.4*
43
-
44
- * (27 Nov 2005) added note about possible destructive behavior of if_changed? [Michael Schuerig]
45
-
46
- *0.2.3*
47
-
48
- * (12 Nov 2005) fixed bug with old behavior of #blank? [Michael Schuerig]
49
- * (12 Nov 2005) updated tests to use ActiveRecord Schema
50
-
51
- *0.2.2*
52
-
53
- * (3 Nov 2005) added documentation note to #acts_as_versioned [Martin Jul]
54
-
55
- *0.2.1*
56
-
57
- * (6 Oct 2005) renamed dirty? to changed? to keep it uniform. it was aliased to keep it backwards compatible.
58
-
59
- *0.2*
60
-
61
- * (6 Oct 2005) added find_versions and find_version class methods.
62
-
63
- * (6 Oct 2005) removed transaction from create_versioned_table().
64
- this way you can specify your own transaction around a group of operations.
65
-
66
- * (30 Sep 2005) fixed bug where find_versions() would order by 'version' twice. (found by Joe Clark)
67
-
68
- * (26 Sep 2005) added :sequence_name option to acts_as_versioned to set the sequence name on the versioned model
69
-
70
- *0.1.3* (18 Sep 2005)
71
-
72
- * First RubyForge release
73
-
74
- *0.1.2*
75
-
76
- * check if module is already included when acts_as_versioned is called
77
-
78
- *0.1.1*
79
-
80
- * Adding tests and rdocs
81
-
82
- *0.1*
83
-
84
- * Initial transfer from Rails ticket: http://dev.rubyonrails.com/ticket/1974
data/README DELETED
@@ -1,37 +0,0 @@
1
- = acts_as_versioned
2
-
3
- This library adds simple versioning to an ActiveRecord module. ActiveRecord is required.
4
-
5
- This is the patched version for rtiss.
6
-
7
- Versions 0.6.x (rails2 branch) are for rails 2.x
8
- Versions 0.7.x (rails3 branch) are for rails 3.x
9
- Versions 0.8.x (master branch) are for rails 4.x
10
- Versions 0.9.x (master branch) are for rails 5.x (also works with rails 4.x)
11
-
12
- == Resources
13
-
14
- Install
15
-
16
- * gem install acts_as_versioned
17
-
18
- <3 GitHub
19
-
20
- * http://github.com/technoweenie/acts_as_versioned
21
-
22
- Gemcutter FTW
23
-
24
- * http://gemcutter.org/gems/acts_as_versioned
25
-
26
- Subversion
27
-
28
- * http://svn.github.com/technoweenie/acts_as_versioned.git
29
-
30
- Special thanks to Dreamer on ##rubyonrails for help in early testing. His ServerSideWiki (http://serversidewiki.com)
31
- was the first project to use acts_as_versioned <em>in the wild</em>.
32
-
33
- == Publishing a new release
34
-
35
- * increase the VERSION in rtiss_acts_as_versioned.rb
36
- * run: bundle exec rake test
37
- * run: bundle exec rake release
@@ -1,8 +0,0 @@
1
- # Same as Rolle except for the presence of the lock_version field
2
- class LockedRolle < ActiveRecord::Base
3
- self.table_name = 'locked_rolle'
4
- acts_as_versioned
5
-
6
- validates_presence_of :name
7
- validates_uniqueness_of :name
8
- end
@@ -1,7 +0,0 @@
1
- class Rolle < ActiveRecord::Base
2
- self.table_name = 'rolle'
3
- acts_as_versioned
4
-
5
- validates_presence_of :name
6
- validates_uniqueness_of :name
7
- end