buweb_api_client 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2af5fcbeeb57b207ede3c883aeb56dd60e44a3e9
4
- data.tar.gz: c251217e972003da03fb1621f2c2b1b0a2cba234
3
+ metadata.gz: 983e4d3557e56521695dfd74cdd21dde21b24cda
4
+ data.tar.gz: 01fd187f53aa3f7735dc4a6828611de25c3828cf
5
5
  SHA512:
6
- metadata.gz: 28b34086f53040e91ebcac82895209103fa9a09b464ca34c72d4fc4d16ecbac7e9bd7c5a9b3567eac8235e7874a64a893b18685299ae7ff08b8f39665b81339b
7
- data.tar.gz: 2c236feec572c2cf8d5e2a6df61183bd7871e7236391a8928dbbfde998a984d8c8eab49b552709f56ea6b47169fc13dfe8a6ec2f672145fb3a359b7f85dede6a
6
+ metadata.gz: 6c6863a851333fed4b6e6c563f497535371826b28da672ea94ccdd847e3fed047bbf0c56e8ad64bc56ab9d91329a15f78f9f1fb9af8535d78e9835fdad48cd37
7
+ data.tar.gz: aac35188dffe91787cee8b9ef7a81b76ecbb63d7a65eeb3e3bfd97bd8ed56bb16ad72892e0af7c6d817adc4590082c84e4a6e5433fdb7734420577ebb416508d
@@ -4,7 +4,7 @@ module BUWeb
4
4
  domain BUWebAPIClient.config.base_url
5
5
  use Weary::Middleware::HMACAuth, [BUWebAPIClient.config.credentials]
6
6
 
7
- get :index, '/departments/' do |resource|
7
+ get :index, '/departments' do |resource|
8
8
  resource.optional :location
9
9
  end
10
10
 
@@ -2,16 +2,13 @@ module BUWeb
2
2
  module APIClient
3
3
  class People < Weary::Client
4
4
  domain BUWebAPIClient.config.base_url
5
- # use Weary::Middleware::ContentType
6
5
  use Weary::Middleware::HMACAuth, [BUWebAPIClient.config.credentials]
7
6
 
8
7
  get :index, '/people' do |resource|
9
8
  resource.optional :affiliation
10
9
  end
11
10
 
12
- get :by_id, '/people/{id}' do |resource|
13
- resource.optional :type
14
- end
11
+ get :show, '/people/{id}'
15
12
  end
16
13
  end
17
14
  end
@@ -1,3 +1,3 @@
1
1
  module BUWebAPIClient
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buweb_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devin Hanlon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-23 00:00:00.000000000 Z
11
+ date: 2014-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: api-auth