paper_trail_scrapbook 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +21 -0
  3. data/.rspec +5 -0
  4. data/.rubocop.yml +8 -0
  5. data/.ruby-gemset +1 -0
  6. data/Changelog.md +0 -0
  7. data/Gemfile +3 -0
  8. data/Gemfile.lock +141 -0
  9. data/LICENSE.md +21 -0
  10. data/README.md +77 -0
  11. data/Rakefile +24 -0
  12. data/circle.yml +10 -0
  13. data/lib/paper_trail_scrapbook/changes.rb +89 -0
  14. data/lib/paper_trail_scrapbook/chapter.rb +49 -0
  15. data/lib/paper_trail_scrapbook/config.rb +13 -0
  16. data/lib/paper_trail_scrapbook/life_history.rb +17 -0
  17. data/lib/paper_trail_scrapbook/version.rb +4 -0
  18. data/lib/paper_trail_scrapbook.rb +51 -0
  19. data/paper_trail_scrapbook.gemspec +38 -0
  20. data/spec/dummy_app/Rakefile +7 -0
  21. data/spec/dummy_app/app/models/animal.rb +4 -0
  22. data/spec/dummy_app/app/models/article.rb +24 -0
  23. data/spec/dummy_app/app/models/authorship.rb +5 -0
  24. data/spec/dummy_app/app/models/bar_habtm.rb +4 -0
  25. data/spec/dummy_app/app/models/book.rb +9 -0
  26. data/spec/dummy_app/app/models/boolit.rb +4 -0
  27. data/spec/dummy_app/app/models/callback_modifier.rb +45 -0
  28. data/spec/dummy_app/app/models/car.rb +3 -0
  29. data/spec/dummy_app/app/models/cat.rb +2 -0
  30. data/spec/dummy_app/app/models/chapter.rb +9 -0
  31. data/spec/dummy_app/app/models/citation.rb +5 -0
  32. data/spec/dummy_app/app/models/custom_primary_key_record.rb +15 -0
  33. data/spec/dummy_app/app/models/customer.rb +4 -0
  34. data/spec/dummy_app/app/models/document.rb +6 -0
  35. data/spec/dummy_app/app/models/dog.rb +2 -0
  36. data/spec/dummy_app/app/models/editor.rb +4 -0
  37. data/spec/dummy_app/app/models/editorship.rb +5 -0
  38. data/spec/dummy_app/app/models/elephant.rb +3 -0
  39. data/spec/dummy_app/app/models/fluxor.rb +3 -0
  40. data/spec/dummy_app/app/models/foo_habtm.rb +5 -0
  41. data/spec/dummy_app/app/models/foo_widget.rb +2 -0
  42. data/spec/dummy_app/app/models/fruit.rb +5 -0
  43. data/spec/dummy_app/app/models/gadget.rb +3 -0
  44. data/spec/dummy_app/app/models/kitchen/banana.rb +5 -0
  45. data/spec/dummy_app/app/models/legacy_widget.rb +3 -0
  46. data/spec/dummy_app/app/models/line_item.rb +4 -0
  47. data/spec/dummy_app/app/models/not_on_update.rb +4 -0
  48. data/spec/dummy_app/app/models/on/create.rb +6 -0
  49. data/spec/dummy_app/app/models/on/destroy.rb +6 -0
  50. data/spec/dummy_app/app/models/on/empty_array.rb +6 -0
  51. data/spec/dummy_app/app/models/on/update.rb +6 -0
  52. data/spec/dummy_app/app/models/order.rb +5 -0
  53. data/spec/dummy_app/app/models/paragraph.rb +5 -0
  54. data/spec/dummy_app/app/models/person.rb +39 -0
  55. data/spec/dummy_app/app/models/post.rb +3 -0
  56. data/spec/dummy_app/app/models/post_with_status.rb +7 -0
  57. data/spec/dummy_app/app/models/quotation.rb +5 -0
  58. data/spec/dummy_app/app/models/section.rb +6 -0
  59. data/spec/dummy_app/app/models/skipper.rb +3 -0
  60. data/spec/dummy_app/app/models/song.rb +37 -0
  61. data/spec/dummy_app/app/models/thing.rb +3 -0
  62. data/spec/dummy_app/app/models/translation.rb +6 -0
  63. data/spec/dummy_app/app/models/truck.rb +4 -0
  64. data/spec/dummy_app/app/models/vehicle.rb +4 -0
  65. data/spec/dummy_app/app/models/whatchamajigger.rb +4 -0
  66. data/spec/dummy_app/app/models/widget.rb +8 -0
  67. data/spec/dummy_app/app/models/wotsit.rb +8 -0
  68. data/spec/dummy_app/app/versions/custom_primary_key_record_version.rb +3 -0
  69. data/spec/dummy_app/app/versions/joined_version.rb +6 -0
  70. data/spec/dummy_app/app/versions/json_version.rb +3 -0
  71. data/spec/dummy_app/app/versions/kitchen/banana_version.rb +5 -0
  72. data/spec/dummy_app/app/versions/post_version.rb +3 -0
  73. data/spec/dummy_app/config/application.rb +37 -0
  74. data/spec/dummy_app/config/boot.rb +24 -0
  75. data/spec/dummy_app/config/database.sqlite.yml +15 -0
  76. data/spec/dummy_app/config/database.yml +15 -0
  77. data/spec/dummy_app/config/environment.rb +5 -0
  78. data/spec/dummy_app/config/environments/development.rb +36 -0
  79. data/spec/dummy_app/config/environments/production.rb +74 -0
  80. data/spec/dummy_app/config/environments/test.rb +46 -0
  81. data/spec/dummy_app/config/initializers/backtrace_silencers.rb +9 -0
  82. data/spec/dummy_app/config/initializers/inflections.rb +10 -0
  83. data/spec/dummy_app/config/initializers/mime_types.rb +5 -0
  84. data/spec/dummy_app/config/initializers/paper_trail.rb +1 -0
  85. data/spec/dummy_app/config/initializers/secret_token.rb +9 -0
  86. data/spec/dummy_app/config/initializers/session_store.rb +8 -0
  87. data/spec/dummy_app/config/locales/en.yml +5 -0
  88. data/spec/dummy_app/config/routes.rb +4 -0
  89. data/spec/dummy_app/config.ru +4 -0
  90. data/spec/dummy_app/db/migrate/20110208155312_set_up_test_tables.rb +344 -0
  91. data/spec/dummy_app/db/schema.rb +296 -0
  92. data/spec/dummy_app/db/test.sqlite3 +0 -0
  93. data/spec/paper_trail_scrapbook/changes_spec.rb +6 -0
  94. data/spec/paper_trail_scrapbook/chapter_spec.rb +6 -0
  95. data/spec/paper_trail_scrapbook/config_spec.rb +17 -0
  96. data/spec/paper_trail_scrapbook/life_history_spec.rb +6 -0
  97. data/spec/paper_trail_scrapbook/version_spec.rb +6 -0
  98. data/spec/paper_trail_scrapbook_spec.rb +4 -0
  99. data/spec/spec_helper.rb +73 -0
  100. metadata +363 -0
metadata ADDED
@@ -0,0 +1,363 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: paper_trail_scrapbook
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Timothy Chambers
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-06-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.2'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.2'
33
+ - !ruby/object:Gem::Dependency
34
+ name: request_store
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.1'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.1'
47
+ - !ruby/object:Gem::Dependency
48
+ name: adamantium
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: concord
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: paper_trail
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rake
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '12.0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '12.0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: ffaker
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '2.5'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '2.5'
117
+ - !ruby/object:Gem::Dependency
118
+ name: railties
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '4.0'
124
+ - - "<"
125
+ - !ruby/object:Gem::Version
126
+ version: '5.2'
127
+ type: :development
128
+ prerelease: false
129
+ version_requirements: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '4.0'
134
+ - - "<"
135
+ - !ruby/object:Gem::Version
136
+ version: '5.2'
137
+ - !ruby/object:Gem::Dependency
138
+ name: rspec-rails
139
+ requirement: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - "~>"
142
+ - !ruby/object:Gem::Version
143
+ version: '3.6'
144
+ type: :development
145
+ prerelease: false
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - "~>"
149
+ - !ruby/object:Gem::Version
150
+ version: '3.6'
151
+ - !ruby/object:Gem::Dependency
152
+ name: rspec-core
153
+ requirement: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - "~>"
156
+ - !ruby/object:Gem::Version
157
+ version: '3.6'
158
+ type: :development
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '3.6'
165
+ - !ruby/object:Gem::Dependency
166
+ name: database_cleaner
167
+ requirement: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - "~>"
170
+ - !ruby/object:Gem::Version
171
+ version: '1.2'
172
+ type: :development
173
+ prerelease: false
174
+ version_requirements: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - "~>"
177
+ - !ruby/object:Gem::Version
178
+ version: '1.2'
179
+ - !ruby/object:Gem::Dependency
180
+ name: rubocop
181
+ requirement: !ruby/object:Gem::Requirement
182
+ requirements:
183
+ - - ">="
184
+ - !ruby/object:Gem::Version
185
+ version: '0'
186
+ type: :development
187
+ prerelease: false
188
+ version_requirements: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ - !ruby/object:Gem::Dependency
194
+ name: rubocop-rspec
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: '0'
200
+ type: :development
201
+ prerelease: false
202
+ version_requirements: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
207
+ - !ruby/object:Gem::Dependency
208
+ name: timecop
209
+ requirement: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - "~>"
212
+ - !ruby/object:Gem::Version
213
+ version: 0.8.0
214
+ type: :development
215
+ prerelease: false
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ requirements:
218
+ - - "~>"
219
+ - !ruby/object:Gem::Version
220
+ version: 0.8.0
221
+ - !ruby/object:Gem::Dependency
222
+ name: sqlite3
223
+ requirement: !ruby/object:Gem::Requirement
224
+ requirements:
225
+ - - ">="
226
+ - !ruby/object:Gem::Version
227
+ version: '0'
228
+ type: :development
229
+ prerelease: false
230
+ version_requirements: !ruby/object:Gem::Requirement
231
+ requirements:
232
+ - - ">="
233
+ - !ruby/object:Gem::Version
234
+ version: '0'
235
+ description: Human Readable Change Log for Paper Trail'd data
236
+ email: tim@possibilogy.com
237
+ executables: []
238
+ extensions: []
239
+ extra_rdoc_files: []
240
+ files:
241
+ - ".codeclimate.yml"
242
+ - ".rspec"
243
+ - ".rubocop.yml"
244
+ - ".ruby-gemset"
245
+ - Changelog.md
246
+ - Gemfile
247
+ - Gemfile.lock
248
+ - LICENSE.md
249
+ - README.md
250
+ - Rakefile
251
+ - circle.yml
252
+ - lib/paper_trail_scrapbook.rb
253
+ - lib/paper_trail_scrapbook/changes.rb
254
+ - lib/paper_trail_scrapbook/chapter.rb
255
+ - lib/paper_trail_scrapbook/config.rb
256
+ - lib/paper_trail_scrapbook/life_history.rb
257
+ - lib/paper_trail_scrapbook/version.rb
258
+ - paper_trail_scrapbook.gemspec
259
+ - spec/dummy_app/Rakefile
260
+ - spec/dummy_app/app/models/animal.rb
261
+ - spec/dummy_app/app/models/article.rb
262
+ - spec/dummy_app/app/models/authorship.rb
263
+ - spec/dummy_app/app/models/bar_habtm.rb
264
+ - spec/dummy_app/app/models/book.rb
265
+ - spec/dummy_app/app/models/boolit.rb
266
+ - spec/dummy_app/app/models/callback_modifier.rb
267
+ - spec/dummy_app/app/models/car.rb
268
+ - spec/dummy_app/app/models/cat.rb
269
+ - spec/dummy_app/app/models/chapter.rb
270
+ - spec/dummy_app/app/models/citation.rb
271
+ - spec/dummy_app/app/models/custom_primary_key_record.rb
272
+ - spec/dummy_app/app/models/customer.rb
273
+ - spec/dummy_app/app/models/document.rb
274
+ - spec/dummy_app/app/models/dog.rb
275
+ - spec/dummy_app/app/models/editor.rb
276
+ - spec/dummy_app/app/models/editorship.rb
277
+ - spec/dummy_app/app/models/elephant.rb
278
+ - spec/dummy_app/app/models/fluxor.rb
279
+ - spec/dummy_app/app/models/foo_habtm.rb
280
+ - spec/dummy_app/app/models/foo_widget.rb
281
+ - spec/dummy_app/app/models/fruit.rb
282
+ - spec/dummy_app/app/models/gadget.rb
283
+ - spec/dummy_app/app/models/kitchen/banana.rb
284
+ - spec/dummy_app/app/models/legacy_widget.rb
285
+ - spec/dummy_app/app/models/line_item.rb
286
+ - spec/dummy_app/app/models/not_on_update.rb
287
+ - spec/dummy_app/app/models/on/create.rb
288
+ - spec/dummy_app/app/models/on/destroy.rb
289
+ - spec/dummy_app/app/models/on/empty_array.rb
290
+ - spec/dummy_app/app/models/on/update.rb
291
+ - spec/dummy_app/app/models/order.rb
292
+ - spec/dummy_app/app/models/paragraph.rb
293
+ - spec/dummy_app/app/models/person.rb
294
+ - spec/dummy_app/app/models/post.rb
295
+ - spec/dummy_app/app/models/post_with_status.rb
296
+ - spec/dummy_app/app/models/quotation.rb
297
+ - spec/dummy_app/app/models/section.rb
298
+ - spec/dummy_app/app/models/skipper.rb
299
+ - spec/dummy_app/app/models/song.rb
300
+ - spec/dummy_app/app/models/thing.rb
301
+ - spec/dummy_app/app/models/translation.rb
302
+ - spec/dummy_app/app/models/truck.rb
303
+ - spec/dummy_app/app/models/vehicle.rb
304
+ - spec/dummy_app/app/models/whatchamajigger.rb
305
+ - spec/dummy_app/app/models/widget.rb
306
+ - spec/dummy_app/app/models/wotsit.rb
307
+ - spec/dummy_app/app/versions/custom_primary_key_record_version.rb
308
+ - spec/dummy_app/app/versions/joined_version.rb
309
+ - spec/dummy_app/app/versions/json_version.rb
310
+ - spec/dummy_app/app/versions/kitchen/banana_version.rb
311
+ - spec/dummy_app/app/versions/post_version.rb
312
+ - spec/dummy_app/config.ru
313
+ - spec/dummy_app/config/application.rb
314
+ - spec/dummy_app/config/boot.rb
315
+ - spec/dummy_app/config/database.sqlite.yml
316
+ - spec/dummy_app/config/database.yml
317
+ - spec/dummy_app/config/environment.rb
318
+ - spec/dummy_app/config/environments/development.rb
319
+ - spec/dummy_app/config/environments/production.rb
320
+ - spec/dummy_app/config/environments/test.rb
321
+ - spec/dummy_app/config/initializers/backtrace_silencers.rb
322
+ - spec/dummy_app/config/initializers/inflections.rb
323
+ - spec/dummy_app/config/initializers/mime_types.rb
324
+ - spec/dummy_app/config/initializers/paper_trail.rb
325
+ - spec/dummy_app/config/initializers/secret_token.rb
326
+ - spec/dummy_app/config/initializers/session_store.rb
327
+ - spec/dummy_app/config/locales/en.yml
328
+ - spec/dummy_app/config/routes.rb
329
+ - spec/dummy_app/db/migrate/20110208155312_set_up_test_tables.rb
330
+ - spec/dummy_app/db/schema.rb
331
+ - spec/dummy_app/db/test.sqlite3
332
+ - spec/paper_trail_scrapbook/changes_spec.rb
333
+ - spec/paper_trail_scrapbook/chapter_spec.rb
334
+ - spec/paper_trail_scrapbook/config_spec.rb
335
+ - spec/paper_trail_scrapbook/life_history_spec.rb
336
+ - spec/paper_trail_scrapbook/version_spec.rb
337
+ - spec/paper_trail_scrapbook_spec.rb
338
+ - spec/spec_helper.rb
339
+ homepage: https://github.com/tjchambers/paper_trail_scrapbook
340
+ licenses:
341
+ - MIT
342
+ metadata: {}
343
+ post_install_message:
344
+ rdoc_options: []
345
+ require_paths:
346
+ - lib
347
+ required_ruby_version: !ruby/object:Gem::Requirement
348
+ requirements:
349
+ - - ">="
350
+ - !ruby/object:Gem::Version
351
+ version: 2.2.0
352
+ required_rubygems_version: !ruby/object:Gem::Requirement
353
+ requirements:
354
+ - - ">="
355
+ - !ruby/object:Gem::Version
356
+ version: 1.3.6
357
+ requirements: []
358
+ rubyforge_project:
359
+ rubygems_version: 2.6.12
360
+ signing_key:
361
+ specification_version: 4
362
+ summary: Paper Trail Scrapbook
363
+ test_files: []