fb_graph2 0.7.8 → 0.7.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68a1005cf3e165e5c3aab49736d685ebd70b3578
4
- data.tar.gz: 3e6775221c4f27db65875c11476c08ffc65b991a
3
+ metadata.gz: bbc94dd82bedcedb8cf57c30311b7e75d8be2984
4
+ data.tar.gz: c9b583b7a230cd880a58e44d0230cca240e27ffe
5
5
  SHA512:
6
- metadata.gz: b675333d6b1aa1083b1eddb7289e7ffa657f85a93c00301658c1c4763f5624ae00cf622e91aa263f7817b24ddf2da576db7cd5fcf4af29a95c13c8e863b1ad37
7
- data.tar.gz: c0e50b7be47436601eecc9f9c9707b37986ca7007429439379e541e3f6f2757389df18a6ee22248e1f65926a459b585b60979b723abccc1213e305cd023cf4d1
6
+ metadata.gz: 7b4d109193be0b75119121da8bd1e6de60346afd1f3fc861200d41092aca07938ae9422a3e4b1cea22af641c6b0994f43834eed5837c64d135224e1c7ae73524
7
+ data.tar.gz: d92ff500ceb9e312afbbfa8d8404dfcae2619a3175dd1b100d0f1a1413cdb12ad4260e1e40e189f5806547ee1d3a143b9d30f8d1f2a817312454a9d8fec17a45
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.8
1
+ 0.7.9
@@ -8,7 +8,7 @@ module FbGraph2
8
8
  end
9
9
  end
10
10
 
11
- def test_users!(params = {})
11
+ def test_user!(params = {})
12
12
  user = self.post params, edge: :accounts, edge_scope: :'test-users'
13
13
  params.delete(:access_token) # so as not to keep app token
14
14
  User.new(user[:id], user.merge(params))
@@ -18,11 +18,11 @@ describe FbGraph2::Edge::TestUsers do
18
18
  end
19
19
  end
20
20
 
21
- describe '#test_users!' do
21
+ describe '#test_user!' do
22
22
  it 'should create an Object of FbGraph2::User with test_user token' do
23
23
  permissions = %w[public_profile,email,user_friends].join(',')
24
24
  user = mock_graph :post, 'app/accounts/test-users', 'post/test_users', access_token: 'app_token', permissions: permissions do
25
- app.test_users!
25
+ app.test_user!
26
26
  end
27
27
  user.should be_instance_of FbGraph2::User
28
28
  user.access_token.should == 'test_user_token'
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.7.8
4
+ version: 0.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-26 00:00:00.000000000 Z
11
+ date: 2016-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient