jekyll-sound_cloud 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: 01f1d69fe72660126159c055dcefc2c7053c2f63d8a48ba0ef9e93d2f788241e
4
- data.tar.gz: 44135506fd1a1b94b57c649285023306bcfbe76edef325ea892e1d47f864c245
3
+ metadata.gz: 43483e487d96648e74bbe078459bbeae1bf215f3c305948553e760c3426159ad
4
+ data.tar.gz: 06051cdef6b38b037acd417e29059ca63c44b286f30a697c1c879a6c345fe980
5
5
  SHA512:
6
- metadata.gz: 5f6415d3063d258633f120e8b916313e212d07f83ed2d8741e2823ed5aceb162f3ecf1e1882236c96be386ec5614ff54f4841c858d3de569cc395e12f9f54aa9
7
- data.tar.gz: cd824f8c051375795d50eca7ca285a26826614b804643b0842b8469efdcb94bd45f38001966d2617fd605a4fd8ae6c6f5397483b37989b6e2e5c89e167411585
6
+ metadata.gz: 7ed67777e3ba4ed25dc2563d83bc595f6c1ced5f0b3b8a1f3c614efcc4c5f228fd34b9db01824995bd87d37395754b70afdb4a08e7becb5e1bf1490a7bb3608a
7
+ data.tar.gz: aae115cb059b432218094dbb2ad008c2bde45f4fef90a6c9ed017f995b392b12abd1cbb51364d5ab9460e129d1c53e8001f8293e05ded48b0a251cc15db65cad
@@ -4,7 +4,7 @@ require 'shellwords'
4
4
  module Jekyll
5
5
  module SoundCloud
6
6
  class SoundCloudTag < Liquid::Tag
7
- BASE_URL= "https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F".freeze
7
+ BASE_URL= "https://player.soundcloud.com/player.swf?url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F".freeze
8
8
 
9
9
  def initialize(tag_name, markup, tokens)
10
10
  super
@@ -16,7 +16,7 @@ module Jekyll
16
16
  case @sound[:widget]
17
17
 
18
18
  when 'html5'
19
- "<iframe width='100%' height='166' scrolling='no' frameborder='no' src='http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F#{@sound[:id]}&show_artwork=true'></iframe>"
19
+ "<iframe width='100%' height='166' scrolling='no' frameborder='no' src='https://w.soundcloud.com/player/?url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F#{@sound[:id]}&show_artwork=true'></iframe>"
20
20
  when 'flash'
21
21
  "<object height='81' width='100%'><param name='movie' value='#{BASE_URL + @sound[:id]}&amp;show_comments=false&amp;auto_play=false&amp;color=#{@sound[:color]}'></param><param name='allowscriptaccess' value='always'></param><embed allowscriptaccess='always' height='81' src='#{BASE_URL + @sound[:id]}&amp;show_comments=false&amp;auto_play=false&amp;color=#{@sound[:color]}' type='application/x-shockwave-flash' width='100%'></embed></object>"
22
22
  when "mini"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module SoundCloud
5
- VERSION = '0.1.0'.freeze
5
+ VERSION = '0.2.0'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-sound_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Nunciato, Yonatan Miller
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: rubocop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '0.41'
61
+ version: 0.49.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '0.41'
68
+ version: 0.49.0
69
69
  description: Jekyll plugin adds Liquid Tag for generating embedded Soundcloud iframes
70
70
  email:
71
71
  - yonatan.miller@shushugah.com