adyen 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/adyen.gemspec +4 -4
- data/lib/adyen/soap.rb +1 -1
- data/tasks/github-gem.rake +6 -1
- metadata +10 -10
data/adyen.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'adyen'
|
3
|
-
s.version = "0.3.
|
4
|
-
s.date = "
|
3
|
+
s.version = "0.3.3"
|
4
|
+
s.date = "2010-01-05"
|
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
|
29
|
-
s.test_files = %w(spec/
|
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)
|
30
30
|
end
|
data/lib/adyen/soap.rb
CHANGED
@@ -73,7 +73,7 @@ module Adyen
|
|
73
73
|
# Setup some CURL options to handle redirects correctly.
|
74
74
|
def on_after_create_http_client(http_client) # :nodoc:
|
75
75
|
http_client.follow_location = true
|
76
|
-
http_client.max_redirects =
|
76
|
+
http_client.max_redirects = 2
|
77
77
|
end
|
78
78
|
|
79
79
|
# Setup basic authentication for SOAP requests
|
data/tasks/github-gem.rake
CHANGED
@@ -124,7 +124,7 @@ module GithubGem
|
|
124
124
|
desc "Perform all checks that would occur before a release"
|
125
125
|
task(:release_checks => checks)
|
126
126
|
|
127
|
-
release_tasks = [:release_checks, :set_version, :build, :github_release]
|
127
|
+
release_tasks = [:release_checks, :set_version, :build, :github_release, :gemcutter_release]
|
128
128
|
release_tasks << [:rubyforge_release] if gemspec.rubyforge_project
|
129
129
|
|
130
130
|
desc "Release a new verison of the gem"
|
@@ -132,6 +132,7 @@ module GithubGem
|
|
132
132
|
|
133
133
|
task(:check_rubyforge) { check_rubyforge_task }
|
134
134
|
task(:rubyforge_release) { rubyforge_release_task }
|
135
|
+
task(:gemcutter_release) { gemcutter_release_task }
|
135
136
|
task(:github_release => [:commit_modified_files, :tag_version]) { github_release_task }
|
136
137
|
task(:tag_version) { tag_version_task }
|
137
138
|
task(:commit_modified_files) { commit_modified_files_task }
|
@@ -228,6 +229,10 @@ module GithubGem
|
|
228
229
|
def rubyforge_release_task
|
229
230
|
sh 'rubyforge', 'add_release', gemspec.rubyforge_project, gemspec.name, gemspec.version.to_s, "pkg/#{gemspec.name}-#{gemspec.version}.gem"
|
230
231
|
end
|
232
|
+
|
233
|
+
def gemcutter_release_task
|
234
|
+
sh "gem push pkg/#{gemspec.name}-#{gemspec.version}.gem"
|
235
|
+
end
|
231
236
|
|
232
237
|
# Gem release task.
|
233
238
|
# All work is done by the task's dependencies, so just display a release completed message.
|
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.3.
|
4
|
+
version: 0.3.3
|
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:
|
13
|
+
date: 2010-01-05 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
|
49
48
|
- lib/adyen/form.rb
|
50
49
|
- .gitignore
|
51
|
-
- spec/notification_spec.rb
|
52
|
-
- lib/adyen/soap.rb
|
53
50
|
- LICENSE
|
54
51
|
- spec/soap_spec.rb
|
52
|
+
- spec/notification_spec.rb
|
53
|
+
- lib/adyen/soap.rb
|
55
54
|
- init.rb
|
55
|
+
- spec/adyen_spec.rb
|
56
56
|
- adyen.gemspec
|
57
57
|
- Rakefile
|
58
|
+
- tasks/github-gem.rake
|
58
59
|
- spec/form_spec.rb
|
59
60
|
- README.rdoc
|
60
61
|
- lib/adyen/notification.rb
|
61
|
-
- lib/adyen/formatter.rb
|
62
|
-
- tasks/github-gem.rake
|
63
|
-
- lib/adyen/encoding.rb
|
64
62
|
- lib/adyen/matchers.rb
|
63
|
+
- lib/adyen/formatter.rb
|
65
64
|
- lib/adyen.rb
|
65
|
+
- lib/adyen/encoding.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/adyen_spec.rb
|
103
|
-
- spec/notification_spec.rb
|
104
102
|
- spec/soap_spec.rb
|
103
|
+
- spec/notification_spec.rb
|
104
|
+
- spec/adyen_spec.rb
|
105
105
|
- spec/form_spec.rb
|