wrest 1.4.1 → 1.4.2

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 CHANGED
@@ -2,6 +2,9 @@ Features under the section marked 'Current' are completed but pending release as
2
2
 
3
3
  Features under a numbered section are complete and available in the Wrest gem.
4
4
 
5
+ == 1.4.2
6
+ * GH#102 Code and gemspec mismatch for json-jruby
7
+
5
8
  == 1.4.1
6
9
  * GH#66 HTTPS requests using the Net::HTTP backend failing on Ruby 1.8.x
7
10
 
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- = Wrest 1.4.1
1
+ = Wrest 1.4.2
2
2
 
3
3
  (c) Copyright 2009-2011 {Sidu Ponnappa}[http://blog.sidu.in]. All Rights Reserved.
4
4
 
data/lib/wrest/version.rb CHANGED
@@ -8,5 +8,5 @@
8
8
  # See the License for the specific language governing permissions and limitations under the License.
9
9
 
10
10
  module Wrest
11
- VERSION = "1.4.1"
11
+ VERSION = "1.4.2"
12
12
  end
data/lib/wrest.rb CHANGED
@@ -7,7 +7,7 @@
7
7
  # See the License for the specific language governing permissions and limitations under the License.
8
8
 
9
9
  require 'rubygems'
10
- gem 'activesupport', '>= 3.0.0'
10
+ gem 'activesupport', '~> 3.0'
11
11
 
12
12
  require 'net/http'
13
13
  require 'net/https'
@@ -55,7 +55,7 @@ end
55
55
  Wrest.logger = ActiveSupport::BufferedLogger.new(STDOUT)
56
56
  Wrest.logger.level = Logger::DEBUG
57
57
 
58
- RUBY_PLATFORM =~ /java/ ? gem('json-jruby', '>= 1.4.2') : gem('json', '>= 1.4.2')
58
+ gem('json', '~> 1.5')
59
59
  ActiveSupport::JSON.backend = "JSONGem"
60
60
 
61
61
  require "#{Wrest::Root}/wrest/core_ext/string"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: wrest
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.4.1
5
+ version: 1.4.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sidu Ponnappa
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-03-07 00:00:00 +05:30
14
+ date: 2011-04-05 00:00:00 +05:30
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -33,7 +33,7 @@ dependencies:
33
33
  requirements:
34
34
  - - ~>
35
35
  - !ruby/object:Gem::Version
36
- version: 2.4.0
36
+ version: 2.5.0
37
37
  type: :development
38
38
  version_requirements: *id002
39
39
  - !ruby/object:Gem::Dependency
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: 3.0.0
69
+ version: "3.0"
70
70
  type: :runtime
71
71
  version_requirements: *id005
72
72
  - !ruby/object:Gem::Dependency
@@ -77,7 +77,7 @@ dependencies:
77
77
  requirements:
78
78
  - - ~>
79
79
  - !ruby/object:Gem::Version
80
- version: 2.1.2
80
+ version: "2.0"
81
81
  type: :runtime
82
82
  version_requirements: *id006
83
83
  - !ruby/object:Gem::Dependency
@@ -86,9 +86,9 @@ dependencies:
86
86
  requirement: &id007 !ruby/object:Gem::Requirement
87
87
  none: false
88
88
  requirements:
89
- - - ">="
89
+ - - ~>
90
90
  - !ruby/object:Gem::Version
91
- version: 0.4.1
91
+ version: "0.4"
92
92
  type: :runtime
93
93
  version_requirements: *id007
94
94
  - !ruby/object:Gem::Dependency
@@ -99,7 +99,7 @@ dependencies:
99
99
  requirements:
100
100
  - - ~>
101
101
  - !ruby/object:Gem::Version
102
- version: 1.4.6
102
+ version: "1.5"
103
103
  type: :runtime
104
104
  version_requirements: *id008
105
105
  description: Wrest is a fluent, easy-to-use, object oriented Ruby HTTP/REST client library with support for RFC2616 HTTP caching, multiple HTTP backends and async calls using EventMachine. It runs on CRuby, JRuby and Rubinius.
@@ -209,16 +209,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
209
  required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  none: false
211
211
  requirements:
212
- - - ">="
212
+ - - ">"
213
213
  - !ruby/object:Gem::Version
214
- version: 1.3.7
214
+ version: "1.5"
215
215
  requirements:
216
216
  - To use Memcached as caching back-end, install the 'dalli' gem.
217
217
  - To use multipart post, install the 'multipart-post' gem.
218
218
  - To use curl as the http engine, install the 'patron' gem. This feature is not available (and should be unneccessary) on jruby.
219
219
  - To use eventmachine as a parallel backend, install the 'eventmachine' gem.
220
220
  rubyforge_project: wrest
221
- rubygems_version: 1.6.1
221
+ rubygems_version: 1.6.2
222
222
  signing_key:
223
223
  specification_version: 3
224
224
  summary: Wrest is a fluent, object oriented HTTP client library for 1.8, 1.9, JRuby and Rubinius.