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 +4 -4
- data/lib/m2x/batches.rb +2 -2
- data/lib/m2x/blueprints.rb +2 -2
- data/lib/m2x/datasources.rb +2 -2
- data/lib/m2x/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 953d66feeb0f903a566aafd0c9273954cd8cd759
|
|
4
|
+
data.tar.gz: d162fdab9078d428eca77d8c23fbbb7605a936e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a40530f1aefd62547d015ce3a6326d2fbdb483d658252b0ea8ca5a77252d238e1d9ea2f48837805b9fe5f23e6cdaded709e4e2584326cd5fc3d84ed376cb537
|
|
7
|
+
data.tar.gz: a06f61fad7f52dd0aa9a90cc033f0a3501cfdcf7f44688c88b901eaa73d1250c833858bd8b6c21904133e2da652238552b103603028c81ab3d6bb506b66707fc
|
data/lib/m2x/batches.rb
CHANGED
|
@@ -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,
|
|
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,
|
|
56
|
+
@client.put("/batches/#{URI.encode(id)}", nil, params)
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
# List/search all data sources in the batch
|
data/lib/m2x/blueprints.rb
CHANGED
|
@@ -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,
|
|
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,
|
|
56
|
+
@client.put("/blueprints/#{URI.encode(id)}", nil, params)
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
# Delete an existing data source blueprint
|
data/lib/m2x/datasources.rb
CHANGED
|
@@ -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,
|
|
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,
|
|
56
|
+
@client.put("/datasources/#{URI.encode(id)}", nil, params)
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
# Delete an existing data source
|
data/lib/m2x/version.rb
CHANGED
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.
|
|
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-
|
|
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
|