koala 1.1.0rc → 1.1.0rc2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,5 +1,5 @@
1
1
  v1.1
2
- New/updated methods:
2
+ New methods:
3
3
  -- Batch API support through Koala::Facebook::GraphAPI.batch (thanks, seejohnrun!)
4
4
  -- includes file uploads, error handling, and FQL
5
5
  -- Added GraphAPI#get_comments_for_urls (thanks, amrnt!)
data/koala.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{koala}
5
- s.version = "1.1.0rc"
5
+ s.version = "1.1.0rc2"
6
6
  s.date = %q{2011-06-06}
7
7
 
8
8
  s.summary = %q{A lightweight, flexible library for Facebook with support for the Graph API, the REST API, realtime updates, and OAuth authentication.}
data/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  Koala
2
2
  ====
3
- Koala (<a href="http://github.com/arsduo/koala" target="_blank">http://github.com/arsduo/koala</a>) is a new Facebook library for Ruby, supporting the Graph API (including the batch requests and photo uploads), the REST API, realtime updates, test users, and OAuth validation. We wrote Koala with four goals:
3
+ [Koala](http://github.com/arsduo/koala) is a new Facebook library for Ruby, supporting the Graph API (including the batch requests and photo uploads), the REST API, realtime updates, test users, and OAuth validation. We wrote Koala with four goals:
4
4
 
5
5
  * Lightweight: Koala should be as light and simple as Facebook’s own new libraries, providing API accessors and returning simple JSON. (We clock in, with comments, just over 750 lines of code.)
6
6
  * Fast: Koala should, out of the box, be quick. In addition to supporting the vanilla Ruby networking libraries, it natively supports Typhoeus, our preferred gem for making fast HTTP requests. Of course, That brings us to our next topic:
@@ -5,8 +5,8 @@ Horse = Koala::NetHTTPService
5
5
 
6
6
  describe "NetHTTPService module holder class Horse" do
7
7
  before :each do
8
- # reset the always_use_ssl parameter
9
- Horse.always_use_ssl = nil
8
+ # reset global settings
9
+ Horse.always_use_ssl = Horse.proxy = Horse.timeout = nil
10
10
  end
11
11
 
12
12
  it "should define a make_request static module method" do
@@ -7,8 +7,8 @@ describe "TyphoeusService" do
7
7
 
8
8
  describe "TyphoeusService module holder class Deer" do
9
9
  before :each do
10
- # reset the always_use_ssl parameter
11
- Deer.always_use_ssl = nil
10
+ # reset global settings
11
+ Deer.always_use_ssl = Deer.proxy = Deer.timeout = nil
12
12
  end
13
13
 
14
14
  it "should define a make_request static module method" do
metadata CHANGED
@@ -1,14 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: koala
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7712002
5
4
  prerelease: 5
6
- segments:
7
- - 1
8
- - 1
9
- - 0
10
- - rc
11
- version: 1.1.0rc
5
+ version: 1.1.0rc2
12
6
  platform: ruby
13
7
  authors:
14
8
  - Alex Koppel, Chris Baclig, Rafi Jacoby, Context Optional
@@ -20,82 +14,60 @@ date: 2011-06-06 00:00:00 +02:00
20
14
  default_executable:
21
15
  dependencies:
22
16
  - !ruby/object:Gem::Dependency
23
- type: :runtime
17
+ name: json
24
18
  requirement: &id001 !ruby/object:Gem::Requirement
25
19
  none: false
26
20
  requirements:
27
21
  - - ~>
28
22
  - !ruby/object:Gem::Version
29
- hash: 15
30
- segments:
31
- - 1
32
- - 0
33
23
  version: "1.0"
34
- version_requirements: *id001
35
- name: json
24
+ type: :runtime
36
25
  prerelease: false
26
+ version_requirements: *id001
37
27
  - !ruby/object:Gem::Dependency
38
- type: :runtime
28
+ name: multipart-post
39
29
  requirement: &id002 !ruby/object:Gem::Requirement
40
30
  none: false
41
31
  requirements:
42
32
  - - ~>
43
33
  - !ruby/object:Gem::Version
44
- hash: 15
45
- segments:
46
- - 1
47
- - 0
48
34
  version: "1.0"
49
- version_requirements: *id002
50
- name: multipart-post
35
+ type: :runtime
51
36
  prerelease: false
37
+ version_requirements: *id002
52
38
  - !ruby/object:Gem::Dependency
53
- type: :development
39
+ name: rspec
54
40
  requirement: &id003 !ruby/object:Gem::Requirement
55
41
  none: false
56
42
  requirements:
57
43
  - - ~>
58
44
  - !ruby/object:Gem::Version
59
- hash: 9
60
- segments:
61
- - 2
62
- - 5
63
45
  version: "2.5"
64
- version_requirements: *id003
65
- name: rspec
46
+ type: :development
66
47
  prerelease: false
48
+ version_requirements: *id003
67
49
  - !ruby/object:Gem::Dependency
68
- type: :development
50
+ name: rake
69
51
  requirement: &id004 !ruby/object:Gem::Requirement
70
52
  none: false
71
53
  requirements:
72
54
  - - ~>
73
55
  - !ruby/object:Gem::Version
74
- hash: 49
75
- segments:
76
- - 0
77
- - 8
78
- - 7
79
56
  version: 0.8.7
80
- version_requirements: *id004
81
- name: rake
57
+ type: :development
82
58
  prerelease: false
59
+ version_requirements: *id004
83
60
  - !ruby/object:Gem::Dependency
84
- type: :development
61
+ name: typhoeus
85
62
  requirement: &id005 !ruby/object:Gem::Requirement
86
63
  none: false
87
64
  requirements:
88
65
  - - ~>
89
66
  - !ruby/object:Gem::Version
90
- hash: 31
91
- segments:
92
- - 0
93
- - 2
94
- - 4
95
67
  version: 0.2.4
96
- version_requirements: *id005
97
- name: typhoeus
68
+ type: :development
98
69
  prerelease: false
70
+ version_requirements: *id005
99
71
  description: Koala is a lightweight, flexible Ruby SDK for Facebook. It allows read/write access to the social graph via the Graph and REST APIs, as well as support for realtime updates and OAuth and Facebook Connect authentication. Koala is fully tested and supports Net::HTTP and Typhoeus connections out of the box and can accept custom modules for other services.
100
72
  email: alex@alexkoppel.com
101
73
  executables: []
@@ -167,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
167
139
  requirements:
168
140
  - - ">="
169
141
  - !ruby/object:Gem::Version
170
- hash: 3
142
+ hash: -4094332028190876979
171
143
  segments:
172
144
  - 0
173
145
  version: "0"
@@ -176,10 +148,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
148
  requirements:
177
149
  - - ">="
178
150
  - !ruby/object:Gem::Version
179
- hash: 11
180
- segments:
181
- - 1
182
- - 2
183
151
  version: "1.2"
184
152
  requirements: []
185
153