memento 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md CHANGED
@@ -1,6 +1,12 @@
1
1
  ### dev
2
2
 
3
- [full changelog](http://github.com/yolk/valvat/compare/v0.3.5...master)
3
+ [full changelog](http://github.com/yolk/valvat/compare/v0.3.6...master)
4
+
5
+ ### 0.3.6 / 2012-02-06
6
+
7
+ [full changelog](http://github.com/yolk/valvat/compare/v0.3.5...v0.3.6)
8
+
9
+ * Fixed deprecation warning: set_table_name => self.table_name = ...
4
10
 
5
11
  ### 0.3.5 / 2012-02-06
6
12
 
@@ -1,5 +1,5 @@
1
1
  class Memento::Session < ActiveRecord::Base
2
- set_table_name "memento_sessions"
2
+ self.table_name = "memento_sessions"
3
3
 
4
4
  has_many :states, :class_name => "Memento::State", :dependent => :delete_all, :order => "id DESC"
5
5
  belongs_to :user
data/lib/memento/state.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class Memento::State < ActiveRecord::Base
2
- set_table_name "memento_states"
2
+ self.table_name = "memento_states"
3
3
 
4
4
  belongs_to :session, :class_name => "Memento::Session"
5
5
  belongs_to :record, :polymorphic => true
@@ -1,3 +1,3 @@
1
1
  class Memento
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,89 +1,66 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: memento
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 3
8
- - 5
9
- version: 0.3.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.6
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Yolk Sebastian Munz & Julia Soergel GbR
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2012-02-06 00:00:00 +01:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-02-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: activerecord
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2159410640 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 3
30
- - 0
31
- version: "3.0"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: actionpack
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2159410640
25
+ - !ruby/object:Gem::Dependency
26
+ name: actionpack
27
+ requirement: &2159409900 !ruby/object:Gem::Requirement
38
28
  none: false
39
- requirements:
29
+ requirements:
40
30
  - - ~>
41
- - !ruby/object:Gem::Version
42
- segments:
43
- - 3
44
- - 0
45
- version: "3.0"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
46
33
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: rspec
50
34
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2159409900
36
+ - !ruby/object:Gem::Dependency
37
+ name: rspec
38
+ requirement: &2159409060 !ruby/object:Gem::Requirement
52
39
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- segments:
57
- - 2
58
- - 4
59
- - 0
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
60
43
  version: 2.4.0
61
44
  type: :development
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
- name: sqlite3
65
45
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2159409060
47
+ - !ruby/object:Gem::Dependency
48
+ name: sqlite3
49
+ requirement: &2159408600 !ruby/object:Gem::Requirement
67
50
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- segments:
72
- - 1
73
- - 3
74
- - 3
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
75
54
  version: 1.3.3
76
55
  type: :development
77
- version_requirements: *id004
56
+ prerelease: false
57
+ version_requirements: *2159408600
78
58
  description: Undo for Rails/ActiveRecord - covers destroy, update and create
79
59
  email: sebastian@yo.lk
80
60
  executables: []
81
-
82
61
  extensions: []
83
-
84
62
  extra_rdoc_files: []
85
-
86
- files:
63
+ files:
87
64
  - .gitignore
88
65
  - CHANGES.md
89
66
  - Gemfile
@@ -116,39 +93,31 @@ files:
116
93
  - spec/memento/state_spec.rb
117
94
  - spec/memento_spec.rb
118
95
  - spec/spec_helper.rb
119
- has_rdoc: true
120
96
  homepage: http://github.com/yolk/memento
121
97
  licenses: []
122
-
123
98
  post_install_message:
124
99
  rdoc_options: []
125
-
126
- require_paths:
100
+ require_paths:
127
101
  - lib
128
- required_ruby_version: !ruby/object:Gem::Requirement
102
+ required_ruby_version: !ruby/object:Gem::Requirement
129
103
  none: false
130
- requirements:
131
- - - ">="
132
- - !ruby/object:Gem::Version
133
- segments:
134
- - 0
135
- version: "0"
136
- required_rubygems_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ! '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
109
  none: false
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- segments:
142
- - 0
143
- version: "0"
110
+ requirements:
111
+ - - ! '>='
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
144
114
  requirements: []
145
-
146
115
  rubyforge_project:
147
- rubygems_version: 1.3.7
116
+ rubygems_version: 1.8.10
148
117
  signing_key:
149
118
  specification_version: 3
150
119
  summary: Undo for Rails/ActiveRecord - covers destroy, update and create
151
- test_files:
120
+ test_files:
152
121
  - spec/memento/action/create_spec.rb
153
122
  - spec/memento/action/destroy_spec.rb
154
123
  - spec/memento/action/update_spec.rb