mini_fb 2.2.2 → 2.3.0

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: b8e391adab3eb0fcf238f777a85227dd45e654fd
4
- data.tar.gz: a2edb60b87d01fd15ac45bbad81ea061d777cdbf
3
+ metadata.gz: d2412598e44c1895afa24f90c51c3dfa9cc455a5
4
+ data.tar.gz: 1248ba2537bd4852bc345b1f484a5afcb9691648
5
5
  SHA512:
6
- metadata.gz: 0c44908e88abd8128bff57b620934b1e9bb50be219883aa3b3ebd4285da632f128e68bcd407c8a842454d0365045a55bb701e9c50b643729234d748b611efeac
7
- data.tar.gz: 0d96d4738a20e6a09c8c4e7fdeeabc7c7f71423150bd47183c939495ac258ca5c92779df7453f398849537a5bf417e04412d6820c371b6fd3e3a4132afa449d3
6
+ metadata.gz: 9ffb593d1f77925e35156c58fb80d0c41d8610f2abf9e0821c01ace02bbdc201b1aefd04d88603c64a666e4be570161e323e02f3541b1887e67e7ded8564b78a
7
+ data.tar.gz: 9aefa41163573ffcc2c43d4b476c4f4d93e3b53d1e35d9be91f10300ddfa9cd15307be721351d557efb48b60b2ca7183b5e26019c5854ede7dd5e5ee6decf9b2
File without changes
data/lib/mini_fb.rb CHANGED
@@ -511,13 +511,7 @@ module MiniFB
511
511
  oauth_url << "&code=#{CGI.escape(code)}"
512
512
  resp = @@http.get oauth_url
513
513
  puts 'resp=' + resp.body.to_s if @@logging
514
- params = {}
515
- params_array = resp.body.to_s.split("&")
516
- params_array.each do |p|
517
- ps = p.split("=")
518
- params[ps[0]] = ps[1]
519
- end
520
- return params
514
+ JSON.parse(resp.body.to_s)
521
515
  end
522
516
 
523
517
  # Gets long-lived token from the Facebook Graph API
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module MiniFB
2
- VERSION = "2.2.2"
2
+ VERSION = "2.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_fb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-24 00:00:00.000000000 Z
11
+ date: 2017-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -50,7 +50,7 @@ files:
50
50
  - Gemfile
51
51
  - Gemfile.lock
52
52
  - LICENSE.txt
53
- - README.md
53
+ - README.markdown
54
54
  - Rakefile
55
55
  - lib/mini_fb.rb
56
56
  - lib/version.rb
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: 1.3.6
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.6.6
79
+ rubygems_version: 2.6.11
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Tiny facebook library. By http://www.appoxy.com