cas_rest_client 1.1 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,10 +16,18 @@ class CasRestClient
16
16
  def get(uri, options = {})
17
17
  execute("get", uri, {}, options)
18
18
  end
19
+
20
+ def delete(uri, options = {})
21
+ execute("delete", uri, {}, options)
22
+ end
19
23
 
20
24
  def post(uri, params = {}, options = {})
21
25
  execute("post", uri, params, options)
22
26
  end
27
+
28
+ def put(uri, params = {}, options = {})
29
+ execute("put", uri, params, options)
30
+ end
23
31
 
24
32
  private
25
33
  def execute(method, uri, params, options)
metadata CHANGED
@@ -1,12 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cas_rest_client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
5
4
  prerelease: false
6
5
  segments:
7
6
  - 1
8
- - 1
9
- version: "1.1"
7
+ - 2
8
+ version: "1.2"
10
9
  platform: ruby
11
10
  authors:
12
11
  - Antonio Marques, Roberto Klein
@@ -14,18 +13,16 @@ autorequire:
14
13
  bindir: bin
15
14
  cert_chain: []
16
15
 
17
- date: 2010-07-30 00:00:00 -03:00
16
+ date: 2010-08-17 00:00:00 -03:00
18
17
  default_executable:
19
18
  dependencies:
20
19
  - !ruby/object:Gem::Dependency
21
20
  name: rest-client
22
21
  prerelease: false
23
22
  requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
23
  requirements:
26
24
  - - ">="
27
25
  - !ruby/object:Gem::Version
28
- hash: 3
29
26
  segments:
30
27
  - 1
31
28
  - 4
@@ -56,27 +53,23 @@ rdoc_options: []
56
53
  require_paths:
57
54
  - lib
58
55
  required_ruby_version: !ruby/object:Gem::Requirement
59
- none: false
60
56
  requirements:
61
57
  - - ">="
62
58
  - !ruby/object:Gem::Version
63
- hash: 3
64
59
  segments:
65
60
  - 0
66
61
  version: "0"
67
62
  required_rubygems_version: !ruby/object:Gem::Requirement
68
- none: false
69
63
  requirements:
70
64
  - - ">="
71
65
  - !ruby/object:Gem::Version
72
- hash: 3
73
66
  segments:
74
67
  - 0
75
68
  version: "0"
76
69
  requirements: []
77
70
 
78
71
  rubyforge_project:
79
- rubygems_version: 1.3.7
72
+ rubygems_version: 1.3.6
80
73
  signing_key:
81
74
  specification_version: 3
82
75
  summary: Rest client for services using CAS authentication.