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 +4 -4
- data/README.md +6 -3
- data/VERSION +1 -1
- data/fb_graph2.gemspec +2 -2
- data/lib/fb_graph2/node.rb +1 -1
- data/spec/fb_graph2_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f256941ae5f6e57c032e79b72181a0f0559f81d4
|
4
|
+
data.tar.gz: cd9680ddc658ed74be3edb23a58ec8e3b1d937b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77007d17c1fa5a86873d946f5bb9c6be5510234da913427279de16b88642df3302997e8821c5ab8ffa11d101d1fe6e4c74909927c002450cc8d5731e5592d806
|
7
|
+
data.tar.gz: 529f93e41ac150f713452bee3d86a89409860b44430da35e7115591768085945f778125241095963899a8dab6e24d6c838a61891ec097ff3a9dde3bd7ce72ae8
|
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
|
1
|
+
FbGraph2
|
2
|
+
====
|
2
3
|
|
3
|
-
|
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/
|
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
|
+
0.6.2
|
data/fb_graph2.gemspec
CHANGED
@@ -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.
|
7
|
-
gem.description = %q{Facebook Graph API v2.
|
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
|
|
data/lib/fb_graph2/node.rb
CHANGED
@@ -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?(:
|
114
|
+
if _response_.respond_to?(:has_key?) && _response_.has_key?(:success)
|
115
115
|
_response_[:success]
|
116
116
|
else
|
117
117
|
_response_
|
data/spec/fb_graph2_spec.rb
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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.
|
484
|
+
summary: Facebook Graph API v2.x Wrapper in Ruby
|
485
485
|
test_files: []
|