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
- MTJjYmFjNGZmZjk3YjNjMzA1YmVlY2I3ZmRhNmEyYTdmYmQzYzc4Zg==
4
+ MThjZTczMDM1MWYwMDQ1YzY4NTQ0YTYyYzAwZWZhZmVmOTMyZGU0ZA==
5
5
  data.tar.gz: !binary |-
6
- M2Q3ZmZjNjE5ZjdiOTc2M2ZmZDRmZDM5ODdhOTZkYmEwZDE3OTcwZg==
6
+ OWJiZjE5MDljNDc3ZTRlOGU4ZDgzZGI5OTk1ZjA3MDIxM2M1ZWJmOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2IyMWM1MjBlYjVlZTY1OTc0YzgxMzBmYTVhZTQ2Y2ZjYTU1N2E5Njc2Mzkw
10
- N2YyOWFjZTFjYzViN2QyYTNlMjJhMmI1MDA4ZjMxOGZjZGQ4ZTU3OWNjZjM1
11
- ZThmMDFmNTgwMjFjMzVkNDlmOGZhYzc3MzhiN2MwMmFhZDNmZjg=
9
+ YjZlMTBlYjgyYmM3YTk0NjAxNDNjNGE5Y2QxYjljMDRlNjg4MDI2ZGNjY2I3
10
+ Mjc4NDIxYTZkMzNlNzYzNjA2M2Y0ZDU2MTVkNGYwOGY2NWExMTk0YmVlZTM5
11
+ MjY2OGNhNGY3OTZiMmExZjJhNDVmMGM1YzkxZDg1YTI5NTk3NmI=
12
12
  data.tar.gz: !binary |-
13
- NzI4NjZlODJlMDBjMTU1NzRjOWIwYjI2N2ZiOWJmZGE4MDA3YzVkY2QwZGM5
14
- ZjU5MmM3NDQ5NzQ3YzQwOTk3NzA2OGNhZDliOTFjMTM3ZDQ2ODY1MzBmYmIz
15
- ZjdlNGI5ZGY5OGY3ZGQyNjFlYmYxYTllY2Q5YmY1NDAxOWQ3NWM=
13
+ ZTE2ZTk5ZWY1MjBjMzVmZTYxZjJkODliN2M4NTY0NWY1N2I0MTYzNDQyOWQx
14
+ NzUzNzEwYTJjZTc3NjZkYjU5NjQ1OGMyYWY0ZDQ1YjhjNWNlMzc3ZWE4OWE4
15
+ NmZkZTFmZDFkMDQxMGJhNGEyNjdmMGQ1M2Y4Yzk0NTRjODlkZWU=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- streamsend (1.0.0.rc13)
4
+ streamsend (1.0.0.rc15)
5
5
  activesupport (~> 3.2)
6
6
  builder
7
7
  httmultiparty
@@ -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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module StreamSend
2
- VERSION = "1.0.0.rc14"
2
+ VERSION = "1.0.0.rc15"
3
3
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: streamsend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc14
4
+ version: 1.0.0.rc15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Yeo