headquarters 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -1
- data/lib/headquarters/api.rb +1 -0
- data/lib/headquarters/api/endpoints.rb +1 -0
- data/lib/headquarters/client.rb +2 -0
- data/lib/headquarters/client/members.rb +0 -2
- data/lib/headquarters/client/projects.rb +7 -0
- data/lib/headquarters/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 383e449ceb64e632142bf10943e49891d2260b4e
|
4
|
+
data.tar.gz: ca9283fadc1bacfde9c6530914c17cd3a2ab4e13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76bcf93f543f721cb0b9f516d2ba4d0467b185398086c3f5ed3de71e8d5b1241ec9fa995e058c468a750c5dba6cdd82e804c6485f139e3f8f9eb2e1645bef159
|
7
|
+
data.tar.gz: b99a92e7ef02f1fc033383a1f7f799809cba8d8165bb1b8afba6aa7f5d00fbb0c8fbea10e10857d469e3385e437f449d6c7a93916ec7dcfc8f5b8e5eb6e3269c
|
data/README.md
CHANGED
@@ -75,10 +75,25 @@ operation:
|
|
75
75
|
client.members.all
|
76
76
|
```
|
77
77
|
|
78
|
-
Or you can search for a specific
|
78
|
+
Or you can search for a specific query
|
79
79
|
|
80
80
|
```ruby
|
81
81
|
client.members.search('mpalhas@groupbuddies.com')
|
82
|
+
client.members.search('Miguel')
|
83
|
+
```
|
84
|
+
|
85
|
+
### Projects
|
86
|
+
|
87
|
+
To retrieve a collection of all projects of the team you can use the `all` operation:
|
88
|
+
|
89
|
+
```ruby
|
90
|
+
client.projects.all
|
91
|
+
```
|
92
|
+
|
93
|
+
Or you can search for a specific query
|
94
|
+
|
95
|
+
```ruby
|
96
|
+
client.projects.search('headquarters')
|
82
97
|
```
|
83
98
|
|
84
99
|
### Github
|
data/lib/headquarters/api.rb
CHANGED
data/lib/headquarters/client.rb
CHANGED
@@ -3,11 +3,13 @@ require 'headquarters/api'
|
|
3
3
|
module Headquarters
|
4
4
|
class Client < API
|
5
5
|
namespace :members
|
6
|
+
namespace :projects
|
6
7
|
namespace :email
|
7
8
|
namespace :github
|
8
9
|
end
|
9
10
|
end
|
10
11
|
|
11
12
|
require 'headquarters/client/members'
|
13
|
+
require 'headquarters/client/projects'
|
12
14
|
require 'headquarters/client/email'
|
13
15
|
require 'headquarters/client/github'
|
data/lib/headquarters/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: headquarters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Palhas
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -119,6 +119,7 @@ files:
|
|
119
119
|
- lib/headquarters/client/email.rb
|
120
120
|
- lib/headquarters/client/github.rb
|
121
121
|
- lib/headquarters/client/members.rb
|
122
|
+
- lib/headquarters/client/projects.rb
|
122
123
|
- lib/headquarters/rails_delivery_method.rb
|
123
124
|
- lib/headquarters/railtie.rb
|
124
125
|
- lib/headquarters/request.rb
|
@@ -154,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
155
|
version: '0'
|
155
156
|
requirements: []
|
156
157
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.4.
|
158
|
+
rubygems_version: 2.4.6
|
158
159
|
signing_key:
|
159
160
|
specification_version: 4
|
160
161
|
summary: Ruby wrapper for the headquarters API for Group Buddies
|
@@ -170,3 +171,4 @@ test_files:
|
|
170
171
|
- spec/headquarters_spec.rb
|
171
172
|
- spec/shared_examples/an_http_requester.rb
|
172
173
|
- spec/spec_helper.rb
|
174
|
+
has_rdoc:
|