jekyll-redirect-from 0.12.0 → 0.12.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75b76400cfc3098e9338f6c51cc5f0d333b9854c
|
4
|
+
data.tar.gz: 28c269f5b8c224cedf1a1a101af6fe371b3e1b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9597899e7bf67614caa8ccd37fab0bbb5c1d49aa0a3e82b2ac33743c1fbc38a87df9bde4072d1a351b93ca9bbae52724af46d18d287f73b715c8f057225e3525
|
7
|
+
data.tar.gz: 014a1cbb51cbc1ff7e26d1f3d30eec8b8c806277a1e81bd1bd1e8f4db1886fa5be4903a0c4b1f873495f1b028ded807fe5aa7b1a5f2052fd6b21353c69ea72e1
|
data/.travis.yml
CHANGED
data/History.markdown
CHANGED
@@ -1,23 +1,34 @@
|
|
1
1
|
## HEAD
|
2
2
|
|
3
|
+
### Development Fixes
|
4
|
+
|
5
|
+
* Stop testing Ruby 1.9 (#133)
|
6
|
+
|
7
|
+
### Minor Enhancements
|
8
|
+
|
9
|
+
* Use send to monkey patch to support Ruby < 2.2.0 (#136)
|
10
|
+
* set `page.output` to empty string instead of nil (#137)
|
11
|
+
|
12
|
+
## 0.12.0 / 2017-01-02
|
13
|
+
|
3
14
|
### Major Enhancements
|
4
15
|
|
5
16
|
* Support for custom redirect templates
|
6
17
|
* Use Jekyll's `absolute_url` filter to generate canonical URLs (now respecting `baseurl`)
|
7
18
|
* Rely more heavily on Jekyll's native Page, permalink, and extension handling logic
|
8
|
-
|
19
|
+
|
9
20
|
### Minor Enhancementse
|
10
21
|
|
11
22
|
* redirect_to Pages should not have a layout. (#115)
|
12
23
|
* Require Jekyll >= 3.3
|
13
|
-
|
24
|
+
|
14
25
|
### Development Enhancements
|
15
26
|
|
16
27
|
* Push redirect logic to the redirect page model (#131)
|
17
28
|
* Add Rubocop and enforce Jekyll coding standards
|
18
29
|
* Tests no longer build and write the entire site between each example
|
19
30
|
* Removed all the `is_*`? and `has_*`? helpers from the generator
|
20
|
-
|
31
|
+
|
21
32
|
## 0.11.0 / 2016-07-06
|
22
33
|
|
23
34
|
* Redirect page should not have any layout (#106)
|
data/lib/jekyll-redirect-from.rb
CHANGED
@@ -14,6 +14,10 @@ describe JekyllRedirectFrom::RedirectPage do
|
|
14
14
|
expect(subject.content).to eql("")
|
15
15
|
end
|
16
16
|
|
17
|
+
it "returns no output" do
|
18
|
+
expect(subject.output).to eql("")
|
19
|
+
end
|
20
|
+
|
17
21
|
it "sets default data" do
|
18
22
|
expect(subject.to_liquid["layout"]).to eql("redirect")
|
19
23
|
expect(subject.to_liquid["sitemap"]).to be_falsey
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-redirect-from
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parker Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|