chimps 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -163,7 +163,7 @@ module Chimps
163
163
  end
164
164
 
165
165
  # Authenticate this request by stuffing the <tt>:requested_at</tt>
166
- # and <tt>:api_key</tt> properties into its <tt>:query_params</tt>
166
+ # and <tt>:apikey</tt> properties into its <tt>:query_params</tt>
167
167
  # hash.
168
168
  #
169
169
  # Will do nothing at all if Chimps::Request#authenticate? returns
@@ -172,7 +172,7 @@ module Chimps
172
172
  return unless authenticate?
173
173
  raise Chimps::AuthenticationError.new("API key or secret missing from #{CONFIG[:identity_file]}") unless (authenticable? || @forgive_authentication_error)
174
174
  query_params[:requested_at] = Time.now.to_i.to_s
175
- query_params[:api_key] = Chimps::CONFIG[:site][:key]
175
+ query_params[:apikey] = Chimps::CONFIG[:site][:key]
176
176
  end
177
177
 
178
178
  # Return an unsigned query string for this request.
@@ -261,7 +261,7 @@ module Chimps
261
261
  end
262
262
 
263
263
  # Authenticate this request by stuffing the <tt>:requested_at</tt>
264
- # and <tt>:api_key</tt> properties into its <tt>:query_params</tt>
264
+ # and <tt>:apikey</tt> properties into its <tt>:query_params</tt>
265
265
  # hash.
266
266
  #
267
267
  # Will do nothing at all if Chimps::Request#authenticate? returns
@@ -335,7 +335,7 @@ module Chimps
335
335
  def accumulate_api_account api_account
336
336
  # FIXME this is sort of ugly...
337
337
  self << "USERNAME: #{api_account['owner']['username']}"
338
- self << "API KEY: #{api_account['api_key']}"
338
+ self << "API KEY: #{api_account['apikey']}"
339
339
  self << "LAST UPDATED: #{api_account['updated_at']}"
340
340
  end
341
341
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chimps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dhruv Bansal
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-06-06 00:00:00 -05:00
12
+ date: 2010-06-09 00:00:00 -05:00
13
13
  default_executable: chimps
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency