spree_mercado_pago 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/services/mercado_pago/process_notification.rb +2 -1
- data/spec/dummy/log/development.log +1029 -0
- data/spec/dummy/log/test.log +20694 -0
- data/spec/dummy/tmp/cache/188/BF1/spree%2Fapp_configuration%2Fproducts_per_page +1 -0
- data/spec/dummy/tmp/cache/475/691/spree%2Fapp_configuration%2Fmax_level_in_taxons_menu +1 -0
- data/spec/dummy/tmp/cache/5EB/101/spree%2Fapp_configuration%2Fshow_products_without_price +1 -0
- data/spec/dummy/tmp/cache/D10/F70/spree%2Fapp_configuration%2Flayout +1 -0
- data/spec/dummy/tmp/cache/F01/FD0/spree%2Ffrontend_configuration%2Flocale +1 -1
- data/spec/dummy/tmp/cache/assets/development/sprockets/48222936630e2aa06c77d36ff3ff93b0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c3ebdee45c86cc5ab23365f65bc6d439 +0 -0
- data/spec/services/mercado_pago/process_notification_spec.rb +3 -1
- metadata +14 -2
@@ -0,0 +1 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418053114.8840141:@expires_in0
|
@@ -0,0 +1 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valuei:@created_atf1418053115.033409:@expires_in0
|
@@ -0,0 +1 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valueF:@created_atf1418053114.920195:@expires_in0
|
@@ -0,0 +1 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry:@valueI"$spree/layouts/spree_application:ET:@created_atf1418053114.981087:@expires_in0
|
@@ -1 +1 @@
|
|
1
|
-
o: ActiveSupport::Cache::Entry:@value0:@created_atf
|
1
|
+
o: ActiveSupport::Cache::Entry:@value0:@created_atf1418063494.0006971:@expires_in0
|
Binary file
|
Binary file
|
@@ -16,9 +16,11 @@ module MercadoPago
|
|
16
16
|
}
|
17
17
|
end
|
18
18
|
|
19
|
+
# The first payment method of this kind will be picked by the process task
|
19
20
|
before do
|
20
21
|
fake_client = double("fake_client")
|
21
|
-
|
22
|
+
fake_payment_method = double("fake_payment_method", provider: fake_client)
|
23
|
+
Spree::PaymentMethod::MercadoPago.stub(first: fake_payment_method)
|
22
24
|
fake_client.should_receive(:get_operation_info).with(operation_id).
|
23
25
|
and_return(operation_info)
|
24
26
|
payment.pend!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_mercado_pago
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Barros Reyes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|
@@ -359,6 +359,7 @@ files:
|
|
359
359
|
- spec/dummy/public/500.html
|
360
360
|
- spec/dummy/public/favicon.ico
|
361
361
|
- spec/dummy/tmp/cache/17E/D61/spree%2Fapp_configuration%2Fdefault_seo_title
|
362
|
+
- spec/dummy/tmp/cache/188/BF1/spree%2Fapp_configuration%2Fproducts_per_page
|
362
363
|
- spec/dummy/tmp/cache/2CC/B21/spree%2Fapp_configuration%2Frequire_master_price
|
363
364
|
- spec/dummy/tmp/cache/334/AA1/spree%2Fapp_configuration%2Fdefault_meta_keywords
|
364
365
|
- spec/dummy/tmp/cache/397/F31/spree%2Fapp_configuration%2Fbinary_inventory_cache
|
@@ -367,12 +368,17 @@ files:
|
|
367
368
|
- spec/dummy/tmp/cache/3B7/CD1/spree%2Fapp_configuration%2Fredirect_https_to_http
|
368
369
|
- spec/dummy/tmp/cache/3BE/851/spree%2Fapp_configuration%2Ftrack_inventory_levels
|
369
370
|
- spec/dummy/tmp/cache/460/D81/spree%2Fapp_configuration%2Fdefault_meta_description
|
371
|
+
- spec/dummy/tmp/cache/475/691/spree%2Fapp_configuration%2Fmax_level_in_taxons_menu
|
370
372
|
- spec/dummy/tmp/cache/5AE/6A1/spree%2Fapp_configuration%2Falways_include_confirm_step
|
373
|
+
- spec/dummy/tmp/cache/5EB/101/spree%2Fapp_configuration%2Fshow_products_without_price
|
374
|
+
- spec/dummy/tmp/cache/D10/F70/spree%2Fapp_configuration%2Flayout
|
371
375
|
- spec/dummy/tmp/cache/DD9/320/spree%2Fapp_configuration%2Fsite_url
|
372
376
|
- spec/dummy/tmp/cache/DDD/2D0/spree%2Fapp_configuration%2Fcurrency
|
373
377
|
- spec/dummy/tmp/cache/E27/320/spree%2Fapp_configuration%2Fsite_name
|
374
378
|
- spec/dummy/tmp/cache/E9B/7F0/spree%2Fapp_configuration%2Fmails_from
|
375
379
|
- spec/dummy/tmp/cache/F01/FD0/spree%2Ffrontend_configuration%2Flocale
|
380
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/48222936630e2aa06c77d36ff3ff93b0
|
381
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/c3ebdee45c86cc5ab23365f65bc6d439
|
376
382
|
- spec/dummy/vendor/assets/javascripts/spree/backend/all.js
|
377
383
|
- spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
|
378
384
|
- spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
|
@@ -614,6 +620,7 @@ test_files:
|
|
614
620
|
- spec/dummy/Rakefile
|
615
621
|
- spec/dummy/README.rdoc
|
616
622
|
- spec/dummy/tmp/cache/17E/D61/spree%2Fapp_configuration%2Fdefault_seo_title
|
623
|
+
- spec/dummy/tmp/cache/188/BF1/spree%2Fapp_configuration%2Fproducts_per_page
|
617
624
|
- spec/dummy/tmp/cache/2CC/B21/spree%2Fapp_configuration%2Frequire_master_price
|
618
625
|
- spec/dummy/tmp/cache/334/AA1/spree%2Fapp_configuration%2Fdefault_meta_keywords
|
619
626
|
- spec/dummy/tmp/cache/397/F31/spree%2Fapp_configuration%2Fbinary_inventory_cache
|
@@ -622,7 +629,12 @@ test_files:
|
|
622
629
|
- spec/dummy/tmp/cache/3B7/CD1/spree%2Fapp_configuration%2Fredirect_https_to_http
|
623
630
|
- spec/dummy/tmp/cache/3BE/851/spree%2Fapp_configuration%2Ftrack_inventory_levels
|
624
631
|
- spec/dummy/tmp/cache/460/D81/spree%2Fapp_configuration%2Fdefault_meta_description
|
632
|
+
- spec/dummy/tmp/cache/475/691/spree%2Fapp_configuration%2Fmax_level_in_taxons_menu
|
625
633
|
- spec/dummy/tmp/cache/5AE/6A1/spree%2Fapp_configuration%2Falways_include_confirm_step
|
634
|
+
- spec/dummy/tmp/cache/5EB/101/spree%2Fapp_configuration%2Fshow_products_without_price
|
635
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/48222936630e2aa06c77d36ff3ff93b0
|
636
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/c3ebdee45c86cc5ab23365f65bc6d439
|
637
|
+
- spec/dummy/tmp/cache/D10/F70/spree%2Fapp_configuration%2Flayout
|
626
638
|
- spec/dummy/tmp/cache/DD9/320/spree%2Fapp_configuration%2Fsite_url
|
627
639
|
- spec/dummy/tmp/cache/DDD/2D0/spree%2Fapp_configuration%2Fcurrency
|
628
640
|
- spec/dummy/tmp/cache/E27/320/spree%2Fapp_configuration%2Fsite_name
|