jekyll-bits 0.9 → 0.9.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: 8e44870c10f5898196828cc4af8d346b8f59e945
4
- data.tar.gz: 0d4bdf271f8fd494419d7cc714fbaa3a2fceb03a
3
+ metadata.gz: 7e1c6383b3f68eb499d63fcdc8114e7174363c67
4
+ data.tar.gz: 86d221fff58f65de172a3c0d943fec58fbccaeb2
5
5
  SHA512:
6
- metadata.gz: bacd8306ac47ecb1651c844bf567e7f837736b7ee0048242842820de4188305990099d77bb917b0dd69c5a55f39a1a8637d49c9bcde12969ba7f4d9ce8d9ba0c
7
- data.tar.gz: 35873ac787d46e64913c2baafc6aa29842c262b7ef9ac4c7e60bf0446c7771283167731494b9db7a125c79fd72594d5d97c16b26da31b854ca0993eb3a9af8ac
6
+ metadata.gz: d7912af577bb6e0ef248fdcff1e169d7035b4326651b20ae1562ecb0ce1f35c7fc3fb17379aab75dff646312f5f34fe8a8278bdcce6fe1470ca5bb5e9959bedf
7
+ data.tar.gz: b4b282e36eeaa04c8e88f3f28efe34a31b9927f5871c9ebb9d9d06d0b22e9cbf39d42f88e4bd173c6d779c3f45055e32ed33b8eaef7da85908fe7d2c834e690d
data/jekyll-bits.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.rubygems_version = '2.2.2'
9
9
  s.required_ruby_version = '>= 1.9.3'
10
10
  s.name = 'jekyll-bits'
11
- s.version = '0.9'
11
+ s.version = '0.9.1'
12
12
  s.license = 'MIT'
13
13
  s.summary = 'Jekyll Bits'
14
14
  s.description = 'Useful and very simple Jekyll plugins'
@@ -82,7 +82,7 @@ module Jekyll
82
82
  uri = URI.parse(uri)
83
83
  unless %w(http https).include?(uri.scheme)
84
84
  home = Jekyll.configuration({})['url']
85
- uri = home.gsub(%r{/$}, '') + uri unless home.nil?
85
+ uri = home.gsub(%r{/$}, '') + uri.to_s unless home.nil?
86
86
  end
87
87
  uri.to_s
88
88
  end
data/test/test__helper.rb CHANGED
@@ -24,6 +24,8 @@
24
24
 
25
25
  module Jekyll
26
26
  def self.configuration(_)
27
- {}
27
+ {
28
+ 'url' => 'http://www.yegor256.com/'
29
+ }
28
30
  end
29
31
  end
data/test/test_picture.rb CHANGED
@@ -65,7 +65,7 @@ module Jekyll
65
65
  )
66
66
  assert_match(/figcaption/, html)
67
67
  assert_match(/figure/, html)
68
- assert_match(/<figcaption id='d9d1da45'>it is &lt;simple&gt;/, html)
68
+ assert_match(/<figcaption id='79535e1e'>it is &lt;simple&gt;/, html)
69
69
  assert_match(/alt='nothing &#39;to&#39; say'/, html)
70
70
  assert_match(/width='500'/, html)
71
71
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-bits
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.9'
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko