koala 1.6.0.rc1 → 1.6.0

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.
@@ -4,6 +4,7 @@ New methods:
4
4
  Updated methods:
5
5
  * Graph API methods now accepts a post processing block, see readme for examples (thanks, wolframarnold!)
6
6
  _Internal improvements:_
7
+ * Koala now returns more specific and useful error classes (thanks, archfear!)
7
8
  * Switched URL parsing to addressable, which can handle unusual FB URLs (thanks, bnorton!)
8
9
  * Fixed Batch API bug that seems to have broken calls requiring post-processing
9
10
  * Bump Faraday requirement to 0.8 (thanks, jarthod!)
@@ -1,3 +1,3 @@
1
1
  module Koala
2
- VERSION = "1.6.0.rc1"
2
+ VERSION = "1.6.0"
3
3
  end
@@ -20,8 +20,10 @@ describe "Koala::Facebook::TestUsers" do
20
20
  # Facebook only allows us 500 test users per app, so we have to clean up
21
21
  # This would be a good place to clean up and accumulate all of them for
22
22
  # later deletion.
23
- ((@network || []) + [@user1, @user2]).each do |u|
24
- puts "Unable to delete test user #{u.inspect}" if u && !(@test_users.delete(u) rescue false)
23
+ unless KoalaTest.mock_interface?
24
+ ((@network || []) + [@user1, @user2]).each do |u|
25
+ puts "Unable to delete test user #{u.inspect}" if u && !(@test_users.delete(u) rescue false)
26
+ end
25
27
  end
26
28
  end
27
29
 
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: koala
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0.rc1
5
- prerelease: 6
4
+ version: 1.6.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alex Koppel
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-03 00:00:00.000000000 Z
12
+ date: 2012-12-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
@@ -181,13 +181,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
181
  version: '0'
182
182
  segments:
183
183
  - 0
184
- hash: 904589403550406818
184
+ hash: 4609092032250353184
185
185
  required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  none: false
187
187
  requirements:
188
- - - ! '>'
188
+ - - ! '>='
189
189
  - !ruby/object:Gem::Version
190
- version: 1.3.1
190
+ version: '0'
191
+ segments:
192
+ - 0
193
+ hash: 4609092032250353184
191
194
  requirements: []
192
195
  rubyforge_project:
193
196
  rubygems_version: 1.8.24