solon 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.
- checksums.yaml +7 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +1 -1
- data/lib/solon/sagepay_response.rb +8 -9
- data/solon.gemspec +2 -2
- metadata +20 -46
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9f29b151407a98f73d9cdee67663001d9c4a84e8
|
4
|
+
data.tar.gz: 1e943eb4d31c0516e183911aef61a7468d59306c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d3258cd84c09fbdcd5e075126a4f21a8b80955224b494348490b1ac314470d7a0bf6b15b5af26acfacd0639dfc8508721dbbaf3e3c072849bcacbaa303c5f84f
|
7
|
+
data.tar.gz: cd527e7598f21f7a1956092a9e089f5b3982b75241819473d1faa6f61338ab4d53de4db0f903a105bf1de180adae74fbb923a3456bfd5f77cfdb7d23c18a1bff
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -25,27 +25,26 @@ module Solon
|
|
25
25
|
|
26
26
|
# This is incompatible with ruby 1.9
|
27
27
|
|
28
|
-
if RUBY_VERSION =~ /1.
|
29
|
-
case id
|
30
|
-
when
|
28
|
+
if RUBY_VERSION =~ /1.8/
|
29
|
+
case id[-1]
|
30
|
+
when 61 # :blah=
|
31
31
|
@values[id[0..-2].to_sym] = args[0]
|
32
|
-
when
|
32
|
+
when 63 # :blah?
|
33
33
|
@values.has_key?(id[0..-2].to_sym)
|
34
34
|
else # :blah
|
35
35
|
@values[id.to_sym]
|
36
36
|
end
|
37
37
|
else
|
38
|
-
case id
|
39
|
-
when
|
38
|
+
case id.last
|
39
|
+
when '=' # :blah=
|
40
40
|
@values[id[0..-2].to_sym] = args[0]
|
41
|
-
when
|
41
|
+
when '?' # :blah?
|
42
42
|
@values.has_key?(id[0..-2].to_sym)
|
43
43
|
else # :blah
|
44
44
|
@values[id.to_sym]
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
-
|
49
48
|
end
|
50
49
|
|
51
50
|
def []=(key, value)
|
@@ -96,4 +95,4 @@ module Solon
|
|
96
95
|
}
|
97
96
|
end
|
98
97
|
end
|
99
|
-
end
|
98
|
+
end
|
data/solon.gemspec
CHANGED
@@ -4,7 +4,7 @@ $:.unshift lib unless $:.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "solon"
|
7
|
-
s.version = "0.2.
|
7
|
+
s.version = "0.2.2"
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Alastair Brunton"]
|
10
10
|
s.email = ["info@simplyexcited.co.uk"]
|
@@ -15,4 +15,4 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.required_rubygems_version = ">= 1.3.1"
|
16
16
|
s.require_path = 'lib'
|
17
17
|
s.files = `git ls-files`.split("\n")
|
18
|
-
end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,34 +1,22 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: solon
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 1
|
10
|
-
version: 0.2.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.2
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Alastair Brunton
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2012-05-19 00:00:00 +02:00
|
19
|
-
default_executable:
|
11
|
+
date: 2013-03-21 00:00:00.000000000 Z
|
20
12
|
dependencies: []
|
21
|
-
|
22
13
|
description: Interface for Sagepay VSP Server only.
|
23
|
-
email:
|
14
|
+
email:
|
24
15
|
- info@simplyexcited.co.uk
|
25
16
|
executables: []
|
26
|
-
|
27
17
|
extensions: []
|
28
|
-
|
29
18
|
extra_rdoc_files: []
|
30
|
-
|
31
|
-
files:
|
19
|
+
files:
|
32
20
|
- .gitignore
|
33
21
|
- Gemfile
|
34
22
|
- Gemfile.lock
|
@@ -52,41 +40,27 @@ files:
|
|
52
40
|
- spec/solon_gateway_spec.rb
|
53
41
|
- spec/spec.opts
|
54
42
|
- spec/spec_helper.rb
|
55
|
-
has_rdoc: true
|
56
43
|
homepage: http://github.com/pyrat/solon
|
57
44
|
licenses: []
|
58
|
-
|
45
|
+
metadata: {}
|
59
46
|
post_install_message:
|
60
47
|
rdoc_options: []
|
61
|
-
|
62
|
-
require_paths:
|
48
|
+
require_paths:
|
63
49
|
- lib
|
64
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
|
-
requirements:
|
76
|
-
- - ">="
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
hash: 25
|
79
|
-
segments:
|
80
|
-
- 1
|
81
|
-
- 3
|
82
|
-
- 1
|
50
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - '>='
|
58
|
+
- !ruby/object:Gem::Version
|
83
59
|
version: 1.3.1
|
84
60
|
requirements: []
|
85
|
-
|
86
61
|
rubyforge_project:
|
87
|
-
rubygems_version:
|
62
|
+
rubygems_version: 2.0.3
|
88
63
|
signing_key:
|
89
|
-
specification_version:
|
64
|
+
specification_version: 4
|
90
65
|
summary: Interface to Sagepay payment processor
|
91
66
|
test_files: []
|
92
|
-
|