rimu 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +13 -5
  2. data/lib/rimu.rb +2 -2
  3. data/lib/rimu/version.rb +1 -1
  4. metadata +24 -24
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9d83c7258f16b129d5d5c0b40558a1b204ea69f3
4
- data.tar.gz: 8a52d90147459954396a2af7a2e4d78900036420
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YjBiNGVhYmNhNjQwNGI1M2FiMGVhYjUzMDU4MDgzZTQ1ZmUwOTkyYg==
5
+ data.tar.gz: !binary |-
6
+ NWY4NTg1MjdhNjEwMTBmMzE2MGZmNDg5YmJmMTQ0MmU1YmM4ZjE2NQ==
5
7
  SHA512:
6
- metadata.gz: 5959c9a9c13b598c6801217f400eb291ae5a908ffa4e37116fc246d82df415034f3993defab16a494ecff3477bf1579c672508f533ac38a16af763e33fa97353
7
- data.tar.gz: 10c18c690337109a0c637dbaa703aa6ca60b53a4dac7d05b260acdac6178da3dc8fd6bb45b998bbc7eb791f148a16654cca7d869e8917b20ace3df41d878ec7a
8
+ metadata.gz: !binary |-
9
+ YWJmZmM3ZmIxZjAxM2YwYmUyNDQyZjU3NTYyZGU4Y2U0YWRjYzgxNmYwZTdi
10
+ ZDRlOWM5YjA4YTkzZDgwOTRlZTk5YjVlOTc3ZjVkZjYxN2VlMDljOTIyZjNl
11
+ OGIxODJhZmVmMzFhMTdmZWMyM2VkMTYzZGI0ZTJiZjc3N2U4MjA=
12
+ data.tar.gz: !binary |-
13
+ ODEyNTVjODRkZmU4NzJkOWJjZGM0ODZjZWZiNWQxNzNkYThmYTlmNmRkZGJh
14
+ MDFmZDY2ZWJjZDU0ODZiNTM1YjU1YjkzY2E2NTE2MDdiYzIwNzUxNDY4OGI4
15
+ MDBlOGFiMDkwZWRiODUwODE0NTUxNjI2NTA1OWU0NTQ2NTY1NGY=
@@ -91,9 +91,9 @@ module Rimu
91
91
  def send_request(path, field, method="GET", data=nil)
92
92
  logger.info "#{method} #{api_url}#{path} body:#{data.inspect}" if logger
93
93
  if data.nil?
94
- options = {headers: set_headers}
94
+ options = {:base_uri => api_url, headers: set_headers}
95
95
  else
96
- options = {headers: set_headers, body: data.to_json, read_timeout: read_timeout}
96
+ options = {:base_uri => api_url, headers: set_headers, body: data.to_json, read_timeout: read_timeout}
97
97
  end
98
98
  begin
99
99
  response = HTTParty.send(method.downcase.to_sym, path, options).parsed_response
@@ -1,6 +1,6 @@
1
1
  module Rimu
2
2
  module Version
3
- VERSION = '0.0.5'
3
+ VERSION = '0.0.6'
4
4
  VERSION_PATTERN = /^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rimu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Colin Kissa
@@ -14,112 +14,112 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec-core
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-expectations
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: mocha
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: httparty
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: json
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ~>
116
116
  - !ruby/object:Gem::Version
117
117
  version: '1.0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - ~>
123
123
  - !ruby/object:Gem::Version
124
124
  version: '1.0'
125
125
  description: This is a Ruby wrapper around Rimuhosting's REST API
@@ -130,11 +130,11 @@ extensions: []
130
130
  extra_rdoc_files:
131
131
  - README.md
132
132
  files:
133
- - ".codeclimate.yml"
134
- - ".gitignore"
135
- - ".rspec"
136
- - ".rubocop.yml"
137
- - ".travis.yml"
133
+ - .codeclimate.yml
134
+ - .gitignore
135
+ - .rspec
136
+ - .rubocop.yml
137
+ - .travis.yml
138
138
  - Gemfile
139
139
  - LICENSE
140
140
  - README.md
@@ -154,12 +154,12 @@ require_paths:
154
154
  - lib
155
155
  required_ruby_version: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
157
+ - - ! '>='
158
158
  - !ruby/object:Gem::Version
159
159
  version: 1.9.3
160
160
  required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  requirements:
162
- - - ">="
162
+ - - ! '>='
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
165
  requirements: []