skles 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +29 -23
- data/README.textile +1 -1
- data/VERSION +1 -1
- data/lib/skles_extensions.rb +8 -4
- data/skles.gemspec +8 -13
- metadata +6 -10
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -2,37 +2,43 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
RedCloth (4.2.7)
|
5
|
+
akami (1.0.0)
|
6
|
+
gyoku (>= 0.4.0)
|
5
7
|
builder (3.0.0)
|
6
|
-
crack (0.1.8)
|
7
8
|
diff-lcs (1.1.2)
|
8
9
|
git (1.2.5)
|
9
|
-
gyoku (0.
|
10
|
+
gyoku (0.4.4)
|
10
11
|
builder (>= 2.1.2)
|
11
|
-
httpclient (2.
|
12
|
-
httpi (0.9.
|
13
|
-
ntlm-http (>= 0.1.1)
|
12
|
+
httpclient (2.2.1)
|
13
|
+
httpi (0.9.5)
|
14
14
|
rack
|
15
|
-
jeweler (1.
|
16
|
-
bundler (~> 1.0
|
15
|
+
jeweler (1.6.4)
|
16
|
+
bundler (~> 1.0)
|
17
17
|
git (>= 1.2.5)
|
18
18
|
rake
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
rspec-
|
25
|
-
rspec-
|
26
|
-
|
27
|
-
rspec-
|
19
|
+
nokogiri (1.5.0)
|
20
|
+
nori (1.0.2)
|
21
|
+
rack (1.3.0)
|
22
|
+
rake (0.9.2)
|
23
|
+
rspec (2.6.0)
|
24
|
+
rspec-core (~> 2.6.0)
|
25
|
+
rspec-expectations (~> 2.6.0)
|
26
|
+
rspec-mocks (~> 2.6.0)
|
27
|
+
rspec-core (2.6.4)
|
28
|
+
rspec-expectations (2.6.0)
|
28
29
|
diff-lcs (~> 1.1.2)
|
29
|
-
rspec-mocks (2.
|
30
|
-
savon (0.
|
30
|
+
rspec-mocks (2.6.0)
|
31
|
+
savon (0.9.6)
|
32
|
+
akami (~> 1.0)
|
31
33
|
builder (>= 2.1.2)
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
34
|
+
gyoku (>= 0.4.0)
|
35
|
+
httpi (~> 0.9)
|
36
|
+
nokogiri (>= 1.4.0)
|
37
|
+
nori (~> 1.0)
|
38
|
+
wasabi (~> 2.0)
|
39
|
+
wasabi (2.0.0)
|
40
|
+
nokogiri (>= 1.4.0)
|
41
|
+
yard (0.7.2)
|
36
42
|
|
37
43
|
PLATFORMS
|
38
44
|
ruby
|
@@ -42,5 +48,5 @@ DEPENDENCIES
|
|
42
48
|
httpclient
|
43
49
|
jeweler
|
44
50
|
rspec
|
45
|
-
savon
|
51
|
+
savon (>= 0.9)
|
46
52
|
yard
|
data/README.textile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
h1. SKLES: Ruby interface for StrongKey Lite boxes
|
2
2
|
|
3
3
|
| *Author* | Tim Morgan |
|
4
|
-
| *Version* | Version 1.1 (
|
4
|
+
| *Version* | Version 1.1.1 (Jul 12, 2011) |
|
5
5
|
| *License* | Released under the MIT license. |
|
6
6
|
|
7
7
|
The SKLES gem is an interface to StrongAuth's StrongKey Lite credit card vault
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/lib/skles_extensions.rb
CHANGED
@@ -16,8 +16,12 @@ class Savon::SOAP::Request
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
class Savon::
|
20
|
-
def
|
21
|
-
|
19
|
+
class Savon::Wasabi::Document
|
20
|
+
def resolve_document
|
21
|
+
case document
|
22
|
+
when /^http[s]?:/ then HTTPI.get(request, Savon.http_adapter).body
|
23
|
+
when /^</ then document
|
24
|
+
else File.read(document)
|
25
|
+
end
|
22
26
|
end
|
23
|
-
end
|
27
|
+
end
|
data/skles.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{skles}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-
|
11
|
+
s.authors = [%q{Tim Morgan}]
|
12
|
+
s.date = %q{2011-07-12}
|
13
13
|
s.description = %q{A Ruby wrapper around the StrongKey Lite SOAP client API.}
|
14
14
|
s.email = %q{git@timothymorgan.info}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -34,29 +34,24 @@ Gem::Specification.new do |s|
|
|
34
34
|
"spec/spec_helper.rb"
|
35
35
|
]
|
36
36
|
s.homepage = %q{http://github.com/RISCfuture/skles}
|
37
|
-
s.require_paths = [
|
37
|
+
s.require_paths = [%q{lib}]
|
38
38
|
s.required_ruby_version = Gem::Requirement.new(">= 1.9")
|
39
|
-
s.rubygems_version = %q{1.
|
39
|
+
s.rubygems_version = %q{1.8.5}
|
40
40
|
s.summary = %q{Ruby interface for SKLES (StrongKey Light Encryption System) boxes}
|
41
|
-
s.test_files = [
|
42
|
-
"spec/skles_api_spec.rb",
|
43
|
-
"spec/skles_spec.rb",
|
44
|
-
"spec/spec_helper.rb"
|
45
|
-
]
|
46
41
|
|
47
42
|
if s.respond_to? :specification_version then
|
48
43
|
s.specification_version = 3
|
49
44
|
|
50
45
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
51
46
|
s.add_runtime_dependency(%q<httpclient>, [">= 0"])
|
52
|
-
s.add_runtime_dependency(%q<savon>, [">= 0"])
|
47
|
+
s.add_runtime_dependency(%q<savon>, [">= 0.9"])
|
53
48
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
54
49
|
s.add_development_dependency(%q<yard>, [">= 0"])
|
55
50
|
s.add_development_dependency(%q<RedCloth>, [">= 0"])
|
56
51
|
s.add_development_dependency(%q<rspec>, [">= 0"])
|
57
52
|
else
|
58
53
|
s.add_dependency(%q<httpclient>, [">= 0"])
|
59
|
-
s.add_dependency(%q<savon>, [">= 0"])
|
54
|
+
s.add_dependency(%q<savon>, [">= 0.9"])
|
60
55
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
61
56
|
s.add_dependency(%q<yard>, [">= 0"])
|
62
57
|
s.add_dependency(%q<RedCloth>, [">= 0"])
|
@@ -64,7 +59,7 @@ Gem::Specification.new do |s|
|
|
64
59
|
end
|
65
60
|
else
|
66
61
|
s.add_dependency(%q<httpclient>, [">= 0"])
|
67
|
-
s.add_dependency(%q<savon>, [">= 0"])
|
62
|
+
s.add_dependency(%q<savon>, [">= 0.9"])
|
68
63
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
69
64
|
s.add_dependency(%q<yard>, [">= 0"])
|
70
65
|
s.add_dependency(%q<RedCloth>, [">= 0"])
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: skles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.1.
|
5
|
+
version: 1.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Tim Morgan
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-07-12 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: httpclient
|
@@ -31,7 +30,7 @@ dependencies:
|
|
31
30
|
requirements:
|
32
31
|
- - ">="
|
33
32
|
- !ruby/object:Gem::Version
|
34
|
-
version: "0"
|
33
|
+
version: "0.9"
|
35
34
|
type: :runtime
|
36
35
|
prerelease: false
|
37
36
|
version_requirements: *id002
|
@@ -104,7 +103,6 @@ files:
|
|
104
103
|
- spec/skles_api_spec.rb
|
105
104
|
- spec/skles_spec.rb
|
106
105
|
- spec/spec_helper.rb
|
107
|
-
has_rdoc: true
|
108
106
|
homepage: http://github.com/RISCfuture/skles
|
109
107
|
licenses: []
|
110
108
|
|
@@ -128,11 +126,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
126
|
requirements: []
|
129
127
|
|
130
128
|
rubyforge_project:
|
131
|
-
rubygems_version: 1.
|
129
|
+
rubygems_version: 1.8.5
|
132
130
|
signing_key:
|
133
131
|
specification_version: 3
|
134
132
|
summary: Ruby interface for SKLES (StrongKey Light Encryption System) boxes
|
135
|
-
test_files:
|
136
|
-
|
137
|
-
- spec/skles_spec.rb
|
138
|
-
- spec/spec_helper.rb
|
133
|
+
test_files: []
|
134
|
+
|