mint_reporter 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +34 -0
  3. data/app/controllers/admin/reports_controller.rb +3 -0
  4. data/app/models/report.rb +86 -0
  5. data/app/views/admin/reports/_form.html.erb +40 -0
  6. data/app/views/admin/reports/edit.html.erb +14 -0
  7. data/app/views/admin/reports/index.html.erb +96 -0
  8. data/app/views/admin/reports/new.html.erb +13 -0
  9. data/app/views/admin/reports/show.html.erb +51 -0
  10. data/app/workers/csv_generation_worker.rb +8 -0
  11. data/config/initializers/mime_types.rb +1 -0
  12. data/config/routes.rb +5 -0
  13. data/db/migrate/20140703143528_create_reports.rb +16 -0
  14. data/lib/generators/mint_report/USAGE +8 -0
  15. data/lib/generators/mint_report/mint_report_generator.rb +7 -0
  16. data/lib/generators/mint_report/templates/mint_report.rb +9 -0
  17. data/lib/mint_reporter.rb +17 -0
  18. data/lib/mint_reporter/engine.rb +4 -0
  19. data/lib/mint_reporter/version.rb +3 -0
  20. data/lib/tasks/mint_reporter_tasks.rake +4 -0
  21. data/test/dummy/README.rdoc +28 -0
  22. data/test/dummy/Rakefile +6 -0
  23. data/test/dummy/app/assets/javascripts/admin.js +31 -0
  24. data/test/dummy/app/assets/javascripts/application.js +13 -0
  25. data/test/dummy/app/assets/stylesheets/admin.scss +11 -0
  26. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  27. data/test/dummy/app/controllers/admin/admin_controller.rb +3 -0
  28. data/test/dummy/app/controllers/application_controller.rb +7 -0
  29. data/test/dummy/app/helpers/application_helper.rb +8 -0
  30. data/test/dummy/app/models/user.rb +2 -0
  31. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  32. data/test/dummy/bin/bundle +3 -0
  33. data/test/dummy/bin/rails +4 -0
  34. data/test/dummy/bin/rake +4 -0
  35. data/test/dummy/config.ru +4 -0
  36. data/test/dummy/config/application.rb +23 -0
  37. data/test/dummy/config/boot.rb +7 -0
  38. data/test/dummy/config/database.yml +25 -0
  39. data/test/dummy/config/environment.rb +6 -0
  40. data/test/dummy/config/environments/development.rb +29 -0
  41. data/test/dummy/config/environments/production.rb +80 -0
  42. data/test/dummy/config/environments/test.rb +36 -0
  43. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  44. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  45. data/test/dummy/config/initializers/inflections.rb +16 -0
  46. data/test/dummy/config/initializers/mime_types.rb +5 -0
  47. data/test/dummy/config/initializers/secret_token.rb +12 -0
  48. data/test/dummy/config/initializers/session_store.rb +3 -0
  49. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/test/dummy/config/locales/en.yml +23 -0
  51. data/test/dummy/config/routes.rb +59 -0
  52. data/test/dummy/db/development.sqlite3 +0 -0
  53. data/test/dummy/db/migrate/20140716113109_create_users.rb +9 -0
  54. data/test/dummy/db/migrate/20140723162342_create_reports.mint_reporter_engine.rb +17 -0
  55. data/test/dummy/db/production.sqlite3 +0 -0
  56. data/test/dummy/db/schema.rb +35 -0
  57. data/test/dummy/db/test.sqlite3 +0 -0
  58. data/test/dummy/log/development.log +293 -0
  59. data/test/dummy/log/test.log +17259 -0
  60. data/test/dummy/public/404.html +58 -0
  61. data/test/dummy/public/422.html +58 -0
  62. data/test/dummy/public/500.html +57 -0
  63. data/test/dummy/public/favicon.ico +0 -0
  64. data/test/dummy/public/uploads/test/basic_reports/000/000/001/original.csv +3 -0
  65. data/test/dummy/test/factories/foos.rb +6 -0
  66. data/test/dummy/tmp/cache/assets/test/sass/051af4935d2ac60904721027c383dd9ffc9f7871/_admin-base.scssc +0 -0
  67. data/test/dummy/tmp/cache/assets/test/sass/7f5568ada10d673b8a1d203ce8b8c1dba7fbaf83/admin.scssc +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/1935933f8fbe88236ef893016c1836bc +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/27184889e78dc5a556f3c7567afbef63 +0 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/37c7a190e68a7e26cf450e38ec190534 +0 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/468917569b5c6af93b42fda1a68e426c +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/638d4b299480bfa854367ae027ff66d0 +0 -0
  73. data/test/dummy/tmp/cache/assets/test/sprockets/6609ee9da4eaea9b8d8137fbcfce6fdd +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/9d087e6fe6cf75adc1ebe34710cb71bc +0 -0
  75. data/test/dummy/tmp/cache/assets/test/sprockets/ac64f2f5da10d3fe34beec68afda56d4 +0 -0
  76. data/test/dummy/tmp/cache/assets/test/sprockets/b53da076920d68305d6582c3af250465 +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sprockets/d875d477ab20a2e08531d775a5fea6f2 +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/e017dd8f0cd2f98c7864918d2ba783b3 +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/f8160f91b680b2f94df78cefd5abc06e +0 -0
  80. data/test/factories/reports.rb +8 -0
  81. data/test/factories/users.rb +5 -0
  82. data/test/fixtures/reports.yml +15 -0
  83. data/test/functional/reports_controller_test.rb +34 -0
  84. data/test/generators/mint_report_generator_test.rb +14 -0
  85. data/test/integration/configuration_test.rb +29 -0
  86. data/test/integration/create_report_test.rb +20 -0
  87. data/test/integration/mint_report_generator.rb +10 -0
  88. data/test/mint_reporter_test.rb +7 -0
  89. data/test/test_helper.rb +45 -0
  90. data/test/tmp/app/models/reports/foo_report.rb +9 -0
  91. data/test/unit/report_test.rb +69 -0
  92. metadata +330 -0
metadata ADDED
@@ -0,0 +1,330 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mint_reporter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
5
+ platform: ruby
6
+ authors:
7
+ - Paul Fedory
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-07-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '4.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '4.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: mint_admin
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: paperclip
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: aasm
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sidekiq
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sqlite3
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: factory_girl_rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: flexmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: shoulda
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: Description of MintReporter.
140
+ email:
141
+ - paul@mintdigital.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - Rakefile
147
+ - app/controllers/admin/reports_controller.rb
148
+ - app/models/report.rb
149
+ - app/views/admin/reports/_form.html.erb
150
+ - app/views/admin/reports/edit.html.erb
151
+ - app/views/admin/reports/index.html.erb
152
+ - app/views/admin/reports/new.html.erb
153
+ - app/views/admin/reports/show.html.erb
154
+ - app/workers/csv_generation_worker.rb
155
+ - config/initializers/mime_types.rb
156
+ - config/routes.rb
157
+ - db/migrate/20140703143528_create_reports.rb
158
+ - lib/generators/mint_report/USAGE
159
+ - lib/generators/mint_report/mint_report_generator.rb
160
+ - lib/generators/mint_report/templates/mint_report.rb
161
+ - lib/mint_reporter.rb
162
+ - lib/mint_reporter/engine.rb
163
+ - lib/mint_reporter/version.rb
164
+ - lib/tasks/mint_reporter_tasks.rake
165
+ - test/dummy/README.rdoc
166
+ - test/dummy/Rakefile
167
+ - test/dummy/app/assets/javascripts/admin.js
168
+ - test/dummy/app/assets/javascripts/application.js
169
+ - test/dummy/app/assets/stylesheets/admin.scss
170
+ - test/dummy/app/assets/stylesheets/application.css
171
+ - test/dummy/app/controllers/admin/admin_controller.rb
172
+ - test/dummy/app/controllers/application_controller.rb
173
+ - test/dummy/app/helpers/application_helper.rb
174
+ - test/dummy/app/models/user.rb
175
+ - test/dummy/app/views/layouts/application.html.erb
176
+ - test/dummy/bin/bundle
177
+ - test/dummy/bin/rails
178
+ - test/dummy/bin/rake
179
+ - test/dummy/config.ru
180
+ - test/dummy/config/application.rb
181
+ - test/dummy/config/boot.rb
182
+ - test/dummy/config/database.yml
183
+ - test/dummy/config/environment.rb
184
+ - test/dummy/config/environments/development.rb
185
+ - test/dummy/config/environments/production.rb
186
+ - test/dummy/config/environments/test.rb
187
+ - test/dummy/config/initializers/backtrace_silencers.rb
188
+ - test/dummy/config/initializers/filter_parameter_logging.rb
189
+ - test/dummy/config/initializers/inflections.rb
190
+ - test/dummy/config/initializers/mime_types.rb
191
+ - test/dummy/config/initializers/secret_token.rb
192
+ - test/dummy/config/initializers/session_store.rb
193
+ - test/dummy/config/initializers/wrap_parameters.rb
194
+ - test/dummy/config/locales/en.yml
195
+ - test/dummy/config/routes.rb
196
+ - test/dummy/db/development.sqlite3
197
+ - test/dummy/db/migrate/20140716113109_create_users.rb
198
+ - test/dummy/db/migrate/20140723162342_create_reports.mint_reporter_engine.rb
199
+ - test/dummy/db/production.sqlite3
200
+ - test/dummy/db/schema.rb
201
+ - test/dummy/db/test.sqlite3
202
+ - test/dummy/log/development.log
203
+ - test/dummy/log/test.log
204
+ - test/dummy/public/404.html
205
+ - test/dummy/public/422.html
206
+ - test/dummy/public/500.html
207
+ - test/dummy/public/favicon.ico
208
+ - test/dummy/public/uploads/test/basic_reports/000/000/001/original.csv
209
+ - test/dummy/test/factories/foos.rb
210
+ - test/dummy/tmp/cache/assets/test/sass/051af4935d2ac60904721027c383dd9ffc9f7871/_admin-base.scssc
211
+ - test/dummy/tmp/cache/assets/test/sass/7f5568ada10d673b8a1d203ce8b8c1dba7fbaf83/admin.scssc
212
+ - test/dummy/tmp/cache/assets/test/sprockets/1935933f8fbe88236ef893016c1836bc
213
+ - test/dummy/tmp/cache/assets/test/sprockets/27184889e78dc5a556f3c7567afbef63
214
+ - test/dummy/tmp/cache/assets/test/sprockets/37c7a190e68a7e26cf450e38ec190534
215
+ - test/dummy/tmp/cache/assets/test/sprockets/468917569b5c6af93b42fda1a68e426c
216
+ - test/dummy/tmp/cache/assets/test/sprockets/638d4b299480bfa854367ae027ff66d0
217
+ - test/dummy/tmp/cache/assets/test/sprockets/6609ee9da4eaea9b8d8137fbcfce6fdd
218
+ - test/dummy/tmp/cache/assets/test/sprockets/9d087e6fe6cf75adc1ebe34710cb71bc
219
+ - test/dummy/tmp/cache/assets/test/sprockets/ac64f2f5da10d3fe34beec68afda56d4
220
+ - test/dummy/tmp/cache/assets/test/sprockets/b53da076920d68305d6582c3af250465
221
+ - test/dummy/tmp/cache/assets/test/sprockets/d875d477ab20a2e08531d775a5fea6f2
222
+ - test/dummy/tmp/cache/assets/test/sprockets/e017dd8f0cd2f98c7864918d2ba783b3
223
+ - test/dummy/tmp/cache/assets/test/sprockets/f8160f91b680b2f94df78cefd5abc06e
224
+ - test/factories/reports.rb
225
+ - test/factories/users.rb
226
+ - test/fixtures/reports.yml
227
+ - test/functional/reports_controller_test.rb
228
+ - test/generators/mint_report_generator_test.rb
229
+ - test/integration/configuration_test.rb
230
+ - test/integration/create_report_test.rb
231
+ - test/integration/mint_report_generator.rb
232
+ - test/mint_reporter_test.rb
233
+ - test/test_helper.rb
234
+ - test/tmp/app/models/reports/foo_report.rb
235
+ - test/unit/report_test.rb
236
+ homepage: http://mintdigital.com
237
+ licenses: []
238
+ metadata: {}
239
+ post_install_message:
240
+ rdoc_options: []
241
+ require_paths:
242
+ - lib
243
+ required_ruby_version: !ruby/object:Gem::Requirement
244
+ requirements:
245
+ - - '>='
246
+ - !ruby/object:Gem::Version
247
+ version: '0'
248
+ required_rubygems_version: !ruby/object:Gem::Requirement
249
+ requirements:
250
+ - - '>='
251
+ - !ruby/object:Gem::Version
252
+ version: '0'
253
+ requirements: []
254
+ rubyforge_project:
255
+ rubygems_version: 2.2.1
256
+ signing_key:
257
+ specification_version: 4
258
+ summary: Summary of MintReporter.
259
+ test_files:
260
+ - test/dummy/app/assets/javascripts/admin.js
261
+ - test/dummy/app/assets/javascripts/application.js
262
+ - test/dummy/app/assets/stylesheets/admin.scss
263
+ - test/dummy/app/assets/stylesheets/application.css
264
+ - test/dummy/app/controllers/admin/admin_controller.rb
265
+ - test/dummy/app/controllers/application_controller.rb
266
+ - test/dummy/app/helpers/application_helper.rb
267
+ - test/dummy/app/models/user.rb
268
+ - test/dummy/app/views/layouts/application.html.erb
269
+ - test/dummy/bin/bundle
270
+ - test/dummy/bin/rails
271
+ - test/dummy/bin/rake
272
+ - test/dummy/config/application.rb
273
+ - test/dummy/config/boot.rb
274
+ - test/dummy/config/database.yml
275
+ - test/dummy/config/environment.rb
276
+ - test/dummy/config/environments/development.rb
277
+ - test/dummy/config/environments/production.rb
278
+ - test/dummy/config/environments/test.rb
279
+ - test/dummy/config/initializers/backtrace_silencers.rb
280
+ - test/dummy/config/initializers/filter_parameter_logging.rb
281
+ - test/dummy/config/initializers/inflections.rb
282
+ - test/dummy/config/initializers/mime_types.rb
283
+ - test/dummy/config/initializers/secret_token.rb
284
+ - test/dummy/config/initializers/session_store.rb
285
+ - test/dummy/config/initializers/wrap_parameters.rb
286
+ - test/dummy/config/locales/en.yml
287
+ - test/dummy/config/routes.rb
288
+ - test/dummy/config.ru
289
+ - test/dummy/db/development.sqlite3
290
+ - test/dummy/db/migrate/20140716113109_create_users.rb
291
+ - test/dummy/db/migrate/20140723162342_create_reports.mint_reporter_engine.rb
292
+ - test/dummy/db/production.sqlite3
293
+ - test/dummy/db/schema.rb
294
+ - test/dummy/db/test.sqlite3
295
+ - test/dummy/log/development.log
296
+ - test/dummy/log/test.log
297
+ - test/dummy/public/404.html
298
+ - test/dummy/public/422.html
299
+ - test/dummy/public/500.html
300
+ - test/dummy/public/favicon.ico
301
+ - test/dummy/public/uploads/test/basic_reports/000/000/001/original.csv
302
+ - test/dummy/Rakefile
303
+ - test/dummy/README.rdoc
304
+ - test/dummy/test/factories/foos.rb
305
+ - test/dummy/tmp/cache/assets/test/sass/051af4935d2ac60904721027c383dd9ffc9f7871/_admin-base.scssc
306
+ - test/dummy/tmp/cache/assets/test/sass/7f5568ada10d673b8a1d203ce8b8c1dba7fbaf83/admin.scssc
307
+ - test/dummy/tmp/cache/assets/test/sprockets/1935933f8fbe88236ef893016c1836bc
308
+ - test/dummy/tmp/cache/assets/test/sprockets/27184889e78dc5a556f3c7567afbef63
309
+ - test/dummy/tmp/cache/assets/test/sprockets/37c7a190e68a7e26cf450e38ec190534
310
+ - test/dummy/tmp/cache/assets/test/sprockets/468917569b5c6af93b42fda1a68e426c
311
+ - test/dummy/tmp/cache/assets/test/sprockets/638d4b299480bfa854367ae027ff66d0
312
+ - test/dummy/tmp/cache/assets/test/sprockets/6609ee9da4eaea9b8d8137fbcfce6fdd
313
+ - test/dummy/tmp/cache/assets/test/sprockets/9d087e6fe6cf75adc1ebe34710cb71bc
314
+ - test/dummy/tmp/cache/assets/test/sprockets/ac64f2f5da10d3fe34beec68afda56d4
315
+ - test/dummy/tmp/cache/assets/test/sprockets/b53da076920d68305d6582c3af250465
316
+ - test/dummy/tmp/cache/assets/test/sprockets/d875d477ab20a2e08531d775a5fea6f2
317
+ - test/dummy/tmp/cache/assets/test/sprockets/e017dd8f0cd2f98c7864918d2ba783b3
318
+ - test/dummy/tmp/cache/assets/test/sprockets/f8160f91b680b2f94df78cefd5abc06e
319
+ - test/factories/reports.rb
320
+ - test/factories/users.rb
321
+ - test/fixtures/reports.yml
322
+ - test/functional/reports_controller_test.rb
323
+ - test/generators/mint_report_generator_test.rb
324
+ - test/integration/configuration_test.rb
325
+ - test/integration/create_report_test.rb
326
+ - test/integration/mint_report_generator.rb
327
+ - test/mint_reporter_test.rb
328
+ - test/test_helper.rb
329
+ - test/tmp/app/models/reports/foo_report.rb
330
+ - test/unit/report_test.rb