uri-query_params 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ ### 0.6.2 / 2012-03-15
2
+
3
+ * Fixed a query parameter ordering issue in {URI::QueryParams.dump},
4
+ under Ruby 1.8.x.
5
+
1
6
  ### 0.6.1 / 2011-12-31
2
7
 
3
8
  * Added white-space and unprintable characters to {URI::QueryParams::UNSAFE}.
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2011 Hal Brodigan
1
+ Copyright (c) 2010-2012 Hal Brodigan
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -31,10 +31,10 @@ Setting the URI query_params:
31
31
 
32
32
  ## Install
33
33
 
34
- $ sudo gem install uri-query_params
34
+ $ gem install uri-query_params
35
35
 
36
36
  ## License
37
37
 
38
- Copyright (c) 2010-2011 Hal Brodigan
38
+ Copyright (c) 2010-2012 Hal Brodigan
39
39
 
40
40
  See {file:LICENSE.txt} for license information.
@@ -88,6 +88,9 @@ module URI
88
88
  def QueryParams.dump(query_params)
89
89
  query = []
90
90
 
91
+ # explicitly re-order the Hash on Ruby 1.8.x
92
+ query_params.rehash if RUBY_VERSION < '1.9'
93
+
91
94
  query_params.each do |name,value|
92
95
  value = case value
93
96
  when Array
@@ -1,6 +1,6 @@
1
1
  module URI
2
2
  module QueryParams
3
3
  # uri-query_params version
4
- VERSION = '0.6.1'
4
+ VERSION = '0.6.2'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uri-query_params
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-01 00:00:00.000000000 Z
12
+ date: 2012-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ore-tasks
16
- requirement: &11450100 !ruby/object:Gem::Requirement
16
+ requirement: &19935200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0.4'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *11450100
24
+ version_requirements: *19935200
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &11449540 !ruby/object:Gem::Requirement
27
+ requirement: &19934680 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '2.4'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *11449540
35
+ version_requirements: *19934680
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: yard
38
- requirement: &11449000 !ruby/object:Gem::Requirement
38
+ requirement: &19934200 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0.6'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *11449000
46
+ version_requirements: *19934200
47
47
  description: Allows access to the query component of the URI as a Hash.
48
48
  email: postmodern.mod3@gmail.com
49
49
  executables: []
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 1.8.10
97
+ rubygems_version: 1.8.15
98
98
  signing_key:
99
99
  specification_version: 3
100
100
  summary: Access the query parameters of a URI, just like $_GET in PHP.