zemus 0.0.14 → 0.0.15

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
- SHA1:
3
- metadata.gz: 9bfb07e16e4acac7f2a71d6e1ce8626dc21ac959
4
- data.tar.gz: dced3f26a6a7c8973904bcdda3988c6fc274ba36
2
+ SHA256:
3
+ metadata.gz: 7be0c394da63a65ac788a73923193f51c30020a905de259411598cbdc2bdf802
4
+ data.tar.gz: 6ab737ad5b5b992ab3efbcb328d53771fbc242da70d2c3f64e280593b9247b1e
5
5
  SHA512:
6
- metadata.gz: e53b7aa4368351f29cb71ff2d34503fa4d6669c7ae130fcb864f0c25872943e194b9616d687a97691e5284590e0c6e50ce0e0b275dac7e0dee5799197c244622
7
- data.tar.gz: af051a99a374c7c2066937ddb9795acdd46a1859b1b0e3a850186017a8ab7212b386b1f034480f1f7c6ff630a62f0121ea3ec85fa8d2165ccb3094556dc7e821
6
+ metadata.gz: 8e392225e6bc86dac45db28f41c6c02cfb06ca377d855675ae0bd317b9ce56060f4a600984452579f67db5a660681c36e28fc14c2a1916ca0db5f8337a078454
7
+ data.tar.gz: 9994246478d840df7fdbffe7eabb54f23682d4f94b076271f2fd30e2c0af85dd56687ea729bd113ab625a8a2eeec8c046b9953beba5d12717013de817b0fcd74
@@ -15,7 +15,7 @@ module Zemus
15
15
 
16
16
  def to_embed
17
17
  embed = "<iframe width='100%' height='600px' scrolling='no' src='https://www.kickstarter.com/projects/#{kickstarter_id}/widget/video.html' frameborder='0'> </iframe>"
18
- embed += "<a href='#{url}' target='_blank' class='btn btn-default btn-xs'><i class='glyphicon glyphicon-heart'></i> Back this on Kickstarter!</a>"
18
+ embed += "<a href='#{url}' target='_blank' class='btn btn-primary btn-xs'><i class='fas fa-heart'></i> Back this on Kickstarter!</a>"
19
19
 
20
20
  embed
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Zemus
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
@@ -3,10 +3,10 @@ require_relative('../spec_helper')
3
3
  describe Zemus::Kickstarter do
4
4
  it "embeds kickstarter" do
5
5
  Zemus::Kickstarter.new("http://www.kickstarter.com/projects/sleepninja/monsters-ate-my-birthday-cake").to_embed.
6
- should eq("<iframe width='100%' height='600px' scrolling='no' src='https://www.kickstarter.com/projects/sleepninja/monsters-ate-my-birthday-cake/widget/video.html' frameborder='0'> </iframe><a href='http://www.kickstarter.com/projects/sleepninja/monsters-ate-my-birthday-cake' target='_blank' class='btn btn-default btn-xs'><i class='glyphicon glyphicon-heart'></i> Back this on Kickstarter!</a>")
6
+ should eq("<iframe width='100%' height='600px' scrolling='no' src='https://www.kickstarter.com/projects/sleepninja/monsters-ate-my-birthday-cake/widget/video.html' frameborder='0'> </iframe><a href='http://www.kickstarter.com/projects/sleepninja/monsters-ate-my-birthday-cake' target='_blank' class='btn btn-primary btn-xs'><i class='fas fa-heart'></i> Back this on Kickstarter!</a>")
7
7
 
8
8
  # fix for a bug where a kickstarter URL had a # sign at the end
9
9
  Zemus::Kickstarter.new("http://www.kickstarter.com/projects/sleepninja/monsters-ate-my-birthday-cake#").to_embed.
10
- should eq("<iframe width='100%' height='600px' scrolling='no' src='https://www.kickstarter.com/projects/sleepninja/monsters-ate-my-birthday-cake/widget/video.html' frameborder='0'> </iframe><a href='http://www.kickstarter.com/projects/sleepninja/monsters-ate-my-birthday-cake' target='_blank' class='btn btn-default btn-xs'><i class='glyphicon glyphicon-heart'></i> Back this on Kickstarter!</a>")
10
+ should eq("<iframe width='100%' height='600px' scrolling='no' src='https://www.kickstarter.com/projects/sleepninja/monsters-ate-my-birthday-cake/widget/video.html' frameborder='0'> </iframe><a href='http://www.kickstarter.com/projects/sleepninja/monsters-ate-my-birthday-cake' target='_blank' class='btn btn-primary btn-xs'><i class='fas fa-heart'></i> Back this on Kickstarter!</a>")
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zemus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Dodson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-30 00:00:00.000000000 Z
12
+ date: 2019-01-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  requirements: []
125
125
  rubyforge_project:
126
- rubygems_version: 2.5.1
126
+ rubygems_version: 2.7.6
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: Parses and embeds various media URLs as viewable content