adyen 0.2.1 → 0.2.2

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.
data/adyen.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'adyen'
3
- s.version = "0.2.1"
4
- s.date = "2009-10-21"
3
+ s.version = "0.2.2"
4
+ s.date = "2009-11-18"
5
5
 
6
6
  s.summary = "Integrate Adyen payment services in you Ruby on Rails application."
7
7
  s.description = <<-EOS
@@ -25,6 +25,6 @@ Gem::Specification.new do |s|
25
25
  s.rdoc_options << '--title' << s.name << '--main' << 'README.rdoc' << '--line-numbers' << '--inline-source'
26
26
  s.extra_rdoc_files = ['README.rdoc']
27
27
 
28
- s.files = %w(spec/spec_helper.rb lib/adyen/form.rb .gitignore LICENSE spec/soap_spec.rb spec/notification_spec.rb lib/adyen/soap.rb init.rb spec/adyen_spec.rb adyen.gemspec Rakefile tasks/github-gem.rake spec/form_spec.rb README.rdoc lib/adyen/notification.rb lib/adyen/matchers.rb lib/adyen/formatter.rb lib/adyen.rb lib/adyen/encoding.rb)
29
- s.test_files = %w(spec/soap_spec.rb spec/notification_spec.rb spec/adyen_spec.rb spec/form_spec.rb)
28
+ s.files = %w(spec/spec_helper.rb spec/adyen_spec.rb lib/adyen/form.rb .gitignore spec/notification_spec.rb lib/adyen/soap.rb LICENSE spec/soap_spec.rb init.rb adyen.gemspec Rakefile spec/form_spec.rb README.rdoc lib/adyen/notification.rb lib/adyen/formatter.rb tasks/github-gem.rake lib/adyen/encoding.rb lib/adyen/matchers.rb lib/adyen.rb)
29
+ s.test_files = %w(spec/adyen_spec.rb spec/notification_spec.rb spec/soap_spec.rb spec/form_spec.rb)
30
30
  end
data/lib/adyen/soap.rb CHANGED
@@ -54,6 +54,10 @@ module Adyen
54
54
  # auth = Base64.encode64("#{Adyen::SOAP.username}:#{Adyen::SOAP.password}").chomp
55
55
  # http_client.headers['Authorization'] = "Basic #{auth}"
56
56
  http_client.userpwd = "#{Adyen::SOAP.username}:#{Adyen::SOAP.password}"
57
+
58
+ # Setup some CURL options to handle redirects correctly.
59
+ http_client.follow_location = true
60
+ http_client.max_redirects = 1
57
61
  end
58
62
 
59
63
  # Setup XML namespaces for SOAP request body
@@ -179,7 +179,7 @@ module GithubGem
179
179
 
180
180
  # Checks whether the current branch is not diverged from the remote branch
181
181
  def check_not_diverged_task
182
- raise "The current branch is diverged from the remote branch!" if git.log.between('HEAD', git.branches["#{remote}/#{remote_branch}"].gcommit).any?
182
+ raise "The current branch is diverged from the remote branch!" if git.log.between('HEAD', git.remote(remote).branch(remote_branch).gcommit).any?
183
183
  end
184
184
 
185
185
  # Checks whether the repository status ic clean
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adyen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Willem van Bergen
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-10-21 00:00:00 +02:00
13
+ date: 2009-11-18 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -45,24 +45,24 @@ extra_rdoc_files:
45
45
  - README.rdoc
46
46
  files:
47
47
  - spec/spec_helper.rb
48
+ - spec/adyen_spec.rb
48
49
  - lib/adyen/form.rb
49
50
  - .gitignore
50
- - LICENSE
51
- - spec/soap_spec.rb
52
51
  - spec/notification_spec.rb
53
52
  - lib/adyen/soap.rb
53
+ - LICENSE
54
+ - spec/soap_spec.rb
54
55
  - init.rb
55
- - spec/adyen_spec.rb
56
56
  - adyen.gemspec
57
57
  - Rakefile
58
- - tasks/github-gem.rake
59
58
  - spec/form_spec.rb
60
59
  - README.rdoc
61
60
  - lib/adyen/notification.rb
62
- - lib/adyen/matchers.rb
63
61
  - lib/adyen/formatter.rb
64
- - lib/adyen.rb
62
+ - tasks/github-gem.rake
65
63
  - lib/adyen/encoding.rb
64
+ - lib/adyen/matchers.rb
65
+ - lib/adyen.rb
66
66
  has_rdoc: true
67
67
  homepage: http://wiki.github.com/wvanbergen/adyen
68
68
  licenses: []
@@ -99,7 +99,7 @@ signing_key:
99
99
  specification_version: 3
100
100
  summary: Integrate Adyen payment services in you Ruby on Rails application.
101
101
  test_files:
102
- - spec/soap_spec.rb
103
- - spec/notification_spec.rb
104
102
  - spec/adyen_spec.rb
103
+ - spec/notification_spec.rb
104
+ - spec/soap_spec.rb
105
105
  - spec/form_spec.rb