fuelsdk 0.1.8 → 0.1.9

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjY2NDllZDRjNGFlYjY3OTg2ZTc4MzM5NGE1ZGRhOWFkOTkwOTcwZA==
4
+ NzMwMWNlNmZkZTIzNzc1NmYwMWIxYmY2NDY2NTZlNjFjYzRlMTFmZg==
5
5
  data.tar.gz: !binary |-
6
- YmU5MzZlMDA3ZTQ0YWMxODY2OTdiM2RmNGUxM2FmYTRhNGEzMWEwOA==
6
+ MjNjNzdiMjBiNDgyMjE4NzNkNGQ5ZjA3NTJiYzI2Y2Y2YjU2NzU3Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTZjN2I2ZWUwOWEwMzUzNGQ0ZGM0YjMzNTc5MjQ0NTc1YTlmYjYzYjVhNGFl
10
- N2QzMzcxNmQ1MDQ2YmJiNmNhNjA5NGU3NzBhNWY3OGM3MzNmN2Q3MWE1NTY1
11
- Mzc5MDJlMzIzODRmYTFjN2QxMGExODAxNDAyM2UyYTM0NGZmN2U=
9
+ ZWUwOGMyYjEzYmEwNDgyOTYwNDU1MjMwMWMzMjM2YmM2OTE3OTFiMTVmMGZj
10
+ YTc1ZTNmZjRhZDg3MWJkNmVhMDliMmQwYzJlYzY5Yzk3MzE1MTRhZDIwYThm
11
+ ZTFjMTBjNTFlNWRiNTgxOGE1OTIwOTExODMwYTAzMTNlMTViNDM=
12
12
  data.tar.gz: !binary |-
13
- NDRiNDE1MzNiNTkyYjg0ZWEyZTc1NmE4N2MzOGUyMTIwODY1NzJiYzhmZjRh
14
- ZTZkM2RmZDgwNDY1YzRiZTA5NWQ1MmZlZDQxY2E2ZmUyNWMxMTk1ZTQ1ZmMx
15
- MzE3NmMxZDE4YWFlMGE5Y2FhYjI1N2M5NTA2YmEzNTUzNmJmOTU=
13
+ OTFhMTk1ODhlNjNkNTExYmRiNDc3YzU2NTc5ODcxOGQxZTE4OTc3ZDhmYzI1
14
+ ZjkxMWE3NDJhMWVhMWJjNDNlOGJiMGMyMmRkMDJjOWU4ZWM4YTVhMWQ3OGRi
15
+ OWJjNzkwMWM0MjM1OTY5MTdhZGI2ODg0NzY2M2U0ZWJjZDAxOTM=
data/.gitignore CHANGED
@@ -2,6 +2,8 @@
2
2
  *.rbc
3
3
  .bundle
4
4
  .config
5
+ .ruby-gemset
6
+ .ruby-version
5
7
  coverage
6
8
  InstalledFiles
7
9
  lib/bundler/man
@@ -1,6 +1,11 @@
1
1
  FuelSDK-Ruby
2
2
  ============
3
3
 
4
+ 2014-06-23: Version 0.1.9
5
+ ```
6
+ Fix ContinueRequest
7
+ ```
8
+
4
9
  2014-06-18: Version 0.1.8
5
10
  ```
6
11
  Merge pull request fixing typo
@@ -15,7 +15,7 @@ module FuelSDK
15
15
  def continue
16
16
  rsp = nil
17
17
  if more?
18
- rsp = unpack @client.soap_client.call(:retrieve, :message => {'ContinueRequest' => request_id})
18
+ rsp = unpack @client.soap_client.call(:retrieve, :message => {'RetrieveRequest' => {'ContinueRequest' => request_id}})
19
19
  else
20
20
  puts 'No more data'
21
21
  end
@@ -12,12 +12,11 @@ module FuelSDK::Targeting
12
12
  @endpoint ||= determine_stack
13
13
  end
14
14
 
15
- protected
16
- def determine_stack
17
- refresh unless self.auth_token
18
- options = {'params' => {'access_token' => self.auth_token}}
19
- response = get("https://www.exacttargetapis.com/platform/v1/endpoints/soap", options)
20
- raise 'Unable to determine stack' unless response.success?
21
- response['url']
22
- end
15
+ def determine_stack
16
+ refresh unless self.auth_token
17
+ options = {'params' => {'access_token' => self.auth_token}}
18
+ response = get("https://www.exacttargetapis.com/platform/v1/endpoints/soap", options)
19
+ raise 'Unable to determine stack' unless response.success?
20
+ response['url']
21
+ end
23
22
  end
@@ -1,3 +1,3 @@
1
1
  module FuelSDK
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -13,8 +13,11 @@ RSpec.configure do |config|
13
13
  config.mock_with :rspec
14
14
  config.include Savon::SpecHelper
15
15
 
16
- # Use color in STDOUT
17
- config.color_enabled = true
16
+ begin
17
+ # Use color in STDOUT
18
+ config.color_enabled = true
19
+ rescue
20
+ end
18
21
 
19
22
  # Use the specified formatter
20
23
  config.formatter = :documentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuelsdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - MichaelAllenClark
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-18 00:00:00.000000000 Z
12
+ date: 2014-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler