soapy_cake 1.11.3 → 1.11.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c358f062efa7fc3ac3b7c59bc98929e832f080a
|
4
|
+
data.tar.gz: 67e5fbfe4b111b42839c517012481be87349e9df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bf611fe1c634dcc60dc302cf1525120377f253a40fbcf6f592c5a1f95d3e803237640f94c1af484b8015458ed16d28d88f86df90acbfc3883137fa5a4ebe997
|
7
|
+
data.tar.gz: d5cdb2090387c8a044007bf33d83f360a0610fd7f507f3445060de1918d629b90094e75017cb826974dbc6e5d187f7674bd58683ed5d3587c11a65825842679a
|
@@ -105,7 +105,7 @@ module SoapyCake
|
|
105
105
|
require_params(opts, %i(countries))
|
106
106
|
countries = Array(opts[:countries])
|
107
107
|
opts[:countries] = countries.join(',')
|
108
|
-
opts[:redirect_offer_contract_ids] = ([
|
108
|
+
opts[:redirect_offer_contract_ids] = ([-1] * countries.count).join(',')
|
109
109
|
end
|
110
110
|
|
111
111
|
def geo_targets_redirect_options!(opts)
|
data/lib/soapy_cake/version.rb
CHANGED
data/spec/fixtures/vcr_cassettes/SoapyCake_AdminAddedit/geo_targeting/creates_geo_targetings.yml
CHANGED
@@ -15,7 +15,7 @@ http_interactions:
|
|
15
15
|
<cake:offer_contract_id>1456</cake:offer_contract_id>
|
16
16
|
<cake:countries>DE,FR</cake:countries>
|
17
17
|
<cake:allow_countries>true</cake:allow_countries>
|
18
|
-
<cake:redirect_offer_contract_ids
|
18
|
+
<cake:redirect_offer_contract_ids>-1,-1</cake:redirect_offer_contract_ids>
|
19
19
|
<cake:add_edit_option>add</cake:add_edit_option>
|
20
20
|
<cake:set_targeting_to_geo>true</cake:set_targeting_to_geo>
|
21
21
|
</cake:GeoTargets>
|
@@ -40,7 +40,7 @@ http_interactions:
|
|
40
40
|
X-Powered-By:
|
41
41
|
- ASP.NET
|
42
42
|
Date:
|
43
|
-
-
|
43
|
+
- Fri, 07 Aug 2015 13:45:43 GMT
|
44
44
|
Content-Length:
|
45
45
|
- '446'
|
46
46
|
body:
|
@@ -91,7 +91,7 @@ http_interactions:
|
|
91
91
|
X-Powered-By:
|
92
92
|
- ASP.NET
|
93
93
|
Date:
|
94
|
-
-
|
94
|
+
- Fri, 07 Aug 2015 13:45:48 GMT
|
95
95
|
Content-Length:
|
96
96
|
- '446'
|
97
97
|
body:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soapy_cake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ad2games GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|