global_registry 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bccd3cae799baf2b52025f031c42218b8a0179ef
4
- data.tar.gz: c579227c80eb70fbfbdcca5b43a78e87cd48d1a6
3
+ metadata.gz: e9eeb1949128e1c131da7388c09a2b63c8ec3dfc
4
+ data.tar.gz: 3104a1b91b6c5ce20f7ccbb7858b70f909282d1e
5
5
  SHA512:
6
- metadata.gz: 78b5b9195f21212a5906028369f6f3e9454df9682e3db16621023089c796899ac2adbca4d55dd038e2754ccdee7bd19bd5ba12d8ae3e84c059f6a0fc1b9e7397
7
- data.tar.gz: 57ab5131c918240b6811d4d501f77f279c949c077c16e7460272ad1c303ad154280c32750c05b5f3b7b522f06e3029419e5b77673a4a1c835ad1d46720f65e63
6
+ metadata.gz: d92522a84766bf42dca162f03f087f70380b4f808344fa589d7aff858fc947a6ea43a813b471d8d9e93dea0a4f67ac4347cd32e0089d3aabd540da680b6c178a
7
+ data.tar.gz: 3d0cb0a03ef70fc88bcfc672156111ae5220f7952060e734c74f48e769d04b5d3d683b907167c4944e5b796e07331b1d6ed8d35f1466836715d0ffa8d7993dce
data/.gitignore CHANGED
@@ -16,3 +16,4 @@ test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
18
  vendor/ruby
19
+ .idea
@@ -36,11 +36,11 @@ module GlobalRegistry
36
36
 
37
37
  case method
38
38
  when :post
39
- RestClient.post(url, params, authorization: "Bearer #{GlobalRegistry.access_token}", :timeout => -1) { |response, request, result, &block|
39
+ RestClient.post(url, params.to_json, :content_type => :json, :accept => :json, authorization: "Bearer #{GlobalRegistry.access_token}", :timeout => -1) { |response, request, result, &block|
40
40
  handle_response(response, request, result)
41
41
  }
42
42
  when :put
43
- RestClient.put(url, params, authorization: "Bearer #{GlobalRegistry.access_token}", :timeout => -1) { |response, request, result, &block|
43
+ RestClient.put(url, params.to_json, :content_type => :json, :accept => :json, authorization: "Bearer #{GlobalRegistry.access_token}", :timeout => -1) { |response, request, result, &block|
44
44
  handle_response(response, request, result)
45
45
  }
46
46
  else
@@ -0,0 +1,6 @@
1
+ module GlobalRegistry
2
+ class Measurement < Base
3
+
4
+ end
5
+ end
6
+
@@ -0,0 +1,6 @@
1
+ module GlobalRegistry
2
+ class MeasurementType < Base
3
+
4
+ end
5
+ end
6
+
@@ -0,0 +1,6 @@
1
+ module GlobalRegistry
2
+ class System < Base
3
+
4
+ end
5
+ end
6
+
@@ -1,4 +1,4 @@
1
1
  module GlobalRegistry
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: global_registry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Starcher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-07 00:00:00.000000000 Z
11
+ date: 2014-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -84,8 +84,11 @@ files:
84
84
  - lib/global_registry/entity.rb
85
85
  - lib/global_registry/entity_type.rb
86
86
  - lib/global_registry/enum_value.rb
87
+ - lib/global_registry/measurement.rb
88
+ - lib/global_registry/measurement_type.rb
87
89
  - lib/global_registry/relationship.rb
88
90
  - lib/global_registry/relationship_type.rb
91
+ - lib/global_registry/system.rb
89
92
  - lib/global_registry/version.rb
90
93
  homepage: ''
91
94
  licenses: []
@@ -106,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
109
  version: '0'
107
110
  requirements: []
108
111
  rubyforge_project:
109
- rubygems_version: 2.1.11
112
+ rubygems_version: 2.2.1
110
113
  signing_key:
111
114
  specification_version: 4
112
115
  summary: Push and pull data from the Global Registry