punto_pagos_rails 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f148b39506c1925e198808ff21fdadf5f06455e
4
- data.tar.gz: bb7cfbe733a7c115dca4f7b66f4e40d89989ec50
3
+ metadata.gz: 46423d040b682f55221e24263fe41b0adbcd6bfb
4
+ data.tar.gz: 0c1267c2339d7a06180f3c48664ac3f58a21e113
5
5
  SHA512:
6
- metadata.gz: aa48654d224a737bfaf4b7d54b5ceda5ad87784c795ef4ed3995d1f79781e65ba87a339b6690892b13d3886c9fd4511175db146da2768b5fb4a0c095956f948f
7
- data.tar.gz: ae5bf30efeb6e3df1175757f704b814666d0ca62f869e2fcfd0351403ae86b5cd24a009a69291c6625bac2accd59c196c7ddf19158e3c1c086a5823497be3d2c
6
+ metadata.gz: f9bcbc431cab2893c4ded6c84ae6d4ce3e98b4f8427218c5ad08b6ffd71edc839faa9ca5cd117c15d8f01dc450b6375bdde205f5360dd9527fe73bc0eee3fe54
7
+ data.tar.gz: aeb79e0395c29242acfddd25e3f86d37bba361b09abf93999f6e2058a7a13b2a87b97c92a026a771f2bdd06f85337f15278c8ddf6e518bf08c1e182a00c5f257
@@ -8,6 +8,6 @@ class PuntoPagosRails::InstallGenerator < Rails::Generators::Base
8
8
  end
9
9
 
10
10
  def create_initializer
11
- template "puntopagos.yml", "config/puntopagos.yml"
11
+ copy_file "puntopagos.yml", "config/puntopagos.yml"
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module PuntoPagosRails
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
Binary file
@@ -6185,3 +6185,107 @@ Migrating to CreatePuntoPagosRailsTransactions (20160605212231)
6185
6185
  FROM sqlite_temp_master
6186
6186
  WHERE name='index_punto_pagos_rails_transactions_on_payable' AND type='index'
6187
6187
  
6188
+
6189
+
6190
+ Started GET "/" for ::1 at 2016-06-06 15:26:22 -0300
6191
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
6192
+ Processing by HomeController#index as HTML
6193
+ Rendered home/index.html.erb within layouts/application (22.2ms)
6194
+ Completed 200 OK in 204ms (Views: 204.0ms | ActiveRecord: 0.0ms)
6195
+
6196
+
6197
+ Started GET "/assets/application.self-565a90fd247bd9ef75cf5f71be1e11e37c3ad80695d8bdfb331fe844afbe0a9e.css?body=1" for ::1 at 2016-06-06 15:26:23 -0300
6198
+
6199
+
6200
+ Started GET "/assets/application.self-de3615060568b463d43b07d97e54e44d624bb66c323372bf19f0d7cab7415efb.js?body=1" for ::1 at 2016-06-06 15:26:23 -0300
6201
+
6202
+
6203
+ Started POST "/transactions/create" for ::1 at 2016-06-06 15:26:31 -0300
6204
+ Processing by TransactionsController#create as HTML
6205
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"e+elSVh8kr35louaDEljZAq02K4yJMpw2Yu4BRwoOM4yLImpLMcZu4T2DmK2BtsFvY+x7OxR+1/I/V2olwSIhw==", "ticket"=>{"amount"=>"8"}, "commit"=>"Pagar!"}
6206
+  (0.1ms) begin transaction
6207
+ SQL (0.8ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 8], ["created_at", "2016-06-06 18:26:31.452942"], ["updated_at", "2016-06-06 18:26:31.452942"]]
6208
+  (0.6ms) commit transaction
6209
+  (0.0ms) begin transaction
6210
+ SQL (0.8ms) INSERT INTO "punto_pagos_rails_transactions" ("payable_id", "payable_type", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["payable_id", 1], ["payable_type", "Ticket"], ["state", "pending"], ["created_at", "2016-06-06 18:26:31.516999"], ["updated_at", "2016-06-06 18:26:31.516999"]]
6211
+  (0.6ms) commit transaction
6212
+ Completed 500 Internal Server Error in 82ms (ActiveRecord: 3.5ms)
6213
+
6214
+ NoMethodError (undefined method `to_sym' for nil:NilClass
6215
+ Did you mean? to_s):
6216
+ app/controllers/transactions_controller.rb:6:in `create'
6217
+
6218
+
6219
+ Rendered /opt/boxen/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms)
6220
+ Rendered /opt/boxen/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
6221
+ Rendered /opt/boxen/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
6222
+ Rendered /opt/boxen/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.7ms)
6223
+
6224
+
6225
+ Started POST "/transactions/create" for ::1 at 2016-06-06 15:26:47 -0300
6226
+ Processing by TransactionsController#create as HTML
6227
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"e+elSVh8kr35louaDEljZAq02K4yJMpw2Yu4BRwoOM4yLImpLMcZu4T2DmK2BtsFvY+x7OxR+1/I/V2olwSIhw==", "ticket"=>{"amount"=>"89999"}, "commit"=>"Pagar!"}
6228
+  (0.1ms) begin transaction
6229
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 89999], ["created_at", "2016-06-06 18:26:47.292743"], ["updated_at", "2016-06-06 18:26:47.292743"]]
6230
+  (0.6ms) commit transaction
6231
+  (0.0ms) begin transaction
6232
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("payable_id", "payable_type", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["payable_id", 2], ["payable_type", "Ticket"], ["state", "pending"], ["created_at", "2016-06-06 18:26:47.295599"], ["updated_at", "2016-06-06 18:26:47.295599"]]
6233
+  (0.6ms) commit transaction
6234
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.7ms)
6235
+
6236
+ NoMethodError (undefined method `to_sym' for nil:NilClass
6237
+ Did you mean? to_s):
6238
+ app/controllers/transactions_controller.rb:6:in `create'
6239
+
6240
+
6241
+ Rendered /opt/boxen/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms)
6242
+ Rendered /opt/boxen/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
6243
+ Rendered /opt/boxen/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
6244
+ Rendered /opt/boxen/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (47.8ms)
6245
+
6246
+
6247
+ Started POST "/transactions/create" for ::1 at 2016-06-06 15:34:58 -0300
6248
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6249
+ Processing by TransactionsController#create as HTML
6250
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"e+elSVh8kr35louaDEljZAq02K4yJMpw2Yu4BRwoOM4yLImpLMcZu4T2DmK2BtsFvY+x7OxR+1/I/V2olwSIhw==", "ticket"=>{"amount"=>"89999"}, "commit"=>"Pagar!"}
6251
+  (0.1ms) begin transaction
6252
+ SQL (0.4ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 89999], ["created_at", "2016-06-06 18:34:58.824777"], ["updated_at", "2016-06-06 18:34:58.824777"]]
6253
+  (1.3ms) commit transaction
6254
+  (0.1ms) begin transaction
6255
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("payable_id", "payable_type", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["payable_id", 3], ["payable_type", "Ticket"], ["state", "pending"], ["created_at", "2016-06-06 18:34:58.892101"], ["updated_at", "2016-06-06 18:34:58.892101"]]
6256
+  (0.8ms) commit transaction
6257
+ Ticket Load (0.2ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 3]]
6258
+ Rendered transactions/error.html.erb within layouts/application (1.2ms)
6259
+ Completed 200 OK in 2641ms (Views: 150.7ms | ActiveRecord: 4.0ms)
6260
+
6261
+
6262
+ Started POST "/transactions/create" for ::1 at 2016-06-06 15:35:06 -0300
6263
+ Processing by TransactionsController#create as HTML
6264
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"e+elSVh8kr35louaDEljZAq02K4yJMpw2Yu4BRwoOM4yLImpLMcZu4T2DmK2BtsFvY+x7OxR+1/I/V2olwSIhw==", "ticket"=>{"amount"=>"89999"}, "commit"=>"Pagar!"}
6265
+  (0.1ms) begin transaction
6266
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 89999], ["created_at", "2016-06-06 18:35:06.007944"], ["updated_at", "2016-06-06 18:35:06.007944"]]
6267
+  (0.6ms) commit transaction
6268
+  (0.1ms) begin transaction
6269
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("payable_id", "payable_type", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["payable_id", 4], ["payable_type", "Ticket"], ["state", "pending"], ["created_at", "2016-06-06 18:35:06.010909"], ["updated_at", "2016-06-06 18:35:06.010909"]]
6270
+  (0.6ms) commit transaction
6271
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 4]]
6272
+ Rendered transactions/error.html.erb within layouts/application (0.1ms)
6273
+ Completed 200 OK in 1956ms (Views: 8.0ms | ActiveRecord: 1.7ms)
6274
+
6275
+
6276
+ Started POST "/transactions/create" for ::1 at 2016-06-06 15:35:10 -0300
6277
+ Processing by TransactionsController#create as HTML
6278
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"e+elSVh8kr35louaDEljZAq02K4yJMpw2Yu4BRwoOM4yLImpLMcZu4T2DmK2BtsFvY+x7OxR+1/I/V2olwSIhw==", "ticket"=>{"amount"=>"89999"}, "commit"=>"Pagar!"}
6279
+  (0.1ms) begin transaction
6280
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 89999], ["created_at", "2016-06-06 18:35:10.495602"], ["updated_at", "2016-06-06 18:35:10.495602"]]
6281
+  (0.6ms) commit transaction
6282
+  (0.1ms) begin transaction
6283
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("payable_id", "payable_type", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["payable_id", 5], ["payable_type", "Ticket"], ["state", "pending"], ["created_at", "2016-06-06 18:35:10.498573"], ["updated_at", "2016-06-06 18:35:10.498573"]]
6284
+  (0.6ms) commit transaction
6285
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 5]]
6286
+  (0.2ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = ? [["token", "O8D52J7W5PPHAHRV"]]
6287
+  (0.1ms) begin transaction
6288
+ SQL (0.3ms) UPDATE "punto_pagos_rails_transactions" SET "token" = ?, "amount" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = ? [["token", "O8D52J7W5PPHAHRV"], ["amount", 89999], ["updated_at", "2016-06-06 18:35:12.532635"], ["id", 5]]
6289
+  (0.7ms) commit transaction
6290
+ Redirected to https://sandbox.puntopagos.com/transaccion/procesar/O8D52J7W5PPHAHRV
6291
+ Completed 302 Found in 2041ms (ActiveRecord: 3.2ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: punto_pagos_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Segovia