axlsx_rails 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/Gemfile +3 -1
  4. data/Gemfile.lock +138 -126
  5. data/Gemfile.lock.4.0 +99 -90
  6. data/Gemfile.lock.4.1 +114 -110
  7. data/Gemfile.lock.4.2 +138 -126
  8. data/README.md +24 -1
  9. data/lib/axlsx_rails/action_controller.rb +0 -4
  10. data/lib/axlsx_rails/version.rb +1 -1
  11. data/spec/axlsx_request_spec.rb +33 -2
  12. data/spec/dummy_4/app/controllers/home_controller.rb +2 -0
  13. data/spec/dummy_4/app/views/home/only_html.html.erb +1 -0
  14. data/spec/dummy_4/config/routes.rb +1 -0
  15. data/spec/dummy_4/db/test.sqlite3 +0 -0
  16. data/spec/dummy_4/log/test.log +871 -27534
  17. metadata +109 -147
  18. data/Gemfile.lock.3.1 +0 -219
  19. data/Gemfile.lock.3.2 +0 -223
  20. data/spec/dummy/db/development.sqlite3 +0 -0
  21. data/spec/dummy/db/test.sqlite3 +0 -0
  22. data/spec/dummy/log/development.log +0 -936
  23. data/spec/dummy/log/test.log +0 -3220
  24. data/spec/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
  25. data/spec/dummy/tmp/cache/assets/CAC/7D0/sprockets%2F7810ea6f766208553a05d1056cd74f1e +0 -0
  26. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  27. data/spec/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  28. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  29. data/spec/dummy/tmp/cache/assets/D34/930/sprockets%2Fd2c70e485fe1100075be3bc87cf1e282 +0 -0
  30. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  31. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  32. data/spec/dummy/tmp/cache/assets/D96/AA0/sprockets%2F022a822848bf2eef8e7cb3c08ab932ba +0 -0
  33. data/spec/dummy/tmp/cache/assets/DC1/E00/sprockets%2F20fddc9f3fca3616a6c5ea413a464a4e +0 -0
  34. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  35. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  36. data/spec/dummy_4/db/development.sqlite3 +0 -0
  37. data/spec/dummy_4/log/development.log +0 -280
  38. data/spec/dummy_4/tmp/pids/server.pid +0 -1
@@ -1,280 +0,0 @@
1
-
2
-
3
- Started GET "/home/render_elsewhere.xlsx?type=5" for 127.0.0.1 at 2014-09-04 08:38:42 -0700
4
-
5
- ActiveRecord::PendingMigrationError (
6
-
7
- Migrations are pending. To resolve this issue, run:
8
-
9
- bin/rake db:migrate RAILS_ENV=development
10
-
11
- ):
12
- activerecord (4.2.0.beta1) lib/active_record/migration.rb:397:in `check_pending!'
13
- activerecord (4.2.0.beta1) lib/active_record/migration.rb:378:in `call'
14
- actionpack (4.2.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
15
- activesupport (4.2.0.beta1) lib/active_support/callbacks.rb:83:in `run_callbacks'
16
- actionpack (4.2.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
17
- actionpack (4.2.0.beta1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
18
- actionpack (4.2.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
19
- actionpack (4.2.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
20
- actionpack (4.2.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
21
- railties (4.2.0.beta1) lib/rails/rack/logger.rb:38:in `call_app'
22
- railties (4.2.0.beta1) lib/rails/rack/logger.rb:20:in `block in call'
23
- activesupport (4.2.0.beta1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
24
- activesupport (4.2.0.beta1) lib/active_support/tagged_logging.rb:26:in `tagged'
25
- activesupport (4.2.0.beta1) lib/active_support/tagged_logging.rb:68:in `tagged'
26
- railties (4.2.0.beta1) lib/rails/rack/logger.rb:20:in `call'
27
- actionpack (4.2.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
28
- rack (1.6.0.beta) lib/rack/methodoverride.rb:22:in `call'
29
- rack (1.6.0.beta) lib/rack/runtime.rb:17:in `call'
30
- activesupport (4.2.0.beta1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
31
- rack (1.6.0.beta) lib/rack/lock.rb:17:in `call'
32
- actionpack (4.2.0.beta1) lib/action_dispatch/middleware/static.rb:83:in `call'
33
- rack (1.6.0.beta) lib/rack/sendfile.rb:113:in `call'
34
- railties (4.2.0.beta1) lib/rails/engine.rb:514:in `call'
35
- railties (4.2.0.beta1) lib/rails/application.rb:161:in `call'
36
- rack (1.6.0.beta) lib/rack/tempfile_reaper.rb:15:in `call'
37
- rack (1.6.0.beta) lib/rack/lint.rb:49:in `_call'
38
- rack (1.6.0.beta) lib/rack/lint.rb:37:in `call'
39
- rack (1.6.0.beta) lib/rack/showexceptions.rb:24:in `call'
40
- rack (1.6.0.beta) lib/rack/commonlogger.rb:33:in `call'
41
- rack (1.6.0.beta) lib/rack/chunked.rb:54:in `call'
42
- rack (1.6.0.beta) lib/rack/content_length.rb:15:in `call'
43
- thin (1.6.2) lib/thin/connection.rb:86:in `block in pre_process'
44
- thin (1.6.2) lib/thin/connection.rb:84:in `catch'
45
- thin (1.6.2) lib/thin/connection.rb:84:in `pre_process'
46
- thin (1.6.2) lib/thin/connection.rb:53:in `process'
47
- thin (1.6.2) lib/thin/connection.rb:39:in `receive_data'
48
- eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine'
49
- eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
50
- thin (1.6.2) lib/thin/backends/base.rb:73:in `start'
51
- thin (1.6.2) lib/thin/server.rb:162:in `start'
52
- rack (1.6.0.beta) lib/rack/handler/thin.rb:19:in `run'
53
- rack (1.6.0.beta) lib/rack/server.rb:288:in `start'
54
- railties (4.2.0.beta1) lib/rails/commands/server.rb:80:in `start'
55
- railties (4.2.0.beta1) lib/rails/commands/commands_tasks.rb:80:in `block in server'
56
- railties (4.2.0.beta1) lib/rails/commands/commands_tasks.rb:75:in `tap'
57
- railties (4.2.0.beta1) lib/rails/commands/commands_tasks.rb:75:in `server'
58
- railties (4.2.0.beta1) lib/rails/commands/commands_tasks.rb:39:in `run_command!'
59
- railties (4.2.0.beta1) lib/rails/commands.rb:17:in `<top (required)>'
60
- bin/rails:4:in `require'
61
- bin/rails:4:in `<main>'
62
-
63
-
64
- Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.2.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms)
65
- Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.2.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
66
- Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.2.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
67
- Rendered /Users/noel/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-4.2.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (29.8ms)
68
-  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
69
-  (0.1ms) select sqlite_version(*)
70
-  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
71
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
72
- Migrating to CreateUsers (20120717192452)
73
-  (0.1ms) begin transaction
74
- DEPRECATION WARNING: `timestamp` was called without specifying an option for `null`. In Rails
75
- 5.0, this behavior will change to `null: false`. You should manually
76
- specify `null: true` to prevent the behavior of your existing migrations
77
- from changing.
78
- (called from block in change at /Users/noel/Dropbox/workspace/axlsx_rails/spec/dummy_4/db/migrate/20120717192452_create_users.rb:9)
79
-  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "last_name" varchar, "address" varchar, "email" varchar, "created_at" datetime, "updated_at" datetime)
80
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120717192452"]]
81
-  (2.1ms) commit transaction
82
- Migrating to CreateLikes (20121206210955)
83
-  (0.1ms) begin transaction
84
- DEPRECATION WARNING: `timestamp` was called without specifying an option for `null`. In Rails
85
- 5.0, this behavior will change to `null: false`. You should manually
86
- specify `null: true` to prevent the behavior of your existing migrations
87
- from changing.
88
- (called from block in change at /Users/noel/Dropbox/workspace/axlsx_rails/spec/dummy_4/db/migrate/20121206210955_create_likes.rb:7)
89
-  (0.5ms) CREATE TABLE "likes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer, "created_at" datetime, "updated_at" datetime)
90
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20121206210955"]]
91
-  (1.4ms) commit transaction
92
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
93
-  (0.1ms) begin transaction
94
- SQL (0.5ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", "2014-09-04 15:39:52.011437"], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", "2014-09-04 15:39:52.011437"]]
95
-  (5.9ms) commit transaction
96
-
97
-
98
- Started GET "/home/render_elsewhere.xlsx?type=5" for 127.0.0.1 at 2014-09-04 08:40:02 -0700
99
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
100
- Processing by HomeController#render_elsewhere as XLSX
101
- Parameters: {"type"=>"5"}
102
- Rendered home/index.xlsx.axlsx (8.5ms)
103
- Rendered text template (0.0ms)
104
- Sent data index.xlsx (1.5ms)
105
- Completed 200 OK in 17ms (Views: 17.2ms | ActiveRecord: 0.0ms)
106
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
107
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
108
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
109
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
110
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
111
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
112
-
113
-
114
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:34:35 -0800
115
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
116
- Processing by HomeController#index as HTML
117
- we are here
118
- Rendered home/index.html.erb within layouts/application (1.5ms)
119
- Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
120
-
121
-
122
- Started GET "/home.xlsx" for 127.0.0.1 at 2014-11-20 15:34:40 -0800
123
- Processing by HomeController#index as XLSX
124
- we are here
125
- Rendered home/index.xlsx.axlsx (6.5ms)
126
- Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)
127
-
128
-
129
- Started GET "/another.xlsx" for 127.0.0.1 at 2014-11-20 15:34:45 -0800
130
- Processing by HomeController#another as XLSX
131
- Rendered home/index.xlsx.axlsx (4.5ms)
132
- Rendered text template (0.0ms)
133
- Sent data filename_test.xlsx (1.1ms)
134
- Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)
135
-
136
-
137
- Started GET "/useheader.xlsx" for 127.0.0.1 at 2014-11-20 15:34:48 -0800
138
- Processing by HomeController#useheader as XLSX
139
- Rendered home/useheader.xlsx.axlsx (7.5ms)
140
- Rendered text template (0.0ms)
141
- Sent data filename_test.xlsx (0.4ms)
142
- Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms)
143
-
144
-
145
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:10 -0800
146
- Processing by HomeController#index as HTML
147
- we are here
148
- Rendered home/index.html.erb within layouts/application (0.5ms)
149
- Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
150
-
151
-
152
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:10 -0800
153
- Processing by HomeController#index as HTML
154
- we are here
155
- Rendered home/index.html.erb within layouts/application (0.3ms)
156
- Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
157
-
158
-
159
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:11 -0800
160
- Processing by HomeController#index as HTML
161
- we are here
162
- Rendered home/index.html.erb within layouts/application (0.5ms)
163
- Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
164
-
165
-
166
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:12 -0800
167
- Processing by HomeController#index as HTML
168
- we are here
169
- Rendered home/index.html.erb within layouts/application (0.2ms)
170
- Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
171
-
172
-
173
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:12 -0800
174
- Processing by HomeController#index as HTML
175
- we are here
176
- Rendered home/index.html.erb within layouts/application (0.3ms)
177
- Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
178
-
179
-
180
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:12 -0800
181
- Processing by HomeController#index as HTML
182
- we are here
183
- Rendered home/index.html.erb within layouts/application (0.3ms)
184
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
185
-
186
-
187
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:12 -0800
188
- Processing by HomeController#index as HTML
189
- we are here
190
- Rendered home/index.html.erb within layouts/application (0.2ms)
191
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
192
-
193
-
194
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:13 -0800
195
- Processing by HomeController#index as HTML
196
- we are here
197
- Rendered home/index.html.erb within layouts/application (0.2ms)
198
- Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
199
-
200
-
201
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:13 -0800
202
- Processing by HomeController#index as HTML
203
- we are here
204
- Rendered home/index.html.erb within layouts/application (0.2ms)
205
- Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
206
-
207
-
208
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:13 -0800
209
- Processing by HomeController#index as HTML
210
- we are here
211
- Rendered home/index.html.erb within layouts/application (0.2ms)
212
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
213
-
214
-
215
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:13 -0800
216
- Processing by HomeController#index as HTML
217
- we are here
218
- Rendered home/index.html.erb within layouts/application (0.2ms)
219
- Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
220
-
221
-
222
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:13 -0800
223
- Processing by HomeController#index as HTML
224
- we are here
225
- Rendered home/index.html.erb within layouts/application (0.2ms)
226
- Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
227
-
228
-
229
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:14 -0800
230
- Processing by HomeController#index as HTML
231
- we are here
232
- Rendered home/index.html.erb within layouts/application (0.3ms)
233
- Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
234
-
235
-
236
- Started GET "/" for 127.0.0.1 at 2014-11-20 15:35:14 -0800
237
- Processing by HomeController#index as HTML
238
- we are here
239
- Rendered home/index.html.erb within layouts/application (0.2ms)
240
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
241
-
242
-
243
- Started GET "/home.xlsx" for 127.0.0.1 at 2014-11-20 15:36:27 -0800
244
- Processing by HomeController#index as XLSX
245
- we are here
246
- Rendered home/index.xlsx.axlsx (4.1ms)
247
- Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
248
-
249
-
250
- Started GET "/users.xlsx" for 127.0.0.1 at 2014-11-20 15:47:05 -0800
251
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
252
- Processing by UsersController#index as XLSX
253
- User Load (0.1ms) SELECT "users".* FROM "users"
254
- Rendered users/index.xlsx.axlsx (8.6ms)
255
- Completed 200 OK in 18ms (Views: 14.2ms | ActiveRecord: 0.4ms)
256
-
257
-
258
- Started GET "/another.xlsx" for 127.0.0.1 at 2014-11-20 15:47:22 -0800
259
- Processing by HomeController#another as XLSX
260
- Rendered home/index.xlsx.axlsx (4.4ms)
261
- Rendered text template (0.0ms)
262
- Sent data filename_test.xlsx (1.1ms)
263
- Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
264
-
265
-
266
- Started GET "/another" for 127.0.0.1 at 2014-11-20 15:47:38 -0800
267
- Processing by HomeController#another as HTML
268
- Rendered home/index.xlsx.axlsx (5.0ms)
269
- Rendered text template (0.0ms)
270
- Sent data filename_test.xlsx (0.4ms)
271
- Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
272
-
273
-
274
- Started GET "/home.xlsx" for 127.0.0.1 at 2014-11-20 15:47:47 -0800
275
- Processing by HomeController#index as XLSX
276
- we are here
277
- Rendered home/index.xlsx.axlsx (4.4ms)
278
- Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
279
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
280
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -1 +0,0 @@
1
- 18732