axlsx_rails 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +12 -5
- data/Gemfile.lock +3 -1
- data/README.md +19 -3
- data/lib/axlsx_rails/action_controller.rb +3 -1
- data/lib/axlsx_rails/version.rb +1 -1
- data/spec/axlsx_renderer_spec.rb +1 -0
- data/spec/axlsx_request_spec.rb +11 -1
- data/spec/dummy/app/controllers/home_controller.rb +7 -4
- data/spec/dummy/app/views/home/_cover_sheet.xlsx.axlsx +3 -0
- data/spec/dummy/app/views/home/withpartial.xlsx.axlsx +9 -0
- data/spec/dummy/config/routes.rb +1 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +592 -0
- metadata +24 -4
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,16 @@
|
|
1
1
|
# Change log
|
2
|
-
|
2
|
+
|
3
|
+
- **July 25, 2012**: 0.1.2 release
|
4
|
+
- Partials tested
|
5
|
+
|
6
|
+
- **July 19, 2012**: 0.1.1 release
|
7
|
+
- Travis-ci added (thanks [randym](https://github.com/randym))
|
8
|
+
- render statements and filename tests fixes (thanks [engwan](https://github.com/engwan))
|
9
|
+
|
3
10
|
- **July 17, 2012**: 0.1.0 release
|
4
|
-
|
5
|
-
|
11
|
+
- Tests completed
|
12
|
+
- Acts_as_xlsx tested, example in docs
|
6
13
|
|
7
14
|
- **July 12, 2012**: 0.0.1 release
|
8
|
-
|
9
|
-
|
15
|
+
- Initial posting.
|
16
|
+
- It works, but there are no tests! Bad programmer!
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
axlsx_rails (0.1.
|
4
|
+
axlsx_rails (0.1.2)
|
5
5
|
axlsx
|
6
6
|
rails (~> 3.1)
|
7
7
|
|
@@ -68,6 +68,7 @@ GEM
|
|
68
68
|
nokogiri (>= 1.4.4, != 1.5.2, != 1.5.1)
|
69
69
|
oauth (>= 0.3.6)
|
70
70
|
oauth2 (>= 0.5.0)
|
71
|
+
growl (1.0.3)
|
71
72
|
guard (1.2.3)
|
72
73
|
listen (>= 0.4.2)
|
73
74
|
thor (>= 0.14.6)
|
@@ -190,6 +191,7 @@ DEPENDENCIES
|
|
190
191
|
axlsx_rails!
|
191
192
|
bundler
|
192
193
|
capybara
|
194
|
+
growl
|
193
195
|
guard-rspec
|
194
196
|
jquery-rails
|
195
197
|
rake
|
data/README.md
CHANGED
@@ -53,7 +53,20 @@ To set the author attribute upon Axlsx::Package.new, insert the following in app
|
|
53
53
|
> NOTE: We really ought to allow the author to be set in each call
|
54
54
|
|
55
55
|
####Partials
|
56
|
-
|
56
|
+
|
57
|
+
Partials work as expected:
|
58
|
+
|
59
|
+
wb = xlsx_package.workbook
|
60
|
+
render :partial => 'cover_sheet', :locals => {:wb => wb}
|
61
|
+
wb.add_worksheet(name: "Content") do |sheet|
|
62
|
+
sheet.add_row ['Content']
|
63
|
+
end
|
64
|
+
|
65
|
+
With the partial simply using the passed variables:
|
66
|
+
|
67
|
+
wb.add_worksheet(name: "Cover Sheet") do |sheet|
|
68
|
+
sheet.add_row ['Cover', 'Sheet']
|
69
|
+
end
|
57
70
|
|
58
71
|
##Dependencies
|
59
72
|
|
@@ -65,9 +78,12 @@ Partials are currently untested.
|
|
65
78
|
|
66
79
|
##Change log
|
67
80
|
|
81
|
+
- **July 25, 2012**: 0.1.2 release
|
82
|
+
- Partials tested
|
83
|
+
|
68
84
|
- **July 19, 2012**: 0.1.1 release
|
69
|
-
- Travis-ci added (thanks randym)
|
70
|
-
- render statements and filename tests fixes (thanks engwan)
|
85
|
+
- Travis-ci added (thanks [randym](https://github.com/randym))
|
86
|
+
- render statements and filename tests fixes (thanks [engwan](https://github.com/engwan))
|
71
87
|
|
72
88
|
- **July 17, 2012**: 0.1.0 release
|
73
89
|
- Tests completed
|
@@ -1,5 +1,7 @@
|
|
1
1
|
require 'action_controller'
|
2
|
-
Mime::
|
2
|
+
unless defined? Mime::XLSX
|
3
|
+
Mime::Type.register "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", :xlsx
|
4
|
+
end
|
3
5
|
|
4
6
|
ActionController::Renderers.add :xlsx do |filename, options|
|
5
7
|
options[:template] = filename
|
data/lib/axlsx_rails/version.rb
CHANGED
data/spec/axlsx_renderer_spec.rb
CHANGED
data/spec/axlsx_request_spec.rb
CHANGED
@@ -8,7 +8,7 @@ describe 'Axlsx request', :type => :request do
|
|
8
8
|
|
9
9
|
it "downloads an excel file from default respond_to" do
|
10
10
|
visit '/home.xlsx'
|
11
|
-
page.response_headers['Content-Type'].should ==
|
11
|
+
page.response_headers['Content-Type'].should == "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=utf-8"
|
12
12
|
File.open('/tmp/axlsx_temp.xlsx', 'w') {|f| f.write(page.source) }
|
13
13
|
wb = nil
|
14
14
|
expect{ wb = Excelx.new('/tmp/axlsx_temp.xlsx') }.to_not raise_error
|
@@ -38,4 +38,14 @@ describe 'Axlsx request', :type => :request do
|
|
38
38
|
wb.cell(3,2).should == 'Bugs'
|
39
39
|
end
|
40
40
|
|
41
|
+
it "downloads an excel file with partial" do
|
42
|
+
visit '/withpartial.xlsx'
|
43
|
+
page.response_headers['Content-Type'].should == "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=utf-8"
|
44
|
+
File.open('/tmp/axlsx_temp.xlsx', 'w') {|f| f.write(page.source) }
|
45
|
+
wb = nil
|
46
|
+
expect{ wb = Excelx.new('/tmp/axlsx_temp.xlsx') }.to_not raise_error
|
47
|
+
wb.cell(1,1,wb.sheets[0]).should == 'Cover'
|
48
|
+
wb.cell(2,1,wb.sheets[1]).should == "Untie!"
|
49
|
+
end
|
50
|
+
|
41
51
|
end
|
@@ -7,14 +7,17 @@
|
|
7
7
|
# Visit http://www.pragmaticprogrammer.com/titles/jvrails for more book information.
|
8
8
|
#---
|
9
9
|
class HomeController < ApplicationController
|
10
|
-
def another
|
11
|
-
render :xlsx => "index", :filename => "filename_test.xlsx"
|
12
|
-
end
|
13
|
-
|
14
10
|
def index
|
15
11
|
respond_to do |format|
|
16
12
|
format.html
|
17
13
|
format.xlsx
|
18
14
|
end
|
19
15
|
end
|
16
|
+
|
17
|
+
def another
|
18
|
+
render :xlsx => "index", :filename => "filename_test.xlsx"
|
19
|
+
end
|
20
|
+
|
21
|
+
def withpartial
|
22
|
+
end
|
20
23
|
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
wb = xlsx_package.workbook
|
2
|
+
render :partial => 'cover_sheet', :locals => {:wb => wb}
|
3
|
+
style_shout = wb.styles.add_style sz: 16, b: true, alignment: { horizontal: :center }
|
4
|
+
wb.add_worksheet(name: "Foobar") do |sheet|
|
5
|
+
sheet.add_row ['Bad', 'spellers', 'of', 'the', 'world', '...']
|
6
|
+
sheet.add_row ['Untie!']
|
7
|
+
sheet.merge_cells("B1:B6")
|
8
|
+
sheet["B1"].style = style_shout
|
9
|
+
end
|
data/spec/dummy/config/routes.rb
CHANGED
@@ -2,5 +2,6 @@ Dummy::Application.routes.draw do
|
|
2
2
|
resources :users
|
3
3
|
match "/home(.:format)", :to => "home#index", :as => :home
|
4
4
|
match "/another(.:format)", :to => "home#another", :as => :another
|
5
|
+
match "/withpartial(.:format)", :to => "home#withpartial", :as => :withpartial
|
5
6
|
root to: "home#index"
|
6
7
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -1394,3 +1394,595 @@ Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
|
1394
1394
|
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-17 13:13:55 -0700
|
1395
1395
|
Processing by HomeController#another as XLSX
|
1396
1396
|
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
1397
|
+
Connecting to database specified by database.yml
|
1398
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1399
|
+
[1m[35mSQL (33.7ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 19 Jul 2012 16:36:28 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 19 Jul 2012 16:36:28 UTC +00:00]]
|
1400
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
1401
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1402
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 19 Jul 2012 16:36:28 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 19 Jul 2012 16:36:28 UTC +00:00]]
|
1403
|
+
[1m[35m (1.6ms)[0m commit transaction
|
1404
|
+
|
1405
|
+
|
1406
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-19 09:36:28 -0700
|
1407
|
+
Processing by UsersController#index as XLSX
|
1408
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1409
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1410
|
+
Rendered users/index.xlsx.axlsx (27.4ms)
|
1411
|
+
Completed 200 OK in 64ms (Views: 62.1ms | ActiveRecord: 0.3ms)
|
1412
|
+
|
1413
|
+
|
1414
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-19 09:36:28 -0700
|
1415
|
+
Processing by HomeController#index as XLSX
|
1416
|
+
Completed 200 OK in 34ms (Views: 33.3ms | ActiveRecord: 0.0ms)
|
1417
|
+
|
1418
|
+
|
1419
|
+
Started GET "/" for 127.0.0.1 at 2012-07-19 09:36:28 -0700
|
1420
|
+
Processing by HomeController#index as HTML
|
1421
|
+
Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
|
1422
|
+
|
1423
|
+
|
1424
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-19 09:36:28 -0700
|
1425
|
+
Processing by HomeController#another as XLSX
|
1426
|
+
Sent data filename_test.xlsx (14.9ms)
|
1427
|
+
Completed 200 OK in 45ms (Views: 45.0ms | ActiveRecord: 0.0ms)
|
1428
|
+
Connecting to database specified by database.yml
|
1429
|
+
|
1430
|
+
|
1431
|
+
Started GET "/" for 127.0.0.1 at 2012-07-19 09:39:14 -0700
|
1432
|
+
Processing by HomeController#index as HTML
|
1433
|
+
Rendered home/index.html.erb within layouts/application (2.8ms)
|
1434
|
+
Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
|
1435
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1436
|
+
[1m[35mSQL (3.8ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 19 Jul 2012 16:39:14 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 19 Jul 2012 16:39:14 UTC +00:00]]
|
1437
|
+
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
1438
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1439
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 19 Jul 2012 16:39:14 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 19 Jul 2012 16:39:14 UTC +00:00]]
|
1440
|
+
[1m[35m (1.9ms)[0m commit transaction
|
1441
|
+
|
1442
|
+
|
1443
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-19 09:39:14 -0700
|
1444
|
+
Processing by UsersController#index as XLSX
|
1445
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1446
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1447
|
+
Completed 200 OK in 42ms (Views: 39.3ms | ActiveRecord: 0.3ms)
|
1448
|
+
|
1449
|
+
|
1450
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-19 09:39:14 -0700
|
1451
|
+
Processing by HomeController#index as XLSX
|
1452
|
+
Completed 200 OK in 31ms (Views: 31.2ms | ActiveRecord: 0.0ms)
|
1453
|
+
|
1454
|
+
|
1455
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-19 09:39:14 -0700
|
1456
|
+
Processing by HomeController#another as XLSX
|
1457
|
+
Sent data filename_test.xlsx (1.9ms)
|
1458
|
+
Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
|
1459
|
+
Connecting to database specified by database.yml
|
1460
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1461
|
+
[1m[35mSQL (3.8ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 19 Jul 2012 16:39:28 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 19 Jul 2012 16:39:28 UTC +00:00]]
|
1462
|
+
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
1463
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1464
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 19 Jul 2012 16:39:28 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 19 Jul 2012 16:39:28 UTC +00:00]]
|
1465
|
+
[1m[35m (2.2ms)[0m commit transaction
|
1466
|
+
|
1467
|
+
|
1468
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-19 09:39:28 -0700
|
1469
|
+
Processing by UsersController#index as XLSX
|
1470
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1471
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1472
|
+
Rendered users/index.xlsx.axlsx (12.9ms)
|
1473
|
+
Completed 200 OK in 53ms (Views: 50.4ms | ActiveRecord: 0.3ms)
|
1474
|
+
|
1475
|
+
|
1476
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-19 09:39:28 -0700
|
1477
|
+
Processing by HomeController#index as XLSX
|
1478
|
+
Completed 200 OK in 32ms (Views: 31.4ms | ActiveRecord: 0.0ms)
|
1479
|
+
|
1480
|
+
|
1481
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-19 09:39:28 -0700
|
1482
|
+
Processing by HomeController#another as XLSX
|
1483
|
+
Sent data filename_test.xlsx (2.2ms)
|
1484
|
+
Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
1485
|
+
|
1486
|
+
|
1487
|
+
Started GET "/" for 127.0.0.1 at 2012-07-19 09:39:28 -0700
|
1488
|
+
Processing by HomeController#index as HTML
|
1489
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
1490
|
+
Connecting to database specified by database.yml
|
1491
|
+
|
1492
|
+
|
1493
|
+
Started GET "/" for 127.0.0.1 at 2012-07-19 09:40:51 -0700
|
1494
|
+
Processing by HomeController#index as HTML
|
1495
|
+
Rendered home/index.html.erb within layouts/application (2.4ms)
|
1496
|
+
Completed 200 OK in 40ms (Views: 39.8ms | ActiveRecord: 0.0ms)
|
1497
|
+
|
1498
|
+
|
1499
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-19 09:40:51 -0700
|
1500
|
+
Processing by HomeController#index as XLSX
|
1501
|
+
Completed 200 OK in 31ms (Views: 30.4ms | ActiveRecord: 0.0ms)
|
1502
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1503
|
+
[1m[35mSQL (4.2ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 19 Jul 2012 16:40:51 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 19 Jul 2012 16:40:51 UTC +00:00]]
|
1504
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
1505
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1506
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 19 Jul 2012 16:40:51 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 19 Jul 2012 16:40:51 UTC +00:00]]
|
1507
|
+
[1m[35m (2.7ms)[0m commit transaction
|
1508
|
+
|
1509
|
+
|
1510
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-19 09:40:51 -0700
|
1511
|
+
Processing by UsersController#index as XLSX
|
1512
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1513
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1514
|
+
Completed 200 OK in 43ms (Views: 40.9ms | ActiveRecord: 0.3ms)
|
1515
|
+
|
1516
|
+
|
1517
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-19 09:40:52 -0700
|
1518
|
+
Processing by HomeController#another as XLSX
|
1519
|
+
Sent data filename_test.xlsx (2.2ms)
|
1520
|
+
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
|
1521
|
+
Connecting to database specified by database.yml
|
1522
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1523
|
+
[1m[35mSQL (27.1ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 19 Jul 2012 16:53:29 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 19 Jul 2012 16:53:29 UTC +00:00]]
|
1524
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
1525
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1526
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 19 Jul 2012 16:53:29 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 19 Jul 2012 16:53:29 UTC +00:00]]
|
1527
|
+
[1m[35m (2.2ms)[0m commit transaction
|
1528
|
+
|
1529
|
+
|
1530
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-19 09:53:29 -0700
|
1531
|
+
Processing by UsersController#index as XLSX
|
1532
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1533
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1534
|
+
Rendered users/index.xlsx.axlsx (13.7ms)
|
1535
|
+
Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.3ms)
|
1536
|
+
|
1537
|
+
|
1538
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-19 09:53:29 -0700
|
1539
|
+
Processing by HomeController#another as XLSX
|
1540
|
+
Sent data filename_test.xlsx (1.8ms)
|
1541
|
+
Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
1542
|
+
|
1543
|
+
|
1544
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-19 09:53:29 -0700
|
1545
|
+
Processing by HomeController#index as XLSX
|
1546
|
+
Completed 200 OK in 31ms (Views: 31.0ms | ActiveRecord: 0.0ms)
|
1547
|
+
|
1548
|
+
|
1549
|
+
Started GET "/" for 127.0.0.1 at 2012-07-19 09:53:29 -0700
|
1550
|
+
Processing by HomeController#index as HTML
|
1551
|
+
Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
1552
|
+
Connecting to database specified by database.yml
|
1553
|
+
|
1554
|
+
|
1555
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 10:36:55 -0700
|
1556
|
+
Processing by HomeController#index as HTML
|
1557
|
+
Rendered home/index.html.erb within layouts/application (2.7ms)
|
1558
|
+
Completed 200 OK in 67ms (Views: 66.3ms | ActiveRecord: 0.0ms)
|
1559
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1560
|
+
[1m[35mSQL (75.6ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 17:36:56 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 17:36:56 UTC +00:00]]
|
1561
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
1562
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1563
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 17:36:56 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 17:36:56 UTC +00:00]]
|
1564
|
+
[1m[35m (2.7ms)[0m commit transaction
|
1565
|
+
|
1566
|
+
|
1567
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 10:36:56 -0700
|
1568
|
+
Processing by UsersController#index as XLSX
|
1569
|
+
[1m[36mUser Load (0.9ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1570
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1571
|
+
Completed 200 OK in 47ms (Views: 43.7ms | ActiveRecord: 0.9ms)
|
1572
|
+
|
1573
|
+
|
1574
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 10:36:56 -0700
|
1575
|
+
Processing by HomeController#another as XLSX
|
1576
|
+
Sent data filename_test.xlsx (17.6ms)
|
1577
|
+
Completed 200 OK in 66ms (Views: 65.8ms | ActiveRecord: 0.0ms)
|
1578
|
+
|
1579
|
+
|
1580
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 10:36:56 -0700
|
1581
|
+
Processing by HomeController#index as XLSX
|
1582
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
1583
|
+
Connecting to database specified by database.yml
|
1584
|
+
Connecting to database specified by database.yml
|
1585
|
+
|
1586
|
+
|
1587
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:29:16 -0700
|
1588
|
+
Processing by HomeController#index as XLSX
|
1589
|
+
Rendered home/index.xlsx.axlsx (4.6ms)
|
1590
|
+
Completed 200 OK in 41ms (Views: 40.3ms | ActiveRecord: 0.0ms)
|
1591
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1592
|
+
[1m[35mSQL (29.9ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:29:16 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:29:16 UTC +00:00]]
|
1593
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
1594
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1595
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:29:16 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:29:16 UTC +00:00]]
|
1596
|
+
[1m[35m (1.9ms)[0m commit transaction
|
1597
|
+
|
1598
|
+
|
1599
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:29:16 -0700
|
1600
|
+
Processing by UsersController#index as XLSX
|
1601
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1602
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1603
|
+
Completed 200 OK in 48ms (Views: 45.1ms | ActiveRecord: 0.4ms)
|
1604
|
+
|
1605
|
+
|
1606
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:29:16 -0700
|
1607
|
+
Processing by HomeController#another as XLSX
|
1608
|
+
Sent data filename_test.xlsx (14.8ms)
|
1609
|
+
Completed 200 OK in 20ms (Views: 20.2ms | ActiveRecord: 0.0ms)
|
1610
|
+
|
1611
|
+
|
1612
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:29:16 -0700
|
1613
|
+
Processing by HomeController#index as HTML
|
1614
|
+
Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
1615
|
+
|
1616
|
+
|
1617
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:29:16 -0700
|
1618
|
+
Connecting to database specified by database.yml
|
1619
|
+
|
1620
|
+
|
1621
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:29:48 -0700
|
1622
|
+
Processing by HomeController#another as XLSX
|
1623
|
+
Rendered home/index.xlsx.axlsx (4.5ms)
|
1624
|
+
Rendered text template (0.0ms)
|
1625
|
+
Sent data filename_test.xlsx (1.8ms)
|
1626
|
+
Completed 200 OK in 43ms (Views: 42.3ms | ActiveRecord: 0.0ms)
|
1627
|
+
|
1628
|
+
|
1629
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:29:48 -0700
|
1630
|
+
Processing by HomeController#index as XLSX
|
1631
|
+
Completed 200 OK in 30ms (Views: 29.6ms | ActiveRecord: 0.0ms)
|
1632
|
+
|
1633
|
+
|
1634
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:29:48 -0700
|
1635
|
+
Processing by HomeController#index as HTML
|
1636
|
+
Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.0ms)
|
1637
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1638
|
+
[1m[35mSQL (4.4ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:29:48 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:29:48 UTC +00:00]]
|
1639
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
1640
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1641
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:29:48 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:29:48 UTC +00:00]]
|
1642
|
+
[1m[35m (2.3ms)[0m commit transaction
|
1643
|
+
|
1644
|
+
|
1645
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:29:48 -0700
|
1646
|
+
Processing by UsersController#index as XLSX
|
1647
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1648
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1649
|
+
Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 0.3ms)
|
1650
|
+
|
1651
|
+
|
1652
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:29:48 -0700
|
1653
|
+
Processing by HomeController#withpartial as XLSX
|
1654
|
+
Rendered home/_cover_sheet.xlsx.axlsx (20.9ms)
|
1655
|
+
Completed 500 Internal Server Error in 53ms
|
1656
|
+
Connecting to database specified by database.yml
|
1657
|
+
|
1658
|
+
|
1659
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:30:22 -0700
|
1660
|
+
Processing by HomeController#index as HTML
|
1661
|
+
Rendered home/index.html.erb within layouts/application (2.3ms)
|
1662
|
+
Completed 200 OK in 39ms (Views: 38.8ms | ActiveRecord: 0.0ms)
|
1663
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1664
|
+
[1m[35mSQL (29.2ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:30:22 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:30:22 UTC +00:00]]
|
1665
|
+
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
1666
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1667
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:30:22 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:30:22 UTC +00:00]]
|
1668
|
+
[1m[35m (2.2ms)[0m commit transaction
|
1669
|
+
|
1670
|
+
|
1671
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:30:22 -0700
|
1672
|
+
Processing by UsersController#index as XLSX
|
1673
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1674
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1675
|
+
Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.3ms)
|
1676
|
+
|
1677
|
+
|
1678
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:30:22 -0700
|
1679
|
+
Processing by HomeController#another as XLSX
|
1680
|
+
Sent data filename_test.xlsx (2.1ms)
|
1681
|
+
Completed 200 OK in 34ms (Views: 34.1ms | ActiveRecord: 0.0ms)
|
1682
|
+
|
1683
|
+
|
1684
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:30:22 -0700
|
1685
|
+
Processing by HomeController#index as XLSX
|
1686
|
+
Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
1687
|
+
|
1688
|
+
|
1689
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:30:22 -0700
|
1690
|
+
Processing by HomeController#withpartial as XLSX
|
1691
|
+
Rendered home/_cover_sheet.xlsx.axlsx (3.8ms)
|
1692
|
+
Completed 500 Internal Server Error in 38ms
|
1693
|
+
Connecting to database specified by database.yml
|
1694
|
+
|
1695
|
+
|
1696
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:30:44 -0700
|
1697
|
+
Processing by HomeController#withpartial as XLSX
|
1698
|
+
Rendered home/_cover_sheet.xlsx.axlsx (3.8ms)
|
1699
|
+
Rendered home/withpartial.xlsx.axlsx (11.5ms)
|
1700
|
+
Completed 200 OK in 48ms (Views: 47.6ms | ActiveRecord: 0.0ms)
|
1701
|
+
|
1702
|
+
|
1703
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:30:44 -0700
|
1704
|
+
Processing by HomeController#index as XLSX
|
1705
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
1706
|
+
|
1707
|
+
|
1708
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:30:44 -0700
|
1709
|
+
Processing by HomeController#index as HTML
|
1710
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
1711
|
+
|
1712
|
+
|
1713
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:30:44 -0700
|
1714
|
+
Processing by HomeController#another as XLSX
|
1715
|
+
Sent data filename_test.xlsx (1.8ms)
|
1716
|
+
Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
1717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1718
|
+
[1m[35mSQL (4.3ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:30:44 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:30:44 UTC +00:00]]
|
1719
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
1720
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1721
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:30:44 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:30:44 UTC +00:00]]
|
1722
|
+
[1m[35m (2.6ms)[0m commit transaction
|
1723
|
+
|
1724
|
+
|
1725
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:30:44 -0700
|
1726
|
+
Processing by UsersController#index as XLSX
|
1727
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1728
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1729
|
+
Completed 200 OK in 20ms (Views: 16.7ms | ActiveRecord: 0.3ms)
|
1730
|
+
Connecting to database specified by database.yml
|
1731
|
+
|
1732
|
+
|
1733
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:30:48 -0700
|
1734
|
+
Processing by HomeController#withpartial as XLSX
|
1735
|
+
Rendered home/_cover_sheet.xlsx.axlsx (3.4ms)
|
1736
|
+
Rendered home/withpartial.xlsx.axlsx (38.0ms)
|
1737
|
+
Completed 200 OK in 75ms (Views: 74.9ms | ActiveRecord: 0.0ms)
|
1738
|
+
|
1739
|
+
|
1740
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:30:48 -0700
|
1741
|
+
Processing by HomeController#index as HTML
|
1742
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
1743
|
+
|
1744
|
+
|
1745
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:30:48 -0700
|
1746
|
+
Processing by HomeController#index as XLSX
|
1747
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
1748
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1749
|
+
[1m[35mSQL (3.9ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:30:48 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:30:48 UTC +00:00]]
|
1750
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
1751
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1752
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:30:48 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:30:48 UTC +00:00]]
|
1753
|
+
[1m[35m (2.0ms)[0m commit transaction
|
1754
|
+
|
1755
|
+
|
1756
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:30:48 -0700
|
1757
|
+
Processing by UsersController#index as XLSX
|
1758
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1759
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1760
|
+
Completed 200 OK in 48ms (Views: 44.8ms | ActiveRecord: 0.4ms)
|
1761
|
+
|
1762
|
+
|
1763
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:30:48 -0700
|
1764
|
+
Processing by HomeController#another as XLSX
|
1765
|
+
Sent data filename_test.xlsx (2.0ms)
|
1766
|
+
Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
1767
|
+
Connecting to database specified by database.yml
|
1768
|
+
|
1769
|
+
|
1770
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:32:54 -0700
|
1771
|
+
Processing by HomeController#withpartial as XLSX
|
1772
|
+
Rendered home/_cover_sheet.xlsx.axlsx (4.6ms)
|
1773
|
+
Rendered home/withpartial.xlsx.axlsx (12.5ms)
|
1774
|
+
Completed 200 OK in 49ms (Views: 48.7ms | ActiveRecord: 0.0ms)
|
1775
|
+
|
1776
|
+
|
1777
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:32:54 -0700
|
1778
|
+
Processing by HomeController#index as XLSX
|
1779
|
+
Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
1780
|
+
|
1781
|
+
|
1782
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:32:54 -0700
|
1783
|
+
Processing by HomeController#another as XLSX
|
1784
|
+
Sent data filename_test.xlsx (28.5ms)
|
1785
|
+
Completed 200 OK in 34ms (Views: 33.4ms | ActiveRecord: 0.0ms)
|
1786
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1787
|
+
[1m[35mSQL (5.0ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:32:54 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:32:54 UTC +00:00]]
|
1788
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
1789
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1790
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:32:54 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:32:54 UTC +00:00]]
|
1791
|
+
[1m[35m (1.8ms)[0m commit transaction
|
1792
|
+
|
1793
|
+
|
1794
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:32:54 -0700
|
1795
|
+
Processing by UsersController#index as XLSX
|
1796
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1797
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1798
|
+
Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 0.3ms)
|
1799
|
+
|
1800
|
+
|
1801
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:32:54 -0700
|
1802
|
+
Processing by HomeController#index as HTML
|
1803
|
+
Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
1804
|
+
Connecting to database specified by database.yml
|
1805
|
+
|
1806
|
+
|
1807
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:34:36 -0700
|
1808
|
+
Processing by HomeController#index as HTML
|
1809
|
+
Rendered home/index.html.erb within layouts/application (2.5ms)
|
1810
|
+
Completed 200 OK in 40ms (Views: 39.9ms | ActiveRecord: 0.0ms)
|
1811
|
+
|
1812
|
+
|
1813
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:34:36 -0700
|
1814
|
+
Processing by HomeController#index as XLSX
|
1815
|
+
Completed 200 OK in 32ms (Views: 32.0ms | ActiveRecord: 0.0ms)
|
1816
|
+
|
1817
|
+
|
1818
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:34:36 -0700
|
1819
|
+
Processing by HomeController#withpartial as XLSX
|
1820
|
+
Rendered home/_cover_sheet.xlsx.axlsx (4.1ms)
|
1821
|
+
Completed 200 OK in 38ms (Views: 37.5ms | ActiveRecord: 0.0ms)
|
1822
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1823
|
+
[1m[35mSQL (4.6ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:34:36 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:34:36 UTC +00:00]]
|
1824
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
1825
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1826
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:34:36 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:34:36 UTC +00:00]]
|
1827
|
+
[1m[35m (2.2ms)[0m commit transaction
|
1828
|
+
|
1829
|
+
|
1830
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:34:36 -0700
|
1831
|
+
Processing by UsersController#index as XLSX
|
1832
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1833
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1834
|
+
Completed 200 OK in 48ms (Views: 45.1ms | ActiveRecord: 0.3ms)
|
1835
|
+
|
1836
|
+
|
1837
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:34:36 -0700
|
1838
|
+
Processing by HomeController#another as XLSX
|
1839
|
+
Sent data filename_test.xlsx (1.8ms)
|
1840
|
+
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
1841
|
+
Connecting to database specified by database.yml
|
1842
|
+
|
1843
|
+
|
1844
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:35:18 -0700
|
1845
|
+
Processing by HomeController#index as XLSX
|
1846
|
+
Rendered home/index.xlsx.axlsx (5.7ms)
|
1847
|
+
Completed 200 OK in 42ms (Views: 41.8ms | ActiveRecord: 0.0ms)
|
1848
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1849
|
+
[1m[35mSQL (4.4ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:35:18 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:35:18 UTC +00:00]]
|
1850
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
1851
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1852
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:35:18 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:35:18 UTC +00:00]]
|
1853
|
+
[1m[35m (1.6ms)[0m commit transaction
|
1854
|
+
|
1855
|
+
|
1856
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:35:18 -0700
|
1857
|
+
Processing by UsersController#index as XLSX
|
1858
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1859
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1860
|
+
Completed 200 OK in 51ms (Views: 48.2ms | ActiveRecord: 0.4ms)
|
1861
|
+
|
1862
|
+
|
1863
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:35:18 -0700
|
1864
|
+
Processing by HomeController#another as XLSX
|
1865
|
+
Sent data filename_test.xlsx (2.1ms)
|
1866
|
+
Completed 200 OK in 33ms (Views: 32.8ms | ActiveRecord: 0.0ms)
|
1867
|
+
|
1868
|
+
|
1869
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:35:18 -0700
|
1870
|
+
Processing by HomeController#index as HTML
|
1871
|
+
Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
1872
|
+
|
1873
|
+
|
1874
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:35:18 -0700
|
1875
|
+
Processing by HomeController#withpartial as XLSX
|
1876
|
+
Rendered home/_cover_sheet.xlsx.axlsx (3.8ms)
|
1877
|
+
Completed 200 OK in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms)
|
1878
|
+
Connecting to database specified by database.yml
|
1879
|
+
|
1880
|
+
|
1881
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:35:23 -0700
|
1882
|
+
Processing by HomeController#index as HTML
|
1883
|
+
Rendered home/index.html.erb within layouts/application (2.4ms)
|
1884
|
+
Completed 200 OK in 41ms (Views: 40.3ms | ActiveRecord: 0.0ms)
|
1885
|
+
|
1886
|
+
|
1887
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:35:23 -0700
|
1888
|
+
Processing by HomeController#index as XLSX
|
1889
|
+
Completed 200 OK in 32ms (Views: 31.3ms | ActiveRecord: 0.0ms)
|
1890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1891
|
+
[1m[35mSQL (4.5ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:35:23 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:35:23 UTC +00:00]]
|
1892
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
1893
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1894
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:35:23 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:35:23 UTC +00:00]]
|
1895
|
+
[1m[35m (2.4ms)[0m commit transaction
|
1896
|
+
|
1897
|
+
|
1898
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:35:23 -0700
|
1899
|
+
Processing by UsersController#index as XLSX
|
1900
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1901
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1902
|
+
Completed 200 OK in 50ms (Views: 46.8ms | ActiveRecord: 0.4ms)
|
1903
|
+
|
1904
|
+
|
1905
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:35:23 -0700
|
1906
|
+
Processing by HomeController#withpartial as XLSX
|
1907
|
+
Rendered home/_cover_sheet.xlsx.axlsx (3.7ms)
|
1908
|
+
Completed 200 OK in 41ms (Views: 41.1ms | ActiveRecord: 0.0ms)
|
1909
|
+
|
1910
|
+
|
1911
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:35:23 -0700
|
1912
|
+
Processing by HomeController#another as XLSX
|
1913
|
+
Sent data filename_test.xlsx (1.9ms)
|
1914
|
+
Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)
|
1915
|
+
Connecting to database specified by database.yml
|
1916
|
+
|
1917
|
+
|
1918
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:35:27 -0700
|
1919
|
+
Processing by HomeController#withpartial as XLSX
|
1920
|
+
Rendered home/_cover_sheet.xlsx.axlsx (3.7ms)
|
1921
|
+
Rendered home/withpartial.xlsx.axlsx (35.9ms)
|
1922
|
+
Completed 200 OK in 75ms (Views: 74.7ms | ActiveRecord: 0.0ms)
|
1923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1924
|
+
[1m[35mSQL (4.9ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:35:27 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:35:27 UTC +00:00]]
|
1925
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
1926
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1927
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:35:27 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:35:27 UTC +00:00]]
|
1928
|
+
[1m[35m (2.2ms)[0m commit transaction
|
1929
|
+
|
1930
|
+
|
1931
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:35:27 -0700
|
1932
|
+
Processing by UsersController#index as XLSX
|
1933
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1934
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1935
|
+
Completed 200 OK in 52ms (Views: 48.7ms | ActiveRecord: 0.3ms)
|
1936
|
+
|
1937
|
+
|
1938
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:35:27 -0700
|
1939
|
+
Processing by HomeController#index as HTML
|
1940
|
+
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
|
1941
|
+
|
1942
|
+
|
1943
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:35:27 -0700
|
1944
|
+
Processing by HomeController#index as XLSX
|
1945
|
+
Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
1946
|
+
|
1947
|
+
|
1948
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:35:27 -0700
|
1949
|
+
Processing by HomeController#another as XLSX
|
1950
|
+
Sent data filename_test.xlsx (2.3ms)
|
1951
|
+
Completed 200 OK in 32ms (Views: 32.0ms | ActiveRecord: 0.0ms)
|
1952
|
+
Connecting to database specified by database.yml
|
1953
|
+
|
1954
|
+
|
1955
|
+
Started GET "/withpartial.xlsx" for 127.0.0.1 at 2012-07-25 12:35:42 -0700
|
1956
|
+
Processing by HomeController#withpartial as XLSX
|
1957
|
+
Rendered home/_cover_sheet.xlsx.axlsx (4.7ms)
|
1958
|
+
Rendered home/withpartial.xlsx.axlsx (12.9ms)
|
1959
|
+
Completed 200 OK in 50ms (Views: 49.3ms | ActiveRecord: 0.0ms)
|
1960
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1961
|
+
[1m[35mSQL (4.0ms)[0m INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Wed, 25 Jul 2012 19:35:42 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Wed, 25 Jul 2012 19:35:42 UTC +00:00]]
|
1962
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
1963
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1964
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Wed, 25 Jul 2012 19:35:42 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Wed, 25 Jul 2012 19:35:42 UTC +00:00]]
|
1965
|
+
[1m[35m (2.1ms)[0m commit transaction
|
1966
|
+
|
1967
|
+
|
1968
|
+
Started GET "/users.xlsx" for 127.0.0.1 at 2012-07-25 12:35:42 -0700
|
1969
|
+
Processing by UsersController#index as XLSX
|
1970
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" [0m
|
1971
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users"
|
1972
|
+
Completed 200 OK in 25ms (Views: 21.4ms | ActiveRecord: 0.3ms)
|
1973
|
+
|
1974
|
+
|
1975
|
+
Started GET "/another.xlsx" for 127.0.0.1 at 2012-07-25 12:35:42 -0700
|
1976
|
+
Processing by HomeController#another as XLSX
|
1977
|
+
Sent data filename_test.xlsx (2.1ms)
|
1978
|
+
Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
|
1979
|
+
|
1980
|
+
|
1981
|
+
Started GET "/" for 127.0.0.1 at 2012-07-25 12:35:42 -0700
|
1982
|
+
Processing by HomeController#index as HTML
|
1983
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
1984
|
+
|
1985
|
+
|
1986
|
+
Started GET "/home.xlsx" for 127.0.0.1 at 2012-07-25 12:35:42 -0700
|
1987
|
+
Processing by HomeController#index as XLSX
|
1988
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: axlsx_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -171,6 +171,22 @@ dependencies:
|
|
171
171
|
- - ! '>='
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: growl
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
174
190
|
description: This plugin provides a Rails 3 renderer and template handler for xlsx
|
175
191
|
using the axlsx gem.
|
176
192
|
email:
|
@@ -201,8 +217,10 @@ files:
|
|
201
217
|
- spec/dummy/app/controllers/users_controller.rb
|
202
218
|
- spec/dummy/app/helpers/application_helper.rb
|
203
219
|
- spec/dummy/app/models/user.rb
|
220
|
+
- spec/dummy/app/views/home/_cover_sheet.xlsx.axlsx
|
204
221
|
- spec/dummy/app/views/home/index.html.erb
|
205
222
|
- spec/dummy/app/views/home/index.xlsx.axlsx
|
223
|
+
- spec/dummy/app/views/home/withpartial.xlsx.axlsx
|
206
224
|
- spec/dummy/app/views/layouts/application.html.erb
|
207
225
|
- spec/dummy/app/views/users/index.html.erb
|
208
226
|
- spec/dummy/app/views/users/index.xlsx.axlsx
|
@@ -263,7 +281,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
263
281
|
version: '0'
|
264
282
|
segments:
|
265
283
|
- 0
|
266
|
-
hash:
|
284
|
+
hash: 2469490077135059956
|
267
285
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
268
286
|
none: false
|
269
287
|
requirements:
|
@@ -272,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
290
|
version: '0'
|
273
291
|
segments:
|
274
292
|
- 0
|
275
|
-
hash:
|
293
|
+
hash: 2469490077135059956
|
276
294
|
requirements: []
|
277
295
|
rubyforge_project:
|
278
296
|
rubygems_version: 1.8.24
|
@@ -291,8 +309,10 @@ test_files:
|
|
291
309
|
- spec/dummy/app/controllers/users_controller.rb
|
292
310
|
- spec/dummy/app/helpers/application_helper.rb
|
293
311
|
- spec/dummy/app/models/user.rb
|
312
|
+
- spec/dummy/app/views/home/_cover_sheet.xlsx.axlsx
|
294
313
|
- spec/dummy/app/views/home/index.html.erb
|
295
314
|
- spec/dummy/app/views/home/index.xlsx.axlsx
|
315
|
+
- spec/dummy/app/views/home/withpartial.xlsx.axlsx
|
296
316
|
- spec/dummy/app/views/layouts/application.html.erb
|
297
317
|
- spec/dummy/app/views/users/index.html.erb
|
298
318
|
- spec/dummy/app/views/users/index.xlsx.axlsx
|