axlsx_rails 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
- * Tests completed
5
- * Acts_as_xlsx tested, example in docs
11
+ - Tests completed
12
+ - Acts_as_xlsx tested, example in docs
6
13
 
7
14
  - **July 12, 2012**: 0.0.1 release
8
- * Initial posting.
9
- * It works, but there are no tests! Bad programmer!
15
+ - Initial posting.
16
+ - It works, but there are no tests! Bad programmer!
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- axlsx_rails (0.1.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
- Partials are currently untested.
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::Type.register "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", :xlsx
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
@@ -1,3 +1,3 @@
1
1
  module AxlsxRails
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -6,6 +6,7 @@ describe 'Axlsx renderer' do
6
6
  end
7
7
 
8
8
  it "has mime type" do
9
+ Mime::XLSX.should be
9
10
  Mime::XLSX.to_sym.should == :xlsx
10
11
  Mime::XLSX.to_s.should == "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
11
12
  end
@@ -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 == Mime::XLSX
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,3 @@
1
+ wb.add_worksheet(name: "Cover Sheet") do |sheet|
2
+ sheet.add_row ['Cover', 'Sheet']
3
+ 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
@@ -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
Binary file
@@ -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
+  (0.1ms) begin transaction
1399
+ SQL (33.7ms) 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
+  (2.6ms) commit transaction
1401
+  (0.1ms) begin transaction
1402
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (1.6ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1409
+ CACHE (0.0ms) 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
+  (0.0ms) begin transaction
1436
+ SQL (3.8ms) 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
+  (6.0ms) commit transaction
1438
+  (0.1ms) begin transaction
1439
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (1.9ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1446
+ CACHE (0.0ms) 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
+  (0.0ms) begin transaction
1461
+ SQL (3.8ms) 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
+  (6.1ms) commit transaction
1463
+  (0.1ms) begin transaction
1464
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.2ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1471
+ CACHE (0.0ms) 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
+  (0.1ms) begin transaction
1503
+ SQL (4.2ms) 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
+  (2.1ms) commit transaction
1505
+  (0.0ms) begin transaction
1506
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.7ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1513
+ CACHE (0.0ms) 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
+  (0.0ms) begin transaction
1523
+ SQL (27.1ms) 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
+  (2.3ms) commit transaction
1525
+  (0.0ms) begin transaction
1526
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.2ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1533
+ CACHE (0.0ms) 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
+  (0.1ms) begin transaction
1560
+ SQL (75.6ms) 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
+  (3.6ms) commit transaction
1562
+  (0.1ms) begin transaction
1563
+ SQL (0.6ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.7ms) 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
+ User Load (0.9ms) SELECT "users".* FROM "users" 
1570
+ CACHE (0.0ms) 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
+  (0.1ms) begin transaction
1592
+ SQL (29.9ms) 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
+  (1.9ms) commit transaction
1594
+  (0.1ms) begin transaction
1595
+ SQL (0.6ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (1.9ms) 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
+ User Load (0.4ms) SELECT "users".* FROM "users" 
1602
+ CACHE (0.0ms) 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
+  (0.0ms) begin transaction
1638
+ SQL (4.4ms) 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
+  (2.4ms) commit transaction
1640
+  (0.0ms) begin transaction
1641
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.3ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1648
+ CACHE (0.0ms) 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
+  (0.0ms) begin transaction
1664
+ SQL (29.2ms) 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
+  (6.1ms) commit transaction
1666
+  (0.1ms) begin transaction
1667
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.2ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1674
+ CACHE (0.0ms) 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
+  (0.1ms) begin transaction
1718
+ SQL (4.3ms) 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
+  (2.8ms) commit transaction
1720
+  (0.0ms) begin transaction
1721
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.6ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1728
+ CACHE (0.0ms) 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
+  (0.0ms) begin transaction
1749
+ SQL (3.9ms) 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
+  (2.4ms) commit transaction
1751
+  (0.0ms) begin transaction
1752
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.0ms) 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
+ User Load (0.4ms) SELECT "users".* FROM "users" 
1759
+ CACHE (0.0ms) 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
+  (0.0ms) begin transaction
1787
+ SQL (5.0ms) 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
+  (2.3ms) commit transaction
1789
+  (0.0ms) begin transaction
1790
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (1.8ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1797
+ CACHE (0.0ms) 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
+  (0.1ms) begin transaction
1823
+ SQL (4.6ms) 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
+  (2.8ms) commit transaction
1825
+  (0.0ms) begin transaction
1826
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.2ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1833
+ CACHE (0.0ms) 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
+  (0.1ms) begin transaction
1849
+ SQL (4.4ms) 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
+  (2.2ms) commit transaction
1851
+  (0.0ms) begin transaction
1852
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (1.6ms) 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
+ User Load (0.4ms) SELECT "users".* FROM "users" 
1859
+ CACHE (0.0ms) 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
+  (0.1ms) begin transaction
1891
+ SQL (4.5ms) 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
+  (2.7ms) commit transaction
1893
+  (0.1ms) begin transaction
1894
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.4ms) 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
+ User Load (0.4ms) SELECT "users".* FROM "users" 
1901
+ CACHE (0.0ms) 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
+  (0.0ms) begin transaction
1924
+ SQL (4.9ms) 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
+  (2.1ms) commit transaction
1926
+  (0.0ms) begin transaction
1927
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.2ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1934
+ CACHE (0.0ms) 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
+  (0.0ms) begin transaction
1961
+ SQL (4.0ms) 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
+  (2.3ms) commit transaction
1963
+  (0.0ms) begin transaction
1964
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (2.1ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" 
1971
+ CACHE (0.0ms) 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.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-19 00:00:00.000000000 Z
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: -1578624938055063002
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: -1578624938055063002
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