soapy_cake 1.6.7 → 1.6.8
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 +4 -4
- data/.rubocop_todo.yml +28 -0
- data/lib/soapy_cake/admin_addedit.rb +0 -2
- data/lib/soapy_cake/version.rb +1 -1
- data/soapy_cake.gemspec +3 -2
- data/spec/fixtures/vcr_cassettes/ADDEDIT_integration_test/offers/creates_an_offer.yml +3 -5
- data/spec/fixtures/vcr_cassettes/ADDEDIT_integration_test/offers/updates_an_offer.yml +1 -3
- data/spec/spec_helper.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8610681c4909e15e8a89d96a5ccbde32d7af0cf4
|
|
4
|
+
data.tar.gz: 49a1b773cb48891cc6c164d3e766f33690128362
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 282f66411f69a08819a117798cc965e818215ced3f3316a58e7d502605ca92f8d1e7fcf5d2011ecfe1da5547632cabca7f3bedd9d794ced17f14ac8bc21675e1
|
|
7
|
+
data.tar.gz: 3a7a115716c61b07a7cdee8fbff98a406f2861ef66d9500dbc4bf9513c5db62f303a0e4562210deafcbdea93098c62ca4e1b76d75b8bb4dd89c8a6cdaebefb40
|
data/.rubocop_todo.yml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# This configuration was generated by `rubocop --auto-gen-config`
|
|
2
|
+
# on 2015-04-27 16:05:40 +0200 using RuboCop version 0.30.1.
|
|
3
|
+
# The point is for the user to remove these configuration records
|
|
4
|
+
# one by one as the offenses are removed from the code base.
|
|
5
|
+
# Note that changes in the inspected code, or installation of new
|
|
6
|
+
# versions of RuboCop, may require this file to be generated again.
|
|
7
|
+
|
|
8
|
+
# Offense count: 4
|
|
9
|
+
Metrics/AbcSize:
|
|
10
|
+
Max: 35
|
|
11
|
+
|
|
12
|
+
# Offense count: 1
|
|
13
|
+
# Configuration parameters: CountComments.
|
|
14
|
+
Metrics/ClassLength:
|
|
15
|
+
Max: 159
|
|
16
|
+
|
|
17
|
+
# Offense count: 1
|
|
18
|
+
Metrics/CyclomaticComplexity:
|
|
19
|
+
Max: 7
|
|
20
|
+
|
|
21
|
+
# Offense count: 2
|
|
22
|
+
# Configuration parameters: CountComments.
|
|
23
|
+
Metrics/MethodLength:
|
|
24
|
+
Max: 28
|
|
25
|
+
|
|
26
|
+
# Offense count: 1
|
|
27
|
+
Metrics/PerceivedComplexity:
|
|
28
|
+
Max: 8
|
|
@@ -43,8 +43,6 @@ module SoapyCake
|
|
|
43
43
|
auto_disposition_delay_hours: '0',
|
|
44
44
|
session_regeneration_seconds: -1,
|
|
45
45
|
session_regeneration_type_id: 0,
|
|
46
|
-
redirect_domain: '',
|
|
47
|
-
cookie_domain: '',
|
|
48
46
|
payout_modification_type: 'change',
|
|
49
47
|
received_modification_type: 'change',
|
|
50
48
|
tags_modification_type: 'do_not_change'
|
data/lib/soapy_cake/version.rb
CHANGED
data/soapy_cake.gemspec
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
|
+
# rubocop:disable ExtraSpacing
|
|
2
3
|
lib = File.expand_path('../lib', __FILE__)
|
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
5
|
require 'soapy_cake/version'
|
|
@@ -14,8 +15,8 @@ Gem::Specification.new do |spec|
|
|
|
14
15
|
spec.license = 'MIT'
|
|
15
16
|
|
|
16
17
|
spec.files = `git ls-files -z`.split("\x0")
|
|
17
|
-
spec.executables = spec.files.grep(
|
|
18
|
-
spec.test_files = spec.files.grep(
|
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
19
20
|
spec.require_paths = ['lib']
|
|
20
21
|
|
|
21
22
|
spec.add_dependency 'activesupport'
|
|
@@ -67,8 +67,6 @@ http_interactions:
|
|
|
67
67
|
<cake:auto_disposition_delay_hours>0</cake:auto_disposition_delay_hours>
|
|
68
68
|
<cake:session_regeneration_seconds>-1</cake:session_regeneration_seconds>
|
|
69
69
|
<cake:session_regeneration_type_id>0</cake:session_regeneration_type_id>
|
|
70
|
-
<cake:redirect_domain/>
|
|
71
|
-
<cake:cookie_domain/>
|
|
72
70
|
<cake:payout_modification_type>change</cake:payout_modification_type>
|
|
73
71
|
<cake:received_modification_type>change</cake:received_modification_type>
|
|
74
72
|
<cake:expiration_date>2115-01-24T01:00:00</cake:expiration_date>
|
|
@@ -94,15 +92,15 @@ http_interactions:
|
|
|
94
92
|
X-Powered-By:
|
|
95
93
|
- ASP.NET
|
|
96
94
|
Date:
|
|
97
|
-
- Thu,
|
|
95
|
+
- Thu, 30 Apr 2015 08:50:28 GMT
|
|
98
96
|
Content-Length:
|
|
99
|
-
- '
|
|
97
|
+
- '565'
|
|
100
98
|
body:
|
|
101
99
|
encoding: UTF-8
|
|
102
100
|
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
|
|
103
101
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><OfferResponse
|
|
104
102
|
xmlns="http://cakemarketing.com/api/5/"><OfferResult><success>true</success><message>Offer
|
|
105
|
-
|
|
103
|
+
10078 Created</message><success_info><offer_id>10078</offer_id><offer_contract_id>5767</offer_contract_id><campaign_id>17628</campaign_id><creative_id>10599</creative_id></success_info></OfferResult></OfferResponse></soap:Body></soap:Envelope>
|
|
106
104
|
http_version:
|
|
107
105
|
recorded_at: Tue, 17 Feb 2015 12:00:00 GMT
|
|
108
106
|
recorded_with: VCR 2.9.3
|
|
@@ -63,8 +63,6 @@ http_interactions:
|
|
|
63
63
|
<cake:auto_disposition_delay_hours>0</cake:auto_disposition_delay_hours>
|
|
64
64
|
<cake:session_regeneration_seconds>-1</cake:session_regeneration_seconds>
|
|
65
65
|
<cake:session_regeneration_type_id>0</cake:session_regeneration_type_id>
|
|
66
|
-
<cake:redirect_domain/>
|
|
67
|
-
<cake:cookie_domain/>
|
|
68
66
|
<cake:payout_modification_type>change</cake:payout_modification_type>
|
|
69
67
|
<cake:received_modification_type>change</cake:received_modification_type>
|
|
70
68
|
<cake:conversion_cap_behavior>0</cake:conversion_cap_behavior>
|
|
@@ -92,7 +90,7 @@ http_interactions:
|
|
|
92
90
|
X-Powered-By:
|
|
93
91
|
- ASP.NET
|
|
94
92
|
Date:
|
|
95
|
-
- Thu,
|
|
93
|
+
- Thu, 30 Apr 2015 08:50:29 GMT
|
|
96
94
|
Content-Length:
|
|
97
95
|
- '559'
|
|
98
96
|
body:
|
data/spec/spec_helper.rb
CHANGED
|
@@ -45,7 +45,7 @@ VCR.configure do |c|
|
|
|
45
45
|
c.hook_into :webmock
|
|
46
46
|
c.filter_sensitive_data('cake-api-key') { ENV['CAKE_API_KEY'] }
|
|
47
47
|
c.filter_sensitive_data('cake-partner-domain.com') { ENV['CAKE_DOMAIN'] }
|
|
48
|
-
c.default_cassette_options = { match_requests_on:
|
|
48
|
+
c.default_cassette_options = { match_requests_on: %i(method uri body) }
|
|
49
49
|
|
|
50
50
|
# allow codeclimate-test-reporter to phone home
|
|
51
51
|
c.ignore_hosts 'codeclimate.com'
|
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.6.
|
|
4
|
+
version: 1.6.8
|
|
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-04-
|
|
11
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -173,6 +173,7 @@ extra_rdoc_files: []
|
|
|
173
173
|
files:
|
|
174
174
|
- ".gitignore"
|
|
175
175
|
- ".rspec"
|
|
176
|
+
- ".rubocop_todo.yml"
|
|
176
177
|
- ".ruby-version"
|
|
177
178
|
- Gemfile
|
|
178
179
|
- LICENSE.txt
|
|
@@ -230,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
230
231
|
version: '0'
|
|
231
232
|
requirements: []
|
|
232
233
|
rubyforge_project:
|
|
233
|
-
rubygems_version: 2.4.
|
|
234
|
+
rubygems_version: 2.4.5
|
|
234
235
|
signing_key:
|
|
235
236
|
specification_version: 4
|
|
236
237
|
summary: Simple client for the CAKE API
|