uri-query_params 0.5.2 → 0.5.3
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/.gemtest +0 -0
- data/ChangeLog.md +4 -0
- data/LICENSE.txt +1 -3
- data/README.md +6 -4
- data/Rakefile +3 -2
- data/gemspec.yml +2 -2
- data/lib/uri/query_params/query_params.rb +1 -1
- data/lib/uri/query_params/version.rb +1 -1
- data/spec/spec_helper.rb +1 -3
- data/uri-query_params.gemspec +7 -2
- metadata +9 -27
data/.gemtest
ADDED
|
File without changes
|
data/ChangeLog.md
CHANGED
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
|
-
*
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
data/spec/spec_helper.rb
CHANGED
data/uri-query_params.gemspec
CHANGED
|
@@ -5,6 +5,11 @@ begin
|
|
|
5
5
|
# custom logic here
|
|
6
6
|
end
|
|
7
7
|
rescue NameError
|
|
8
|
-
|
|
9
|
-
|
|
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:
|
|
5
|
-
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
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:
|
|
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.
|
|
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.
|