jekyll-bits 0.9 → 0.9.1
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 +4 -4
- data/jekyll-bits.gemspec +1 -1
- data/lib/jekyll-bits/picture.rb +1 -1
- data/test/test__helper.rb +3 -1
- data/test/test_picture.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e1c6383b3f68eb499d63fcdc8114e7174363c67
|
4
|
+
data.tar.gz: 86d221fff58f65de172a3c0d943fec58fbccaeb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'
|
data/lib/jekyll-bits/picture.rb
CHANGED
@@ -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
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='
|
68
|
+
assert_match(/<figcaption id='79535e1e'>it is <simple>/, html)
|
69
69
|
assert_match(/alt='nothing 'to' say'/, html)
|
70
70
|
assert_match(/width='500'/, html)
|
71
71
|
end
|