m2x 0.0.5 → 0.0.6

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6f9f7bb4b597249b1e18a30e86317a91129e267
4
- data.tar.gz: 060596e3b099c0bab836229bc00d6a7428330184
3
+ metadata.gz: 953d66feeb0f903a566aafd0c9273954cd8cd759
4
+ data.tar.gz: d162fdab9078d428eca77d8c23fbbb7605a936e1
5
5
  SHA512:
6
- metadata.gz: 5af7ebf48e8a412c9f9cf47d0959acfe07e8017db6cf7243703aa6e302dc1417074bc2b3ad504ddfe1daef1a3877cf3ec3891af4d3e33ceb69cd1a3ad700dedf
7
- data.tar.gz: b005c791236cee4abfa1fe9e66f99f41aed229f50c829155bb198f4e0298c44240730e7795db0f5fd77f52929a38dc082c86ade82c1caa5745f9a5e94b526441
6
+ metadata.gz: 6a40530f1aefd62547d015ce3a6326d2fbdb483d658252b0ea8ca5a77252d238e1d9ea2f48837805b9fe5f23e6cdaded709e4e2584326cd5fc3d84ed376cb537
7
+ data.tar.gz: a06f61fad7f52dd0aa9a90cc033f0a3501cfdcf7f44688c88b901eaa73d1250c833858bd8b6c21904133e2da652238552b103603028c81ab3d6bb506b66707fc
@@ -36,7 +36,7 @@ class M2X
36
36
  # * `description` containing a longer description (optional).
37
37
  # * `tags` a comma separated string of tags (optional).
38
38
  def create(params={})
39
- @client.post("/batches", nil, extras.merge(name: name))
39
+ @client.post("/batches", nil, params)
40
40
  end
41
41
 
42
42
  # Retrieve information about an existing data source batch
@@ -53,7 +53,7 @@ class M2X
53
53
  # * `description` containing a longer description (optional).
54
54
  # * `tags` a comma separated string of tags (optional).
55
55
  def update(id, params={})
56
- @client.put("/batches/#{URI.encode(id)}", nil, extras.merge(name: name))
56
+ @client.put("/batches/#{URI.encode(id)}", nil, params)
57
57
  end
58
58
 
59
59
  # List/search all data sources in the batch
@@ -36,7 +36,7 @@ class M2X
36
36
  # * `description` containing a longer description (optional).
37
37
  # * `tags` a comma separated string of tags (optional).
38
38
  def create(params={})
39
- @client.post("/blueprints", nil, extras.merge(name: name))
39
+ @client.post("/blueprints", nil, params)
40
40
  end
41
41
 
42
42
  # Retrieve information about an existing data source blueprint
@@ -53,7 +53,7 @@ class M2X
53
53
  # * `description` containing a longer description (optional).
54
54
  # * `tags` a comma separated string of tags (optional).
55
55
  def update(id, params={})
56
- @client.put("/blueprints/#{URI.encode(id)}", nil, extras.merge(name: name))
56
+ @client.put("/blueprints/#{URI.encode(id)}", nil, params)
57
57
  end
58
58
 
59
59
  # Delete an existing data source blueprint
@@ -36,7 +36,7 @@ class M2X
36
36
  # * `description` containing a longer description (optional).
37
37
  # * `tags` a comma separated string of tags (optional).
38
38
  def create(params={})
39
- @client.post("/datasources", nil, extras.merge(name: name))
39
+ @client.post("/datasources", nil, params)
40
40
  end
41
41
 
42
42
  # Retrieve information about an existing data source
@@ -53,7 +53,7 @@ class M2X
53
53
  # * `description` containing a longer description (optional).
54
54
  # * `tags` a comma separated string of tags (optional).
55
55
  def update(id, params={})
56
- @client.put("/datasources/#{URI.encode(id)}", nil, extras.merge(name: name))
56
+ @client.put("/datasources/#{URI.encode(id)}", nil, params)
57
57
  end
58
58
 
59
59
  # Delete an existing data source
@@ -1,3 +1,3 @@
1
1
  class M2X
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: m2x
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro López
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-21 00:00:00.000000000 Z
12
+ date: 2014-03-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: AT&T’s M2X is a cloud-based fully managed data storage service for network
15
15
  connected machine-to-machine (M2M) devices. From trucks and turbines to vending