soapy_cake 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soapy_cake/admin.rb +4 -0
- data/lib/soapy_cake/version.rb +1 -1
- data/spec/lib/soapy_cake/admin_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2587663bca8a1b766be60579664583098de67cb
|
4
|
+
data.tar.gz: bc6335958a108391f9a8f69093e9ccbdc96701a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b058983ab7888a94463688e33c0da086f2ed2ea7d690ebb905de5b4d75d6b07308b3da70942e019bb77e63fdd96aef1f1dfea2c84a436af4234e487fdf17d756
|
7
|
+
data.tar.gz: 0852d1b845d9e40d769de467945507a94d5bd13e074a44e6787c675671f272a31c5f26b4a3ed5ec89d1c7858e9ca412ade54308af27d9cd7d7f190de7b6ed4eb
|
data/lib/soapy_cake/admin.rb
CHANGED
@@ -56,6 +56,10 @@ module SoapyCake
|
|
56
56
|
run Request.new(:admin, :reports, :clicks, opts)
|
57
57
|
end
|
58
58
|
|
59
|
+
def conversion_changes(opts = {})
|
60
|
+
run Request.new(:admin, :reports, :conversion_changes, opts)
|
61
|
+
end
|
62
|
+
|
59
63
|
def conversions(opts = {})
|
60
64
|
run Request.new(:admin, :reports, :conversions, opts.merge(conversion_type: 'conversions'))
|
61
65
|
end
|
data/lib/soapy_cake/version.rb
CHANGED
@@ -103,6 +103,11 @@ RSpec.describe SoapyCake::Admin do
|
|
103
103
|
it_behaves_like 'a cake admin method'
|
104
104
|
end
|
105
105
|
|
106
|
+
describe '#conversion_changes' do
|
107
|
+
let(:method) { :conversion_changes }
|
108
|
+
it_behaves_like 'a cake admin method'
|
109
|
+
end
|
110
|
+
|
106
111
|
describe '#events' do
|
107
112
|
let(:method) { :events }
|
108
113
|
let(:cake_method) { :conversions }
|
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.5.
|
4
|
+
version: 1.5.2
|
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-03-
|
11
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|