hubs3d 1.0.0 → 1.0.1

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: d27cf81d7ea6eee957d3ca46f23b933fc4baa75b
4
- data.tar.gz: c6222907a6282f605c18765d657d97ab9928b890
3
+ metadata.gz: bbeabbe54948bec7c821a8e288c3513d1d54882a
4
+ data.tar.gz: 1e385c6da0f3dc75db5b8ae8440aeb26971e6055
5
5
  SHA512:
6
- metadata.gz: 7c129f18035969ffece8b11dfbd36eb1a9fdb1d1a51877caf31fba0c4807c067d2b4eb9f827318fda32b88d927fffd178d23b571f3bec7230013e0c29a44d311
7
- data.tar.gz: b8fc61b1e714a5ca590e3f6e3fba3ba07b003800dbaa6c1748b968f25d60575999759c5cadbbf67a6c27abb0b4f8ce45b685d9cfa0add2c3b95b04a9c1f6ca31
6
+ metadata.gz: 08fb90573f5a9094f31144f2a7a29ea4092220e0e19d49fc52f4b4d1c9dd5c0e3d8075ffd3e5741045e2600445bd342debb95a0efcc5ee4d07453e0595607337
7
+ data.tar.gz: abd3031e301c8d360dd10a68e54733359cdaf6846133995f5587262e0f86f0fd1c2f8befe734024e21ebad6678bbbc32db5f0b5684ee1e05d52ab494aaca1daf
@@ -19,12 +19,11 @@ module Hubs3D
19
19
  response = token.post(Hubs3D.configuration.api_path + path,
20
20
  params,
21
21
  "Accept" => "application/json")
22
- body = JSON.parse(response.body)
23
22
 
24
23
  if response.code == "200"
25
- body
24
+ JSON.parse(response.body)
26
25
  else
27
- fail Error, "API #{response.code}: #{body.join(" ")}"
26
+ fail Error, "API #{response.code}: #{response.body}"
28
27
  end
29
28
  end
30
29
  end
@@ -1,3 +1,3 @@
1
1
  module Hubs3D
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,83 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubs3d
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sunny Ripert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-25 00:00:00.000000000 Z
11
+ date: 2015-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rest-client
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '>='
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: oauth
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - '>='
17
+ - - ">="
32
18
  - !ruby/object:Gem::Version
33
19
  version: '0'
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - '>='
24
+ - - ">="
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: webmock
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - '>='
31
+ - - ">="
46
32
  - !ruby/object:Gem::Version
47
33
  version: '0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - '>='
38
+ - - ">="
53
39
  - !ruby/object:Gem::Version
54
40
  version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - '>='
45
+ - - ">="
60
46
  - !ruby/object:Gem::Version
61
47
  version: '0'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - '>='
52
+ - - ">="
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rspec
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - '>='
59
+ - - ">="
74
60
  - !ruby/object:Gem::Version
75
61
  version: '0'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - '>='
66
+ - - ">="
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
69
  description: Upload 3D Models and create carts on 3D Hubs
@@ -114,12 +100,12 @@ require_paths:
114
100
  - lib
115
101
  required_ruby_version: !ruby/object:Gem::Requirement
116
102
  requirements:
117
- - - '>='
103
+ - - ">="
118
104
  - !ruby/object:Gem::Version
119
105
  version: '0'
120
106
  required_rubygems_version: !ruby/object:Gem::Requirement
121
107
  requirements:
122
- - - '>='
108
+ - - ">="
123
109
  - !ruby/object:Gem::Version
124
110
  version: '0'
125
111
  requirements: []