jekyll-redirect-from 0.12.0 → 0.12.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: 7e24a249a812fdc138185c2969c99551fe3381e4
4
- data.tar.gz: cae3b55835fb5559a4ba03fd2c9a1daf1e7c3042
3
+ metadata.gz: 75b76400cfc3098e9338f6c51cc5f0d333b9854c
4
+ data.tar.gz: 28c269f5b8c224cedf1a1a101af6fe371b3e1b73
5
5
  SHA512:
6
- metadata.gz: 495dde833d74a819dd8b46f5e0b003813bfac7458cf31697ba048cce13c715236f0792fc8e7d53c20d1dd47b48c026f64b407e24649bcf0c2d0dc02e184c1d54
7
- data.tar.gz: 4dc27cedf73031652945823ee9aa75bce46a2a9df78f9aa49ad37cc05d4e7ce18c7273bf333a9121bd1f9c19bb8ec42dcd186df26aa76deb2ad08ee1b58e5549
6
+ metadata.gz: 9597899e7bf67614caa8ccd37fab0bbb5c1d49aa0a3e82b2ac33743c1fbc38a87df9bde4072d1a351b93ca9bbae52724af46d18d287f73b715c8f057225e3525
7
+ data.tar.gz: 014a1cbb51cbc1ff7e26d1f3d30eec8b8c806277a1e81bd1bd1e8f4db1886fa5be4903a0c4b1f873495f1b028ded807fe5aa7b1a5f2052fd6b21353c69ea72e1
@@ -17,3 +17,4 @@ rvm:
17
17
  - 2.3.0
18
18
  - 2.2
19
19
  - 2.1
20
+ - 2.0
@@ -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)
@@ -13,5 +13,5 @@ module JekyllRedirectFrom
13
13
  end
14
14
 
15
15
  JekyllRedirectFrom::CLASSES.each do |klass|
16
- klass.include JekyllRedirectFrom::Redirectable
16
+ klass.send :include, JekyllRedirectFrom::Redirectable
17
17
  end
@@ -33,7 +33,7 @@ module JekyllRedirectFrom
33
33
 
34
34
  # Overwrite the default read_yaml method since the file doesn't exist
35
35
  def read_yaml(_base, _name, _opts = {})
36
- self.content = ""
36
+ self.content = self.output = ""
37
37
  self.data ||= DEFAULT_DATA.dup
38
38
  end
39
39
 
@@ -1,3 +1,3 @@
1
1
  module JekyllRedirectFrom
2
- VERSION = "0.12.0".freeze
2
+ VERSION = "0.12.1".freeze
3
3
  end
@@ -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.0
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-02 00:00:00.000000000 Z
11
+ date: 2017-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll