jekyll-livescript 1.0.0 → 1.1.0
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/lib/jekyll-livescript.rb +1 -1
- data/lib/jekyll-livescript/version.rb +1 -1
- data/lib/jekyll/{converters/livescript.rb → livescript.rb} +10 -2
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ebe94c007fe0e53e5904ca409a562bc52e823af82e5224c5514ea441f0b3107
|
4
|
+
data.tar.gz: c25c0b9d37bc3b30ae98fe99e4ec895a012d4a6fdc6947e6c964f22c69ea5645
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c1ab8eccd7c925f0a9feb4bdffd6fa26a95b51cedb37cb0281ab1edbb767b6b11b10deac289cb9d2c20061ba2f4224a6dad6c950f115fbcea45a2be19d3dcd7
|
7
|
+
data.tar.gz: a959d1f7164f57962b1d3c1b5b5aa7096a84bf35b5c4ad332f6c5cd04be7a08d62800bec0799084bf775512bfd2e0e98b5513386a0b8ff232c6eee297c815678
|
data/lib/jekyll-livescript.rb
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
+
require "ruby-livescript"
|
2
3
|
|
3
4
|
module Jekyll
|
4
|
-
module
|
5
|
+
module LiveScriptConverter
|
5
6
|
class LiveScript < Converter
|
6
7
|
safe true
|
7
8
|
priority :low
|
8
9
|
|
9
10
|
def setup
|
10
|
-
require "livescript"
|
11
|
+
require "ruby-livescript"
|
11
12
|
@setup = true
|
12
13
|
end
|
13
14
|
|
@@ -24,5 +25,12 @@ module Jekyll
|
|
24
25
|
::LiveScript.compile(content)
|
25
26
|
end
|
26
27
|
end
|
28
|
+
module LiveScriptFilter
|
29
|
+
def livescriptify(input)
|
30
|
+
LiveScript.compile(input)
|
31
|
+
end
|
32
|
+
end
|
27
33
|
end
|
28
34
|
end
|
35
|
+
|
36
|
+
Liquid::Template.register_filter(Jekyll::LiveScriptFilter)
|
metadata
CHANGED
@@ -1,44 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-livescript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Atlas Cove
|
8
8
|
- Parker Moore
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name: livescript
|
15
|
+
name: ruby-livescript
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.
|
20
|
+
version: '2.2'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 2.
|
27
|
+
version: '2.2'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: livescript-source
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.
|
34
|
+
version: '1.12'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.
|
41
|
+
version: '1.12'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: bundler
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,9 +109,9 @@ dependencies:
|
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0.5'
|
112
|
-
description:
|
112
|
+
description:
|
113
113
|
email:
|
114
|
-
-
|
114
|
+
- AtlasJan@gmx.com
|
115
115
|
- parkrmoore@gmail.com
|
116
116
|
executables: []
|
117
117
|
extensions: []
|
@@ -119,12 +119,12 @@ extra_rdoc_files: []
|
|
119
119
|
files:
|
120
120
|
- lib/jekyll-livescript.rb
|
121
121
|
- lib/jekyll-livescript/version.rb
|
122
|
-
- lib/jekyll/
|
122
|
+
- lib/jekyll/livescript.rb
|
123
123
|
homepage: https://github.com/jekyll/jekyll-livescript
|
124
124
|
licenses:
|
125
125
|
- MIT
|
126
126
|
metadata: {}
|
127
|
-
post_install_message:
|
127
|
+
post_install_message:
|
128
128
|
rdoc_options: []
|
129
129
|
require_paths:
|
130
130
|
- lib
|
@@ -139,8 +139,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubygems_version: 3.
|
143
|
-
signing_key:
|
142
|
+
rubygems_version: 3.2.7
|
143
|
+
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: A LiveScript converter for Jekyll.
|
146
146
|
test_files: []
|