uri-query_params 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.6.1 / 2011-12-31
2
+
3
+ * Added white-space and unprintable characters to {URI::QueryParams::UNSAFE}.
4
+
1
5
  ### 0.6.0 / 2011-12-06
2
6
 
3
7
  * Allow {URI::QueryParams.parse} to yield query-params, in the order they were
data/gemspec.yml CHANGED
@@ -10,4 +10,4 @@ has_yard: true
10
10
  development_dependencies:
11
11
  ore-tasks: ~> 0.4
12
12
  rspec: ~> 2.4
13
- yard: ~> 0.6.0
13
+ yard: ~> 0.6
@@ -4,8 +4,9 @@ module URI
4
4
  module QueryParams
5
5
  # RFC 3986 unsafe characters (including ' ')
6
6
  UNSAFE = [
7
- ' ', '!', '*', "'", '(', ')', ';', ':', '@', '&', '=', '+', '$', ',',
8
- '/', '?', '%', '#', '[', ']'
7
+ '!', '*', "'", '(', ')', ';', ':', '@', '&', '=', '+', '$', ',',
8
+ '/', '?', '%', '#', '[', ']', ' ', "\f", "\n", "\r", "\t", "\v",
9
+ "\x7f", *("\x00".."\x1f")
9
10
  ].join
10
11
 
11
12
  #
@@ -1,6 +1,6 @@
1
1
  module URI
2
2
  module QueryParams
3
3
  # uri-query_params version
4
- VERSION = '0.6.0'
4
+ VERSION = '0.6.1'
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.0
4
+ version: 0.6.1
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: 2011-12-07 00:00:00.000000000 Z
12
+ date: 2012-01-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ore-tasks
16
- requirement: &18100340 !ruby/object:Gem::Requirement
16
+ requirement: &11450100 !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: *18100340
24
+ version_requirements: *11450100
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &18099820 !ruby/object:Gem::Requirement
27
+ requirement: &11449540 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,18 +32,18 @@ dependencies:
32
32
  version: '2.4'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *18099820
35
+ version_requirements: *11449540
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: yard
38
- requirement: &18099340 !ruby/object:Gem::Requirement
38
+ requirement: &11449000 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: 0.6.0
43
+ version: '0.6'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *18099340
46
+ version_requirements: *11449000
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: []