killbill 4.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -3
- data/Jarfile +8 -7
- data/Jarfile.lock +9 -8
- data/README.md +131 -108
- data/gen_config/api.conf +1 -1
- data/gen_config/plugin_api.conf +7 -6
- data/generators/active_merchant/templates/Jarfile.rb +7 -7
- data/generators/active_merchant/templates/plugin.gemspec.rb +2 -3
- data/killbill.gemspec +5 -2
- data/lib/killbill.rb +26 -22
- data/lib/killbill/gen/api/admin_payment_api.rb +76 -0
- data/lib/killbill/gen/api/payment_api.rb +82 -0
- data/lib/killbill/gen/api/payment_gateway_api.rb +75 -0
- data/lib/killbill/gen/api/require_gen.rb +1 -0
- data/lib/killbill/gen/plugin-api/catalog_plugin_api.rb +76 -0
- data/lib/killbill/gen/plugin-api/on_failure_payment_routing_result.rb +65 -0
- data/lib/killbill/gen/plugin-api/on_success_payment_routing_result.rb +53 -0
- data/lib/killbill/gen/plugin-api/payment_routing_api_exception.rb +51 -0
- data/lib/killbill/gen/plugin-api/payment_routing_context.rb +246 -0
- data/lib/killbill/gen/plugin-api/payment_routing_plugin_api.rb +138 -0
- data/lib/killbill/gen/plugin-api/prior_payment_routing_result.rb +107 -0
- data/lib/killbill/gen/plugin-api/require_gen.rb +9 -0
- data/lib/killbill/gen/plugin-api/standalone_plugin_catalog.rb +174 -0
- data/lib/killbill/gen/plugin-api/versioned_plugin_catalog.rb +83 -0
- data/lib/killbill/helpers/active_merchant.rb +6 -4
- data/lib/killbill/helpers/active_merchant/active_record/models/response.rb +16 -4
- data/lib/killbill/helpers/active_merchant/configuration.rb +7 -2
- data/lib/killbill/helpers/active_merchant/gateway.rb +76 -5
- data/lib/killbill/helpers/active_merchant/payment_plugin.rb +12 -8
- data/lib/killbill/helpers/catalog.rb +15 -0
- data/lib/killbill/payment_control.rb +23 -0
- data/lib/killbill/version.rb +3 -0
- data/spec/killbill/helpers/configuration_spec.rb +18 -4
- data/spec/killbill/helpers/payment_plugin_spec.rb +140 -36
- data/spec/killbill/helpers/response_spec.rb +1 -1
- metadata +49 -5
- data/VERSION +0 -1
@@ -47,7 +47,7 @@ describe Killbill::Plugin::ActiveMerchant::ActiveRecord::Response do
|
|
47
47
|
# No associated transaction
|
48
48
|
ptip.amount.should be_nil
|
49
49
|
ptip.currency.should be_nil
|
50
|
-
ptip.status.should == :
|
50
|
+
ptip.status.should == :PROCESSED
|
51
51
|
ptip.gateway_error.should == 'Message'
|
52
52
|
ptip.gateway_error_code.should be_nil
|
53
53
|
ptip.first_payment_reference_id.should be_nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: killbill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kill Bill core team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -306,7 +306,6 @@ files:
|
|
306
306
|
- NEWS
|
307
307
|
- README.md
|
308
308
|
- Rakefile
|
309
|
-
- VERSION
|
310
309
|
- gen_config/api.conf
|
311
310
|
- gen_config/plugin_api.conf
|
312
311
|
- generators/active_merchant/active_merchant_generator.rb
|
@@ -351,6 +350,7 @@ files:
|
|
351
350
|
- lib/killbill/gen/api/account_data.rb
|
352
351
|
- lib/killbill/gen/api/account_email.rb
|
353
352
|
- lib/killbill/gen/api/account_user_api.rb
|
353
|
+
- lib/killbill/gen/api/admin_payment_api.rb
|
354
354
|
- lib/killbill/gen/api/audit_log.rb
|
355
355
|
- lib/killbill/gen/api/audit_user_api.rb
|
356
356
|
- lib/killbill/gen/api/billing_exception_base.rb
|
@@ -456,17 +456,26 @@ files:
|
|
456
456
|
- lib/killbill/gen/api/usage.rb
|
457
457
|
- lib/killbill/gen/api/usage_record.rb
|
458
458
|
- lib/killbill/gen/api/usage_user_api.rb
|
459
|
+
- lib/killbill/gen/plugin-api/catalog_plugin_api.rb
|
459
460
|
- lib/killbill/gen/plugin-api/currency_plugin_api.rb
|
460
461
|
- lib/killbill/gen/plugin-api/ext_bus_event.rb
|
461
462
|
- lib/killbill/gen/plugin-api/gateway_notification.rb
|
462
463
|
- lib/killbill/gen/plugin-api/hosted_payment_page_form_descriptor.rb
|
463
464
|
- lib/killbill/gen/plugin-api/invoice_plugin_api.rb
|
464
465
|
- lib/killbill/gen/plugin-api/notification_plugin_api.rb
|
466
|
+
- lib/killbill/gen/plugin-api/on_failure_payment_routing_result.rb
|
467
|
+
- lib/killbill/gen/plugin-api/on_success_payment_routing_result.rb
|
465
468
|
- lib/killbill/gen/plugin-api/payment_method_info_plugin.rb
|
466
469
|
- lib/killbill/gen/plugin-api/payment_plugin_api.rb
|
467
470
|
- lib/killbill/gen/plugin-api/payment_plugin_api_exception.rb
|
471
|
+
- lib/killbill/gen/plugin-api/payment_routing_api_exception.rb
|
472
|
+
- lib/killbill/gen/plugin-api/payment_routing_context.rb
|
473
|
+
- lib/killbill/gen/plugin-api/payment_routing_plugin_api.rb
|
468
474
|
- lib/killbill/gen/plugin-api/payment_transaction_info_plugin.rb
|
475
|
+
- lib/killbill/gen/plugin-api/prior_payment_routing_result.rb
|
469
476
|
- lib/killbill/gen/plugin-api/require_gen.rb
|
477
|
+
- lib/killbill/gen/plugin-api/standalone_plugin_catalog.rb
|
478
|
+
- lib/killbill/gen/plugin-api/versioned_plugin_catalog.rb
|
470
479
|
- lib/killbill/helpers/active_merchant.rb
|
471
480
|
- lib/killbill/helpers/active_merchant/active_record.rb
|
472
481
|
- lib/killbill/helpers/active_merchant/active_record/active_record_helper.rb
|
@@ -484,6 +493,7 @@ files:
|
|
484
493
|
- lib/killbill/helpers/active_merchant/properties.rb
|
485
494
|
- lib/killbill/helpers/active_merchant/sinatra.rb
|
486
495
|
- lib/killbill/helpers/active_merchant/utils.rb
|
496
|
+
- lib/killbill/helpers/catalog.rb
|
487
497
|
- lib/killbill/helpers/properties_helper.rb
|
488
498
|
- lib/killbill/http_servlet.rb
|
489
499
|
- lib/killbill/invoice.rb
|
@@ -492,8 +502,10 @@ files:
|
|
492
502
|
- lib/killbill/killbill_logger.rb
|
493
503
|
- lib/killbill/notification.rb
|
494
504
|
- lib/killbill/payment.rb
|
505
|
+
- lib/killbill/payment_control.rb
|
495
506
|
- lib/killbill/plugin.rb
|
496
507
|
- lib/killbill/rake_task.rb
|
508
|
+
- lib/killbill/version.rb
|
497
509
|
- script/generate
|
498
510
|
- spec/killbill/base_plugin_spec.rb
|
499
511
|
- spec/killbill/config_test.ru
|
@@ -551,8 +563,40 @@ requirements:
|
|
551
563
|
- jar 'org.kill-bill.billing:killbill-api'
|
552
564
|
- jar 'org.kill-bill.billing:killbill-util:tests'
|
553
565
|
rubyforge_project:
|
554
|
-
rubygems_version: 2.
|
566
|
+
rubygems_version: 2.4.6
|
555
567
|
signing_key:
|
556
568
|
specification_version: 4
|
557
569
|
summary: Framework to write Kill Bill plugins in Ruby.
|
558
|
-
test_files:
|
570
|
+
test_files:
|
571
|
+
- spec/killbill/base_plugin_spec.rb
|
572
|
+
- spec/killbill/config_test.ru
|
573
|
+
- spec/killbill/gen_conversions_spec.rb
|
574
|
+
- spec/killbill/helpers/configuration_spec.rb
|
575
|
+
- spec/killbill/helpers/connection_spec.rb
|
576
|
+
- spec/killbill/helpers/killbill_spec_helper_spec.rb
|
577
|
+
- spec/killbill/helpers/payment_method_spec.rb
|
578
|
+
- spec/killbill/helpers/payment_plugin_spec.rb
|
579
|
+
- spec/killbill/helpers/private_payment_plugin_spec.rb
|
580
|
+
- spec/killbill/helpers/response_spec.rb
|
581
|
+
- spec/killbill/helpers/streamy_result_set_spec.rb
|
582
|
+
- spec/killbill/helpers/test_payment_method.rb
|
583
|
+
- spec/killbill/helpers/test_response.rb
|
584
|
+
- spec/killbill/helpers/test_schema.rb
|
585
|
+
- spec/killbill/helpers/test_transaction.rb
|
586
|
+
- spec/killbill/helpers/transaction_spec.rb
|
587
|
+
- spec/killbill/helpers/utils_spec.rb
|
588
|
+
- spec/killbill/invoice_plugin_api_spec.rb
|
589
|
+
- spec/killbill/invoice_plugin_spec.rb
|
590
|
+
- spec/killbill/invoice_test.rb
|
591
|
+
- spec/killbill/killbill_integration_spec.rb
|
592
|
+
- spec/killbill/killbill_logger_spec.rb
|
593
|
+
- spec/killbill/killbillapi_spec.rb
|
594
|
+
- spec/killbill/notification_plugin_api_spec.rb
|
595
|
+
- spec/killbill/notification_plugin_spec.rb
|
596
|
+
- spec/killbill/notification_test.rb
|
597
|
+
- spec/killbill/payment_plugin_api_spec.rb
|
598
|
+
- spec/killbill/payment_plugin_spec.rb
|
599
|
+
- spec/killbill/payment_test.rb
|
600
|
+
- spec/killbill/rack_handler_spec.rb
|
601
|
+
- spec/killbill/remote/active_merchant_typhoeus_connection_spec.rb
|
602
|
+
- spec/spec_helper.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
4.0.0
|