nimbleshop_core 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. data/app/controllers/admin/orders_controller.rb +1 -1
  2. data/app/views/layouts/admin.html.erb +1 -1
  3. data/lib/nimbleshop/processor/base.rb +3 -3
  4. data/lib/nimbleshop/version.rb +1 -1
  5. data/test/myshop/db/test.sqlite3 +0 -0
  6. data/test/myshop/log/development.log +130 -0
  7. data/test/myshop/log/test.log +50912 -0
  8. data/test/myshop/public/uploads/picture/picture/1/avatar.png +0 -0
  9. data/test/myshop/public/uploads/picture/picture/1/large_avatar.png +0 -0
  10. data/test/myshop/public/uploads/picture/picture/1/large_plus_avatar.png +0 -0
  11. data/test/myshop/public/uploads/picture/picture/1/medium_avatar.png +0 -0
  12. data/test/myshop/public/uploads/picture/picture/1/medium_plus_avatar.png +0 -0
  13. data/test/myshop/public/uploads/picture/picture/1/small_avatar.png +0 -0
  14. data/test/myshop/public/uploads/picture/picture/1/small_plus_avatar.png +0 -0
  15. data/test/myshop/public/uploads/picture/picture/1/tiny_avatar.png +0 -0
  16. data/test/myshop/public/uploads/picture/picture/1/tiny_plus_avatar.png +0 -0
  17. data/test/myshop/tmp/cache/assets/BCD/9E0/sprockets%2F260032d95634ce4697922e0884875144 +0 -0
  18. data/test/myshop/tmp/cache/assets/C20/3E0/sprockets%2F6272686c233069c041768dc99a62220b +0 -0
  19. data/test/myshop/tmp/cache/assets/C2B/5F0/sprockets%2F05505887d612a26f2445666a5c648f92 +0 -0
  20. data/test/myshop/tmp/cache/assets/C2F/840/sprockets%2F6307597ab57709835906888a54cab332 +0 -0
  21. data/test/myshop/tmp/cache/assets/C42/0A0/sprockets%2Fc3507fa0b5035933d865537bd4740310 +0 -0
  22. data/test/myshop/tmp/cache/assets/C4A/260/sprockets%2F074340134f0d8585254086cd6b0ec079 +0 -0
  23. data/test/myshop/tmp/cache/assets/C55/510/sprockets%2F86793486c7111bad49762251eb8028e0 +0 -0
  24. data/test/myshop/tmp/cache/assets/C57/830/sprockets%2F0818c4536f6a69f5328b7f127045550e +0 -0
  25. data/test/myshop/tmp/cache/assets/C74/F00/sprockets%2Fc09995330494d994b784c482f881e7d7 +0 -0
  26. data/test/myshop/tmp/cache/assets/C83/FB0/sprockets%2F8e73221616c6667d207ef9b2074606bd +0 -0
  27. data/test/myshop/tmp/cache/assets/C8A/9F0/sprockets%2F23c42d96257f3c545c93cf724913e149 +0 -0
  28. data/test/myshop/tmp/cache/assets/C94/9A0/sprockets%2F082647e39249aef69bb64c139804967b +0 -0
  29. data/test/myshop/tmp/cache/assets/C96/2C0/sprockets%2Fccc09c0812dab32253f109e528141721 +0 -0
  30. data/test/myshop/tmp/cache/assets/CAE/D60/sprockets%2F0b804fa342c193ef1978b00a8719807e +0 -0
  31. data/test/myshop/tmp/cache/assets/CAF/3D0/sprockets%2F7e7328e624d8047ec248e65e1c02f022 +0 -0
  32. data/test/myshop/tmp/cache/assets/CB3/980/sprockets%2F747860914f389f22ca277b12d3e51d3c +0 -0
  33. data/test/myshop/tmp/cache/assets/CB3/C10/sprockets%2F77d251a58b446e512a28c42cf91f3756 +0 -0
  34. data/test/myshop/tmp/cache/assets/CB9/840/sprockets%2Fd030178896ac6530c8375fc5d83782ad +0 -0
  35. data/test/myshop/tmp/cache/assets/CBD/480/sprockets%2F16696253922f95b0bfbe5029a49498ea +0 -0
  36. data/test/myshop/tmp/cache/assets/CBD/490/sprockets%2F9130d65760c969b6cfa4c327f56781c4 +0 -0
  37. data/test/myshop/tmp/cache/assets/CBD/CE0/sprockets%2F2c9388100fa246ffc774943319d6af67 +0 -0
  38. data/test/myshop/tmp/cache/assets/CC2/EE0/sprockets%2Fd87e8386917dd5fc540a4b28598911b1 +0 -0
  39. data/test/myshop/tmp/cache/assets/CCA/280/sprockets%2F3453187e9b2e59676bec7b9c831d7395 +0 -0
  40. data/test/myshop/tmp/cache/assets/CCB/D90/sprockets%2F89860669c589fb1e18f8092558adc60b +0 -0
  41. data/test/myshop/tmp/cache/assets/CCD/1A0/sprockets%2Fc952c13381140b67cc1fb0b418369bc2 +0 -0
  42. data/test/myshop/tmp/cache/assets/CCD/470/sprockets%2Fa71a2c66435e2ab2bdc921d024687811 +0 -0
  43. data/test/myshop/tmp/cache/assets/CD0/DE0/sprockets%2F6de169d6c66927d887590d3354177eee +0 -0
  44. data/test/myshop/tmp/cache/assets/CD3/A60/sprockets%2Fa2a143650cb9f51c947ee93e52a10461 +0 -0
  45. data/test/myshop/tmp/cache/assets/CD9/160/sprockets%2F062651b1d2c8b72cdff46e34058c2645 +0 -0
  46. data/test/myshop/tmp/cache/assets/CD9/420/sprockets%2Ff75c6841b46cad183040008384de8aa7 +0 -0
  47. data/test/myshop/tmp/cache/assets/CE2/E50/sprockets%2Fd6210be3e136d2e35997d6c884a250d7 +0 -0
  48. data/test/myshop/tmp/cache/assets/CE7/DF0/sprockets%2Fb21f787a97bd1776a439f6a9c71c0315 +0 -0
  49. data/test/myshop/tmp/cache/assets/CEA/6E0/sprockets%2F92a120975ff4f91bcf5e37639523ef40 +0 -0
  50. data/test/myshop/tmp/cache/assets/CEB/670/sprockets%2F6a2e9b7338c55721eb636d3da649991b +0 -0
  51. data/test/myshop/tmp/cache/assets/CED/220/sprockets%2Ff992264672f1ae94e3f90d3df0f04934 +0 -0
  52. data/test/myshop/tmp/cache/assets/CF2/8D0/sprockets%2Fc7260e562ed2d849798b25a3944c8bf5 +0 -0
  53. data/test/myshop/tmp/cache/assets/CF4/B60/sprockets%2F6f53ce7f80736b4c108c5a799853dd74 +0 -0
  54. data/test/myshop/tmp/cache/assets/CFA/9B0/sprockets%2Fcef7a3a252e4cec0343b64a501468251 +0 -0
  55. data/test/myshop/tmp/cache/assets/CFB/3B0/sprockets%2F83f0c4ee51108930d6d1c7a02411ace7 +0 -0
  56. data/test/myshop/tmp/cache/assets/CFB/840/sprockets%2F8f429776bc63f79a20ae860d8b96f781 +0 -0
  57. data/test/myshop/tmp/cache/assets/D04/A40/sprockets%2F2119a3a04e53c224fb88fe71646f32ca +0 -0
  58. data/test/myshop/tmp/cache/assets/D04/C90/sprockets%2Fb5f8c6d74454c6163d31a0e2d20906ea +0 -0
  59. data/test/myshop/tmp/cache/assets/D08/510/sprockets%2F1217f0cbcc084d65ee84c509a80667b0 +0 -0
  60. data/test/myshop/tmp/cache/assets/D0B/980/sprockets%2Fb2a305322dd4b7f140b98597f729da2d +0 -0
  61. data/test/myshop/tmp/cache/assets/D0B/A80/sprockets%2Ff3464b1d20ee2562fce680c269243ad8 +0 -0
  62. data/test/myshop/tmp/cache/assets/D0D/150/sprockets%2Ff0cf80437ce68cad0169a238b243c972 +0 -0
  63. data/test/myshop/tmp/cache/assets/D0D/340/sprockets%2Ff46a33a80a4d089529b5e3e3c47f4c05 +0 -0
  64. data/test/myshop/tmp/cache/assets/D10/5A0/sprockets%2Fce19e1808460fd67f2e80751bbe1a491 +0 -0
  65. data/test/myshop/tmp/cache/assets/D10/F10/sprockets%2F929ce581d09ef8aaed5566c0b1354061 +0 -0
  66. data/test/myshop/tmp/cache/assets/D11/EF0/sprockets%2F4d99106b5e733e33eb1025adc9f623f9 +0 -0
  67. data/test/myshop/tmp/cache/assets/D14/1E0/sprockets%2F1ed72090d0906688a4d349ed4f7d01fe +0 -0
  68. data/test/myshop/tmp/cache/assets/D1F/7C0/sprockets%2F925f6ef4af9d564ba84f21762d16d456 +0 -0
  69. data/test/myshop/tmp/cache/assets/D28/8B0/sprockets%2F908b68a287fa2dd77450779d95b6bad9 +0 -0
  70. data/test/myshop/tmp/cache/assets/D2F/C10/sprockets%2F0224fa8eb416275601bbb06ee1197eec +0 -0
  71. data/test/myshop/tmp/cache/assets/D33/CC0/sprockets%2F9ad24304228467ab60ba2dc9fd624c6b +0 -0
  72. data/test/myshop/tmp/cache/assets/D38/1A0/sprockets%2Fa3c331e637a4172c04e0b96bff6f753d +0 -0
  73. data/test/myshop/tmp/cache/assets/D3A/140/sprockets%2F1b2825d88878a9a1cddfeb3285b5100a +0 -0
  74. data/test/myshop/tmp/cache/assets/D3A/FA0/sprockets%2F9dc100fa3aae8d93d480d7e081337d82 +0 -0
  75. data/test/myshop/tmp/cache/assets/D3D/F20/sprockets%2Faa7d732e89f3dac8a271d29b852b1074 +0 -0
  76. data/test/myshop/tmp/cache/assets/D3E/790/sprockets%2F9c4dcba69c3d1496a18010d06f8286dd +0 -0
  77. data/test/myshop/tmp/cache/assets/D42/360/sprockets%2F0b74d6da10b975d7ea4fa0b0466778f8 +0 -0
  78. data/test/myshop/tmp/cache/assets/D44/480/sprockets%2F83752178bf80c38e14fbd4ca487a6b4c +0 -0
  79. data/test/myshop/tmp/cache/assets/D45/350/sprockets%2Fe604e294720f65b985fc630debeb339a +0 -0
  80. data/test/myshop/tmp/cache/assets/D45/BF0/sprockets%2F4f73996bcdb03f1f6bd088ec775230e1 +0 -0
  81. data/test/myshop/tmp/cache/assets/D45/EE0/sprockets%2F60e93ca9b4818e772e4f8f3e443ac1d0 +0 -0
  82. data/test/myshop/tmp/cache/assets/D48/3E0/sprockets%2F490442194945ae74d2fe4bfd6ac4d6d7 +0 -0
  83. data/test/myshop/tmp/cache/assets/D55/B20/sprockets%2F4f0abe7ebf10e72050e208a9300c0cf7 +0 -0
  84. data/test/myshop/tmp/cache/assets/D59/690/sprockets%2F43d9ed72bb97785a940468cde6ee5a49 +0 -0
  85. data/test/myshop/tmp/cache/assets/D63/3B0/sprockets%2F7b712b44a973300c47be7b6abccf8f11 +0 -0
  86. data/test/myshop/tmp/cache/assets/D63/770/sprockets%2F429ca29eaaec4530fcf651a15ef25208 +0 -0
  87. data/test/myshop/tmp/cache/assets/D64/A10/sprockets%2F11725b64858ef12e20e4255add3eebda +0 -0
  88. data/test/myshop/tmp/cache/assets/D69/530/sprockets%2F0d6c156f7e61dc971ec15ebbd5b60083 +0 -0
  89. data/test/myshop/tmp/cache/assets/D6A/0F0/sprockets%2F6c8022cac929010a2ecfeddf2486358e +0 -0
  90. data/test/myshop/tmp/cache/assets/D6A/BA0/sprockets%2Fce17cb2d1c87e4208ad8058ed94050dd +0 -0
  91. data/test/myshop/tmp/cache/assets/D6B/230/sprockets%2F3cdbe792f6989dac643303a3a5a37bc1 +0 -0
  92. data/test/myshop/tmp/cache/assets/D6C/6F0/sprockets%2F2395bceaae210b9d93c29cc99b425e33 +0 -0
  93. data/test/myshop/tmp/cache/assets/D6E/5E0/sprockets%2F7c0e8575b9a3069776051cc9aecbacb2 +0 -0
  94. data/test/myshop/tmp/cache/assets/D70/900/sprockets%2Fd63e881ab0de98c29cf54ea223c550b8 +0 -0
  95. data/test/myshop/tmp/cache/assets/D71/540/sprockets%2F7f8b8f64991a2b2e80292fe40fccbc02 +0 -0
  96. data/test/myshop/tmp/cache/assets/D74/0B0/sprockets%2F38fef65e1b5bf25865eab23523edb196 +0 -0
  97. data/test/myshop/tmp/cache/assets/D74/B60/sprockets%2F338cef2a60cc7e6b54f32fb367d3f079 +0 -0
  98. data/test/myshop/tmp/cache/assets/D76/220/sprockets%2F8748ace30a059bf844edf9e7a981b10b +0 -0
  99. data/test/myshop/tmp/cache/assets/D77/ED0/sprockets%2Fda7b03e897b9cd8a719b3425a449ce3d +0 -0
  100. data/test/myshop/tmp/cache/assets/D79/0F0/sprockets%2F583d27eb5454779d74bb4a542cbc9bfd +0 -0
  101. data/test/myshop/tmp/cache/assets/D7A/AC0/sprockets%2F7aee88eabcd2c427706f30d8246be895 +0 -0
  102. data/test/myshop/tmp/cache/assets/D7A/E40/sprockets%2F3d5de9a8d8296d9dd087ce1d8d07011d +0 -0
  103. data/test/myshop/tmp/cache/assets/D7C/AC0/sprockets%2F337b95d7eb24bcdbf89a6f24549d07a8 +0 -0
  104. data/test/myshop/tmp/cache/assets/D88/180/sprockets%2F207be29b481a71f20c28a2cedb214fcc +0 -0
  105. data/test/myshop/tmp/cache/assets/D88/B60/sprockets%2F7c60dd8a4002120f6b29e2ea2d6e2dbc +0 -0
  106. data/test/myshop/tmp/cache/assets/D8D/180/sprockets%2Fbba7e4bce2a055fd0d657a331434d7f1 +0 -0
  107. data/test/myshop/tmp/cache/assets/D9A/0C0/sprockets%2F3c40cc90ffd21ec291e2c35875d9bdd1 +0 -0
  108. data/test/myshop/tmp/cache/assets/D9A/C90/sprockets%2Fef6ea28283f36befb01d50ea82524f2e +0 -0
  109. data/test/myshop/tmp/cache/assets/D9B/170/sprockets%2Fbbe525f1421628b638ecbe2a5e98de0c +0 -0
  110. data/test/myshop/tmp/cache/assets/DA0/710/sprockets%2Fc66cd866048bc9b6aaad3f75a14bb567 +0 -0
  111. data/test/myshop/tmp/cache/assets/DA1/B10/sprockets%2F369f6fcc30aff180c675e17fa3ae8c14 +0 -0
  112. data/test/myshop/tmp/cache/assets/DA4/0D0/sprockets%2F8ca4adf47d2f99cb9170050bd6c93f2f +0 -0
  113. data/test/myshop/tmp/cache/assets/DA4/230/sprockets%2Fb95808fc5741b496bc9dbf0ae5c05b4f +0 -0
  114. data/test/myshop/tmp/cache/assets/DA5/E20/sprockets%2Fcc968ead119b9ad755c6dd6d9c320b35 +0 -0
  115. data/test/myshop/tmp/cache/assets/DA8/830/sprockets%2F4d9b04623f6ffdeae72c188397acd32f +0 -0
  116. data/test/myshop/tmp/cache/assets/DAC/740/sprockets%2F9dbbc3cb17806b8ef595afa85904bb88 +0 -0
  117. data/test/myshop/tmp/cache/assets/DAD/A40/sprockets%2F4dcb48e079ac547cbdf475ca88584bd5 +0 -0
  118. data/test/myshop/tmp/cache/assets/DB3/C60/sprockets%2Fd2a33078bdd6b3d5be799b7ef4378fd9 +0 -0
  119. data/test/myshop/tmp/cache/assets/DB6/680/sprockets%2F5921a2ea6c5dfd0b05d00466dca6cd2b +0 -0
  120. data/test/myshop/tmp/cache/assets/DBA/670/sprockets%2F3894b7598c9eb4c6d66880eedd6baeb5 +0 -0
  121. data/test/myshop/tmp/cache/assets/DBC/1D0/sprockets%2F715fba3f00362f334beaae3ba7e54be6 +0 -0
  122. data/test/myshop/tmp/cache/assets/DC0/180/sprockets%2F53acffde562a11301dffae236b375e3e +0 -0
  123. data/test/myshop/tmp/cache/assets/DC2/810/sprockets%2Fec901b5b7cb5f4aaa770f42a6f107a9d +0 -0
  124. data/test/myshop/tmp/cache/assets/DC9/760/sprockets%2F0df185dad5cc5738af9c6ab5a33c40d7 +0 -0
  125. data/test/myshop/tmp/cache/assets/DCC/690/sprockets%2Facc83ee53fd3fe6bf209b0d407924da6 +0 -0
  126. data/test/myshop/tmp/cache/assets/DCD/000/sprockets%2Fd30835cc3ba67ffc6d3913ced93fb3b3 +0 -0
  127. data/test/myshop/tmp/cache/assets/DCF/1C0/sprockets%2F42296eec1be44d5af0efefe563414eb6 +0 -0
  128. data/test/myshop/tmp/cache/assets/DCF/7B0/sprockets%2Fce3a7cd74630b3af080e5bff2c85c9e6 +0 -0
  129. data/test/myshop/tmp/cache/assets/DD0/040/sprockets%2Fd7e8eb1efb4a3a37e393de0171f9cd53 +0 -0
  130. data/test/myshop/tmp/cache/assets/DD4/C20/sprockets%2F9cb3062fed4fad2209b96b45fc5ef7d4 +0 -0
  131. data/test/myshop/tmp/cache/assets/DF2/B80/sprockets%2Faea5e110a5b5445795aee4eb3f1cfd2e +0 -0
  132. data/test/myshop/tmp/cache/assets/DF6/BD0/sprockets%2F7bc0d205c243a5d6eaf68cefb73fa83a +0 -0
  133. data/test/myshop/tmp/cache/assets/DF7/210/sprockets%2F5cbe2f9dce9c83c053049ce2a1b7ca4c +0 -0
  134. data/test/myshop/tmp/cache/assets/DFB/4C0/sprockets%2Fc17634f786d8dacfc7da08aa3abaf309 +0 -0
  135. data/test/myshop/tmp/cache/assets/DFB/AC0/sprockets%2Fcd38ffa254f2aa5e7b0adfad3e376079 +0 -0
  136. data/test/myshop/tmp/cache/assets/DFF/CE0/sprockets%2F5b09f3df6587fa0dd0b8bccae956f0e0 +0 -0
  137. data/test/myshop/tmp/cache/assets/E09/240/sprockets%2F379facffa55119efe51738ccca58c1ef +0 -0
  138. data/test/myshop/tmp/cache/assets/E4E/350/sprockets%2F1e4de40cd11c8ba8caea57b2ca7e16ef +0 -0
  139. data/test/myshop/tmp/cache/assets/E52/0A0/sprockets%2F7a3aeacc44aebcb52a09f1aee76719dd +0 -0
  140. data/test/myshop/tmp/cache/assets/E59/F50/sprockets%2Ff321b3ce47ce73ec1cfead3f39aef0a9 +0 -0
  141. data/test/myshop/tmp/cache/assets/E5F/C60/sprockets%2Fb95ce7dcf32be0b3cb96ea0b9d75efd2 +0 -0
  142. data/test/myshop/tmp/cache/assets/E8D/140/sprockets%2F470beb3daed0e63cf3c7f69dce17ebec +0 -0
  143. data/test/myshop/tmp/cache/assets/E95/E90/sprockets%2Ffbd9cdd1beaf5c67c528a97cbca356fe +0 -0
  144. data/test/myshop/tmp/cache/assets/EF1/C70/sprockets%2Fd3b9dcddcbc0dabeb498be16d98f3dcf +0 -0
  145. data/test/myshop/tmp/cache/sass/3d9d79b65012a05959e6fa834d1b6425d941be2b/cart.css.scssc +0 -0
  146. data/test/myshop/tmp/cache/sass/3d9d79b65012a05959e6fa834d1b6425d941be2b/cart_button.css.scssc +0 -0
  147. data/test/myshop/tmp/cache/sass/3d9d79b65012a05959e6fa834d1b6425d941be2b/custom.css.scssc +0 -0
  148. data/test/unit/processor/authorize_net_test.rb +14 -14
  149. metadata +265 -3
@@ -7,7 +7,7 @@ class Admin::OrdersController < AdminController
7
7
  format.html do
8
8
 
9
9
  @order = Order.find_by_number!(params[:id])
10
- @order.kapture!
10
+ @order.payment_method.kapture!(@order)
11
11
  redirect_to admin_order_path(@order), notice: "Amount was successfully captured"
12
12
 
13
13
  end
@@ -22,7 +22,7 @@
22
22
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
23
23
 
24
24
  <%= javascript_include_tag 'admin' %>
25
-
25
+ <%= csrf_meta_tags %>
26
26
  </head>
27
27
 
28
28
  <body id=<%=body_id%>>
@@ -4,15 +4,15 @@ module Processor
4
4
  extend ActiveModel::Callbacks
5
5
 
6
6
  define_model_callbacks :transaction, :authorize,
7
- :capture,
7
+ :kapture,
8
8
  :purchase,
9
9
  :refund,
10
10
  :void
11
11
 
12
12
  before_transaction :set_active_merchant_mode
13
13
 
14
- def capture(options = {})
15
- execute(:capture, options)
14
+ def kapture(options = {})
15
+ execute(:kapture, options)
16
16
  end
17
17
 
18
18
  def authorize(options = {})
@@ -2,7 +2,7 @@ module Nimbleshop
2
2
  class Version
3
3
  @major = 0
4
4
  @minor = 0
5
- @tiny = 2
5
+ @tiny = 3
6
6
  @build = nil
7
7
 
8
8
  class << self
Binary file
@@ -993,3 +993,133 @@ Connecting to database specified by database.yml
993
993
   (92.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041922')
994
994
   (227.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041923')
995
995
   (351.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041924')
996
+ Connecting to database specified by database.yml
997
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
998
+ Migrating to CreateProductGroups (20120707041905)
999
+ Migrating to CreateProducts (20120707041906)
1000
+ Migrating to CreateOrders (20120707041907)
1001
+ Migrating to CreateLineItems (20120707041908)
1002
+ Migrating to CreateShops (20120707041909)
1003
+ Migrating to CreateLinkGroups (20120707041910)
1004
+ Migrating to CreateNavigations (20120707041911)
1005
+ Migrating to CreateLinks (20120707041912)
1006
+ Migrating to CreateCustomFields (20120707041913)
1007
+ Migrating to CreateCustomFieldAnswers (20120707041914)
1008
+ Migrating to CreateProductGroupConditions (20120707041915)
1009
+ Migrating to CreateCreditcardTransactions (20120707041916)
1010
+ Migrating to CreateAddresses (20120707041917)
1011
+ Migrating to CreatePictures (20120707041918)
1012
+ Migrating to CreateShippingMethods (20120707041919)
1013
+ Migrating to CreateShippingZones (20120707041920)
1014
+ Migrating to CreatePaymentMethods (20120707041921)
1015
+ Migrating to CreatePreferences (20120707041922)
1016
+ Migrating to CreateShipments (20120707041923)
1017
+ Migrating to CreateShipmentCarriers (20120707041924)
1018
+ Migrating to CreateDelayedJobs (20120707041925)
1019
+  (0.6ms) select sqlite_version(*)
1020
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1021
+  (0.0ms) PRAGMA index_list("addresses")
1022
+  (0.0ms) PRAGMA index_list("custom_field_answers")
1023
+  (0.0ms) PRAGMA index_list("custom_fields")
1024
+  (0.0ms) PRAGMA index_list("delayed_jobs")
1025
+  (0.1ms) PRAGMA index_info('delayed_jobs_priority')
1026
+  (0.0ms) PRAGMA index_list("line_items")
1027
+  (0.0ms) PRAGMA index_list("link_groups")
1028
+  (0.0ms) PRAGMA index_info('index_link_groups_on_permalink')
1029
+  (0.0ms) PRAGMA index_info('index_link_groups_on_name')
1030
+  (0.0ms) PRAGMA index_list("links")
1031
+  (0.0ms) PRAGMA index_list("navigations")
1032
+  (0.0ms) PRAGMA index_list("orders")
1033
+  (0.0ms) PRAGMA index_info('index_orders_on_number')
1034
+  (0.0ms) PRAGMA index_list("payment_methods")
1035
+  (0.0ms) PRAGMA index_info('index_payment_methods_on_permalink')
1036
+  (0.0ms) PRAGMA index_list("payment_transactions")
1037
+  (0.0ms) PRAGMA index_list("pictures")
1038
+  (0.0ms) PRAGMA index_list("preferences")
1039
+  (0.0ms) PRAGMA index_info('index_preferences_on_owner_and_name_and_preference')
1040
+  (0.0ms) PRAGMA index_list("product_group_conditions")
1041
+  (0.0ms) PRAGMA index_list("product_groups")
1042
+  (0.0ms) PRAGMA index_info('index_product_groups_on_permalink')
1043
+  (0.0ms) PRAGMA index_info('index_product_groups_on_name')
1044
+  (0.0ms) PRAGMA index_list("products")
1045
+  (0.0ms) PRAGMA index_info('index_products_on_permalink')
1046
+  (0.0ms) PRAGMA index_list("shipment_carriers")
1047
+  (0.0ms) PRAGMA index_info('index_shipment_carriers_on_permalink')
1048
+  (0.0ms) PRAGMA index_list("shipments")
1049
+  (0.0ms) PRAGMA index_list("shipping_methods")
1050
+  (0.0ms) PRAGMA index_list("shipping_zones")
1051
+  (0.0ms) PRAGMA index_info('index_shipping_zones_on_permalink')
1052
+  (0.0ms) PRAGMA index_list("shops")
1053
+ Connecting to database specified by database.yml
1054
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1055
+  (0.3ms) select sqlite_version(*)
1056
+  (2.0ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "order_id" integer, "first_name" varchar(255) NOT NULL, "last_name" varchar(255), "company" varchar(255), "address1" varchar(255) NOT NULL, "address2" varchar(255), "city" varchar(255) NOT NULL, "zipcode" varchar(255), "country_name" varchar(255) NOT NULL, "country_code" varchar(255) NOT NULL, "state_name" varchar(255) NOT NULL, "state_code" varchar(255), "phone" varchar(255), "fax" varchar(255), "use_for_billing" boolean DEFAULT 't' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1057
+  (1.6ms) CREATE TABLE "custom_field_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "custom_field_id" integer, "value" varchar(255), "text_value" varchar(255), "number_value" integer, "datetime_value" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1058
+  (1.1ms) CREATE TABLE "custom_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "field_type" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1059
+  (1.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1060
+  (0.1ms) PRAGMA index_list("delayed_jobs")
1061
+  (35.4ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
1062
+  (60.5ms) CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer NOT NULL, "product_id" integer NOT NULL, "quantity" integer NOT NULL, "product_name" varchar(255) NOT NULL, "product_description" text, "product_price" decimal(8,2) NOT NULL, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1063
+  (50.4ms) CREATE TABLE "link_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "permalink" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1064
+  (0.1ms) PRAGMA index_list("link_groups")
1065
+  (1.4ms) CREATE UNIQUE INDEX "index_link_groups_on_name" ON "link_groups" ("name")
1066
+  (0.1ms) PRAGMA index_list("link_groups")
1067
+  (0.0ms) PRAGMA index_info('index_link_groups_on_name')
1068
+  (1.5ms) CREATE UNIQUE INDEX "index_link_groups_on_permalink" ON "link_groups" ("permalink")
1069
+  (2.3ms) CREATE TABLE "links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "url" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1070
+  (12.6ms) CREATE TABLE "navigations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "link_group_id" integer NOT NULL, "product_group_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1071
+  (9.4ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar(255) NOT NULL, "shipping_method_id" integer, "payment_method_id" integer, "email" varchar(255), "status" varchar(255) DEFAULT 'open' NOT NULL, "payment_status" varchar(255) DEFAULT 'abandoned' NOT NULL, "shipping_status" varchar(255) DEFAULT 'nothing_to_ship' NOT NULL, "checkout_status" varchar(255) DEFAULT 'items_added_to_cart' NOT NULL, "shipped_at" datetime, "purchased_at" datetime, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1072
+  (0.1ms) PRAGMA index_list("orders")
1073
+  (1.6ms) CREATE UNIQUE INDEX "index_orders_on_number" ON "orders" ("number")
1074
+  (1.8ms) CREATE TABLE "payment_methods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" text, "type" varchar(255), "permalink" varchar(255) NOT NULL, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1075
+  (0.1ms) PRAGMA index_list("payment_methods")
1076
+  (1.6ms) CREATE UNIQUE INDEX "index_payment_methods_on_permalink" ON "payment_methods" ("permalink")
1077
+  (4.0ms) CREATE TABLE "payment_transactions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer NOT NULL, "transaction_gid" varchar(255) NOT NULL, "params" text NOT NULL, "success" boolean NOT NULL, "operation" varchar(255) NOT NULL, "amount" integer, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1078
+  (1.8ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "picture" varchar(255), "file_name" varchar(255), "content_type" varchar(255), "file_size" varchar(255), "position" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1079
+  (30.6ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "owner_id" integer NOT NULL, "owner_type" varchar(255) NOT NULL, "group_id" integer, "group_type" varchar(255), "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1080
+  (0.1ms) PRAGMA index_list("preferences")
1081
+  (6.6ms) CREATE UNIQUE INDEX "index_preferences_on_owner_and_name_and_preference" ON "preferences" ("owner_id", "owner_type", "name", "group_id", "group_type")
1082
+  (1.7ms) CREATE TABLE "product_group_conditions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_group_id" integer, "name" varchar(255) NOT NULL, "operator" varchar(255) NOT NULL, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1083
+  (1.5ms) CREATE TABLE "product_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "permalink" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1084
+  (0.0ms) PRAGMA index_list("product_groups")
1085
+  (1.3ms) CREATE UNIQUE INDEX "index_product_groups_on_name" ON "product_groups" ("name")
1086
+  (0.0ms) PRAGMA index_list("product_groups")
1087
+  (0.0ms) PRAGMA index_info('index_product_groups_on_name')
1088
+  (1.2ms) CREATE UNIQUE INDEX "index_product_groups_on_permalink" ON "product_groups" ("permalink")
1089
+  (1.7ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "status" varchar(255) DEFAULT 'active' NOT NULL, "description" text, "price" decimal(8,2) NOT NULL, "new" boolean DEFAULT 'f' NOT NULL, "permalink" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1090
+  (0.0ms) PRAGMA index_list("products")
1091
+  (1.4ms) CREATE UNIQUE INDEX "index_products_on_permalink" ON "products" ("permalink")
1092
+  (2.0ms) CREATE TABLE "shipment_carriers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "permalink" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1093
+  (0.0ms) PRAGMA index_list("shipment_carriers")
1094
+  (1.8ms) CREATE UNIQUE INDEX "index_shipment_carriers_on_permalink" ON "shipment_carriers" ("permalink")
1095
+  (1.6ms) CREATE TABLE "shipments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tracking_number" varchar(255), "shipment_carrier_id" integer NOT NULL, "order_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1096
+  (1.7ms) CREATE TABLE "shipping_methods" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "shipping_zone_id" integer NOT NULL, "name" varchar(255) NOT NULL, "minimum_order_amount" decimal(8,2), "maximum_order_amount" decimal(8,2), "base_price" decimal(8,2), "offset" decimal(8,2) DEFAULT 0.0, "active" boolean DEFAULT 't' NOT NULL, "parent_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1097
+  (1.6ms) CREATE TABLE "shipping_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255) NOT NULL, "country_code" varchar(255), "state_code" varchar(255), "type" varchar(255), "country_shipping_zone_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1098
+  (0.0ms) PRAGMA index_list("shipping_zones")
1099
+  (1.4ms) CREATE UNIQUE INDEX "index_shipping_zones_on_permalink" ON "shipping_zones" ("permalink")
1100
+  (2.5ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "author_name" varchar(255), "description" varchar(255), "theme" varchar(255) DEFAULT 'simply' NOT NULL, "time_zone" varchar(255) DEFAULT 'UTC' NOT NULL, "from_email" varchar(255) NOT NULL, "default_creditcard_action" varchar(255) DEFAULT 'authorize' NOT NULL, "phone_number" varchar(255), "twitter_handle" varchar(255), "facebook_url" varchar(255), "google_analytics_tracking_id" varchar(255), "tax_percentage" decimal(4,2) DEFAULT 0.0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1101
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1102
+  (0.0ms) PRAGMA index_list("schema_migrations")
1103
+  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1104
+  (0.1ms) SELECT version FROM "schema_migrations"
1105
+  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041925')
1106
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041905')
1107
+  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041906')
1108
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041907')
1109
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041908')
1110
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041909')
1111
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041910')
1112
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041911')
1113
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041912')
1114
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041913')
1115
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041914')
1116
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041915')
1117
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041916')
1118
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041917')
1119
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041918')
1120
+  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041919')
1121
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041920')
1122
+  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041921')
1123
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041922')
1124
+  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041923')
1125
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120707041924')