punto_pagos_rails 0.0.1 → 0.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: 4898b2ab540d763a03f9ed76e7a10c9304886b97
4
- data.tar.gz: 7fd638ca89dd79aabe8b8ad013219acf8bb823f7
3
+ metadata.gz: b92d9e64682230a781586d019735eb13dbe176a3
4
+ data.tar.gz: 822d9a5cbccbc6290bd8774cd69778544219eb3d
5
5
  SHA512:
6
- metadata.gz: 5d5f6c9dbf1fc877886537511850b2a1dfa37a09d1843b45b42acc844444ca330071a8a6f10853f8551faf01f3238eda17ba4915162670d00e0bd8964399efdb
7
- data.tar.gz: 356d30fdbc7b5a58ca2fff825e6ebfc2c9a89a79be0bd87b1582b8b83a2405d28fecd0b1757dd97563aa934b2b56228c77fc622a1099ba1fce1ce8aa6d827cf4
6
+ metadata.gz: 376e54326c0905c84b8a2a10aa171fecd7f50ea3479e0754eef4f7bd0b4e989ead7b6d3ceb1fd8f17823eb1826ecfd04d3d3b20f3cd054dfcf873d0dd31f53b4
7
+ data.tar.gz: 3f014280ac0da73b18aba620ceba5f2b2fb0999d015e7d6a6b8c001562d7e57c716d87158a0ab824417f83168ae5f68041ec3ff265a3709a2ed1c871f60291ea
@@ -1,3 +1,3 @@
1
1
  module PuntoPagosRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -5362,3 +5362,10 @@ Started GET "/assets/punto_pagos_rails/application.css?body=1" for 127.0.0.1 at
5362
5362
 
5363
5363
 
5364
5364
  Started GET "/assets/punto_pagos_rails/application.js?body=1" for 127.0.0.1 at 2014-12-19 11:16:54 -0300
5365
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" ORDER BY "tickets"."id" DESC LIMIT 1
5366
+ Ticket Load (0.2ms) SELECT "tickets".* FROM "tickets" ORDER BY "tickets"."id" DESC LIMIT 1
5367
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" ORDER BY "tickets"."id" DESC LIMIT 1
5368
+ PuntoPagosRails::Transaction Exists (0.2ms) SELECT 1 AS one FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? LIMIT 1 [["resource_id", 39]]
5369
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? ORDER BY "punto_pagos_rails_transactions"."id" DESC LIMIT 1 [["resource_id", 39]]
5370
+ Ticket Load (0.2ms) SELECT "tickets".* FROM "tickets" ORDER BY "tickets"."id" DESC LIMIT 1
5371
+ PuntoPagosRails::Transaction Load (0.3ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 39]]
@@ -3751,3 +3751,874 @@
3751
3751
  SQL (0.0ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-14 01:37:45.910291"]]
3752
3752
   (0.0ms) RELEASE SAVEPOINT active_record_1
3753
3753
   (0.6ms) rollback transaction
3754
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
3755
+  (1.1ms) begin transaction
3756
+  (0.1ms) SAVEPOINT active_record_1
3757
+ SQL (0.4ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 14:58:45.316476"], ["updated_at", "2014-12-19 14:58:45.316476"]]
3758
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3759
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3760
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
3761
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3762
+  (0.0ms) SAVEPOINT active_record_1
3763
+ SQL (0.9ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 14:58:45.344559"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.344559"]]
3764
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3765
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3766
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3767
+  (0.0ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
3768
+  (1.0ms) rollback transaction
3769
+  (0.2ms) begin transaction
3770
+  (0.1ms) SAVEPOINT active_record_1
3771
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 14:58:45.360551"], ["updated_at", "2014-12-19 14:58:45.360551"]]
3772
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3773
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3774
+  (0.1ms) SAVEPOINT active_record_1
3775
+ SQL (0.6ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 14:58:45.364697"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.364697"]]
3776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3777
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3778
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
3779
+  (0.2ms) SAVEPOINT active_record_1
3780
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 14:58:45.387116"]]
3781
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3782
+  (0.9ms) rollback transaction
3783
+  (0.1ms) begin transaction
3784
+  (0.1ms) SAVEPOINT active_record_1
3785
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 14:58:45.401157"], ["updated_at", "2014-12-19 14:58:45.401157"]]
3786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3787
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3788
+  (0.9ms) SAVEPOINT active_record_1
3789
+ SQL (4.7ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 14:58:45.406286"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.406286"]]
3790
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3791
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3792
+  (3.3ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
3793
+  (0.1ms) SAVEPOINT active_record_1
3794
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 14:58:45.428100"]]
3795
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3796
+  (0.7ms) rollback transaction
3797
+  (0.1ms) begin transaction
3798
+  (0.1ms) SAVEPOINT active_record_1
3799
+ SQL (0.7ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 14:58:45.438078"], ["updated_at", "2014-12-19 14:58:45.438078"]]
3800
+  (0.5ms) RELEASE SAVEPOINT active_record_1
3801
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3802
+  (0.2ms) SAVEPOINT active_record_1
3803
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 14:58:45.446747"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.446747"]]
3804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3805
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3806
+  (0.2ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
3807
+  (0.3ms) SAVEPOINT active_record_1
3808
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 14:58:45.452109"]]
3809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3810
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? ORDER BY "punto_pagos_rails_transactions"."id" DESC LIMIT 1 [["resource_id", 1]]
3811
+  (0.6ms) rollback transaction
3812
+  (0.1ms) begin transaction
3813
+  (0.1ms) SAVEPOINT active_record_1
3814
+ SQL (0.4ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 14:58:45.460798"], ["updated_at", "2014-12-19 14:58:45.460798"]]
3815
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3816
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3817
+  (0.2ms) SAVEPOINT active_record_1
3818
+ SQL (3.1ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 14:58:45.467168"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.467168"]]
3819
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3820
+ Ticket Load (0.3ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3821
+  (1.8ms) rollback transaction
3822
+  (0.1ms) begin transaction
3823
+  (0.1ms) SAVEPOINT active_record_1
3824
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 14:58:45.499948"], ["state", "pending"], ["token", "REPEATED_TOKEN"], ["updated_at", "2014-12-19 14:58:45.499948"]]
3825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3826
+  (0.0ms) SAVEPOINT active_record_1
3827
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 14:58:45.502140"], ["updated_at", "2014-12-19 14:58:45.502140"]]
3828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3829
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3830
+  (0.1ms) SAVEPOINT active_record_1
3831
+ SQL (0.1ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 14:58:45.517094"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.517094"]]
3832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3833
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3834
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'REPEATED_TOKEN'
3835
+  (0.7ms) rollback transaction
3836
+  (0.3ms) begin transaction
3837
+  (0.4ms) SAVEPOINT active_record_1
3838
+ SQL (0.4ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 14:58:45.527989"], ["updated_at", "2014-12-19 14:58:45.527989"]]
3839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3840
+ Ticket Load (0.2ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3841
+  (0.1ms) SAVEPOINT active_record_1
3842
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 14:58:45.535950"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.535950"]]
3843
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3844
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3845
+  (0.8ms) rollback transaction
3846
+  (0.1ms) begin transaction
3847
+  (0.1ms) SAVEPOINT active_record_1
3848
+ SQL (0.4ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 14:58:45.543010"], ["updated_at", "2014-12-19 14:58:45.543010"]]
3849
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3850
+  (0.2ms) SAVEPOINT active_record_1
3851
+ SQL (0.6ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 14:58:45.557686"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.557686"]]
3852
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3853
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3854
+  (0.6ms) rollback transaction
3855
+  (0.1ms) begin transaction
3856
+  (0.1ms) SAVEPOINT active_record_1
3857
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 14:58:45.575957"], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.575957"]]
3858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3859
+  (0.1ms) SAVEPOINT active_record_1
3860
+ SQL (0.3ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2014-12-19 14:58:45.581398"]]
3861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3862
+  (0.9ms) rollback transaction
3863
+  (0.1ms) begin transaction
3864
+  (0.1ms) SAVEPOINT active_record_1
3865
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 14:58:45.590013"], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.590013"]]
3866
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3867
+  (0.1ms) SAVEPOINT active_record_1
3868
+ SQL (0.2ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2014-12-19 14:58:45.593621"]]
3869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3870
+ PuntoPagosRails::Transaction Load (0.2ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
3871
+  (0.5ms) rollback transaction
3872
+  (0.1ms) begin transaction
3873
+  (0.1ms) SAVEPOINT active_record_1
3874
+ SQL (0.7ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 14:58:45.668727"], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.668727"]]
3875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3876
+ SQL (0.2ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'rejected' WHERE "punto_pagos_rails_transactions"."id" = 1
3877
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
3878
+  (0.4ms) rollback transaction
3879
+  (0.0ms) begin transaction
3880
+  (0.0ms) SAVEPOINT active_record_1
3881
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 14:58:45.676315"], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.676315"]]
3882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3883
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'completed' WHERE "punto_pagos_rails_transactions"."id" = 1
3884
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
3885
+  (0.4ms) rollback transaction
3886
+  (0.1ms) begin transaction
3887
+  (0.1ms) SAVEPOINT active_record_1
3888
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 14:58:45.682879"], ["state", "pending"], ["updated_at", "2014-12-19 14:58:45.682879"]]
3889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3890
+  (0.1ms) SAVEPOINT active_record_1
3891
+ SQL (0.2ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "rejected"], ["updated_at", "2014-12-19 14:58:45.686097"]]
3892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3893
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
3894
+  (0.6ms) rollback transaction
3895
+  (0.1ms) begin transaction
3896
+  (0.1ms) rollback transaction
3897
+  (0.0ms) begin transaction
3898
+  (0.0ms) rollback transaction
3899
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3900
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3901
+  (0.1ms) begin transaction
3902
+  (0.1ms) rollback transaction
3903
+  (0.0ms) begin transaction
3904
+  (0.1ms) SAVEPOINT active_record_1
3905
+ SQL (0.8ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:05:53.159019"], ["updated_at", "2014-12-19 15:05:53.159019"]]
3906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3907
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3908
+  (0.2ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
3909
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3910
+  (0.0ms) SAVEPOINT active_record_1
3911
+ SQL (1.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:05:53.206151"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.206151"]]
3912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3913
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3914
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3915
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
3916
+  (1.1ms) rollback transaction
3917
+  (0.2ms) begin transaction
3918
+  (0.2ms) SAVEPOINT active_record_1
3919
+ SQL (0.4ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:05:53.232136"], ["updated_at", "2014-12-19 15:05:53.232136"]]
3920
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3921
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3922
+  (0.1ms) SAVEPOINT active_record_1
3923
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:05:53.237012"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.237012"]]
3924
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3925
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3926
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
3927
+  (0.1ms) SAVEPOINT active_record_1
3928
+ SQL (0.6ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 15:05:53.249186"]]
3929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3930
+  (0.7ms) rollback transaction
3931
+  (0.1ms) begin transaction
3932
+  (0.1ms) SAVEPOINT active_record_1
3933
+ SQL (0.6ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:05:53.256903"], ["updated_at", "2014-12-19 15:05:53.256903"]]
3934
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3935
+ Ticket Load (1.6ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3936
+  (0.1ms) SAVEPOINT active_record_1
3937
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:05:53.266622"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.266622"]]
3938
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3939
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3940
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
3941
+  (0.0ms) SAVEPOINT active_record_1
3942
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 15:05:53.270839"]]
3943
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3944
+  (1.1ms) rollback transaction
3945
+  (0.2ms) begin transaction
3946
+  (0.1ms) SAVEPOINT active_record_1
3947
+ SQL (0.5ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:05:53.277642"], ["updated_at", "2014-12-19 15:05:53.277642"]]
3948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3949
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3950
+  (0.1ms) SAVEPOINT active_record_1
3951
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:05:53.281388"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.281388"]]
3952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3953
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3954
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
3955
+  (0.0ms) SAVEPOINT active_record_1
3956
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 15:05:53.283976"]]
3957
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3958
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? ORDER BY "punto_pagos_rails_transactions"."id" DESC LIMIT 1 [["resource_id", 1]]
3959
+  (0.6ms) rollback transaction
3960
+  (0.2ms) begin transaction
3961
+  (1.0ms) SAVEPOINT active_record_1
3962
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:05:53.298253"], ["updated_at", "2014-12-19 15:05:53.298253"]]
3963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3964
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3965
+  (0.1ms) SAVEPOINT active_record_1
3966
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:05:53.311930"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.311930"]]
3967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3968
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3969
+  (0.6ms) rollback transaction
3970
+  (0.0ms) begin transaction
3971
+  (0.1ms) SAVEPOINT active_record_1
3972
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:05:53.316541"], ["state", "pending"], ["token", "REPEATED_TOKEN"], ["updated_at", "2014-12-19 15:05:53.316541"]]
3973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3974
+  (0.0ms) SAVEPOINT active_record_1
3975
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:05:53.318144"], ["updated_at", "2014-12-19 15:05:53.318144"]]
3976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3977
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3978
+  (0.1ms) SAVEPOINT active_record_1
3979
+ SQL (0.1ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:05:53.321498"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.321498"]]
3980
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3981
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3982
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'REPEATED_TOKEN'
3983
+  (0.6ms) rollback transaction
3984
+  (0.1ms) begin transaction
3985
+  (0.1ms) SAVEPOINT active_record_1
3986
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:05:53.327396"], ["updated_at", "2014-12-19 15:05:53.327396"]]
3987
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3988
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3989
+  (0.1ms) SAVEPOINT active_record_1
3990
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:05:53.331265"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.331265"]]
3991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3992
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
3993
+  (0.7ms) rollback transaction
3994
+  (0.1ms) begin transaction
3995
+  (0.1ms) SAVEPOINT active_record_1
3996
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:05:53.336673"], ["updated_at", "2014-12-19 15:05:53.336673"]]
3997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3998
+  (0.1ms) SAVEPOINT active_record_1
3999
+ SQL (0.5ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:05:53.339273"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.339273"]]
4000
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4001
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4002
+  (0.6ms) rollback transaction
4003
+  (0.1ms) begin transaction
4004
+  (0.1ms) SAVEPOINT active_record_1
4005
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 15:05:53.414425"], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.414425"]]
4006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4007
+  (0.1ms) SAVEPOINT active_record_1
4008
+ SQL (0.3ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2014-12-19 15:05:53.416863"]]
4009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4010
+  (0.6ms) rollback transaction
4011
+  (0.1ms) begin transaction
4012
+  (0.1ms) SAVEPOINT active_record_1
4013
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 15:05:53.423055"], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.423055"]]
4014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4015
+  (0.1ms) SAVEPOINT active_record_1
4016
+ SQL (0.3ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2014-12-19 15:05:53.425424"]]
4017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4018
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4019
+  (0.7ms) rollback transaction
4020
+  (0.1ms) begin transaction
4021
+  (0.1ms) SAVEPOINT active_record_1
4022
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 15:05:53.431243"], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.431243"]]
4023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4024
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'rejected' WHERE "punto_pagos_rails_transactions"."id" = 1
4025
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4026
+  (0.4ms) rollback transaction
4027
+  (0.1ms) begin transaction
4028
+  (0.1ms) SAVEPOINT active_record_1
4029
+ SQL (0.5ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 15:05:53.437510"], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.437510"]]
4030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4031
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'completed' WHERE "punto_pagos_rails_transactions"."id" = 1
4032
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4033
+  (0.4ms) rollback transaction
4034
+  (0.0ms) begin transaction
4035
+  (0.0ms) SAVEPOINT active_record_1
4036
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 15:05:53.444134"], ["state", "pending"], ["updated_at", "2014-12-19 15:05:53.444134"]]
4037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4038
+  (0.1ms) SAVEPOINT active_record_1
4039
+ SQL (0.6ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "rejected"], ["updated_at", "2014-12-19 15:05:53.446972"]]
4040
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4041
+ PuntoPagosRails::Transaction Load (0.5ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4042
+  (12.7ms) rollback transaction
4043
+  (0.1ms) begin transaction
4044
+  (0.1ms) rollback transaction
4045
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4046
+  (0.1ms) begin transaction
4047
+  (0.1ms) SAVEPOINT active_record_1
4048
+ SQL (1.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 15:18:37.045914"], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.045914"]]
4049
+  (0.4ms) RELEASE SAVEPOINT active_record_1
4050
+  (0.1ms) SAVEPOINT active_record_1
4051
+ SQL (1.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2014-12-19 15:18:37.057442"]]
4052
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4053
+  (2.5ms) rollback transaction
4054
+  (0.1ms) begin transaction
4055
+  (0.1ms) SAVEPOINT active_record_1
4056
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 15:18:37.068489"], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.068489"]]
4057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4058
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'rejected' WHERE "punto_pagos_rails_transactions"."id" = 1
4059
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4060
+  (0.4ms) rollback transaction
4061
+  (0.0ms) begin transaction
4062
+  (0.1ms) SAVEPOINT active_record_1
4063
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 15:18:37.078185"], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.078185"]]
4064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4065
+  (0.1ms) SAVEPOINT active_record_1
4066
+ SQL (0.3ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2014-12-19 15:18:37.080601"]]
4067
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4068
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4069
+  (0.6ms) rollback transaction
4070
+  (0.0ms) begin transaction
4071
+  (0.1ms) SAVEPOINT active_record_1
4072
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 15:18:37.086095"], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.086095"]]
4073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4074
+  (0.1ms) SAVEPOINT active_record_1
4075
+ SQL (0.2ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "rejected"], ["updated_at", "2014-12-19 15:18:37.088332"]]
4076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4077
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4078
+  (0.7ms) rollback transaction
4079
+  (0.1ms) begin transaction
4080
+  (0.0ms) SAVEPOINT active_record_1
4081
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 15:18:37.093159"], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.093159"]]
4082
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4083
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'completed' WHERE "punto_pagos_rails_transactions"."id" = 1
4084
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4085
+  (0.4ms) rollback transaction
4086
+  (0.1ms) begin transaction
4087
+  (0.1ms) SAVEPOINT active_record_1
4088
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:18:37.105157"], ["updated_at", "2014-12-19 15:18:37.105157"]]
4089
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4090
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4091
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
4092
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4093
+  (0.1ms) SAVEPOINT active_record_1
4094
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:18:37.125997"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.125997"]]
4095
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4096
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4097
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4098
+  (0.0ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
4099
+  (0.7ms) rollback transaction
4100
+  (0.1ms) begin transaction
4101
+  (0.1ms) SAVEPOINT active_record_1
4102
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:18:37.140209"], ["updated_at", "2014-12-19 15:18:37.140209"]]
4103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4104
+  (0.1ms) SAVEPOINT active_record_1
4105
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:18:37.143265"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.143265"]]
4106
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4107
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4108
+  (0.7ms) rollback transaction
4109
+  (0.0ms) begin transaction
4110
+  (0.1ms) SAVEPOINT active_record_1
4111
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:18:37.149491"], ["updated_at", "2014-12-19 15:18:37.149491"]]
4112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4113
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4114
+  (0.0ms) SAVEPOINT active_record_1
4115
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:18:37.187520"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.187520"]]
4116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4117
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4118
+  (0.5ms) rollback transaction
4119
+  (0.1ms) begin transaction
4120
+  (0.3ms) SAVEPOINT active_record_1
4121
+ SQL (1.5ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:18:37.195715"], ["state", "pending"], ["token", "REPEATED_TOKEN"], ["updated_at", "2014-12-19 15:18:37.195715"]]
4122
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4123
+  (0.5ms) SAVEPOINT active_record_1
4124
+ SQL (0.8ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:18:37.203529"], ["updated_at", "2014-12-19 15:18:37.203529"]]
4125
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4126
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4127
+  (0.1ms) SAVEPOINT active_record_1
4128
+ SQL (0.1ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:18:37.210090"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.210090"]]
4129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4130
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4131
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'REPEATED_TOKEN'
4132
+  (0.7ms) rollback transaction
4133
+  (0.4ms) begin transaction
4134
+  (0.1ms) SAVEPOINT active_record_1
4135
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:18:37.224284"], ["updated_at", "2014-12-19 15:18:37.224284"]]
4136
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4137
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4138
+  (0.1ms) SAVEPOINT active_record_1
4139
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:18:37.229740"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.229740"]]
4140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4141
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4142
+  (0.7ms) rollback transaction
4143
+  (0.1ms) begin transaction
4144
+  (0.2ms) SAVEPOINT active_record_1
4145
+ SQL (0.4ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:18:37.238955"], ["updated_at", "2014-12-19 15:18:37.238955"]]
4146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4147
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4148
+  (0.1ms) SAVEPOINT active_record_1
4149
+ SQL (1.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:18:37.244722"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.244722"]]
4150
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4151
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4152
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4153
+  (0.0ms) SAVEPOINT active_record_1
4154
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 15:18:37.251081"]]
4155
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4156
+  (0.6ms) rollback transaction
4157
+  (0.1ms) begin transaction
4158
+  (0.0ms) SAVEPOINT active_record_1
4159
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:18:37.254699"], ["updated_at", "2014-12-19 15:18:37.254699"]]
4160
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4161
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4162
+  (0.0ms) SAVEPOINT active_record_1
4163
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:18:37.257038"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.257038"]]
4164
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4165
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4166
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4167
+  (0.0ms) SAVEPOINT active_record_1
4168
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 15:18:37.260107"]]
4169
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4170
+ PuntoPagosRails::Transaction Load (1.4ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? ORDER BY "punto_pagos_rails_transactions"."id" DESC LIMIT 1 [["resource_id", 1]]
4171
+  (2.5ms) rollback transaction
4172
+  (0.1ms) begin transaction
4173
+  (0.1ms) SAVEPOINT active_record_1
4174
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 15:18:37.271058"], ["updated_at", "2014-12-19 15:18:37.271058"]]
4175
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4176
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4177
+  (0.0ms) SAVEPOINT active_record_1
4178
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 15:18:37.274107"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 15:18:37.274107"]]
4179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4180
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4181
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4182
+  (0.0ms) SAVEPOINT active_record_1
4183
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 15:18:37.276131"]]
4184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4185
+  (0.8ms) rollback transaction
4186
+  (0.1ms) begin transaction
4187
+  (0.1ms) rollback transaction
4188
+  (0.1ms) begin transaction
4189
+  (0.2ms) rollback transaction
4190
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4191
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4192
+  (0.1ms) begin transaction
4193
+  (0.1ms) rollback transaction
4194
+  (0.1ms) begin transaction
4195
+  (0.1ms) SAVEPOINT active_record_1
4196
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 16:10:48.539794"], ["updated_at", "2014-12-19 16:10:48.539794"]]
4197
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4198
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4199
+  (0.4ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
4200
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4201
+  (0.0ms) SAVEPOINT active_record_1
4202
+ SQL (0.9ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 16:10:48.554058"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.554058"]]
4203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4204
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4205
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4206
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
4207
+  (1.3ms) rollback transaction
4208
+  (0.1ms) begin transaction
4209
+  (0.1ms) SAVEPOINT active_record_1
4210
+ SQL (0.4ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 16:10:48.567621"], ["updated_at", "2014-12-19 16:10:48.567621"]]
4211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4212
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4213
+  (0.1ms) SAVEPOINT active_record_1
4214
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 16:10:48.570677"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.570677"]]
4215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4216
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4217
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4218
+  (0.0ms) SAVEPOINT active_record_1
4219
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 16:10:48.576263"]]
4220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4221
+ PuntoPagosRails::Transaction Load (0.2ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? ORDER BY "punto_pagos_rails_transactions"."id" DESC LIMIT 1 [["resource_id", 1]]
4222
+  (0.7ms) rollback transaction
4223
+  (0.1ms) begin transaction
4224
+  (0.0ms) SAVEPOINT active_record_1
4225
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 16:10:48.583573"], ["updated_at", "2014-12-19 16:10:48.583573"]]
4226
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4227
+ Ticket Load (0.6ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4228
+  (0.1ms) SAVEPOINT active_record_1
4229
+ SQL (0.6ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 16:10:48.595448"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.595448"]]
4230
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4231
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4232
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4233
+  (0.0ms) SAVEPOINT active_record_1
4234
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 16:10:48.598951"]]
4235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4236
+  (0.7ms) rollback transaction
4237
+  (0.1ms) begin transaction
4238
+  (0.1ms) SAVEPOINT active_record_1
4239
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 16:10:48.603304"], ["updated_at", "2014-12-19 16:10:48.603304"]]
4240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4241
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4242
+  (0.0ms) SAVEPOINT active_record_1
4243
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 16:10:48.605539"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.605539"]]
4244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4245
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4246
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4247
+  (0.0ms) SAVEPOINT active_record_1
4248
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2014-12-19 16:10:48.607798"]]
4249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4250
+  (0.7ms) rollback transaction
4251
+  (0.0ms) begin transaction
4252
+  (0.1ms) SAVEPOINT active_record_1
4253
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 16:10:48.612074"], ["updated_at", "2014-12-19 16:10:48.612074"]]
4254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4255
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4256
+  (0.0ms) SAVEPOINT active_record_1
4257
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 16:10:48.614993"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.614993"]]
4258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4259
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4260
+  (0.7ms) rollback transaction
4261
+  (0.1ms) begin transaction
4262
+  (0.1ms) SAVEPOINT active_record_1
4263
+ SQL (0.7ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 16:10:48.619983"], ["state", "pending"], ["token", "REPEATED_TOKEN"], ["updated_at", "2014-12-19 16:10:48.619983"]]
4264
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4265
+  (0.1ms) SAVEPOINT active_record_1
4266
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 16:10:48.623726"], ["updated_at", "2014-12-19 16:10:48.623726"]]
4267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4268
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4269
+  (0.1ms) SAVEPOINT active_record_1
4270
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 16:10:48.627243"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.627243"]]
4271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4272
+ Ticket Load (0.2ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4273
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'REPEATED_TOKEN'
4274
+  (1.0ms) rollback transaction
4275
+  (0.1ms) begin transaction
4276
+  (0.1ms) SAVEPOINT active_record_1
4277
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 16:10:48.635219"], ["updated_at", "2014-12-19 16:10:48.635219"]]
4278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4279
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4280
+  (0.1ms) SAVEPOINT active_record_1
4281
+ SQL (0.6ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 16:10:48.640809"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.640809"]]
4282
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4283
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4284
+  (0.7ms) rollback transaction
4285
+  (0.1ms) begin transaction
4286
+  (0.1ms) SAVEPOINT active_record_1
4287
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2014-12-19 16:10:48.649552"], ["updated_at", "2014-12-19 16:10:48.649552"]]
4288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4289
+  (0.1ms) SAVEPOINT active_record_1
4290
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-19 16:10:48.653330"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.653330"]]
4291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4292
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4293
+  (0.7ms) rollback transaction
4294
+  (0.1ms) begin transaction
4295
+  (0.1ms) SAVEPOINT active_record_1
4296
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 16:10:48.704048"], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.704048"]]
4297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4298
+  (0.0ms) SAVEPOINT active_record_1
4299
+ SQL (0.2ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2014-12-19 16:10:48.706195"]]
4300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4301
+  (0.8ms) rollback transaction
4302
+  (0.1ms) begin transaction
4303
+  (0.1ms) SAVEPOINT active_record_1
4304
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 16:10:48.711559"], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.711559"]]
4305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4306
+  (0.0ms) SAVEPOINT active_record_1
4307
+ SQL (0.3ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "rejected"], ["updated_at", "2014-12-19 16:10:48.713924"]]
4308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4309
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4310
+  (0.6ms) rollback transaction
4311
+  (0.0ms) begin transaction
4312
+  (0.1ms) SAVEPOINT active_record_1
4313
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 16:10:48.719684"], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.719684"]]
4314
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4315
+  (0.1ms) SAVEPOINT active_record_1
4316
+ SQL (0.2ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2014-12-19 16:10:48.721889"]]
4317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4318
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4319
+  (0.6ms) rollback transaction
4320
+  (0.0ms) begin transaction
4321
+  (0.0ms) SAVEPOINT active_record_1
4322
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 16:10:48.726837"], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.726837"]]
4323
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4324
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'completed' WHERE "punto_pagos_rails_transactions"."id" = 1
4325
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4326
+  (0.4ms) rollback transaction
4327
+  (0.1ms) begin transaction
4328
+  (0.1ms) SAVEPOINT active_record_1
4329
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-19 16:10:48.734077"], ["state", "pending"], ["updated_at", "2014-12-19 16:10:48.734077"]]
4330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4331
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'rejected' WHERE "punto_pagos_rails_transactions"."id" = 1
4332
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4333
+  (0.4ms) rollback transaction
4334
+  (0.1ms) begin transaction
4335
+  (0.0ms) rollback transaction
4336
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
4337
+  (0.1ms) begin transaction
4338
+  (0.1ms) SAVEPOINT active_record_1
4339
+ SQL (7.6ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 17:08:37.364841"], ["updated_at", "2015-06-12 17:08:37.364841"]]
4340
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4341
+ Ticket Load (0.2ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4342
+  (0.4ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
4343
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4344
+  (0.1ms) SAVEPOINT active_record_1
4345
+ SQL (8.5ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 17:08:37.412120"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.412120"]]
4346
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4347
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4348
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4349
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
4350
+  (1.3ms) rollback transaction
4351
+  (0.1ms) begin transaction
4352
+  (0.1ms) SAVEPOINT active_record_1
4353
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 17:08:37.453522"], ["updated_at", "2015-06-12 17:08:37.453522"]]
4354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4355
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4356
+  (0.1ms) SAVEPOINT active_record_1
4357
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 17:08:37.457962"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.457962"]]
4358
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4359
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4360
+  (0.2ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4361
+  (0.1ms) SAVEPOINT active_record_1
4362
+ SQL (0.2ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2015-06-12 17:08:37.474183"]]
4363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4364
+  (2.4ms) rollback transaction
4365
+  (0.1ms) begin transaction
4366
+  (0.1ms) SAVEPOINT active_record_1
4367
+ SQL (0.9ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 17:08:37.484186"], ["updated_at", "2015-06-12 17:08:37.484186"]]
4368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4369
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4370
+  (0.1ms) SAVEPOINT active_record_1
4371
+ SQL (0.5ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 17:08:37.489218"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.489218"]]
4372
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4373
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4374
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4375
+  (0.1ms) SAVEPOINT active_record_1
4376
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2015-06-12 17:08:37.498485"]]
4377
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4378
+ PuntoPagosRails::Transaction Load (0.2ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? ORDER BY "punto_pagos_rails_transactions"."id" DESC LIMIT 1 [["resource_id", 1]]
4379
+  (11.6ms) rollback transaction
4380
+  (0.3ms) begin transaction
4381
+  (0.2ms) SAVEPOINT active_record_1
4382
+ SQL (0.4ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 17:08:37.521945"], ["updated_at", "2015-06-12 17:08:37.521945"]]
4383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4384
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4385
+  (0.1ms) SAVEPOINT active_record_1
4386
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 17:08:37.529806"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.529806"]]
4387
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4388
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4389
+  (0.2ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4390
+  (0.1ms) SAVEPOINT active_record_1
4391
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2015-06-12 17:08:37.534761"]]
4392
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4393
+  (0.6ms) rollback transaction
4394
+  (0.1ms) begin transaction
4395
+  (0.1ms) SAVEPOINT active_record_1
4396
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 17:08:37.541833"], ["updated_at", "2015-06-12 17:08:37.541833"]]
4397
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4398
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4399
+  (0.2ms) SAVEPOINT active_record_1
4400
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 17:08:37.546896"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.546896"]]
4401
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4402
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4403
+  (0.7ms) rollback transaction
4404
+  (0.1ms) begin transaction
4405
+  (0.1ms) SAVEPOINT active_record_1
4406
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 17:08:37.564831"], ["state", "pending"], ["token", "REPEATED_TOKEN"], ["updated_at", "2015-06-12 17:08:37.564831"]]
4407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4408
+  (0.1ms) SAVEPOINT active_record_1
4409
+ SQL (0.5ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 17:08:37.567982"], ["updated_at", "2015-06-12 17:08:37.567982"]]
4410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4411
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4412
+  (0.1ms) SAVEPOINT active_record_1
4413
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 17:08:37.572846"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.572846"]]
4414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4415
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4416
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'REPEATED_TOKEN'
4417
+  (0.6ms) rollback transaction
4418
+  (0.1ms) begin transaction
4419
+  (0.4ms) SAVEPOINT active_record_1
4420
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 17:08:37.598184"], ["updated_at", "2015-06-12 17:08:37.598184"]]
4421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4422
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4423
+  (0.1ms) SAVEPOINT active_record_1
4424
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 17:08:37.606826"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.606826"]]
4425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4426
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4427
+  (3.6ms) rollback transaction
4428
+  (0.1ms) begin transaction
4429
+  (0.1ms) SAVEPOINT active_record_1
4430
+ SQL (0.4ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 17:08:37.617234"], ["updated_at", "2015-06-12 17:08:37.617234"]]
4431
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4432
+  (0.1ms) SAVEPOINT active_record_1
4433
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 17:08:37.621940"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.621940"]]
4434
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4435
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4436
+  (2.5ms) rollback transaction
4437
+  (0.1ms) begin transaction
4438
+  (0.1ms) SAVEPOINT active_record_1
4439
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-06-12 17:08:37.634798"], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.634798"]]
4440
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4441
+  (0.1ms) SAVEPOINT active_record_1
4442
+ SQL (0.5ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2015-06-12 17:08:37.638148"]]
4443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4444
+  (5.4ms) rollback transaction
4445
+  (0.2ms) begin transaction
4446
+  (0.1ms) SAVEPOINT active_record_1
4447
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-06-12 17:08:37.662943"], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.662943"]]
4448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4449
+  (0.1ms) SAVEPOINT active_record_1
4450
+ SQL (0.4ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2015-06-12 17:08:37.666735"]]
4451
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4452
+ PuntoPagosRails::Transaction Load (0.2ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4453
+  (1.0ms) rollback transaction
4454
+  (0.1ms) begin transaction
4455
+  (0.1ms) SAVEPOINT active_record_1
4456
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-06-12 17:08:37.675237"], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.675237"]]
4457
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4458
+  (15.5ms) SAVEPOINT active_record_1
4459
+ SQL (0.4ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "rejected"], ["updated_at", "2015-06-12 17:08:37.698024"]]
4460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4461
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4462
+  (0.6ms) rollback transaction
4463
+  (0.1ms) begin transaction
4464
+  (0.1ms) SAVEPOINT active_record_1
4465
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-06-12 17:08:37.705152"], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.705152"]]
4466
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4467
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'completed' WHERE "punto_pagos_rails_transactions"."id" = 1
4468
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4469
+  (1.7ms) rollback transaction
4470
+  (0.3ms) begin transaction
4471
+  (0.1ms) SAVEPOINT active_record_1
4472
+ SQL (0.5ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-06-12 17:08:37.725489"], ["state", "pending"], ["updated_at", "2015-06-12 17:08:37.725489"]]
4473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4474
+ SQL (0.4ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'rejected' WHERE "punto_pagos_rails_transactions"."id" = 1
4475
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4476
+  (1.7ms) rollback transaction
4477
+  (0.1ms) begin transaction
4478
+  (0.1ms) rollback transaction
4479
+  (0.1ms) begin transaction
4480
+  (0.1ms) rollback transaction
4481
+  (0.3ms) begin transaction
4482
+  (0.1ms) rollback transaction
4483
+  (0.1ms) begin transaction
4484
+  (0.1ms) SAVEPOINT active_record_1
4485
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-06-12 18:06:48.538063"], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.538063"]]
4486
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4487
+  (0.0ms) SAVEPOINT active_record_1
4488
+ SQL (1.0ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2015-06-12 18:06:48.542422"]]
4489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4490
+  (0.5ms) rollback transaction
4491
+  (0.1ms) begin transaction
4492
+  (0.1ms) SAVEPOINT active_record_1
4493
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-06-12 18:06:48.549027"], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.549027"]]
4494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4495
+  (0.0ms) SAVEPOINT active_record_1
4496
+ SQL (0.2ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "completed"], ["updated_at", "2015-06-12 18:06:48.551096"]]
4497
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4498
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4499
+  (0.5ms) rollback transaction
4500
+  (0.0ms) begin transaction
4501
+  (0.1ms) SAVEPOINT active_record_1
4502
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-06-12 18:06:48.559442"], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.559442"]]
4503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4504
+  (0.1ms) SAVEPOINT active_record_1
4505
+ SQL (0.2ms) UPDATE "punto_pagos_rails_transactions" SET "state" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["state", "rejected"], ["updated_at", "2015-06-12 18:06:48.561608"]]
4506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4507
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4508
+  (0.6ms) rollback transaction
4509
+  (0.0ms) begin transaction
4510
+  (0.1ms) SAVEPOINT active_record_1
4511
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-06-12 18:06:48.566620"], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.566620"]]
4512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4513
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'rejected' WHERE "punto_pagos_rails_transactions"."id" = 1
4514
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4515
+  (2.3ms) rollback transaction
4516
+  (0.1ms) begin transaction
4517
+  (0.1ms) SAVEPOINT active_record_1
4518
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "updated_at") VALUES (?, ?, ?) [["created_at", "2015-06-12 18:06:48.579215"], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.579215"]]
4519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4520
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "state" = 'completed' WHERE "punto_pagos_rails_transactions"."id" = 1
4521
+ PuntoPagosRails::Transaction Load (0.0ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."id" = ? LIMIT 1 [["id", 1]]
4522
+  (0.4ms) rollback transaction
4523
+  (0.1ms) begin transaction
4524
+  (0.1ms) SAVEPOINT active_record_1
4525
+ SQL (1.1ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 18:06:48.595543"], ["updated_at", "2015-06-12 18:06:48.595543"]]
4526
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4527
+ Ticket Load (0.4ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4528
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
4529
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4530
+  (0.0ms) SAVEPOINT active_record_1
4531
+ SQL (0.3ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 18:06:48.614664"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.614664"]]
4532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4533
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4534
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4535
+  (0.0ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? [["resource_id", 1]]
4536
+  (0.5ms) rollback transaction
4537
+  (0.0ms) begin transaction
4538
+  (0.1ms) SAVEPOINT active_record_1
4539
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 18:06:48.626730"], ["updated_at", "2015-06-12 18:06:48.626730"]]
4540
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4541
+  (0.0ms) SAVEPOINT active_record_1
4542
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 18:06:48.629022"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.629022"]]
4543
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4544
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4545
+  (0.5ms) rollback transaction
4546
+  (0.1ms) begin transaction
4547
+  (0.1ms) SAVEPOINT active_record_1
4548
+ SQL (0.3ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 18:06:48.634828"], ["updated_at", "2015-06-12 18:06:48.634828"]]
4549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4550
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4551
+  (0.0ms) SAVEPOINT active_record_1
4552
+ SQL (0.4ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 18:06:48.637905"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.637905"]]
4553
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4554
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4555
+  (0.7ms) rollback transaction
4556
+  (0.1ms) begin transaction
4557
+  (0.1ms) SAVEPOINT active_record_1
4558
+ SQL (1.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "state", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 18:06:48.644759"], ["state", "pending"], ["token", "REPEATED_TOKEN"], ["updated_at", "2015-06-12 18:06:48.644759"]]
4559
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4560
+  (0.2ms) SAVEPOINT active_record_1
4561
+ SQL (0.8ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 18:06:48.651622"], ["updated_at", "2015-06-12 18:06:48.651622"]]
4562
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4563
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4564
+  (0.0ms) SAVEPOINT active_record_1
4565
+ SQL (0.1ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 18:06:48.656834"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.656834"]]
4566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4567
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4568
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'REPEATED_TOKEN'
4569
+  (0.6ms) rollback transaction
4570
+  (0.1ms) begin transaction
4571
+  (0.1ms) SAVEPOINT active_record_1
4572
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 18:06:48.661908"], ["updated_at", "2015-06-12 18:06:48.661908"]]
4573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4574
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4575
+  (0.1ms) SAVEPOINT active_record_1
4576
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 18:06:48.664370"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.664370"]]
4577
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4578
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4579
+  (0.5ms) rollback transaction
4580
+  (0.1ms) begin transaction
4581
+  (0.1ms) SAVEPOINT active_record_1
4582
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 18:06:48.668717"], ["updated_at", "2015-06-12 18:06:48.668717"]]
4583
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4584
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4585
+  (0.0ms) SAVEPOINT active_record_1
4586
+ SQL (0.2ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 18:06:48.671080"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.671080"]]
4587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4588
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4589
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4590
+  (0.0ms) SAVEPOINT active_record_1
4591
+ SQL (0.1ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2015-06-12 18:06:48.676238"]]
4592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4593
+ PuntoPagosRails::Transaction Load (0.1ms) SELECT "punto_pagos_rails_transactions".* FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."resource_id" = ? ORDER BY "punto_pagos_rails_transactions"."id" DESC LIMIT 1 [["resource_id", 1]]
4594
+  (0.5ms) rollback transaction
4595
+  (0.1ms) begin transaction
4596
+  (0.1ms) SAVEPOINT active_record_1
4597
+ SQL (0.2ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 18:06:48.680742"], ["updated_at", "2015-06-12 18:06:48.680742"]]
4598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4599
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4600
+  (0.1ms) SAVEPOINT active_record_1
4601
+ SQL (5.1ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 18:06:48.683587"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.683587"]]
4602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4603
+ Ticket Load (0.0ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4604
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4605
+  (0.0ms) SAVEPOINT active_record_1
4606
+ SQL (0.0ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2015-06-12 18:06:48.691272"]]
4607
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4608
+  (0.5ms) rollback transaction
4609
+  (0.1ms) begin transaction
4610
+  (0.1ms) SAVEPOINT active_record_1
4611
+ SQL (0.6ms) INSERT INTO "tickets" ("amount", "created_at", "updated_at") VALUES (?, ?, ?) [["amount", 22], ["created_at", "2015-06-12 18:06:48.694585"], ["updated_at", "2015-06-12 18:06:48.694585"]]
4612
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4613
+ Ticket Load (0.2ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4614
+  (0.1ms) SAVEPOINT active_record_1
4615
+ SQL (0.6ms) INSERT INTO "punto_pagos_rails_transactions" ("created_at", "resource_id", "state", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-06-12 18:06:48.701960"], ["resource_id", 1], ["state", "pending"], ["updated_at", "2015-06-12 18:06:48.701960"]]
4616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4617
+ Ticket Load (0.1ms) SELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = ? LIMIT 1 [["id", 1]]
4618
+  (0.1ms) SELECT COUNT(*) FROM "punto_pagos_rails_transactions" WHERE "punto_pagos_rails_transactions"."token" = 'XXXXX'
4619
+  (0.0ms) SAVEPOINT active_record_1
4620
+ SQL (0.0ms) UPDATE "punto_pagos_rails_transactions" SET "amount" = ?, "token" = ?, "updated_at" = ? WHERE "punto_pagos_rails_transactions"."id" = 1 [["amount", 22], ["token", "XXXXX"], ["updated_at", "2015-06-12 18:06:48.706963"]]
4621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4622
+  (0.5ms) rollback transaction
4623
+  (0.1ms) begin transaction
4624
+  (0.0ms) rollback transaction
@@ -77,7 +77,7 @@ RSpec.describe TransactionService do
77
77
  allow(Ticket).to receive(:find).with(ticket.id).and_return(ticket)
78
78
  service.create
79
79
  expect(ticket.errors[:base]).to include(
80
- I18n.t("activerecord.errors.models.ticket.attributes.base.invalid_puntopagos_response"))
80
+ I18n.t("punto_pagos_rails.errors.invalid_puntopagos_response"))
81
81
  end
82
82
 
83
83
  end
data/spec/rails_helper.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  ENV["RAILS_ENV"] ||= 'test'
2
2
 
3
+ require File.expand_path("../dummy/config/environment", __FILE__)
3
4
  require 'rspec/rails'
4
5
  require 'spec_helper'
5
- require File.expand_path("../dummy/config/environment", __FILE__)
6
6
  require 'factory_girl_rails'
7
7
  require 'shoulda-matchers'
8
8
 
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: punto_pagos_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Segovia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-19 00:00:00.000000000 Z
11
+ date: 2015-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - '>'
18
18
  - !ruby/object:Gem::Version
19
- version: 4.1.6
19
+ version: '4.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - '>'
25
25
  - !ruby/object:Gem::Version
26
- version: 4.1.6
26
+ version: '4.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: puntopagos
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,32 +38,18 @@ dependencies:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.2.3
41
- - !ruby/object:Gem::Dependency
42
- name: enumerize
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '='
46
- - !ruby/object:Gem::Version
47
- version: 0.8.0
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '='
53
- - !ruby/object:Gem::Version
54
- version: 0.8.0
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: aasm
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ~>
45
+ - - '>'
60
46
  - !ruby/object:Gem::Version
61
47
  version: 4.0.4
62
48
  type: :runtime
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ~>
52
+ - - '>'
67
53
  - !ruby/object:Gem::Version
68
54
  version: 4.0.4
69
55
  - !ruby/object:Gem::Dependency
@@ -172,6 +158,8 @@ executables: []
172
158
  extensions: []
173
159
  extra_rdoc_files: []
174
160
  files:
161
+ - MIT-LICENSE
162
+ - Rakefile
175
163
  - app/assets/javascripts/punto_pagos_rails/application.js
176
164
  - app/assets/stylesheets/punto_pagos_rails/application.css
177
165
  - app/controllers/punto_pagos_rails/application_controller.rb
@@ -183,20 +171,20 @@ files:
183
171
  - config/locales/es.yml
184
172
  - config/routes.rb
185
173
  - db/migrate/20140928003539_create_punto_pagos_rails_transactions.rb
174
+ - lib/generators/punto_pagos_rails/install/USAGE
186
175
  - lib/generators/punto_pagos_rails/install/install_generator.rb
187
176
  - lib/generators/punto_pagos_rails/install/templates/error.html.erb
188
177
  - lib/generators/punto_pagos_rails/install/templates/punto_pagos_rails.rb
189
178
  - lib/generators/punto_pagos_rails/install/templates/puntopagos.yml
190
179
  - lib/generators/punto_pagos_rails/install/templates/success.html.erb
191
- - lib/generators/punto_pagos_rails/install/USAGE
180
+ - lib/punto_pagos_rails.rb
192
181
  - lib/punto_pagos_rails/engine.rb
193
182
  - lib/punto_pagos_rails/resource_extension.rb
194
183
  - lib/punto_pagos_rails/transaction_service.rb
195
184
  - lib/punto_pagos_rails/version.rb
196
- - lib/punto_pagos_rails.rb
197
185
  - lib/tasks/punto_pagos_rails_tasks.rake
198
- - MIT-LICENSE
199
- - Rakefile
186
+ - spec/dummy/README.rdoc
187
+ - spec/dummy/Rakefile
200
188
  - spec/dummy/app/assets/javascripts/application.js
201
189
  - spec/dummy/app/assets/stylesheets/application.css
202
190
  - spec/dummy/app/controllers/application_controller.rb
@@ -210,6 +198,7 @@ files:
210
198
  - spec/dummy/bin/bundle
211
199
  - spec/dummy/bin/rails
212
200
  - spec/dummy/bin/rake
201
+ - spec/dummy/config.ru
213
202
  - spec/dummy/config/application.rb
214
203
  - spec/dummy/config/boot.rb
215
204
  - spec/dummy/config/database.yml
@@ -230,7 +219,6 @@ files:
230
219
  - spec/dummy/config/puntopagos.yml
231
220
  - spec/dummy/config/routes.rb
232
221
  - spec/dummy/config/secrets.yml
233
- - spec/dummy/config.ru
234
222
  - spec/dummy/db/development.sqlite3
235
223
  - spec/dummy/db/migrate/20141026172010_create_tickets.rb
236
224
  - spec/dummy/db/migrate/20141026172011_create_punto_pagos_rails_transactions.punto_pagos_rails.rb
@@ -242,8 +230,6 @@ files:
242
230
  - spec/dummy/public/422.html
243
231
  - spec/dummy/public/500.html
244
232
  - spec/dummy/public/favicon.ico
245
- - spec/dummy/Rakefile
246
- - spec/dummy/README.rdoc
247
233
  - spec/dummy/spec/factories/tickets.rb
248
234
  - spec/dummy/spec/lib/punto_pagos_rails/transaction_service_spec.rb
249
235
  - spec/dummy/spec/models/punto_pagos_rails/transaction_spec.rb
@@ -282,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
282
268
  version: '0'
283
269
  requirements: []
284
270
  rubyforge_project:
285
- rubygems_version: 2.0.14
271
+ rubygems_version: 2.4.8
286
272
  signing_key:
287
273
  specification_version: 4
288
274
  summary: Rails engine to manager transactions using acidlabs's puntopagos-ruby gem