Floppy-amee 2.0.14 → 2.0.15

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.
@@ -200,8 +200,12 @@ module AMEE
200
200
  end
201
201
 
202
202
  def send_request(request, format = @format)
203
+ # Set auth token in cookie (and header just in case someone's stripping cookies)
204
+ request['Cookie'] = "authToken=#{@auth_token}"
203
205
  request['authToken'] = @auth_token
206
+ # Set accept header
204
207
  request['Accept'] = content_type(format)
208
+ # Do the business
205
209
  response = @http.request(request)
206
210
  # Handle 404s
207
211
  if response.code == '404'
data/lib/amee/version.rb CHANGED
@@ -3,7 +3,7 @@ module AMEE
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 2
5
5
  MINOR = 0
6
- TINY = 14
6
+ TINY = 15
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Floppy-amee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.14
4
+ version: 2.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-21 00:00:00 -07:00
12
+ date: 2009-05-01 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency