historical_society 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,6 @@ Gem::Specification.new do |s|
22
22
  s.add_development_dependency "rspec"
23
23
  s.add_development_dependency "rake"
24
24
  s.add_development_dependency "sqlite3"
25
- s.add_runtime_dependency "activerecord", "~> 3.1.0"
26
- s.add_runtime_dependency "activesupport", "~> 3.1.0"
25
+ s.add_runtime_dependency "activerecord", "~> 3.1"
26
+ s.add_runtime_dependency "activesupport", "~> 3.1"
27
27
  end
@@ -16,21 +16,17 @@ module HistoricalSociety
16
16
  end
17
17
  end
18
18
 
19
- module InstanceMethods
20
-
21
- def destroy
22
- set_deleted_at
23
- end
24
-
25
- def delete
26
- set_deleted_at
27
- end
19
+ def destroy
20
+ set_deleted_at
21
+ end
28
22
 
29
- private
23
+ def delete
24
+ set_deleted_at
25
+ end
30
26
 
31
- def set_deleted_at
32
- update_attribute(:deleted_at, self.class.historical_time)
33
- end
27
+ private
34
28
 
29
+ def set_deleted_at
30
+ update_attribute(:deleted_at, self.class.historical_time)
35
31
  end
36
32
  end
@@ -1,3 +1,3 @@
1
1
  module HistoricalSociety
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,79 +1,94 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: historical_society
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 1
9
+ version: 0.1.1
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Robert Bousquet
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2011-09-12 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2012-06-12 00:00:00 -07:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rspec
16
- requirement: &70115113351260 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :development
23
22
  prerelease: false
24
- version_requirements: *70115113351260
25
- - !ruby/object:Gem::Dependency
26
- name: rake
27
- requirement: &70115113350340 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
33
30
  type: :development
31
+ version_requirements: *id001
32
+ - !ruby/object:Gem::Dependency
33
+ name: rake
34
34
  prerelease: false
35
- version_requirements: *70115113350340
36
- - !ruby/object:Gem::Dependency
37
- name: sqlite3
38
- requirement: &70115113349880 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
35
+ requirement: &id002 !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
41
+ version: "0"
44
42
  type: :development
43
+ version_requirements: *id002
44
+ - !ruby/object:Gem::Dependency
45
+ name: sqlite3
45
46
  prerelease: false
46
- version_requirements: *70115113349880
47
- - !ruby/object:Gem::Dependency
47
+ requirement: &id003 !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
53
+ version: "0"
54
+ type: :development
55
+ version_requirements: *id003
56
+ - !ruby/object:Gem::Dependency
48
57
  name: activerecord
49
- requirement: &70115113349320 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
58
+ prerelease: false
59
+ requirement: &id004 !ruby/object:Gem::Requirement
60
+ requirements:
52
61
  - - ~>
53
- - !ruby/object:Gem::Version
54
- version: 3.1.0
62
+ - !ruby/object:Gem::Version
63
+ segments:
64
+ - 3
65
+ - 1
66
+ version: "3.1"
55
67
  type: :runtime
56
- prerelease: false
57
- version_requirements: *70115113349320
58
- - !ruby/object:Gem::Dependency
68
+ version_requirements: *id004
69
+ - !ruby/object:Gem::Dependency
59
70
  name: activesupport
60
- requirement: &70115113348560 !ruby/object:Gem::Requirement
61
- none: false
62
- requirements:
71
+ prerelease: false
72
+ requirement: &id005 !ruby/object:Gem::Requirement
73
+ requirements:
63
74
  - - ~>
64
- - !ruby/object:Gem::Version
65
- version: 3.1.0
75
+ - !ruby/object:Gem::Version
76
+ segments:
77
+ - 3
78
+ - 1
79
+ version: "3.1"
66
80
  type: :runtime
67
- prerelease: false
68
- version_requirements: *70115113348560
69
- description: Currently offers soft deletion, and a default scope that excludes 'deleted'
70
- records
71
- email:
81
+ version_requirements: *id005
82
+ description: Currently offers soft deletion, and a default scope that excludes 'deleted' records
83
+ email:
72
84
  - rbousquet@newleaders.com
73
85
  executables: []
86
+
74
87
  extensions: []
88
+
75
89
  extra_rdoc_files: []
76
- files:
90
+
91
+ files:
77
92
  - .gitignore
78
93
  - .rspec
79
94
  - .rvmrc
@@ -86,30 +101,36 @@ files:
86
101
  - lib/historical_society/version.rb
87
102
  - spec/spec_helper.rb
88
103
  - spec/user_spec.rb
104
+ has_rdoc: true
89
105
  homepage: https://github.com/bousquet/historical_society
90
106
  licenses: []
107
+
91
108
  post_install_message:
92
109
  rdoc_options: []
93
- require_paths:
110
+
111
+ require_paths:
94
112
  - lib
95
- required_ruby_version: !ruby/object:Gem::Requirement
96
- none: false
97
- requirements:
98
- - - ! '>='
99
- - !ruby/object:Gem::Version
100
- version: '0'
101
- required_rubygems_version: !ruby/object:Gem::Requirement
102
- none: false
103
- requirements:
104
- - - ! '>='
105
- - !ruby/object:Gem::Version
106
- version: '0'
113
+ required_ruby_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ segments:
118
+ - 0
119
+ version: "0"
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ segments:
125
+ - 0
126
+ version: "0"
107
127
  requirements: []
128
+
108
129
  rubyforge_project: historical_society
109
- rubygems_version: 1.8.6
130
+ rubygems_version: 1.3.6
110
131
  signing_key:
111
132
  specification_version: 3
112
133
  summary: Preserve the history of a db record
113
- test_files:
134
+ test_files:
114
135
  - spec/spec_helper.rb
115
136
  - spec/user_spec.rb