trusty-festivity-extension 2.5.10 → 2.5.11

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: 44383c49334ea5a2c25ae9728bae5be584603a68
4
- data.tar.gz: 5ecae9f15afd3811836a2f9f8ca6fe5ef34f76b3
3
+ metadata.gz: 9b2fbfc843144168ae2a1409c5170da5eb5c2f31
4
+ data.tar.gz: ea66b1a078d25553eb754fc8763e5f1aaba30008
5
5
  SHA512:
6
- metadata.gz: 431e0e613a82bd487bd5c790e3073c3304d01cdd5cf9456ba74cd43346a2845e3db2b2a7bc36da68f85b295cfa8100a5c0f8748c62255457ffdddc6705a2c0d0
7
- data.tar.gz: 3d7b3f8e6ff8a1b6e94008c068a5af3c8067cd758cb47d19dff8219f2443f9c4dff26029b082ac53e6d24a99aa2e53f622ab69e188e9e45bf560699a93e35be3
6
+ metadata.gz: b977a29bfb78fcdf5f82e8c064b3efec1309a1cc5a2c1620f4e97f9b2d5a1954389e323c881e2bbcfc7450cba186c785344c42a178938cc81c8509eb99be62be
7
+ data.tar.gz: 5ad2845c1509fa1a2ced44f2b8777d71d824f0efdbf0e157e1aef162658cb88b93d197f208090321dfbebd31df6c81fc4845ebc5e63aa7f5f5158a9dce7dee41
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-festivity-extension (2.5.10)
4
+ trusty-festivity-extension (2.5.11)
5
5
  actionpack-action_caching (~> 1.1.1)
6
6
  chronic (~> 0.10.2)
7
7
  dalli-elasticache (~> 0.1.2)
@@ -13,6 +13,7 @@ PATH
13
13
  trusty-layouts-extension (~> 2.0.4)
14
14
  trusty-multi-site-extension (~> 2.0.11)
15
15
  trusty-rad-social-extension (~> 2.2.6)
16
+ trusty-reorder-extension (~> 2.0.6)
16
17
  trusty-snippets-extension (~> 2.0.7)
17
18
  trusty_google_custom_search
18
19
  twitter (~> 5.15)
@@ -475,6 +476,10 @@ GEM
475
476
  roadie-rails (~> 1.0.6)
476
477
  trusty-cms (~> 2.0.0)
477
478
  trusty-layouts-extension (~> 2.0.2)
479
+ trusty-reorder-extension (2.0.6)
480
+ acts_as_list (= 0.4.0)
481
+ rake (< 11.0)
482
+ trusty-cms (~> 2.0.16)
478
483
  trusty-snippets-extension (2.0.7)
479
484
  rake (< 11.0)
480
485
  trusty-cms (~> 2.0.16)
@@ -1,11 +1,12 @@
1
1
  class InstagramFeedService
2
2
 
3
3
  def initialize
4
- @client = Instagram.client
4
+ @client = Instagram.client(:access_token => ENV['INSTAGRAM_ACCESS_TOKEN'])
5
5
  end
6
6
 
7
7
  def get_feed_for_tag(tag)
8
- @client.tag_recent_media(tag).map do |post|
8
+ tagged_posts = @client.user_recent_media.select{|post| post[:tags].include?(tag.downcase)}
9
+ tagged_posts.map do |post|
9
10
  Social::InstagramPostPresenter.from_instagram_post(post)
10
11
  end
11
12
  end
@@ -7,4 +7,4 @@
7
7
  %meta{:property=> "og:url", :content => url}
8
8
  %meta{:name=> "twitter:card", :content => "summary"}
9
9
  %title
10
- = "#{page.title} - #{page.site.name}"
10
+ = "#{page.title} | #{page.site.name} | #{Site.find_by_id(1).name}"
@@ -1,5 +1,5 @@
1
1
  module TrustyFestivityExtension
2
- VERSION = "2.5.10"
2
+ VERSION = "2.5.11"
3
3
  SUMMARY = "Festival microsite engine for Trusty CMS"
4
4
  DESCRIPTION = "Event management for arts festivals."
5
5
  URL = "http://github.com/pgharts/trusty-festivity-extension"
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.add_dependency "trusty-cms" , '>= 2.0.23'
26
26
  s.add_dependency "trusty-clipped-extension" , "~> 2.0.13"
27
27
  s.add_dependency "trusty-snippets-extension" , "~> 2.0.7"
28
- # s.add_dependency "trusty-reorder-extension" , "~> 2.0.6"
28
+ s.add_dependency "trusty-reorder-extension" , "~> 2.0.6"
29
29
  s.add_dependency "trusty-layouts-extension" , "~> 2.0.4"
30
30
  s.add_dependency "trusty-rad-social-extension" , "~> 2.2.6"
31
31
  s.add_dependency "trusty-multi-site-extension" , "~> 2.0.11"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-festivity-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.10
4
+ version: 2.5.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Sipple, Danielle Greaves, Brittany Martin, Patrick FitzGerald
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-08 00:00:00.000000000 Z
11
+ date: 2016-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trusty-cms
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.0.7
55
+ - !ruby/object:Gem::Dependency
56
+ name: trusty-reorder-extension
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.0.6
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.0.6
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: trusty-layouts-extension
57
71
  requirement: !ruby/object:Gem::Requirement