fuelsdk 0.0.7 → 0.0.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.
@@ -300,7 +300,7 @@ module FuelSDK
300
300
 
301
301
  def munge_fields d
302
302
  # maybe one day will make it smart enough to zip properties and fields if count is same?
303
- if d.kind_of? Array and d.count > 1 and (fields and !fields.empty?)
303
+ if d.count > 1 and (fields and !fields.empty?)
304
304
  # we could map the field to all DataExtensions, but lets make user be explicit.
305
305
  # if they are going to use fields attribute properties should
306
306
  # be a single DataExtension Defined in a Hash
@@ -1,3 +1,3 @@
1
1
  module FuelSDK
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -24,6 +24,8 @@ begin
24
24
  raise 'Failure creating data extensions' unless createDEResponse.success?
25
25
  raise 'Failure creating data extensions' unless createDEResponse.results.count == 2
26
26
 
27
+ raise
28
+
27
29
  # Cleaning up the newly created DEs
28
30
  # Delete deOne
29
31
  p '>>> Delete deOne'
@@ -40,6 +40,8 @@ begin
40
40
  p 'Results: ' + postResponse.results.inspect
41
41
  raise 'Failure creating data extension' unless postResponse.success?
42
42
 
43
+ raise
44
+
43
45
  # Update DE to add new field
44
46
  p '>>> Update DE to add new field'
45
47
  de3 = ET_DataExtension.new
@@ -1,8 +1,8 @@
1
1
  def auth
2
2
  {
3
3
  'client' => {
4
- 'id' => YOURID
5
- 'secret' => YOURSERET
4
+ 'id' => 'sdkph8s8dhtk63zezqfk9fac',
5
+ 'secret' => 'VUZg3FNVbZ84CKjdFqswZu84'
6
6
  }
7
7
  }
8
8
  end
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.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: