team_api 0.0.0 → 0.0.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 +2 -2
- data/lib/team_api/joiner.rb +1 -1
- data/lib/team_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef00943a7c4a579f14f2c11d6281999c080de7d1
|
4
|
+
data.tar.gz: 6f804bb279a6186020da17bbb59bfc5d07320e7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71fb30ac148f71fd39923947e0d78a284568a9650b5ef612df866c40c5c7cbce0626e08f168c8fc8bd220be65f6ecad1f501e7b5586edfd017796837419ee4b1
|
7
|
+
data.tar.gz: a771ca5de1ebdb3f0ad1b8f9d23031391cd293ebaa5219674e470b64533da446a18c5eb7b1bcaa1d0a1f3966f1352a7c7224b3cbc81d195e0c5c977f5b97c42a
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# `team_api` gem
|
2
2
|
|
3
3
|
Compiles information about team members, projects, etc. and exposes it via a
|
4
4
|
JSON API.
|
5
5
|
|
6
|
-
Targeted consumers of this API include:
|
6
|
+
The public-facing version of the API is [https://team-api.18f.gov/public/api/](https://team-api.18f.gov/public/api/). Targeted consumers of this API include:
|
7
7
|
|
8
8
|
- [18F Hub](https://github.com/18F/hub)
|
9
9
|
- [18F Dashboard](https://github.com/18F/dashboard)
|
data/lib/team_api/joiner.rb
CHANGED
@@ -110,7 +110,7 @@ module TeamApi
|
|
110
110
|
(team_list || []).map! do |reference|
|
111
111
|
member = team_member_from_reference reference
|
112
112
|
if member.nil?
|
113
|
-
fail UnknownTeamMemberReferenceError,
|
113
|
+
fail UnknownTeamMemberReferenceError, reference unless public_mode
|
114
114
|
else
|
115
115
|
member['name']
|
116
116
|
end
|
data/lib/team_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: team_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Bland
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|