fb_graph2 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ab2f09e76c8a2404c23ab9ee7653ad43a93b0ea
4
- data.tar.gz: 0dcf79104c650917bb8e9f5239de5db176d4c3f5
3
+ metadata.gz: f256941ae5f6e57c032e79b72181a0f0559f81d4
4
+ data.tar.gz: cd9680ddc658ed74be3edb23a58ec8e3b1d937b8
5
5
  SHA512:
6
- metadata.gz: 88390962cdc44b657592329f5bcd1bf088500e16612e35439859cf31beade1c19771378f5287fcb077e55a90357bc9cb896fd27fc86d4d916b2e9dc7f3466048
7
- data.tar.gz: 0889dfc5c9f0e850828c593274797deaeba416933c17acdcc144ee7db2221d51780fb4db0ac634a68139b3101905bbcee8c5701422c15d15813bb740673c9b33
6
+ metadata.gz: 77007d17c1fa5a86873d946f5bb9c6be5510234da913427279de16b88642df3302997e8821c5ab8ffa11d101d1fe6e4c74909927c002450cc8d5731e5592d806
7
+ data.tar.gz: 529f93e41ac150f713452bee3d86a89409860b44430da35e7115591768085945f778125241095963899a8dab6e24d6c838a61891ec097ff3a9dde3bd7ce72ae8
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
- # FbGraph2
1
+ FbGraph2
2
+ ====
2
3
 
3
- Similar to [fb_graph gem](https://github.com/nov/fb_graph), but supports Graph API v2.0+.
4
+ Facebook Graph API v2.x Wrapper in Ruby
5
+
6
+ [![Build Status](https://img.shields.io/travis/nov/fb_graph2/master.svg)](http://travis-ci.org/nov/fb_graph2)
4
7
 
5
8
  ## Installation
6
9
 
@@ -22,7 +25,7 @@ See [fb_graph2 Wiki](https://github.com/nov/fb_graph2/wiki).
22
25
 
23
26
  ## Contributing
24
27
 
25
- 1. Fork it ( https://github.com/[my-github-username]/fb_graph2/fork )
28
+ 1. Fork it ( https://github.com/nov/fb_graph2/fork )
26
29
  2. Create your feature branch (`git checkout -b my-new-feature`)
27
30
  3. Commit your changes (`git commit -am 'Add some feature'`)
28
31
  4. Push to the branch (`git push origin my-new-feature`)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -3,8 +3,8 @@ Gem::Specification.new do |gem|
3
3
  gem.version = File.read('VERSION').delete("\n\r")
4
4
  gem.authors = ['nov matake']
5
5
  gem.email = ['nov@matake.jp']
6
- gem.summary = %q{Facebook Graph API v2.0 Wrapper in Ruby}
7
- gem.description = %q{Facebook Graph API v2.0 Wrapper in Ruby}
6
+ gem.summary = %q{Facebook Graph API v2.x Wrapper in Ruby}
7
+ gem.description = %q{Facebook Graph API v2.x Wrapper in Ruby}
8
8
  gem.homepage = 'https://github.com/nov/fb_graph2'
9
9
  gem.license = 'MIT'
10
10
 
@@ -111,7 +111,7 @@ module FbGraph2
111
111
  _response_ = _response_.with_indifferent_access if _response_.respond_to? :with_indifferent_access
112
112
  case response.status
113
113
  when 200...300
114
- if _response_.respond_to?(:include?) && _response_.include?(:success)
114
+ if _response_.respond_to?(:has_key?) && _response_.has_key?(:success)
115
115
  _response_[:success]
116
116
  else
117
117
  _response_
@@ -6,7 +6,7 @@ describe FbGraph2 do
6
6
 
7
7
  context 'as default' do
8
8
  its(:logger) { should be_a Logger }
9
- its(:api_version) { should == 'v2.0' }
9
+ its(:api_version) { should == 'v2.3' }
10
10
  its(:root_url) { should == 'https://graph.facebook.com' }
11
11
  its(:object_classes) { should contain_exactly *FbGraph2::Node.subclasses + [FbGraph2::Place] }
12
12
  it { should_not be_debugging }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb_graph2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-28 00:00:00.000000000 Z
11
+ date: 2015-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -150,7 +150,7 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
- description: Facebook Graph API v2.0 Wrapper in Ruby
153
+ description: Facebook Graph API v2.x Wrapper in Ruby
154
154
  email:
155
155
  - nov@matake.jp
156
156
  executables: []
@@ -481,5 +481,5 @@ rubyforge_project:
481
481
  rubygems_version: 2.4.5
482
482
  signing_key:
483
483
  specification_version: 4
484
- summary: Facebook Graph API v2.0 Wrapper in Ruby
484
+ summary: Facebook Graph API v2.x Wrapper in Ruby
485
485
  test_files: []