jekyll-google-photos 1.4.2 → 1.4.3

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: 3fe68c97c44ab51081e25a9601f378cfeccbf261
4
- data.tar.gz: b0f516a1e5cec8261eb3f28d022816fb2b129179
3
+ metadata.gz: eb8e9ab478795253cf131c969100835f9a2ef3f3
4
+ data.tar.gz: 8e01f576c5efdbb3166ea94cc8b7cb187fd6ae46
5
5
  SHA512:
6
- metadata.gz: 20567c39f741858f611a579bdd9ab05e27e229929e82ec54adac8d88b533d17312684b7233e44e834f46fe2e4fb3dcf8c16b11e6362c850c86c323b1bbd32563
7
- data.tar.gz: 69b9a35bd59ea14e6941597e72225dd81ceb0aeebe62511f6f462a137691bf2d2b9b46c782781c9e29c56a4d3efd405fff88ae0d31b8d55ad3dec041410a7b82
6
+ metadata.gz: 0f0b4a1d6496ae5d91349ad3e1d3a5e1379e9057d876be1c8001a2b95748bd62f6d5369e2e6e703b23d81510504150354e87cc496922e29796b020791f9267d4
7
+ data.tar.gz: c62fcbbbdd07816f466e71170feeb3c54bef1051105dd8f7eb66b35a30e1238f8750a4faa0fe0ed39b0e36da35af9def39084b0c0358ddb6db5fc155fa3717af
@@ -2,8 +2,6 @@ require "jekyll"
2
2
  require 'open-uri'
3
3
  require 'nokogiri'
4
4
  require 'net/http'
5
- require_relative 'css'
6
- require_relative 'js'
7
5
 
8
6
  module JekyllGooglePhotos
9
7
  class Tag < Liquid::Tag
@@ -27,11 +25,6 @@ module JekyllGooglePhotos
27
25
  return jsonString
28
26
  end
29
27
 
30
- def flexbinCSS()
31
- elem = JekyllGooglePhotos::FlexbinCSS()
32
- return elem
33
- end
34
-
35
28
  def URLsInJSON()
36
29
  sp = 'googlePhotos.urls = ["'
37
30
  newImgLinks = @imgLinks.uniq.join('", "')
@@ -45,11 +38,6 @@ module JekyllGooglePhotos
45
38
  sp += "googlePhotos = {};"
46
39
  sp += URLsInJSON()
47
40
  sp += "</script>"
48
- #puts albumSettings
49
- ##if(albumSettings != "none")
50
- ##sp += JekyllGooglePhotos::PublicalbumJS()
51
- ##sp += addImages(albumSettings)
52
- ##end
53
41
  return sp
54
42
  end
55
43
 
@@ -60,18 +48,6 @@ module JekyllGooglePhotos
60
48
  return sp
61
49
  end
62
50
 
63
- def addImages(albumSettings)
64
- sp = %Q{<div class="pa-gallery-player-widget" style="width:#{albumSettings["frame_width"]}; height:#{albumSettings["frame_height"]}; display:none;"
65
- data-title="#{albumSettings["title"]}"
66
- data-delay="#{albumSettings["delay"]}">
67
- }
68
- for x in @imgLinks
69
- sp += %Q{<object data="#{x}=w#{albumSettings["image_width"]}-h#{albumSettings["image_height"]}"></object>}
70
- end
71
- sp += %Q{</div>}
72
- return sp
73
- end
74
-
75
51
  def render(context)
76
52
  @imgLinks = []
77
53
  if @albumUrls[/https?:\/\/[\S]+/]
@@ -84,7 +60,6 @@ module JekyllGooglePhotos
84
60
  end
85
61
  for albumUrl in albumUrls
86
62
  imageLinks = getImageLinks(albumUrl)
87
- #puts imageLinks[0]
88
63
  for link in imageLinks
89
64
  @imgLinks.push(link)
90
65
  end
@@ -1,3 +1,3 @@
1
1
  module JekyllGooglePhotos
2
- VERSION = "1.4.2".freeze
2
+ VERSION = "1.4.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-google-photos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chirag Arora