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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9eeb1949128e1c131da7388c09a2b63c8ec3dfc
|
4
|
+
data.tar.gz: 3104a1b91b6c5ce20f7ccbb7858b70f909282d1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d92522a84766bf42dca162f03f087f70380b4f808344fa589d7aff858fc947a6ea43a813b471d8d9e93dea0a4f67ac4347cd32e0089d3aabd540da680b6c178a
|
7
|
+
data.tar.gz: 3d0cb0a03ef70fc88bcfc672156111ae5220f7952060e734c74f48e769d04b5d3d683b907167c4944e5b796e07331b1d6ed8d35f1466836715d0ffa8d7993dce
|
data/.gitignore
CHANGED
data/lib/global_registry/base.rb
CHANGED
@@ -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
|
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.
|
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-
|
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
|
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
|