cotendo 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +17 -9
- data/Readme.md +3 -0
- data/VERSION +1 -1
- data/cotendo.gemspec +6 -6
- data/lib/cotendo.rb +2 -3
- metadata +12 -12
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,19 +1,22 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
akami (1.0.0)
|
5
|
+
gyoku (>= 0.4.0)
|
4
6
|
builder (3.0.0)
|
5
|
-
crack (0.1.8)
|
6
7
|
diff-lcs (1.1.2)
|
7
8
|
git (1.2.5)
|
8
|
-
gyoku (0.
|
9
|
+
gyoku (0.4.4)
|
9
10
|
builder (>= 2.1.2)
|
10
|
-
httpi (0.
|
11
|
+
httpi (0.9.5)
|
11
12
|
rack
|
12
13
|
jeweler (1.5.2)
|
13
14
|
bundler (~> 1.0.0)
|
14
15
|
git (>= 1.2.5)
|
15
16
|
rake
|
16
|
-
|
17
|
+
nokogiri (1.5.0)
|
18
|
+
nori (1.0.2)
|
19
|
+
rack (1.3.2)
|
17
20
|
rake (0.8.7)
|
18
21
|
rspec (2.5.0)
|
19
22
|
rspec-core (~> 2.5.0)
|
@@ -23,11 +26,16 @@ GEM
|
|
23
26
|
rspec-expectations (2.5.0)
|
24
27
|
diff-lcs (~> 1.1.2)
|
25
28
|
rspec-mocks (2.5.0)
|
26
|
-
savon (0.
|
29
|
+
savon (0.9.6)
|
30
|
+
akami (~> 1.0)
|
27
31
|
builder (>= 2.1.2)
|
28
|
-
|
29
|
-
|
30
|
-
|
32
|
+
gyoku (>= 0.4.0)
|
33
|
+
httpi (~> 0.9)
|
34
|
+
nokogiri (>= 1.4.0)
|
35
|
+
nori (~> 1.0)
|
36
|
+
wasabi (~> 2.0)
|
37
|
+
wasabi (2.0.0)
|
38
|
+
nokogiri (>= 1.4.0)
|
31
39
|
|
32
40
|
PLATFORMS
|
33
41
|
ruby
|
@@ -36,4 +44,4 @@ DEPENDENCIES
|
|
36
44
|
jeweler
|
37
45
|
rake
|
38
46
|
rspec (~> 2)
|
39
|
-
savon (
|
47
|
+
savon (~> 0.9.6)
|
data/Readme.md
CHANGED
@@ -18,6 +18,9 @@ TODO
|
|
18
18
|
|
19
19
|
Author
|
20
20
|
======
|
21
|
+
### [Contributors](http://github.com/grosser/cotendo/contributors)
|
22
|
+
- [Nicolas Fouché](http://about.me/nfo)
|
23
|
+
|
21
24
|
[Michael Grosser](http://grosser.it)<br/>
|
22
25
|
michael@grosser.it<br/>
|
23
26
|
Hereby placed under public domain, do what you want, just do not hold me accountable...
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/cotendo.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cotendo}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Grosser"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-08-23}
|
13
13
|
s.email = %q{michael@grosser.it}
|
14
14
|
s.files = [
|
15
15
|
"Gemfile",
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
25
25
|
]
|
26
26
|
s.homepage = %q{http://github.com/grosser/cotendo}
|
27
27
|
s.require_paths = ["lib"]
|
28
|
-
s.rubygems_version = %q{1.
|
28
|
+
s.rubygems_version = %q{1.6.2}
|
29
29
|
s.summary = %q{Wrapper for cotendo SOAP Api}
|
30
30
|
s.test_files = [
|
31
31
|
"spec/cotendo_spec.rb",
|
@@ -36,12 +36,12 @@ Gem::Specification.new do |s|
|
|
36
36
|
s.specification_version = 3
|
37
37
|
|
38
38
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
39
|
-
s.add_runtime_dependency(%q<savon>, ["
|
39
|
+
s.add_runtime_dependency(%q<savon>, ["~> 0.9.6"])
|
40
40
|
else
|
41
|
-
s.add_dependency(%q<savon>, ["
|
41
|
+
s.add_dependency(%q<savon>, ["~> 0.9.6"])
|
42
42
|
end
|
43
43
|
else
|
44
|
-
s.add_dependency(%q<savon>, ["
|
44
|
+
s.add_dependency(%q<savon>, ["~> 0.9.6"])
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
data/lib/cotendo.rb
CHANGED
@@ -21,12 +21,11 @@ class Cotendo
|
|
21
21
|
|
22
22
|
def client
|
23
23
|
@client ||= begin
|
24
|
-
|
24
|
+
Savon::Client.new do |wsdl, http, wsse|
|
25
25
|
wsdl.document = WSDL
|
26
26
|
wsdl.endpoint = WSDL + '&ver=1.0'
|
27
|
+
http.auth.basic @user, @password
|
27
28
|
end
|
28
|
-
client.wsdl.request.auth.basic @user, @password
|
29
|
-
client
|
30
29
|
end
|
31
30
|
end
|
32
31
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cotendo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Grosser
|
@@ -15,24 +15,24 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-23 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
23
|
none: false
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
hash:
|
27
|
+
hash: 55
|
28
28
|
segments:
|
29
29
|
- 0
|
30
|
-
-
|
31
|
-
-
|
32
|
-
version: 0.
|
30
|
+
- 9
|
31
|
+
- 6
|
32
|
+
version: 0.9.6
|
33
33
|
type: :runtime
|
34
|
-
requirement: *id001
|
35
34
|
name: savon
|
35
|
+
version_requirements: *id001
|
36
36
|
prerelease: false
|
37
37
|
description:
|
38
38
|
email: michael@grosser.it
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
requirements: []
|
84
84
|
|
85
85
|
rubyforge_project:
|
86
|
-
rubygems_version: 1.
|
86
|
+
rubygems_version: 1.6.2
|
87
87
|
signing_key:
|
88
88
|
specification_version: 3
|
89
89
|
summary: Wrapper for cotendo SOAP Api
|