wrest 1.0.0.beta0-java → 1.0.0.beta1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -1
- data/README.rdoc +3 -3
- data/VERSION.yml +1 -1
- data/lib/wrest.rb +3 -3
- data/lib/wrest/version.rb +1 -1
- data/wrest.gemspec +2 -2
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -13,7 +13,10 @@ Features under a numbered section are complete and available in the Wrest gem.
|
|
13
13
|
* 304/ETag response caching
|
14
14
|
* Keep-alive support for libcurl
|
15
15
|
|
16
|
-
== 0.
|
16
|
+
== 1.0.0.beta1
|
17
|
+
* If libxml-ruby isn't found but nokogiri, don't warn about libxml-ruby
|
18
|
+
|
19
|
+
== 1.0.0.beta0
|
17
20
|
* Dependencies updated to ActiveSupport 3.0.0.rc and RSpec 2.0.0.beta19
|
18
21
|
|
19
22
|
== 0.1.2
|
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= Wrest 1.0.0.
|
1
|
+
= Wrest 1.0.0.beta1
|
2
2
|
|
3
3
|
(c) Copyright 2009-2010 {Sidu Ponnappa}[http://blog.sidu.in]. All Rights Reserved.
|
4
4
|
|
@@ -29,9 +29,9 @@ The source is available at git://github.com/kaiwren/wrest.git
|
|
29
29
|
|
30
30
|
To install as a Rails plugin, do <tt>script/plugin install git://github.com/kaiwren/wrest.git</tt>
|
31
31
|
|
32
|
-
To install the Wrest gem, do <tt>(sudo) gem install wrest</tt>.
|
32
|
+
To install the Wrest gem, do <tt>(sudo) gem install wrest --pre</tt>.
|
33
33
|
|
34
|
-
Wrest is also available as a gem for JRuby; you can install it by running <tt>(sudo) jruby -S gem install wrest</tt>.
|
34
|
+
Wrest is also available as a gem for JRuby; you can install it by running <tt>(sudo) jruby -S gem install wrest --pre</tt>.
|
35
35
|
|
36
36
|
=== Usage: Shell
|
37
37
|
|
data/VERSION.yml
CHANGED
data/lib/wrest.rb
CHANGED
@@ -56,13 +56,13 @@ begin
|
|
56
56
|
gem 'libxml-ruby', '>= 1.1.3'
|
57
57
|
ActiveSupport::XmlMini.backend='LibXML'
|
58
58
|
rescue Gem::LoadError
|
59
|
-
unless RUBY_PLATFORM =~ /java/
|
60
|
-
Wrest.logger.debug "Warning: LibXML >= 1.1.3 not found, attempting to use Nokogiri. To install LibXML run `(sudo) gem install libxml-ruby` (libxml-ruby is not available on JRuby)"
|
61
|
-
end
|
62
59
|
begin
|
63
60
|
gem 'nokogiri', '>= 1.3.3'
|
64
61
|
ActiveSupport::XmlMini.backend='Nokogiri'
|
65
62
|
rescue Gem::LoadError
|
63
|
+
unless RUBY_PLATFORM =~ /java/
|
64
|
+
Wrest.logger.debug "Warning: LibXML >= 1.1.3 not found, attempting to use Nokogiri. To install LibXML run `(sudo) gem install libxml-ruby` (libxml-ruby is not available on JRuby)"
|
65
|
+
end
|
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
|
data/lib/wrest/version.rb
CHANGED
data/wrest.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{wrest}
|
8
|
-
s.version = "1.0.0.
|
8
|
+
s.version = "1.0.0.beta1"
|
9
9
|
s.platform = %q{java}
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Sidu Ponnappa"]
|
13
|
-
s.date = %q{2010-07-
|
13
|
+
s.date = %q{2010-07-28}
|
14
14
|
s.description = %q{Wrest is a HTTP and REST client library which allows you to quickly build well encapsulated, object oriented wrappers around any web service.}
|
15
15
|
s.email = %q{ckponnappa@gmail.com}
|
16
16
|
s.executables = ["wrest", "jwrest"]
|
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
|
+
- beta1
|
10
|
+
version: 1.0.0.beta1
|
11
11
|
platform: java
|
12
12
|
authors:
|
13
13
|
- Sidu Ponnappa
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-28 00:00:00 +05:30
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|