fb-feed 1.0.0 → 1.0.1

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: d4e65bd9e5895d37e088fc7a5dad97bce5eed1fa
4
- data.tar.gz: d9481448c17dfbf96921c05da4612f9a0acf5969
3
+ metadata.gz: 4eef668065fb3199bc792ecd7d3e96299bae0364
4
+ data.tar.gz: 04755446af8d55e67c8e826cc309ebeff11acb2b
5
5
  SHA512:
6
- metadata.gz: c2e0885b27b58c72ae9d5d7de34c1e73c69fa287997a9fe82146ecff24bf6984fb6ea1445b9d381f8ccbe9e364231b3bc52636dfa256a357c6bbd4ebb1ab2113
7
- data.tar.gz: 75d501db07f6d0490d6127cc6f04e060412bf14458f92729bf7cbb9ac2f41a0d8eec5d324e9c581791ea300a979beaabe89c2d170434e6d232b0a878aa4da842
6
+ metadata.gz: 7e56636a9fc1d1805ee87eab5e2d39cee8deb066f610bbdb7d0b60590d1232a2d4397221a008f7f24e45d59a29563d7f1a06b62c1965d51463fb8bd243ead590
7
+ data.tar.gz: 47267150c5910882037f90a7b04efbdc7b4cb5b287ae8d78daba66be2247f9e913af2fcc019de5d20b879bfa8e75307096ddc37eaa2b7f4bffa53a25b7ca9e87
@@ -0,0 +1,4 @@
1
+ v1.0.1
2
+ - Add caching to FB token retrieval, add specs
3
+ v1.0.0
4
+ - Add gem scaffolding and setup
@@ -4,7 +4,7 @@ require 'singleton'
4
4
 
5
5
  module FB
6
6
  class Feed
7
- attr_accessor :app, :app_id, :app_secret, :facebook_oauth
7
+ attr_accessor :app, :app_id, :app_secret, :facebook_oauth, :access_token
8
8
  include Singleton
9
9
 
10
10
  def app(app_id, app_secret)
@@ -19,7 +19,7 @@ module FB
19
19
  end
20
20
 
21
21
  def access_token
22
- facebook_oauth.get_app_access_token
22
+ @access_token ||= facebook_oauth.get_app_access_token
23
23
  end
24
24
  end
25
25
  end
@@ -1,5 +1,5 @@
1
1
  module FB
2
2
  class Feed
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb-feed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Witek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-23 00:00:00.000000000 Z
11
+ date: 2016-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: koala
@@ -79,6 +79,7 @@ files:
79
79
  - ".ruby-gemset"
80
80
  - ".ruby-version"
81
81
  - ".travis.yml"
82
+ - CHANGELOG
82
83
  - Gemfile
83
84
  - LICENSE.txt
84
85
  - README.md
@@ -108,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
109
  version: '0'
109
110
  requirements: []
110
111
  rubyforge_project:
111
- rubygems_version: 2.4.5.1
112
+ rubygems_version: 2.4.6
112
113
  signing_key:
113
114
  specification_version: 4
114
115
  summary: Simple gem for retrieving public facebook feeds