picky-client 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/picky-client/client.rb +2 -13
  2. metadata +14 -3
@@ -116,17 +116,6 @@ module Picky
116
116
 
117
117
  end
118
118
 
119
- # Extend hash with to_query method.
119
+ # Extend object with to_query method.
120
120
  #
121
- begin
122
- require 'active_support/core_ext/object/to_query'
123
- rescue LoadError
124
-
125
- end
126
- class Hash
127
- def to_query namespace = nil
128
- collect do |key, value|
129
- value.to_query(namespace ? "#{namespace}[#{key}]" : key)
130
- end.sort * '&'
131
- end
132
- end
121
+ require 'active_support/core_ext/object/to_query'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: picky-client
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.4.0
5
+ version: 2.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Florian Hanke
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-20 00:00:00 +10:00
13
+ date: 2011-05-25 00:00:00 +10:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -24,6 +24,17 @@ dependencies:
24
24
  version: 0.7.8
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 3.0.0
36
+ type: :runtime
37
+ version_requirements: *id002
27
38
  description: Picky Client
28
39
  email: florian.hanke+picky-client@gmail.com
29
40
  executables: []
@@ -79,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
90
  requirements: []
80
91
 
81
92
  rubyforge_project: http://rubyforge.org/projects/picky
82
- rubygems_version: 1.5.0
93
+ rubygems_version: 1.6.2
83
94
  signing_key:
84
95
  specification_version: 3
85
96
  summary: picky Ruby Search Engine Client