hipchat 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hipchat/client.rb +2 -2
- data/lib/hipchat/version.rb +1 -1
- metadata +41 -21
- checksums.yaml +0 -7
data/lib/hipchat/client.rb
CHANGED
@@ -9,10 +9,10 @@ module HipChat
|
|
9
9
|
@token = token
|
10
10
|
default_options = { api_version: 'v1', server_url: 'https://api.hipchat.com' }
|
11
11
|
@options = default_options.merge options
|
12
|
-
@api_version = options[:api_version]
|
12
|
+
@api_version = @options[:api_version]
|
13
13
|
@api = HipChat::ApiVersion::Client.new(@options)
|
14
14
|
self.class.base_uri(@api.base_uri)
|
15
|
-
http_proxy = options[:http_proxy] || ENV['http_proxy']
|
15
|
+
http_proxy = @options[:http_proxy] || ENV['http_proxy']
|
16
16
|
setup_proxy(http_proxy) if http_proxy
|
17
17
|
end
|
18
18
|
|
data/lib/hipchat/version.rb
CHANGED
metadata
CHANGED
@@ -1,46 +1,52 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hipchat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- HipChat/Atlassian
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-
|
12
|
+
date: 2015-04-08 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: httparty
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- - '>='
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '0'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- - '>='
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0'
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: mimemagic
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- - '>='
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '0'
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- - '>='
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '0'
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rspec
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,20 +62,23 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: rr
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- - '>='
|
67
|
+
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: '0'
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- - '>='
|
75
|
+
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '0'
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: bundler
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
83
|
- - ~>
|
74
84
|
- !ruby/object:Gem::Version
|
@@ -76,6 +86,7 @@ dependencies:
|
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
91
|
- - ~>
|
81
92
|
- !ruby/object:Gem::Version
|
@@ -83,57 +94,65 @@ dependencies:
|
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: rake
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
|
-
- - '>='
|
99
|
+
- - ! '>='
|
88
100
|
- !ruby/object:Gem::Version
|
89
101
|
version: '0'
|
90
102
|
type: :development
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
|
-
- - '>='
|
107
|
+
- - ! '>='
|
95
108
|
- !ruby/object:Gem::Version
|
96
109
|
version: '0'
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: webmock
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
|
-
- - '>='
|
115
|
+
- - ! '>='
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
|
-
- - '>='
|
123
|
+
- - ! '>='
|
109
124
|
- !ruby/object:Gem::Version
|
110
125
|
version: '0'
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
127
|
name: rdoc
|
113
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
114
130
|
requirements:
|
115
|
-
- - '>'
|
131
|
+
- - ! '>'
|
116
132
|
- !ruby/object:Gem::Version
|
117
133
|
version: 2.4.2
|
118
134
|
type: :development
|
119
135
|
prerelease: false
|
120
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
121
138
|
requirements:
|
122
|
-
- - '>'
|
139
|
+
- - ! '>'
|
123
140
|
- !ruby/object:Gem::Version
|
124
141
|
version: 2.4.2
|
125
142
|
- !ruby/object:Gem::Dependency
|
126
143
|
name: coveralls
|
127
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
128
146
|
requirements:
|
129
|
-
- - '>='
|
147
|
+
- - ! '>='
|
130
148
|
- !ruby/object:Gem::Version
|
131
149
|
version: '0'
|
132
150
|
type: :development
|
133
151
|
prerelease: false
|
134
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
135
154
|
requirements:
|
136
|
-
- - '>='
|
155
|
+
- - ! '>='
|
137
156
|
- !ruby/object:Gem::Version
|
138
157
|
version: '0'
|
139
158
|
description: Ruby library to interact with HipChat
|
@@ -178,26 +197,27 @@ files:
|
|
178
197
|
homepage: https://github.com/hipchat/hipchat-rb
|
179
198
|
licenses:
|
180
199
|
- MIT
|
181
|
-
metadata: {}
|
182
200
|
post_install_message:
|
183
201
|
rdoc_options: []
|
184
202
|
require_paths:
|
185
203
|
- lib
|
186
204
|
required_ruby_version: !ruby/object:Gem::Requirement
|
205
|
+
none: false
|
187
206
|
requirements:
|
188
|
-
- - '>='
|
207
|
+
- - ! '>='
|
189
208
|
- !ruby/object:Gem::Version
|
190
209
|
version: 1.9.3
|
191
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
|
+
none: false
|
192
212
|
requirements:
|
193
|
-
- - '>='
|
213
|
+
- - ! '>='
|
194
214
|
- !ruby/object:Gem::Version
|
195
215
|
version: '0'
|
196
216
|
requirements: []
|
197
217
|
rubyforge_project:
|
198
|
-
rubygems_version:
|
218
|
+
rubygems_version: 1.8.29
|
199
219
|
signing_key:
|
200
|
-
specification_version:
|
220
|
+
specification_version: 3
|
201
221
|
summary: Ruby library to interact with HipChat
|
202
222
|
test_files:
|
203
223
|
- spec/example/history.json
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: d6e9ee49fd12948084e362a20620cb7331e13f41
|
4
|
-
data.tar.gz: d1b658a816e7f42d34c6a5cdbf3f3c51e3f43542
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 7de04454a535bf911c40aa3d81a717ef80a0fd7996ed5272f80b0aeea5414e6c345b31455ecfeba394df3dfe9fa5ef41e6797d3bc0d578cc27ad859abb9cbcd4
|
7
|
-
data.tar.gz: 6e003b0651748e0507d18a57fd0b1acf50bd7ce9ecd3a8c24353ec6eaa4f7da24714e7eb626227d9ef88cdcc4e3fec57fe5b32dc5da18fda607d0d7b79e79040
|