hasoffers 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hasoffers/base.rb +1 -1
- data/lib/hasoffers/version.rb +1 -1
- metadata +9 -15
data/lib/hasoffers/base.rb
CHANGED
@@ -78,7 +78,7 @@ module HasOffers
|
|
78
78
|
def query_string(data_hash)
|
79
79
|
# Rails to_params adds an extra open close brackets to multi-dimensional array parameters which
|
80
80
|
# hasoffers doesn't like, so the gsub here takes care of that.
|
81
|
-
data_hash.
|
81
|
+
data_hash.to_param.gsub(/\[\]\[/,'[')
|
82
82
|
end
|
83
83
|
|
84
84
|
def make_request(http_method, target, method, params)
|
data/lib/hasoffers/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hasoffers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02
|
12
|
+
date: 2012-05-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: crack
|
16
|
-
requirement: &
|
16
|
+
requirement: &70102351422880 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70102351422880
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: yajl-ruby
|
27
|
-
requirement: &
|
27
|
+
requirement: &70102351438360 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70102351438360
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &70102351435880 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70102351435880
|
47
47
|
description: Implementation of the HasOffers API for affiliate advertising.
|
48
48
|
email:
|
49
49
|
- luke.ludwig@tstmedia.com
|
@@ -91,21 +91,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
91
|
- - ! '>='
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
|
-
segments:
|
95
|
-
- 0
|
96
|
-
hash: -3016471400862680151
|
97
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
95
|
none: false
|
99
96
|
requirements:
|
100
97
|
- - ! '>='
|
101
98
|
- !ruby/object:Gem::Version
|
102
99
|
version: '0'
|
103
|
-
segments:
|
104
|
-
- 0
|
105
|
-
hash: -3016471400862680151
|
106
100
|
requirements: []
|
107
101
|
rubyforge_project: hasoffers
|
108
|
-
rubygems_version: 1.8.
|
102
|
+
rubygems_version: 1.8.17
|
109
103
|
signing_key:
|
110
104
|
specification_version: 3
|
111
105
|
summary: Implementation of the HasOffers API for affiliate advertising.
|