jekyll-liquify 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -0
  3. data/jekyll-liquify.gemspec +4 -4
  4. metadata +11 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e80eb9009967ace3d3ff381e5c23d51dd09e8312
4
- data.tar.gz: c0425aa10482444e60bc7224689ace636ac1e289
3
+ metadata.gz: 2bcd754e1c799501c9570ad4ec5fb00bc6137903
4
+ data.tar.gz: '098c87673850033ab436aeafc3ac968d64d2d0de'
5
5
  SHA512:
6
- metadata.gz: 0ad26069b47cae267daf50a819bc154618e41868edd8574edc5514386014d412c18f2bb6f80e862f754a89916e838add207897d04d66fb89c55c1cfe6ed524c8
7
- data.tar.gz: 01ecce03f82116ca59dec9c036d24d617cfc154e4545298ea4c858f44db90264186ef7e716d26ac9f35ea5d9307a772d352ba3457f40ee0242742428fe601b9c
6
+ metadata.gz: d6a04334e0bb2a035e1751906feb6d94375ea903024cd418c5741226b3786fb936fbbf4914437b22e1417d33e44a6b1d0c8d2a65bf535b9adc1a2acb68bd0f8c
7
+ data.tar.gz: cfc0120d8b29a52a370c1cfcefab8088dfc29a6ea9581385a86d581a2a5a50eb5be441ad109b5dadd621e0513cd697d3be9c6ac72418070f59ed6a3d623218c1
data/README.md CHANGED
@@ -17,6 +17,38 @@ gems:
17
17
  - jekyll-liquify
18
18
  ```
19
19
 
20
+ To use in your project, add liquid tags to front matter and use the `liquify` filter to parse it:
21
+
22
+ **example.md**
23
+
24
+ ```
25
+ ---
26
+ title: Welcome to {{ page.title_variable }}
27
+ title_variable: example
28
+ ---
29
+
30
+ # Welcome to {{ title | liquify }}!
31
+
32
+ <!-- This will output the following -->
33
+ >> <h1>Welcome to example!</h1>
34
+ ```
35
+
36
+ You can use it in conjunction with `markdownify`, but `liquify` has to go first:
37
+
38
+ **example.md**
39
+
40
+ ```
41
+ ---
42
+ title: Welcome to **{{ page.title_variable }}**
43
+ title_variable: example
44
+ ---
45
+
46
+ # Welcome to {{ title | liquify | markdownify }}!
47
+
48
+ <!-- This will output the following -->
49
+ >> <h1>Welcome to <strong>example</strong>!</h1>
50
+ ```
51
+
20
52
  ## Testing
21
53
 
22
54
  1. `script/bootstrap`
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "jekyll-liquify"
5
5
  spec.summary = "A Jekyll filter that can parse Liquid in front matter."
6
- spec.version = "0.0.1"
6
+ spec.version = "0.0.2"
7
7
  spec.authors = ["Brian Hedberg"]
8
8
  spec.email = "briansheahedberg@gmail.com"
9
9
  spec.homepage = "https://github.com/gemfarmer/jekyll-liquify"
@@ -15,10 +15,10 @@ Gem::Specification.new do |spec|
15
15
  spec.require_paths = ["lib"]
16
16
 
17
17
  spec.add_runtime_dependency "redcarpet", "~> 3.1"
18
- spec.add_runtime_dependency "liquid", [">= 2.5", "< 4.0"]
18
+ spec.add_runtime_dependency "liquid", [">= 2.5", "< 5.0"]
19
19
 
20
- spec.add_development_dependency "jekyll", [">= 2.0", "< 4.0"]
20
+ spec.add_development_dependency "jekyll", [">= 2.0", "< 5.0"]
21
21
  spec.add_development_dependency "rspec", "~> 3.0"
22
- spec.add_development_dependency "rake"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
23
  spec.add_development_dependency "bundler", "~> 1.6"
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-liquify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Hedberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-21 00:00:00.000000000 Z
11
+ date: 2019-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redcarpet
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '2.5'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '4.0'
36
+ version: '5.0'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '2.5'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '4.0'
46
+ version: '5.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: jekyll
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -53,7 +53,7 @@ dependencies:
53
53
  version: '2.0'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
- version: '4.0'
56
+ version: '5.0'
57
57
  type: :development
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -63,7 +63,7 @@ dependencies:
63
63
  version: '2.0'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
- version: '4.0'
66
+ version: '5.0'
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: rspec
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -82,16 +82,16 @@ dependencies:
82
82
  name: rake
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - ">="
85
+ - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: '0'
87
+ version: '10.0'
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - ">="
92
+ - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: '0'
94
+ version: '10.0'
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: bundler
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  requirements: []
151
151
  rubyforge_project:
152
- rubygems_version: 2.6.8
152
+ rubygems_version: 2.6.12
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: A Jekyll filter that can parse Liquid in front matter.