spore 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/spore.rb +1 -1
  3. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.7
1
+ 0.0.8
data/lib/spore.rb CHANGED
@@ -261,7 +261,7 @@ class Spore
261
261
  h = headers.map{|header| header.values_at(:name,:value)}
262
262
 
263
263
  # force content type to form urlencoded
264
- if ! h.index{|a| a[0] == 'Content-Type' } && method_name != 'get'
264
+ if ! h.any?{|a| a[0] == 'Content-Type' } && method_name != 'get'
265
265
  h.push(['Content-Type', 'application/x-www-form-urlencoded'])
266
266
  end
267
267
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spore
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alexis Sukrieh <sukria@sukria.net> [sukria]
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-07-27 00:00:00 +02:00
19
+ date: 2011-07-28 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency