fb-auth 0.1.2 → 0.1.3

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: e1c65df145f6718c64b0a56c90644ad84e9b7680
4
- data.tar.gz: c74b56bfa92064a6104cfb0313a66bf4bb8ba8de
3
+ metadata.gz: 124e9ff677bd52d912545b9e53c51e2eebd98779
4
+ data.tar.gz: 05c0d10e754b53b30aedd9737d9374be10823e5b
5
5
  SHA512:
6
- metadata.gz: e7582dccb5248c30929e76314c3a0dd0331ab1ade55cf5245fbb6a2f4f5d610d54d3931db8d0a2f1d4e8435228e097cdfd0a3fb373ec25f90ab9695c5e93c5ee
7
- data.tar.gz: '09e4778d8511b2f12ae52343fcb9d0c26f261979764f6c007d6040b3b1e3f9e55dd74be47cc559b6e8157eee8cf7826c165f8ca1548d32655346a93fa6732bb1'
6
+ metadata.gz: f1a95017d80749ba22f8050ccd355033c2d45d77d381731ff59cd00855ed8eac3346b961299cee8ab5f4eedd0e5054c828f5fb40ce0c2c12b520f7e2f2dc4cad
7
+ data.tar.gz: 359f6ff12599926e2428bc8e0ea4f65d44759b0efe53ccf15bb9fd58e6c0047bf3ecd489d731cfd01026c8b8f73a4b9f6d912cd2c72eb57155e2b17e82bbe1c0
@@ -6,6 +6,11 @@ For more information about changelogs, check
6
6
  [Keep a Changelog](http://keepachangelog.com) and
7
7
  [Vandamme](http://tech-angels.github.io/vandamme).
8
8
 
9
+ ## 0.1.3 - 2017/07/20
10
+
11
+ * [BUGFIX] Fixed `require` statement not loading for some classes.
12
+ * [BUGFIX] Fixed typo (it's client_secret, not client_id)
13
+
9
14
  ## 0.1.2 - 2017/07/11
10
15
 
11
16
  * [ENHANCEMENT] `Fb::Page#insights` now takes a hash of options on method call.
@@ -1,5 +1,8 @@
1
- require 'fb/request'
2
1
  require 'fb/configuration'
2
+ require 'fb/user'
3
+ require 'fb/page'
4
+ require 'fb/metric'
5
+ require 'fb/request'
3
6
  # Ruby client to authenticate a Facebook user.
4
7
  # @see http://www.rubydoc.info/gems/Fb/
5
8
  module Fb
@@ -43,7 +46,7 @@ module Fb
43
46
 
44
47
  def short_term_token_params
45
48
  {}.tap do |params|
46
- params[:client_secret] = Fb.configuration.client_id
49
+ params[:client_secret] = Fb.configuration.client_secret
47
50
  params[:redirect_uri] = @redirect_uri
48
51
  params[:code] = @code
49
52
  end
@@ -2,6 +2,6 @@ module Fb
2
2
  class Auth
3
3
  # @return [String] the SemVer-compatible gem version.
4
4
  # @see http://semver.org
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
@@ -1,6 +1,3 @@
1
- require 'date'
2
- require 'fb/request'
3
- require 'fb/metric'
4
1
  # Ruby client to authenticate a Facebook user.
5
2
  # @see http://www.rubydoc.info/gems/Fb/
6
3
  module Fb
@@ -1,6 +1,3 @@
1
- require 'fb/request'
2
- require 'fb/page'
3
-
4
1
  module Fb
5
2
  # Provides methods to get a collection of pages that an access token is
6
3
  # allowed to manage and get page insights on those pages.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Dao
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-07-12 00:00:00.000000000 Z
12
+ date: 2017-07-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler