activemerchant 1.5.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. data/CHANGELOG +14 -0
  2. data/CONTRIBUTORS +4 -0
  3. data/lib/active_merchant.rb +1 -9
  4. data/lib/active_merchant/billing/credit_card_methods.rb +2 -2
  5. data/lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb +2 -2
  6. data/lib/active_merchant/billing/gateways/bogus.rb +12 -8
  7. data/lib/active_merchant/billing/gateways/garanti.rb +222 -0
  8. data/lib/active_merchant/billing/gateways/linkpoint.rb +1 -1
  9. data/lib/active_merchant/billing/gateways/merchant_e_solutions.rb +1 -1
  10. data/lib/active_merchant/billing/gateways/paypal_express.rb +5 -0
  11. data/lib/active_merchant/billing/gateways/sage.rb +2 -2
  12. data/lib/active_merchant/billing/integrations/chronopay/helper.rb +3 -3
  13. data/lib/active_merchant/common.rb +14 -0
  14. data/lib/active_merchant/{lib → common}/connection.rb +2 -0
  15. data/lib/active_merchant/{lib → common}/country.rb +1 -1
  16. data/lib/active_merchant/common/error.rb +26 -0
  17. data/lib/active_merchant/common/post_data.rb +24 -0
  18. data/lib/active_merchant/{lib → common}/posts_data.rb +0 -0
  19. data/lib/active_merchant/{lib → common}/requires_parameters.rb +0 -0
  20. data/lib/active_merchant/{lib → common}/utils.rb +0 -0
  21. data/lib/active_merchant/{lib → common}/validateable.rb +0 -0
  22. data/lib/activemerchant.rb +1 -0
  23. data/lib/support/outbound_hosts.rb +25 -0
  24. metadata +50 -44
  25. data.tar.gz.sig +0 -0
  26. data/lib/active_merchant/billing/gateways/authorize_net_cim.rb.orig +0 -736
  27. data/lib/active_merchant/lib/error.rb +0 -4
  28. data/lib/active_merchant/lib/post_data.rb +0 -22
  29. metadata.gz.sig +0 -3
@@ -1,4 +0,0 @@
1
- module ActiveMerchant #:nodoc:
2
- class ActiveMerchantError < StandardError #:nodoc:
3
- end
4
- end
@@ -1,22 +0,0 @@
1
- require 'cgi'
2
-
3
- class PostData < Hash
4
- class_inheritable_accessor :required_fields, :instance_writer => false
5
- self.required_fields = []
6
-
7
- def []=(key, value)
8
- return if value.blank? && !required?(key)
9
- super
10
- end
11
-
12
- def to_post_data
13
- collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join("&")
14
- end
15
-
16
- alias_method :to_s, :to_post_data
17
-
18
- private
19
- def required?(key)
20
- required_fields.include?(key)
21
- end
22
- end
metadata.gz.sig DELETED
@@ -1,3 +0,0 @@
1
- b��P�F�)��;����dq����(��C�'�´���M������Җ���b�_�!��WM�f��}����wf
2
-
3
- *��8a��ZJf���Σ� �OLcu�h�Gza�{��fgN��]񒻋���D7����8o��"kI�ա�<B��J�I�@��u>���PWK�س�ܲ} �=���QJ#t�s��rW\j��`��Ӈ�;%���S�s�šN�!��� Dȡ