rext 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,11 @@ class Hash
6
6
  # Convert self to an HTTP query string.
7
7
 
8
8
  def to_query
9
- Rack::Utils.build_query self
9
+ if Rack::Utils.respond_to? :build_nested_query
10
+ Rack::Utils.build_nested_query self
11
+ else
12
+ Rack::Utils.build_query self
13
+ end
10
14
  end
11
15
 
12
16
  ##
data/lib/rext/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Rext
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
4
4
  end
data/rext.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rext}
5
- s.version = "0.4.0"
5
+ s.version = "0.4.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["TJ Holowaychuk"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Holowaychuk