uri-query_params 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gemtest ADDED
File without changes
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.5.3 / 2011-03-11
2
+
3
+ * Only require `uri/common` for `URI.escape` and `URI.unescape`.
4
+
1
5
  ### 0.5.2 / 2010-11-11
2
6
 
3
7
  * Added {URI::QueryParams::UNSAFE}:
data/LICENSE.txt CHANGED
@@ -1,5 +1,4 @@
1
-
2
- Copyright (c) 2010 Hal Brodigan
1
+ Copyright (c) 2010-2011 Hal Brodigan
3
2
 
4
3
  Permission is hereby granted, free of charge, to any person obtaining
5
4
  a copy of this software and associated documentation files (the
@@ -19,4 +18,3 @@ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19
18
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20
19
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21
20
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
-
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # URI query_params
2
2
 
3
- * [Source](http://github.com/postmodern/uri-query_params/)
4
- * [Issues](http://github.com/postmodern/uri-query_params/issues/)
5
- * Postmodern (postmodern.mod3 at gmail.com)
3
+ * [Source](http://github.com/postmodern/uri-query_params)
4
+ * [Issues](http://github.com/postmodern/uri-query_params/issues)
5
+ * [Documentation](http://rubydoc.info/gems/uri-query_params/frames)
6
+ * [Email](mailto:postmodern.mod3 at gmail.com)
6
7
 
7
8
  ## Description
8
9
 
@@ -34,5 +35,6 @@ Setting the URI query_params:
34
35
 
35
36
  ## License
36
37
 
37
- See {file:LICENSE.txt} for license information.
38
+ Copyright (c) 2010-2011 Hal Brodigan
38
39
 
40
+ See {file:LICENSE.txt} for license information.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
 
4
4
  begin
5
- gem 'ore-tasks', '~> 0.2.0'
5
+ gem 'ore-tasks', '~> 0.4'
6
6
  require 'ore/tasks'
7
7
 
8
8
  Ore::Tasks.new
@@ -12,7 +12,7 @@ rescue LoadError => e
12
12
  end
13
13
 
14
14
  begin
15
- gem 'rspec', '~> 2.1.0'
15
+ gem 'rspec', '~> 2.4'
16
16
  require 'rspec/core/rake_task'
17
17
 
18
18
  RSpec::Core::RakeTask.new
@@ -21,6 +21,7 @@ rescue LoadError => e
21
21
  abort "Please run `gem install rspec` to install RSpec."
22
22
  end
23
23
  end
24
+ task :test => :spec
24
25
  task :default => :spec
25
26
 
26
27
  begin
data/gemspec.yml CHANGED
@@ -8,6 +8,6 @@ email: postmodern.mod3@gmail.com
8
8
  has_yard: true
9
9
 
10
10
  development_dependencies:
11
- ore-tasks: ~> 0.2.0
12
- rspec: ~> 2.1.0
11
+ ore-tasks: ~> 0.4
12
+ rspec: ~> 2.4
13
13
  yard: ~> 0.6.0
@@ -1,4 +1,4 @@
1
- require 'uri'
1
+ require 'uri/common'
2
2
 
3
3
  module URI
4
4
  module QueryParams
@@ -1,6 +1,6 @@
1
1
  module URI
2
2
  module QueryParams
3
3
  # uri-query_params version
4
- VERSION = '0.5.2'
4
+ VERSION = '0.5.3'
5
5
  end
6
6
  end
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,2 @@
1
- require 'rubygems'
2
-
3
- gem 'rspec', '~> 2.1.0'
1
+ gem 'rspec', '~> 2.4'
4
2
  require 'rspec'
@@ -5,6 +5,11 @@ begin
5
5
  # custom logic here
6
6
  end
7
7
  rescue NameError
8
- STDERR.puts "The 'uri-query_params.gemspec' file requires Ore."
9
- STDERR.puts "Run `gem install ore-core` to install Ore."
8
+ begin
9
+ require 'ore/specification'
10
+ retry
11
+ rescue LoadError
12
+ STDERR.puts "The 'uri-query_params.gemspec' file requires Ore."
13
+ STDERR.puts "Run `gem install ore-core` to install Ore."
14
+ end
10
15
  end
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uri-query_params
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 5
8
- - 2
9
- version: 0.5.2
4
+ prerelease:
5
+ version: 0.5.3
10
6
  platform: ruby
11
7
  authors:
12
8
  - Postmodern
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2010-11-11 00:00:00 -08:00
13
+ date: 2011-03-11 00:00:00 -08:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,11 +21,7 @@ dependencies:
25
21
  requirements:
26
22
  - - ~>
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- - 2
31
- - 0
32
- version: 0.2.0
24
+ version: "0.4"
33
25
  type: :development
34
26
  version_requirements: *id001
35
27
  - !ruby/object:Gem::Dependency
@@ -40,11 +32,7 @@ dependencies:
40
32
  requirements:
41
33
  - - ~>
42
34
  - !ruby/object:Gem::Version
43
- segments:
44
- - 2
45
- - 1
46
- - 0
47
- version: 2.1.0
35
+ version: "2.4"
48
36
  type: :development
49
37
  version_requirements: *id002
50
38
  - !ruby/object:Gem::Dependency
@@ -55,15 +43,12 @@ dependencies:
55
43
  requirements:
56
44
  - - ~>
57
45
  - !ruby/object:Gem::Version
58
- segments:
59
- - 0
60
- - 6
61
- - 0
62
46
  version: 0.6.0
63
47
  type: :development
64
48
  version_requirements: *id003
65
49
  description: Allows access to the query component of the URI as a Hash.
66
- email: postmodern.mod3@gmail.com
50
+ email:
51
+ - postmodern.mod3@gmail.com
67
52
  executables: []
68
53
 
69
54
  extensions: []
@@ -74,6 +59,7 @@ extra_rdoc_files:
74
59
  - LICENSE.txt
75
60
  files:
76
61
  - .document
62
+ - .gemtest
77
63
  - .rspec
78
64
  - .yardopts
79
65
  - ChangeLog.md
@@ -108,21 +94,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
94
  requirements:
109
95
  - - ">="
110
96
  - !ruby/object:Gem::Version
111
- segments:
112
- - 0
113
97
  version: "0"
114
98
  required_rubygems_version: !ruby/object:Gem::Requirement
115
99
  none: false
116
100
  requirements:
117
101
  - - ">="
118
102
  - !ruby/object:Gem::Version
119
- segments:
120
- - 0
121
103
  version: "0"
122
104
  requirements: []
123
105
 
124
106
  rubyforge_project: uri-query_params
125
- rubygems_version: 1.3.7
107
+ rubygems_version: 1.6.2
126
108
  signing_key:
127
109
  specification_version: 3
128
110
  summary: Access the query parameters of a URI, just like $_GET in PHP.