acts_as_archive 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/.gitignore +9 -0
  2. data/LICENSE +18 -0
  3. data/README.md +112 -0
  4. data/Rakefile +90 -0
  5. data/acts_as_archive.gemspec +32 -0
  6. data/bin/acts_as_archive +2 -0
  7. data/config/externals.yml +12 -0
  8. data/config/gemsets.yml +10 -0
  9. data/config/gemspec.yml +17 -0
  10. data/init.rb +1 -0
  11. data/lib/acts_as_archive.rb +192 -0
  12. data/lib/acts_as_archive/gems.rb +154 -0
  13. data/rails/init.rb +1 -0
  14. data/spec/Rakefile +9 -0
  15. data/spec/acts_as_archive/gems_spec.rb +249 -0
  16. data/spec/acts_as_archive_spec.rb +113 -0
  17. data/spec/fixtures/config/database.yml.example +6 -0
  18. data/spec/fixtures/db/migrate/001_belongs_tos.rb +14 -0
  19. data/spec/fixtures/db/migrate/002_records.rb +15 -0
  20. data/spec/fixtures/db/migrate/003_has_ones.rb +15 -0
  21. data/spec/fixtures/db/migrate/004_has_manies.rb +15 -0
  22. data/spec/fixtures/db/migrate/005_has_many_through_throughs.rb +16 -0
  23. data/spec/fixtures/db/migrate/006_has_many_throughs.rb +14 -0
  24. data/spec/fixtures/db/migrate/007_has_one_through_throughs.rb +15 -0
  25. data/spec/fixtures/db/migrate/008_has_one_throughs.rb +15 -0
  26. data/spec/fixtures/frameworks.yml +36 -0
  27. data/spec/fixtures/frameworks/rails2/application_controller.rb +58 -0
  28. data/spec/fixtures/frameworks/rails2/database.yml +12 -0
  29. data/spec/fixtures/frameworks/rails2/init.rb +1 -0
  30. data/spec/fixtures/frameworks/rails2/routes.rb +46 -0
  31. data/spec/fixtures/frameworks/rails3/Gemfile +34 -0
  32. data/spec/fixtures/frameworks/rails3/application_controller.rb +51 -0
  33. data/spec/fixtures/frameworks/rails3/database.yml +12 -0
  34. data/spec/fixtures/frameworks/rails3/routes.rb +60 -0
  35. data/spec/fixtures/frameworks/sinatra/application.rb +58 -0
  36. data/spec/fixtures/gemsets.yml +9 -0
  37. data/spec/fixtures/gemspec.yml +15 -0
  38. data/spec/fixtures/helpers/spec_helper.rb +210 -0
  39. data/spec/fixtures/models/belongs_to.rb +6 -0
  40. data/spec/fixtures/models/has_many.rb +6 -0
  41. data/spec/fixtures/models/has_many_through.rb +7 -0
  42. data/spec/fixtures/models/has_many_through_through.rb +7 -0
  43. data/spec/fixtures/models/has_one.rb +6 -0
  44. data/spec/fixtures/models/has_one_through.rb +6 -0
  45. data/spec/fixtures/models/has_one_through_through.rb +7 -0
  46. data/spec/fixtures/models/record.rb +16 -0
  47. data/spec/run +27 -0
  48. data/spec/spec.opts +1 -0
  49. data/spec/spec_helper.rb +73 -0
  50. metadata +96 -13
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 1
9
- version: 0.3.1
8
+ - 2
9
+ version: 0.3.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Winton Welsh
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-05 00:00:00 -08:00
17
+ date: 2011-01-09 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -27,9 +27,9 @@ dependencies:
27
27
  - !ruby/object:Gem::Version
28
28
  segments:
29
29
  - 0
30
- - 2
31
30
  - 3
32
- version: 0.2.3
31
+ - 2
32
+ version: 0.3.2
33
33
  type: :runtime
34
34
  version_requirements: *id001
35
35
  - !ruby/object:Gem::Dependency
@@ -43,8 +43,8 @@ dependencies:
43
43
  segments:
44
44
  - 0
45
45
  - 3
46
- - 5
47
- version: 0.3.5
46
+ - 6
47
+ version: 0.3.6
48
48
  type: :runtime
49
49
  version_requirements: *id002
50
50
  - !ruby/object:Gem::Dependency
@@ -58,8 +58,8 @@ dependencies:
58
58
  segments:
59
59
  - 0
60
60
  - 4
61
- - 1
62
- version: 0.4.1
61
+ - 4
62
+ version: 0.4.4
63
63
  type: :development
64
64
  version_requirements: *id003
65
65
  - !ruby/object:Gem::Dependency
@@ -129,8 +129,56 @@ extensions: []
129
129
 
130
130
  extra_rdoc_files: []
131
131
 
132
- files: []
133
-
132
+ files:
133
+ - .gitignore
134
+ - LICENSE
135
+ - README.md
136
+ - Rakefile
137
+ - acts_as_archive.gemspec
138
+ - bin/acts_as_archive
139
+ - config/externals.yml
140
+ - config/gemsets.yml
141
+ - config/gemspec.yml
142
+ - init.rb
143
+ - lib/acts_as_archive.rb
144
+ - lib/acts_as_archive/gems.rb
145
+ - rails/init.rb
146
+ - spec/Rakefile
147
+ - spec/acts_as_archive/gems_spec.rb
148
+ - spec/acts_as_archive_spec.rb
149
+ - spec/fixtures/config/database.yml.example
150
+ - spec/fixtures/db/migrate/001_belongs_tos.rb
151
+ - spec/fixtures/db/migrate/002_records.rb
152
+ - spec/fixtures/db/migrate/003_has_ones.rb
153
+ - spec/fixtures/db/migrate/004_has_manies.rb
154
+ - spec/fixtures/db/migrate/005_has_many_through_throughs.rb
155
+ - spec/fixtures/db/migrate/006_has_many_throughs.rb
156
+ - spec/fixtures/db/migrate/007_has_one_through_throughs.rb
157
+ - spec/fixtures/db/migrate/008_has_one_throughs.rb
158
+ - spec/fixtures/frameworks.yml
159
+ - spec/fixtures/frameworks/rails2/application_controller.rb
160
+ - spec/fixtures/frameworks/rails2/database.yml
161
+ - spec/fixtures/frameworks/rails2/init.rb
162
+ - spec/fixtures/frameworks/rails2/routes.rb
163
+ - spec/fixtures/frameworks/rails3/Gemfile
164
+ - spec/fixtures/frameworks/rails3/application_controller.rb
165
+ - spec/fixtures/frameworks/rails3/database.yml
166
+ - spec/fixtures/frameworks/rails3/routes.rb
167
+ - spec/fixtures/frameworks/sinatra/application.rb
168
+ - spec/fixtures/gemsets.yml
169
+ - spec/fixtures/gemspec.yml
170
+ - spec/fixtures/helpers/spec_helper.rb
171
+ - spec/fixtures/models/belongs_to.rb
172
+ - spec/fixtures/models/has_many.rb
173
+ - spec/fixtures/models/has_many_through.rb
174
+ - spec/fixtures/models/has_many_through_through.rb
175
+ - spec/fixtures/models/has_one.rb
176
+ - spec/fixtures/models/has_one_through.rb
177
+ - spec/fixtures/models/has_one_through_through.rb
178
+ - spec/fixtures/models/record.rb
179
+ - spec/run
180
+ - spec/spec.opts
181
+ - spec/spec_helper.rb
134
182
  has_rdoc: true
135
183
  homepage: http://github.com/winton/acts_as_archive
136
184
  licenses: []
@@ -163,5 +211,40 @@ rubygems_version: 1.3.7
163
211
  signing_key:
164
212
  specification_version: 3
165
213
  summary: Don't delete your records, move them to a different table
166
- test_files: []
167
-
214
+ test_files:
215
+ - spec/Rakefile
216
+ - spec/acts_as_archive/gems_spec.rb
217
+ - spec/acts_as_archive_spec.rb
218
+ - spec/fixtures/config/database.yml.example
219
+ - spec/fixtures/db/migrate/001_belongs_tos.rb
220
+ - spec/fixtures/db/migrate/002_records.rb
221
+ - spec/fixtures/db/migrate/003_has_ones.rb
222
+ - spec/fixtures/db/migrate/004_has_manies.rb
223
+ - spec/fixtures/db/migrate/005_has_many_through_throughs.rb
224
+ - spec/fixtures/db/migrate/006_has_many_throughs.rb
225
+ - spec/fixtures/db/migrate/007_has_one_through_throughs.rb
226
+ - spec/fixtures/db/migrate/008_has_one_throughs.rb
227
+ - spec/fixtures/frameworks.yml
228
+ - spec/fixtures/frameworks/rails2/application_controller.rb
229
+ - spec/fixtures/frameworks/rails2/database.yml
230
+ - spec/fixtures/frameworks/rails2/init.rb
231
+ - spec/fixtures/frameworks/rails2/routes.rb
232
+ - spec/fixtures/frameworks/rails3/Gemfile
233
+ - spec/fixtures/frameworks/rails3/application_controller.rb
234
+ - spec/fixtures/frameworks/rails3/database.yml
235
+ - spec/fixtures/frameworks/rails3/routes.rb
236
+ - spec/fixtures/frameworks/sinatra/application.rb
237
+ - spec/fixtures/gemsets.yml
238
+ - spec/fixtures/gemspec.yml
239
+ - spec/fixtures/helpers/spec_helper.rb
240
+ - spec/fixtures/models/belongs_to.rb
241
+ - spec/fixtures/models/has_many.rb
242
+ - spec/fixtures/models/has_many_through.rb
243
+ - spec/fixtures/models/has_many_through_through.rb
244
+ - spec/fixtures/models/has_one.rb
245
+ - spec/fixtures/models/has_one_through.rb
246
+ - spec/fixtures/models/has_one_through_through.rb
247
+ - spec/fixtures/models/record.rb
248
+ - spec/run
249
+ - spec/spec.opts
250
+ - spec/spec_helper.rb