jekyll-livescript 1.0.0 → 1.1.0

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
  SHA256:
3
- metadata.gz: 58142f5487fa5286d2b8c14f26fa82b240785a453f815731b4f8c9af65403470
4
- data.tar.gz: 747ffdc5198bef4c846656d274f6cdfd032a30c07ffdbf1e5230640d279d3279
3
+ metadata.gz: 5ebe94c007fe0e53e5904ca409a562bc52e823af82e5224c5514ea441f0b3107
4
+ data.tar.gz: c25c0b9d37bc3b30ae98fe99e4ec895a012d4a6fdc6947e6c964f22c69ea5645
5
5
  SHA512:
6
- metadata.gz: e5f83005a7df101a0615bf9df23b061005cd0ddf398b8d861a18c47105779583cb800c4f34e20fcbc3ab9e5153703606d2ce995c30ae770aae134a83b9b831e2
7
- data.tar.gz: bfc66f1207d8be0746ee4a020e58ce4da19cacfe8f7db86514bf1951095c7ea1021d813698f862353cb16fdadae1c6a3a81afd57210c28cc1a913f7c83368722
6
+ metadata.gz: 5c1ab8eccd7c925f0a9feb4bdffd6fa26a95b51cedb37cb0281ab1edbb767b6b11b10deac289cb9d2c20061ba2f4224a6dad6c950f115fbcea45a2be19d3dcd7
7
+ data.tar.gz: a959d1f7164f57962b1d3c1b5b5aa7096a84bf35b5c4ad332f6c5cd04be7a08d62800bec0799084bf775512bfd2e0e98b5513386a0b8ff232c6eee297c815678
@@ -5,6 +5,6 @@ require "jekyll-livescript/version"
5
5
  require "jekyll/converters/livescript"
6
6
 
7
7
  module Jekyll
8
- module LiveScript
8
+ module LiveScript
9
9
  end
10
10
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module LiveScript
5
- VERSION = "1.0.0"
5
+ VERSION = "1.1.0"
6
6
  end
7
7
  end
@@ -1,13 +1,14 @@
1
1
  # frozen_string_literal: true
2
+ require "ruby-livescript"
2
3
 
3
4
  module Jekyll
4
- module Converters
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.0.0
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: 2019-10-26 00:00:00.000000000 Z
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.4.0
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.4.0
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.4.0
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.4.0
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
- - Atlas48@gmx.com
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/converters/livescript.rb
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.0.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: []