deadlinez 0.0.2 → 0.0.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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/deadlinez.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{deadlinez}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Balatero"]
12
- s.date = %q{2009-12-10}
12
+ s.date = %q{2010-01-10}
13
13
  s.description = %q{Makes it easy to handle After the Deadline AJAX proxying and their API.}
14
14
  s.email = %q{dbalatero@gmail.com}
15
15
  s.extra_rdoc_files = [
data/lib/deadlinez/api.rb CHANGED
@@ -8,9 +8,9 @@ module Deadlinez
8
8
  # plugin.
9
9
  def self.proxy(path, params)
10
10
  proxy_params = Deadlinez::Proxy.strip_params(params)
11
- proxy_params['key'] = Deadlinez.api_key
12
- response = get(path,
13
- :query => params,
11
+ response = post(path,
12
+ :query => { :key => Deadlinez.api_key },
13
+ :body => proxy_params,
14
14
  :format => nil)
15
15
  response.body
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deadlinez
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Balatero
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-10 00:00:00 -08:00
12
+ date: 2010-01-10 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency