streamsend 1.0.0.rc14 → 1.0.0.rc15
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MThjZTczMDM1MWYwMDQ1YzY4NTQ0YTYyYzAwZWZhZmVmOTMyZGU0ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWJiZjE5MDljNDc3ZTRlOGU4ZDgzZGI5OTk1ZjA3MDIxM2M1ZWJmOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjZlMTBlYjgyYmM3YTk0NjAxNDNjNGE5Y2QxYjljMDRlNjg4MDI2ZGNjY2I3
|
10
|
+
Mjc4NDIxYTZkMzNlNzYzNjA2M2Y0ZDU2MTVkNGYwOGY2NWExMTk0YmVlZTM5
|
11
|
+
MjY2OGNhNGY3OTZiMmExZjJhNDVmMGM1YzkxZDg1YTI5NTk3NmI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTE2ZTk5ZWY1MjBjMzVmZTYxZjJkODliN2M4NTY0NWY1N2I0MTYzNDQyOWQx
|
14
|
+
NzUzNzEwYTJjZTc3NjZkYjU5NjQ1OGMyYWY0ZDQ1YjhjNWNlMzc3ZWE4OWE4
|
15
|
+
NmZkZTFmZDFkMDQxMGJhNGEyNjdmMGQ1M2Y4Yzk0NTRjODlkZWU=
|
data/Gemfile.lock
CHANGED
@@ -37,9 +37,9 @@ module StreamSend
|
|
37
37
|
end
|
38
38
|
|
39
39
|
class BlastUpdate < StreamSend::Api::Call::Update
|
40
|
-
def execute(blast_id, object_id, object_hash)
|
40
|
+
def execute(blast_id, object_id, object_hash, options = {})
|
41
41
|
@blast_id = blast_id
|
42
|
-
super(object_id, object_hash)
|
42
|
+
super(object_id, object_hash, options)
|
43
43
|
end
|
44
44
|
|
45
45
|
def uri
|
@@ -24,9 +24,9 @@ module StreamSend
|
|
24
24
|
end
|
25
25
|
|
26
26
|
class Update < StreamSend::Api::Call::Update
|
27
|
-
def execute(field_id, option_id, object_hash)
|
27
|
+
def execute(field_id, option_id, object_hash, options = {})
|
28
28
|
@field_id = field_id
|
29
|
-
super(option_id, object_hash)
|
29
|
+
super(option_id, object_hash, options)
|
30
30
|
end
|
31
31
|
|
32
32
|
def uri
|
data/lib/streamsend/api/user.rb
CHANGED
@@ -50,9 +50,9 @@ module StreamSend
|
|
50
50
|
end
|
51
51
|
|
52
52
|
class Update < StreamSend::Api::Call::Update
|
53
|
-
def execute(user_id, user_hash, account_id = nil)
|
53
|
+
def execute(user_id, user_hash, account_id = nil, options={})
|
54
54
|
@account_id = account_id
|
55
|
-
super(user_id, user_hash)
|
55
|
+
super(user_id, user_hash, options)
|
56
56
|
end
|
57
57
|
|
58
58
|
def uri
|
data/lib/streamsend/version.rb
CHANGED
@@ -22,6 +22,8 @@ module StreamSend
|
|
22
22
|
|
23
23
|
describe "#paging_query_string" do
|
24
24
|
it "returns paging parameters with the options provided" do
|
25
|
+
stub_request(:get, "http://test:password@default.base/calls.xml?page=2&per_page=10").
|
26
|
+
to_return(:status => 200, :body => xml, headers: { 'Accept' => 'text/xml', 'Content-type' => 'text/xml' })
|
25
27
|
indexer.execute(options)
|
26
28
|
expect(indexer.paging_query_string).to eq("?page=2&per_page=10")
|
27
29
|
end
|