wrest 1.0.0.beta2-universal-java-1.6 → 1.0.0.beta3-universal-java-1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +9 -1
- data/README.rdoc +2 -2
- data/lib/wrest.rb +2 -2
- data/lib/wrest/curl.rb +2 -2
- data/lib/wrest/multipart.rb +3 -3
- data/lib/wrest/native/get.rb +0 -1
- data/lib/wrest/native/request.rb +5 -1
- data/lib/wrest/uri.rb +20 -11
- data/lib/wrest/uri_template.rb +9 -0
- data/lib/wrest/version.rb +1 -1
- metadata +72 -103
- data/lib/wrest.rbc +0 -1900
- data/lib/wrest/components.rbc +0 -217
- data/lib/wrest/components/container.rbc +0 -2466
- data/lib/wrest/components/container/alias_accessors.rbc +0 -905
- data/lib/wrest/components/container/typecaster.rbc +0 -1985
- data/lib/wrest/components/mutators.rbc +0 -650
- data/lib/wrest/components/mutators/base.rbc +0 -702
- data/lib/wrest/components/mutators/camel_to_snake_case.rbc +0 -360
- data/lib/wrest/components/mutators/xml_mini_type_caster.rbc +0 -679
- data/lib/wrest/components/mutators/xml_simple_type_caster.rbc +0 -559
- data/lib/wrest/components/translators.rbc +0 -517
- data/lib/wrest/components/translators/content_types.rbc +0 -339
- data/lib/wrest/components/translators/json.rbc +0 -462
- data/lib/wrest/components/translators/xml.rbc +0 -457
- data/lib/wrest/core_ext/hash.rbc +0 -182
- data/lib/wrest/core_ext/hash/conversions.rbc +0 -501
- data/lib/wrest/core_ext/string.rbc +0 -182
- data/lib/wrest/core_ext/string/conversions.rbc +0 -471
- data/lib/wrest/curl.rbc +0 -704
- data/lib/wrest/exceptions.rbc +0 -312
- data/lib/wrest/http_shared.rbc +0 -279
- data/lib/wrest/http_shared/headers.rbc +0 -353
- data/lib/wrest/http_shared/standard_headers.rbc +0 -336
- data/lib/wrest/http_shared/standard_tokens.rbc +0 -316
- data/lib/wrest/native.rbc +0 -513
- data/lib/wrest/native/connection_factory.rbc +0 -445
- data/lib/wrest/native/delete.rbc +0 -371
- data/lib/wrest/native/get.rbc +0 -855
- data/lib/wrest/native/options.rbc +0 -347
- data/lib/wrest/native/post.rbc +0 -388
- data/lib/wrest/native/put.rbc +0 -388
- data/lib/wrest/native/redirection.rbc +0 -520
- data/lib/wrest/native/request.rbc +0 -1675
- data/lib/wrest/native/response.rbc +0 -2150
- data/lib/wrest/native/session.rbc +0 -1372
- data/lib/wrest/resource.rbc +0 -163
- data/lib/wrest/resource/base.rbc +0 -2115
- data/lib/wrest/uri.rbc +0 -2599
- data/lib/wrest/uri_template.rbc +0 -505
- data/lib/wrest/version.rbc +0 -372
data/CHANGELOG
CHANGED
@@ -18,6 +18,14 @@ Features under a numbered section are complete and available in the Wrest gem.
|
|
18
18
|
|
19
19
|
== Current
|
20
20
|
|
21
|
+
== 1.0.0.beta3
|
22
|
+
* GH#13 Works for get and delete with parameters appended to the uri string and
|
23
|
+
with ? and no parameters appended to the uri string
|
24
|
+
* GH#26 'http://localhost'.to_uri['foo/bar'] fails
|
25
|
+
* GH#11 Handle gem dependencies using bundler
|
26
|
+
* GH#22 Converts Uri to UriTemplate
|
27
|
+
* GH#23 Supports extension of UriTemplate via #[]
|
28
|
+
|
21
29
|
== 1.0.0.beta2
|
22
30
|
* GH#2 Make Components::Containers hash store a HashWithIndifferentAccess
|
23
31
|
* GH#6 Net::HTTP based calls to Twitter public APIs fail
|
@@ -56,4 +64,4 @@ Features under a numbered section are complete and available in the Wrest gem.
|
|
56
64
|
== 0.0.8
|
57
65
|
* Added URI extension using the [] method (see examples/delicious.rb)
|
58
66
|
* Refactored out Request as the first step to adding Response caching
|
59
|
-
|
67
|
+
|
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= Wrest 1.0.0.
|
1
|
+
= Wrest 1.0.0.beta3
|
2
2
|
|
3
3
|
(c) Copyright 2009-2010 {Sidu Ponnappa}[http://blog.sidu.in]. All Rights Reserved.
|
4
4
|
|
@@ -7,7 +7,7 @@ Wrest is a ruby REST/HTTP client library which
|
|
7
7
|
* Allows allows you to quickly build object oriented wrappers around any web service
|
8
8
|
* Designed to be used as a library, not just a command line REST client (fewer class/static methods, more object oriented)
|
9
9
|
* Is spec driven, strongly favours immutable objects and avoids class methods and setters making it better suited for use as a library, especially in multi-threaded environments
|
10
|
-
* Runs on Ruby 1.8, Ruby 1.9.2 and
|
10
|
+
* Runs on Ruby 1.8, Ruby 1.9.2, JRuby and Rubinius with MacRuby and IronRuby support on the way
|
11
11
|
* Provides convenient HTTP wrappers, redirect handling, serialisation and deserialisation with response caching in the works
|
12
12
|
* Supports using either Net::HTTP or libcurl as the underlying HTTP library
|
13
13
|
|
data/lib/wrest.rb
CHANGED
@@ -57,7 +57,7 @@ begin
|
|
57
57
|
ActiveSupport::XmlMini.backend='LibXML'
|
58
58
|
rescue Gem::LoadError
|
59
59
|
begin
|
60
|
-
gem 'nokogiri', '
|
60
|
+
gem 'nokogiri', '~> 1.4.3.1'
|
61
61
|
ActiveSupport::XmlMini.backend='Nokogiri'
|
62
62
|
rescue Gem::LoadError
|
63
63
|
unless RUBY_PLATFORM =~ /java/
|
@@ -66,7 +66,7 @@ rescue Gem::LoadError
|
|
66
66
|
Wrest.logger.debug "Warning: Nokogiri >= 1.3.3 not found, falling back to #{ActiveSupport::XmlMini.backend} (which is probably significantly slower). To install Nokogiri run `(sudo) (jruby -S) gem install nokogiri`"
|
67
67
|
if RUBY_PLATFORM =~ /java/
|
68
68
|
begin
|
69
|
-
gem 'jrexml', '
|
69
|
+
gem 'jrexml', '~> 0.5.3'
|
70
70
|
require 'jrexml'
|
71
71
|
Wrest.logger.debug "Detected JRuby, JREXML loaded."
|
72
72
|
rescue Gem::LoadError
|
data/lib/wrest/curl.rb
CHANGED
@@ -8,9 +8,9 @@
|
|
8
8
|
# See the License for the specific language governing permissions and limitations under the License.
|
9
9
|
|
10
10
|
begin
|
11
|
-
gem 'patron', '
|
11
|
+
gem 'patron', '~> 0.4.9'
|
12
12
|
rescue Gem::LoadError => e
|
13
|
-
Wrest.logger.debug "Patron
|
13
|
+
Wrest.logger.debug "Patron ~> 0.4.9 not found. Patron is necessary to use libcurl. To install Patron run `sudo gem install patron` (patron is not available on JRuby, but you shouldn't need it anyway)."
|
14
14
|
raise e
|
15
15
|
end
|
16
16
|
require 'patron'
|
data/lib/wrest/multipart.rb
CHANGED
@@ -8,9 +8,9 @@
|
|
8
8
|
# See the License for the specific language governing permissions and limitations under the License.
|
9
9
|
|
10
10
|
begin
|
11
|
-
gem 'multipart-post', '
|
11
|
+
gem 'multipart-post', '~> 1.0'
|
12
12
|
rescue Gem::LoadError => e
|
13
|
-
Wrest.logger.debug "Multipart Post
|
13
|
+
Wrest.logger.debug "Multipart Post ~> 1.0 not found. Multipart Post is necessary to be able to post multipart. To install Multipart Post run 'sudo gem install multipart-post'"
|
14
14
|
raise e
|
15
15
|
end
|
16
16
|
|
@@ -28,7 +28,7 @@ module Wrest
|
|
28
28
|
# The methods in this module are mixed into Wrest::Uri.
|
29
29
|
module Multipart
|
30
30
|
# Makes a multipart/form-data encoded POST request to this URI. This is a convenience API
|
31
|
-
# that mimics a multipart form being posted; some
|
31
|
+
# that mimics a multipart form being posted; some allegedly RESTful APIs like FCBK require
|
32
32
|
# this for file uploads.
|
33
33
|
#
|
34
34
|
# File.open('/path/to/image.jpg') do |file|
|
data/lib/wrest/native/get.rb
CHANGED
data/lib/wrest/native/request.rb
CHANGED
@@ -84,7 +84,11 @@ module Wrest::Native
|
|
84
84
|
end
|
85
85
|
|
86
86
|
def build_request(request_klass, uri, parameters, headers)
|
87
|
-
|
87
|
+
if(!uri.query.empty?)
|
88
|
+
request_klass.new(parameters.empty? ? "#{uri.uri_path}?#{uri.query}" : "#{uri.uri_path}?#{uri.query}&#{parameters.to_query}", headers)
|
89
|
+
else
|
90
|
+
request_klass.new(parameters.empty? ? "#{uri.uri_path}" : "#{uri.uri_path}?#{parameters.to_query}", headers)
|
91
|
+
end
|
88
92
|
end
|
89
93
|
|
90
94
|
def do_request
|
data/lib/wrest/uri.rb
CHANGED
@@ -22,17 +22,26 @@ module Wrest #:nodoc:
|
|
22
22
|
#
|
23
23
|
# You can find examples that use real APIs (like delicious) under the wrest/examples directory.
|
24
24
|
class Uri
|
25
|
-
attr_reader :uri, :username, :password, :uri_string
|
25
|
+
attr_reader :uri, :username, :password, :uri_string, :uri_path, :query
|
26
26
|
|
27
27
|
# See Wrest::Http::Request for the available options and their default values.
|
28
28
|
def initialize(uri_string, options = {})
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
29
|
+
@options = options
|
30
|
+
@uri_string = uri_string.to_s
|
31
|
+
@uri = URI.parse(@uri_string)
|
32
|
+
uri_scheme = URI.split(@uri_string)
|
33
|
+
@uri_path = uri_scheme[-4].split('?').first || ''
|
34
|
+
@uri_path = (@uri_path.empty? ? '/' : @uri_path)
|
35
|
+
@query = uri_scheme[-2] || ''
|
36
|
+
@username = (@options[:username] ||= @uri.user)
|
37
|
+
@password = (@options[:password] ||= @uri.password)
|
38
|
+
end
|
35
39
|
|
40
|
+
def to_template(pattern)
|
41
|
+
template_pattern = URI.join(uri_string,pattern).to_s
|
42
|
+
UriTemplate.new(template_pattern)
|
43
|
+
end
|
44
|
+
|
36
45
|
# Build a new Wrest::Uri by appending _path_ to
|
37
46
|
# the current uri. If the original Wrest::Uri
|
38
47
|
# has a username and password, that will be
|
@@ -49,7 +58,7 @@ module Wrest #:nodoc:
|
|
49
58
|
# uri = "https://localhost:3000/v1".to_uri(:username => 'foo', :password => 'bar')
|
50
59
|
# uri['/oogas/1', {:username => 'meh', :password => 'baz'}].get
|
51
60
|
def [](path, options = nil)
|
52
|
-
Uri.new(
|
61
|
+
Uri.new(URI.join(uri_string, path), options || @options)
|
53
62
|
end
|
54
63
|
|
55
64
|
# Clones a Uri, building a new instance with exactly the same uri string.
|
@@ -130,10 +139,10 @@ module Wrest #:nodoc:
|
|
130
139
|
Http::Options.new(self, @options).invoke
|
131
140
|
end
|
132
141
|
|
133
|
-
def https?
|
142
|
+
def https?
|
134
143
|
@uri.is_a?(URI::HTTPS)
|
135
144
|
end
|
136
|
-
|
145
|
+
|
137
146
|
# Provides the full path of a request.
|
138
147
|
# For example, for
|
139
148
|
# http://localhost:3000/demons/1/chi?sort=true
|
@@ -142,7 +151,7 @@ module Wrest #:nodoc:
|
|
142
151
|
def full_path
|
143
152
|
uri.request_uri
|
144
153
|
end
|
145
|
-
|
154
|
+
|
146
155
|
def protocol
|
147
156
|
uri.scheme
|
148
157
|
end
|
data/lib/wrest/uri_template.rb
CHANGED
@@ -45,5 +45,14 @@ module Wrest
|
|
45
45
|
uri_string.gsub(":#{key.to_s}", value.to_s)
|
46
46
|
end.to_uri
|
47
47
|
end
|
48
|
+
|
49
|
+
def [](path)
|
50
|
+
UriTemplate.new(URI.join(uri_pattern,path).to_s)
|
51
|
+
end
|
52
|
+
|
53
|
+
def ==(other)
|
54
|
+
return false if other.class != self.class
|
55
|
+
return other.uri_pattern == self.uri_pattern
|
56
|
+
end
|
48
57
|
end
|
49
58
|
end
|
data/lib/wrest/version.rb
CHANGED
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 1
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.0.
|
9
|
+
- beta3
|
10
|
+
version: 1.0.0.beta3
|
11
11
|
platform: universal-java-1.6
|
12
12
|
authors:
|
13
13
|
- Sidu Ponnappa
|
@@ -16,32 +16,31 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-09-15 00:00:00 +05:30
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rspec
|
24
24
|
prerelease: false
|
25
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
26
|
requirements:
|
28
|
-
- -
|
27
|
+
- - ~>
|
29
28
|
- !ruby/object:Gem::Version
|
30
29
|
segments:
|
31
30
|
- 2
|
32
31
|
- 0
|
33
32
|
- 0
|
34
|
-
-
|
35
|
-
|
33
|
+
- beta
|
34
|
+
- 22
|
35
|
+
version: 2.0.0.beta.22
|
36
36
|
type: :development
|
37
37
|
version_requirements: *id001
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: activesupport
|
40
40
|
prerelease: false
|
41
41
|
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
42
|
requirements:
|
44
|
-
- -
|
43
|
+
- - ~>
|
45
44
|
- !ruby/object:Gem::Version
|
46
45
|
segments:
|
47
46
|
- 3
|
@@ -51,12 +50,25 @@ dependencies:
|
|
51
50
|
type: :runtime
|
52
51
|
version_requirements: *id002
|
53
52
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
53
|
+
name: builder
|
55
54
|
prerelease: false
|
56
55
|
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
56
|
requirements:
|
59
|
-
- -
|
57
|
+
- - ~>
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
segments:
|
60
|
+
- 2
|
61
|
+
- 1
|
62
|
+
- 2
|
63
|
+
version: 2.1.2
|
64
|
+
type: :runtime
|
65
|
+
version_requirements: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: json-jruby
|
68
|
+
prerelease: false
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ~>
|
60
72
|
- !ruby/object:Gem::Version
|
61
73
|
segments:
|
62
74
|
- 1
|
@@ -65,14 +77,13 @@ dependencies:
|
|
65
77
|
- 1
|
66
78
|
version: 1.4.3.1
|
67
79
|
type: :runtime
|
68
|
-
version_requirements: *
|
80
|
+
version_requirements: *id004
|
69
81
|
- !ruby/object:Gem::Dependency
|
70
82
|
name: nokogiri
|
71
83
|
prerelease: false
|
72
|
-
requirement: &
|
73
|
-
none: false
|
84
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
74
85
|
requirements:
|
75
|
-
- -
|
86
|
+
- - ~>
|
76
87
|
- !ruby/object:Gem::Version
|
77
88
|
segments:
|
78
89
|
- 1
|
@@ -81,7 +92,7 @@ dependencies:
|
|
81
92
|
- 1
|
82
93
|
version: 1.4.3.1
|
83
94
|
type: :runtime
|
84
|
-
version_requirements: *
|
95
|
+
version_requirements: *id005
|
85
96
|
description: Wrest is a HTTP and REST client library which allows you to quickly build well encapsulated, object oriented wrappers around any web service.
|
86
97
|
email:
|
87
98
|
- sidu@c42.in
|
@@ -92,102 +103,62 @@ extensions: []
|
|
92
103
|
extra_rdoc_files:
|
93
104
|
- README.rdoc
|
94
105
|
files:
|
95
|
-
- bin/wrest
|
96
106
|
- bin/wrest_shell.rb
|
107
|
+
- bin/wrest
|
97
108
|
- lib/wrest.rb
|
98
|
-
- lib/wrest.
|
99
|
-
- lib/wrest/
|
100
|
-
- lib/wrest/
|
109
|
+
- lib/wrest/uri_template.rb
|
110
|
+
- lib/wrest/version.rb
|
111
|
+
- lib/wrest/test.rb
|
101
112
|
- lib/wrest/curl.rb
|
102
|
-
- lib/wrest/curl.rbc
|
103
|
-
- lib/wrest/exceptions.rb
|
104
|
-
- lib/wrest/exceptions.rbc
|
105
|
-
- lib/wrest/http_shared.rb
|
106
|
-
- lib/wrest/http_shared.rbc
|
107
|
-
- lib/wrest/multipart.rb
|
108
113
|
- lib/wrest/native.rb
|
109
|
-
- lib/wrest/
|
110
|
-
- lib/wrest/resource.rb
|
111
|
-
- lib/wrest/resource.rbc
|
112
|
-
- lib/wrest/test.rb
|
114
|
+
- lib/wrest/http_shared.rb
|
113
115
|
- lib/wrest/uri.rb
|
114
|
-
- lib/wrest/
|
115
|
-
- lib/wrest/
|
116
|
-
- lib/wrest/
|
117
|
-
- lib/wrest/
|
118
|
-
- lib/wrest/
|
119
|
-
- lib/wrest/
|
120
|
-
- lib/wrest/
|
121
|
-
- lib/wrest/components/mutators.rb
|
122
|
-
- lib/wrest/components/mutators.rbc
|
123
|
-
- lib/wrest/components/translators.rb
|
124
|
-
- lib/wrest/components/translators.rbc
|
125
|
-
- lib/wrest/components/container/alias_accessors.rb
|
126
|
-
- lib/wrest/components/container/alias_accessors.rbc
|
127
|
-
- lib/wrest/components/container/typecaster.rb
|
128
|
-
- lib/wrest/components/container/typecaster.rbc
|
129
|
-
- lib/wrest/components/mutators/base.rb
|
130
|
-
- lib/wrest/components/mutators/base.rbc
|
131
|
-
- lib/wrest/components/mutators/camel_to_snake_case.rb
|
132
|
-
- lib/wrest/components/mutators/camel_to_snake_case.rbc
|
133
|
-
- lib/wrest/components/mutators/xml_mini_type_caster.rb
|
134
|
-
- lib/wrest/components/mutators/xml_mini_type_caster.rbc
|
135
|
-
- lib/wrest/components/mutators/xml_simple_type_caster.rb
|
136
|
-
- lib/wrest/components/mutators/xml_simple_type_caster.rbc
|
137
|
-
- lib/wrest/components/translators/content_types.rb
|
138
|
-
- lib/wrest/components/translators/content_types.rbc
|
139
|
-
- lib/wrest/components/translators/json.rb
|
140
|
-
- lib/wrest/components/translators/json.rbc
|
141
|
-
- lib/wrest/components/translators/xml.rb
|
142
|
-
- lib/wrest/components/translators/xml.rbc
|
116
|
+
- lib/wrest/components.rb
|
117
|
+
- lib/wrest/exceptions.rb
|
118
|
+
- lib/wrest/resource.rb
|
119
|
+
- lib/wrest/multipart.rb
|
120
|
+
- lib/wrest/resource/state.rb
|
121
|
+
- lib/wrest/resource/base.rb
|
122
|
+
- lib/wrest/resource/collection.rb
|
143
123
|
- lib/wrest/core_ext/hash.rb
|
144
|
-
- lib/wrest/core_ext/hash.rbc
|
145
124
|
- lib/wrest/core_ext/string.rb
|
146
|
-
- lib/wrest/core_ext/string.rbc
|
147
125
|
- lib/wrest/core_ext/hash/conversions.rb
|
148
|
-
- lib/wrest/core_ext/hash/conversions.rbc
|
149
126
|
- lib/wrest/core_ext/string/conversions.rb
|
150
|
-
- lib/wrest/
|
151
|
-
- lib/wrest/
|
152
|
-
- lib/wrest/
|
127
|
+
- lib/wrest/native/session.rb
|
128
|
+
- lib/wrest/native/redirection.rb
|
129
|
+
- lib/wrest/native/response.rb
|
130
|
+
- lib/wrest/native/options.rb
|
131
|
+
- lib/wrest/native/get.rb
|
132
|
+
- lib/wrest/native/connection_factory.rb
|
133
|
+
- lib/wrest/native/request.rb
|
134
|
+
- lib/wrest/native/post.rb
|
135
|
+
- lib/wrest/native/put_multipart.rb
|
136
|
+
- lib/wrest/native/put.rb
|
137
|
+
- lib/wrest/native/delete.rb
|
138
|
+
- lib/wrest/native/post_multipart.rb
|
139
|
+
- lib/wrest/curl/session.rb
|
140
|
+
- lib/wrest/curl/response.rb
|
153
141
|
- lib/wrest/curl/options.rb
|
142
|
+
- lib/wrest/curl/get.rb
|
143
|
+
- lib/wrest/curl/request.rb
|
154
144
|
- lib/wrest/curl/post.rb
|
155
145
|
- lib/wrest/curl/put.rb
|
156
|
-
- lib/wrest/curl/
|
157
|
-
- lib/wrest/
|
158
|
-
- lib/wrest/
|
159
|
-
- lib/wrest/
|
160
|
-
- lib/wrest/
|
161
|
-
- lib/wrest/
|
162
|
-
- lib/wrest/
|
146
|
+
- lib/wrest/curl/delete.rb
|
147
|
+
- lib/wrest/components/mutators.rb
|
148
|
+
- lib/wrest/components/translators.rb
|
149
|
+
- lib/wrest/components/container.rb
|
150
|
+
- lib/wrest/components/translators/json.rb
|
151
|
+
- lib/wrest/components/translators/xml.rb
|
152
|
+
- lib/wrest/components/translators/content_types.rb
|
153
|
+
- lib/wrest/components/container/alias_accessors.rb
|
154
|
+
- lib/wrest/components/container/typecaster.rb
|
155
|
+
- lib/wrest/components/mutators/camel_to_snake_case.rb
|
156
|
+
- lib/wrest/components/mutators/xml_mini_type_caster.rb
|
157
|
+
- lib/wrest/components/mutators/base.rb
|
158
|
+
- lib/wrest/components/mutators/xml_simple_type_caster.rb
|
163
159
|
- lib/wrest/http_shared/standard_tokens.rb
|
164
|
-
- lib/wrest/http_shared/
|
165
|
-
- lib/wrest/
|
166
|
-
- lib/wrest/native/connection_factory.rbc
|
167
|
-
- lib/wrest/native/delete.rb
|
168
|
-
- lib/wrest/native/delete.rbc
|
169
|
-
- lib/wrest/native/get.rb
|
170
|
-
- lib/wrest/native/get.rbc
|
171
|
-
- lib/wrest/native/options.rb
|
172
|
-
- lib/wrest/native/options.rbc
|
173
|
-
- lib/wrest/native/post.rb
|
174
|
-
- lib/wrest/native/post.rbc
|
175
|
-
- lib/wrest/native/post_multipart.rb
|
176
|
-
- lib/wrest/native/put.rb
|
177
|
-
- lib/wrest/native/put.rbc
|
178
|
-
- lib/wrest/native/put_multipart.rb
|
179
|
-
- lib/wrest/native/redirection.rb
|
180
|
-
- lib/wrest/native/redirection.rbc
|
181
|
-
- lib/wrest/native/request.rb
|
182
|
-
- lib/wrest/native/request.rbc
|
183
|
-
- lib/wrest/native/response.rb
|
184
|
-
- lib/wrest/native/response.rbc
|
185
|
-
- lib/wrest/native/session.rb
|
186
|
-
- lib/wrest/native/session.rbc
|
187
|
-
- lib/wrest/resource/base.rb
|
188
|
-
- lib/wrest/resource/base.rbc
|
189
|
-
- lib/wrest/resource/collection.rb
|
190
|
-
- lib/wrest/resource/state.rb
|
160
|
+
- lib/wrest/http_shared/standard_headers.rb
|
161
|
+
- lib/wrest/http_shared/headers.rb
|
191
162
|
- lib/wrest/test/request_patches.rb
|
192
163
|
- README.rdoc
|
193
164
|
- CHANGELOG
|
@@ -202,7 +173,6 @@ rdoc_options:
|
|
202
173
|
require_paths:
|
203
174
|
- lib
|
204
175
|
required_ruby_version: !ruby/object:Gem::Requirement
|
205
|
-
none: false
|
206
176
|
requirements:
|
207
177
|
- - ">="
|
208
178
|
- !ruby/object:Gem::Version
|
@@ -210,7 +180,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
180
|
- 0
|
211
181
|
version: "0"
|
212
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
|
-
none: false
|
214
183
|
requirements:
|
215
184
|
- - ">="
|
216
185
|
- !ruby/object:Gem::Version
|
@@ -223,7 +192,7 @@ requirements:
|
|
223
192
|
- To use multipart post, install the 'multipart-post' gem.
|
224
193
|
- To use curl as the http engine, install the 'patron' gem. This feature is not available (and should be unneccessary) on jruby.
|
225
194
|
rubyforge_project: wrest
|
226
|
-
rubygems_version: 1.3.
|
195
|
+
rubygems_version: 1.3.6
|
227
196
|
signing_key:
|
228
197
|
specification_version: 3
|
229
198
|
summary: Wrest is an elegant, object oriented HTTP client library.
|