restify 0.1.0.1.b15 → 0.1.0.1.b16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/restify/relation.rb +12 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDNiMDAwMTIzZGNkYzM4ZmNiOTZjNzdkZDU2ZjhlZThmMmU2OWE1ZA==
4
+ ZTFlZTczM2NkZmU1YTg3OWVlY2JjNDU1YWUxYWJjOTM0NTZiYzU1Zg==
5
5
  data.tar.gz: !binary |-
6
- ZDZlOTI1YjAwNjdmNzc3OGYyNzMxYzQ0MDc5OTFmNDY4Zjc2NmM1OA==
6
+ ZTdmNDQ1ZmY3ZDc1YWVjY2ZkZTQzMWQzNGUzNjFhZDg2ZTE3OTY1NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Zjc0OGY3MzNiOTU3Zjc1MmVmZDJjNTNjYjk3NGM2N2Y1ZmM4MWI2ZTQxMWRl
10
- MjgzM2M0NmQ4NDMzYTE2MTAxYTY0MTE0ZjI3NDgzZTRkYTc4Y2I0ZGRkOGM0
11
- OThmODZlNjUzNzZlM2Q5OGMyMGQ0MjBmYzZhZjRlYTgwNDMzNDU=
9
+ MjQ4Mjg2ZGI3OWRhMGFjNDExZmRkOTZiNDRlYjE0YzBkYmMzN2E4OTc4ZjYz
10
+ N2Y1OTdmMGI4NTgzNjAyODg4ZWYxNGIwNDllYTI2NzMxNmI1NzM2YmZiZDZk
11
+ MGZjZmFhMDliN2IzZTFhY2QyNTNiZjIyNTg1OTllMzg5NjljOWI=
12
12
  data.tar.gz: !binary |-
13
- OGU0Mzk5Mzk1NmY4MTZhYjViY2M4ZjE1NTNlNzMwMDUyMGFlMjJhZDU3MzRk
14
- ZDliMDdkNmFhM2RhZjMxMTZiZDQyN2ZiM2YyYmY3YWI3NTM1YjNkMTIzYWY0
15
- NzhiMDY4MzM2ZDY1OGZhYzgzY2NlNjcxZmI4NThlNjM5OGI1MTA=
13
+ ODhmOWM2MWViZWM2NWM0Njk4MjUxZTc4YzBkMGYwMTMyNDkxMDA1OWZkY2I2
14
+ N2FlMGZkMGQ0YzI1OGEyY2UyMWZjNTlkYjM5MjY3YTRmMmYyNGVlOWZlMTMw
15
+ Mjc1NDM5NWJjOGM3YzA4ZDVjNjhmOTRjZjE0ZWQxNGNiZTc4ODM=
@@ -18,6 +18,18 @@ module Restify
18
18
  request :post, params.merge(data: data)
19
19
  end
20
20
 
21
+ def put(data = {}, params = {})
22
+ request :put, params.merge(data: data)
23
+ end
24
+
25
+ def patch(data = {}, params = {})
26
+ request :patch, params.merge(data: data)
27
+ end
28
+
29
+ def delete(data = {}, params = {})
30
+ request :delete, params.merge(data: data)
31
+ end
32
+
21
33
  private
22
34
 
23
35
  attr_reader :client, :template
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.1.b15
4
+ version: 0.1.0.1.b16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-03 00:00:00.000000000 Z
11
+ date: 2014-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: obligation