foursquare 0.3.2 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +2 -2
  2. data/lib/foursquare.rb +1 -0
  3. metadata +5 -5
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'spec/rake/spectask'
6
6
 
7
7
  spec = Gem::Specification.new do |s|
8
8
  s.name = "foursquare"
9
- s.version = "0.3.1"
9
+ s.version = "0.3.4"
10
10
  s.authors = ['Jeremy Welch', 'Thomas Hanley', 'Elise Wood']
11
11
  s.email = "hello@jeremyrwelch.com"
12
12
  s.homepage = "http://foursquare.rubyforge.org"
@@ -21,7 +21,7 @@ spec = Gem::Specification.new do |s|
21
21
  s.autorequire = 'foursquare'
22
22
  s.files = %w(README.rdoc Rakefile History) + Dir.glob("{lib,spec,script,examples}/**/*")
23
23
 
24
- s.add_dependency('httparty', '0.4.3')
24
+ s.add_dependency('httparty', '>=0.4.3')
25
25
  end
26
26
 
27
27
  task :default => :spec
@@ -107,6 +107,7 @@ module Foursquare
107
107
  url = BASE_URL + '/' + method_name.split('.').join('/')
108
108
  url += ".#{FORMAT}"
109
109
  url += "?#{params}" if params
110
+ url = URI.escape(url)
110
111
  url
111
112
  end
112
113
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foursquare
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeremy Welch
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-03-13 00:00:00 -08:00
20
+ date: 2010-10-01 00:00:00 -07:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirement: &id001 !ruby/object:Gem::Requirement
27
27
  none: false
28
28
  requirements:
29
- - - "="
29
+ - - ">="
30
30
  - !ruby/object:Gem::Version
31
31
  hash: 9
32
32
  segments: