hipchat-api 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGLOG.markdown +5 -1
- data/README.rdoc +22 -1
- data/Rakefile +7 -0
- data/VERSION +1 -1
- data/hipchat-api.gemspec +3 -3
- data/lib/hipchat-api.rb +2 -2
- data/spec/hipchat-api_spec.rb +1 -1
- metadata +4 -6
data/CHANGLOG.markdown
CHANGED
data/README.rdoc
CHANGED
@@ -1,6 +1,27 @@
|
|
1
1
|
= hipchat-api
|
2
2
|
|
3
|
-
Ruby API for interacting with HipChat API
|
3
|
+
Ruby API for interacting with HipChat API
|
4
|
+
|
5
|
+
* https://www.hipchat.com/docs/api
|
6
|
+
|
7
|
+
== Compatibility
|
8
|
+
|
9
|
+
hipchat-API has been tested under Ruby 1.8.7 and Ruby 1.9.2
|
10
|
+
|
11
|
+
== Requirements
|
12
|
+
|
13
|
+
* HTTParty
|
14
|
+
|
15
|
+
== Install
|
16
|
+
|
17
|
+
* gem install hipchat-api
|
18
|
+
|
19
|
+
== Example
|
20
|
+
|
21
|
+
ruby-1.9.2-p180 :001 > require 'hipchat-api'
|
22
|
+
=> true
|
23
|
+
ruby-1.9.2-p180 :002 > hipchat_api = HipChat::API.new('api_token')
|
24
|
+
=> #<HipChat::API:0x000001013d7280 @token="api_token", @hipchat_api_url="http://api.hipchat.com/v1">
|
4
25
|
|
5
26
|
== Contributing to hipchat-api
|
6
27
|
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/hipchat-api.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{hipchat-api}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["David Czarnecki"]
|
12
|
-
s.date = %q{2011-05-
|
12
|
+
s.date = %q{2011-05-09}
|
13
13
|
s.description = %q{Ruby API for interacting with HipChat}
|
14
14
|
s.email = %q{czarneckid@acm.org}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
|
|
44
44
|
s.homepage = %q{http://github.com/czarneckid/hipchat-api}
|
45
45
|
s.licenses = ["MIT"]
|
46
46
|
s.require_paths = ["lib"]
|
47
|
-
s.rubygems_version = %q{1.
|
47
|
+
s.rubygems_version = %q{1.7.2}
|
48
48
|
s.summary = %q{Ruby API for interacting with HipChat}
|
49
49
|
|
50
50
|
if s.respond_to? :specification_version then
|
data/lib/hipchat-api.rb
CHANGED
@@ -4,7 +4,7 @@ module HipChat
|
|
4
4
|
class API
|
5
5
|
include HTTParty
|
6
6
|
|
7
|
-
VERSION = '1.0.
|
7
|
+
VERSION = '1.0.1'.freeze
|
8
8
|
DEFAULT_TIMEOUT = 3
|
9
9
|
|
10
10
|
DEFAULT_HEADERS = {
|
@@ -15,7 +15,7 @@ module HipChat
|
|
15
15
|
default_timeout(DEFAULT_TIMEOUT)
|
16
16
|
format(:json)
|
17
17
|
|
18
|
-
HIPCHAT_API_URL = '
|
18
|
+
HIPCHAT_API_URL = 'https://api.hipchat.com/v1'
|
19
19
|
|
20
20
|
attr_accessor :hipchat_api_url
|
21
21
|
attr_accessor :token
|
data/spec/hipchat-api_spec.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: hipchat-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- David Czarnecki
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-05-09 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: httparty
|
@@ -101,7 +100,6 @@ files:
|
|
101
100
|
- spec/fakeweb/users_update_response.json
|
102
101
|
- spec/hipchat-api_spec.rb
|
103
102
|
- spec/spec_helper.rb
|
104
|
-
has_rdoc: true
|
105
103
|
homepage: http://github.com/czarneckid/hipchat-api
|
106
104
|
licenses:
|
107
105
|
- MIT
|
@@ -115,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
115
113
|
requirements:
|
116
114
|
- - ">="
|
117
115
|
- !ruby/object:Gem::Version
|
118
|
-
hash: -
|
116
|
+
hash: -2641781490993724861
|
119
117
|
segments:
|
120
118
|
- 0
|
121
119
|
version: "0"
|
@@ -128,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
126
|
requirements: []
|
129
127
|
|
130
128
|
rubyforge_project:
|
131
|
-
rubygems_version: 1.
|
129
|
+
rubygems_version: 1.7.2
|
132
130
|
signing_key:
|
133
131
|
specification_version: 3
|
134
132
|
summary: Ruby API for interacting with HipChat
|