machineshop 0.0.1 → 0.0.2
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/.gitignore +20 -0
- data/{.idea → machineshop/.idea}/.name +0 -0
- data/{.idea → machineshop/.idea}/.rakeTasks +0 -0
- data/{.idea → machineshop/.idea}/compiler.xml +0 -0
- data/{.idea → machineshop/.idea}/copyright/profiles_settings.xml +0 -0
- data/{.idea → machineshop/.idea}/encodings.xml +0 -0
- data/{.idea → machineshop/.idea}/inspectionProfiles/Project_Default.xml +0 -0
- data/{.idea → machineshop/.idea}/inspectionProfiles/profiles_settings.xml +0 -0
- data/{.idea → machineshop/.idea}/machineshop.iml +0 -0
- data/{.idea → machineshop/.idea}/misc.xml +0 -0
- data/{.idea → machineshop/.idea}/modules.xml +0 -0
- data/{.idea → machineshop/.idea}/scopes/scope_settings.xml +0 -0
- data/{.idea → machineshop/.idea}/vcs.xml +0 -0
- data/{.idea → machineshop/.idea}/workspace.xml +0 -0
- data/{Gemfile → machineshop/Gemfile} +0 -0
- data/{LICENSE → machineshop/LICENSE} +0 -0
- data/{README.md → machineshop/README.md} +0 -0
- data/{Rakefile → machineshop/Rakefile} +0 -0
- data/{doc.txt → machineshop/doc.txt} +0 -0
- data/{lib → machineshop/lib}/machineshop/api_operations/create.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/api_operations/delete.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/api_operations/list.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/api_operations/update.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/api_resource.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/configuration.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/customer.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/database.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/device.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/device_instance.rb +0 -0
- data/machineshop/lib/machineshop/errors/api_connection_error.rb +4 -0
- data/{lib → machineshop/lib}/machineshop/errors/api_error.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/errors/authentication_error.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/errors/database_error.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/errors/invalid_request_error.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/errors/machineshop_error.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/json.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/machineshop_cache.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/machineshop_object.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/mapping.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/meter.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/models/people.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/report.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/rule.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/user.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/util.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/utility.rb +0 -0
- data/{lib → machineshop/lib}/machineshop/version.rb +1 -1
- data/{lib → machineshop/lib}/machineshop.rb +1 -1
- data/{machineshop.gemspec → machineshop/machineshop.gemspec} +0 -0
- data/{spec → machineshop/spec}/lib/api_calls_spec.rb +0 -0
- data/{spec → machineshop/spec}/lib/customer_spec.rb +0 -0
- data/{spec → machineshop/spec}/lib/device_spec.rb +0 -0
- data/{spec → machineshop/spec}/lib/mapping_spec.rb +0 -0
- data/{spec → machineshop/spec}/lib/meter_spec.rb +0 -0
- data/{spec → machineshop/spec}/lib/report_spec.rb +0 -0
- data/{spec → machineshop/spec}/lib/rule_spec.rb +0 -0
- data/{spec → machineshop/spec}/lib/user_spec.rb +1 -1
- data/{spec → machineshop/spec}/spec_helper.rb +0 -0
- metadata +61 -68
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd4d0af4f7f1a632762666cdfd7496ccb8a5b989
|
4
|
+
data.tar.gz: 2eaf3b23d7d0bdcaecf28b0db1b48e76d69c7655
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26d36ca97b34900c810c32dda2f35489ce70e38d2d0a45e0facc65a917102b8ecd8735c4168c75551eee8cd67c939b454c33a40804b3abb05fd573467c7a708f
|
7
|
+
data.tar.gz: 1390ae825f0f91bdd17d7da7a14a54d02b2efbad79d21cf3939b23946f354c47bc96c1c7ecc7e384cb30bee4a7fb3add0e13d90bd3539ec7eb791bef9b8568a1
|
data/.gitignore
ADDED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -5,7 +5,6 @@ require 'set'
|
|
5
5
|
require 'openssl'
|
6
6
|
require 'rest_client'
|
7
7
|
require "base64"
|
8
|
-
require 'rest_client'
|
9
8
|
require "addressable/uri"
|
10
9
|
require 'multi_json'
|
11
10
|
|
@@ -42,6 +41,7 @@ require 'machineshop/errors/machineshop_error'
|
|
42
41
|
require 'machineshop/errors/api_error'
|
43
42
|
require 'machineshop/errors/invalid_request_error'
|
44
43
|
require 'machineshop/errors/authentication_error'
|
44
|
+
require 'machineshop/errors/api_connection_error'
|
45
45
|
|
46
46
|
# require 'machineshop/models/people'
|
47
47
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -5,7 +5,7 @@ require_relative '../spec_helper'
|
|
5
5
|
MachineShop.api_base_url= 'http://stage.services.machineshop.io/api/v0'
|
6
6
|
|
7
7
|
#publisher_username = 'publisher@machineshop.com'
|
8
|
-
publisher_username = '
|
8
|
+
publisher_username = 'publisher@csr.com'
|
9
9
|
publisher_password = 'password'
|
10
10
|
|
11
11
|
describe MachineShop::User do
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: machineshop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machineshop
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -93,62 +93,64 @@ executables: []
|
|
93
93
|
extensions: []
|
94
94
|
extra_rdoc_files: []
|
95
95
|
files:
|
96
|
-
- .
|
97
|
-
-
|
98
|
-
-
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
-
|
111
|
-
-
|
112
|
-
-
|
113
|
-
-
|
114
|
-
-
|
115
|
-
- lib/machineshop
|
116
|
-
- lib/machineshop/api_operations/
|
117
|
-
- lib/machineshop/api_operations/
|
118
|
-
- lib/machineshop/api_operations/
|
119
|
-
- lib/machineshop/
|
120
|
-
- lib/machineshop/
|
121
|
-
- lib/machineshop/
|
122
|
-
- lib/machineshop/
|
123
|
-
- lib/machineshop/
|
124
|
-
- lib/machineshop/
|
125
|
-
- lib/machineshop/
|
126
|
-
- lib/machineshop/errors/
|
127
|
-
- lib/machineshop/errors/
|
128
|
-
- lib/machineshop/errors/
|
129
|
-
- lib/machineshop/errors/
|
130
|
-
- lib/machineshop/
|
131
|
-
- lib/machineshop/
|
132
|
-
- lib/machineshop/
|
133
|
-
- lib/machineshop/
|
134
|
-
- lib/machineshop/
|
135
|
-
- lib/machineshop/
|
136
|
-
- lib/machineshop/
|
137
|
-
- lib/machineshop/
|
138
|
-
- lib/machineshop/
|
139
|
-
- lib/machineshop/
|
140
|
-
- lib/machineshop/
|
141
|
-
- lib/machineshop/
|
142
|
-
- machineshop.
|
143
|
-
-
|
144
|
-
-
|
145
|
-
- spec/lib/
|
146
|
-
- spec/lib/
|
147
|
-
- spec/lib/
|
148
|
-
- spec/lib/
|
149
|
-
- spec/lib/
|
150
|
-
- spec/lib/
|
151
|
-
- spec/
|
96
|
+
- .gitignore
|
97
|
+
- machineshop/.idea/.name
|
98
|
+
- machineshop/.idea/.rakeTasks
|
99
|
+
- machineshop/.idea/compiler.xml
|
100
|
+
- machineshop/.idea/copyright/profiles_settings.xml
|
101
|
+
- machineshop/.idea/encodings.xml
|
102
|
+
- machineshop/.idea/inspectionProfiles/Project_Default.xml
|
103
|
+
- machineshop/.idea/inspectionProfiles/profiles_settings.xml
|
104
|
+
- machineshop/.idea/machineshop.iml
|
105
|
+
- machineshop/.idea/misc.xml
|
106
|
+
- machineshop/.idea/modules.xml
|
107
|
+
- machineshop/.idea/scopes/scope_settings.xml
|
108
|
+
- machineshop/.idea/vcs.xml
|
109
|
+
- machineshop/.idea/workspace.xml
|
110
|
+
- machineshop/Gemfile
|
111
|
+
- machineshop/LICENSE
|
112
|
+
- machineshop/README.md
|
113
|
+
- machineshop/Rakefile
|
114
|
+
- machineshop/doc.txt
|
115
|
+
- machineshop/lib/machineshop.rb
|
116
|
+
- machineshop/lib/machineshop/api_operations/create.rb
|
117
|
+
- machineshop/lib/machineshop/api_operations/delete.rb
|
118
|
+
- machineshop/lib/machineshop/api_operations/list.rb
|
119
|
+
- machineshop/lib/machineshop/api_operations/update.rb
|
120
|
+
- machineshop/lib/machineshop/api_resource.rb
|
121
|
+
- machineshop/lib/machineshop/configuration.rb
|
122
|
+
- machineshop/lib/machineshop/customer.rb
|
123
|
+
- machineshop/lib/machineshop/database.rb
|
124
|
+
- machineshop/lib/machineshop/device.rb
|
125
|
+
- machineshop/lib/machineshop/device_instance.rb
|
126
|
+
- machineshop/lib/machineshop/errors/api_connection_error.rb
|
127
|
+
- machineshop/lib/machineshop/errors/api_error.rb
|
128
|
+
- machineshop/lib/machineshop/errors/authentication_error.rb
|
129
|
+
- machineshop/lib/machineshop/errors/database_error.rb
|
130
|
+
- machineshop/lib/machineshop/errors/invalid_request_error.rb
|
131
|
+
- machineshop/lib/machineshop/errors/machineshop_error.rb
|
132
|
+
- machineshop/lib/machineshop/json.rb
|
133
|
+
- machineshop/lib/machineshop/machineshop_cache.rb
|
134
|
+
- machineshop/lib/machineshop/machineshop_object.rb
|
135
|
+
- machineshop/lib/machineshop/mapping.rb
|
136
|
+
- machineshop/lib/machineshop/meter.rb
|
137
|
+
- machineshop/lib/machineshop/models/people.rb
|
138
|
+
- machineshop/lib/machineshop/report.rb
|
139
|
+
- machineshop/lib/machineshop/rule.rb
|
140
|
+
- machineshop/lib/machineshop/user.rb
|
141
|
+
- machineshop/lib/machineshop/util.rb
|
142
|
+
- machineshop/lib/machineshop/utility.rb
|
143
|
+
- machineshop/lib/machineshop/version.rb
|
144
|
+
- machineshop/machineshop.gemspec
|
145
|
+
- machineshop/spec/lib/api_calls_spec.rb
|
146
|
+
- machineshop/spec/lib/customer_spec.rb
|
147
|
+
- machineshop/spec/lib/device_spec.rb
|
148
|
+
- machineshop/spec/lib/mapping_spec.rb
|
149
|
+
- machineshop/spec/lib/meter_spec.rb
|
150
|
+
- machineshop/spec/lib/report_spec.rb
|
151
|
+
- machineshop/spec/lib/rule_spec.rb
|
152
|
+
- machineshop/spec/lib/user_spec.rb
|
153
|
+
- machineshop/spec/spec_helper.rb
|
152
154
|
homepage: ''
|
153
155
|
licenses: []
|
154
156
|
metadata: {}
|
@@ -172,13 +174,4 @@ rubygems_version: 2.2.1
|
|
172
174
|
signing_key:
|
173
175
|
specification_version: 4
|
174
176
|
summary: A convenient way to call into the machineshop API.
|
175
|
-
test_files:
|
176
|
-
- spec/lib/api_calls_spec.rb
|
177
|
-
- spec/lib/customer_spec.rb
|
178
|
-
- spec/lib/device_spec.rb
|
179
|
-
- spec/lib/mapping_spec.rb
|
180
|
-
- spec/lib/meter_spec.rb
|
181
|
-
- spec/lib/report_spec.rb
|
182
|
-
- spec/lib/rule_spec.rb
|
183
|
-
- spec/lib/user_spec.rb
|
184
|
-
- spec/spec_helper.rb
|
177
|
+
test_files: []
|