jekyll-coffeescript 1.1.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/converters/coffeescript.rb +28 -28
- data/lib/jekyll-coffeescript/version.rb +7 -7
- data/lib/jekyll-coffeescript.rb +10 -10
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d8c0d116c9fed5bdf34adc2c75947225c0a2ebf95caa00d880984310cfcf3c9
|
4
|
+
data.tar.gz: ea512761a34bcb4af33eaf6ebe1d48bc9e5e6418e22ce067699bdfc412826401
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b61a43f78bcc88dba80b966005576e7df8d459d27e4d7ed5046f26dc344d0421c1bc77bee739116a07eebf72b76777f811bc44a78805f0e4aa6576e20f538632
|
7
|
+
data.tar.gz: 02eb350d133eacd386bc4455c2542fe0c1a46bac5277c16c5b8e4febce7984f503cf01410942457e1956666d56761df62c769671dad5c00c96f7fbf982b6116d
|
@@ -1,28 +1,28 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Jekyll
|
4
|
-
module Converters
|
5
|
-
class CoffeeScript < Converter
|
6
|
-
safe true
|
7
|
-
priority :low
|
8
|
-
|
9
|
-
def setup
|
10
|
-
require "coffee-script"
|
11
|
-
@setup = true
|
12
|
-
end
|
13
|
-
|
14
|
-
def matches(ext)
|
15
|
-
ext.casecmp(".coffee").zero?
|
16
|
-
end
|
17
|
-
|
18
|
-
def output_ext(_ext)
|
19
|
-
".js"
|
20
|
-
end
|
21
|
-
|
22
|
-
def convert(content)
|
23
|
-
setup unless @setup
|
24
|
-
::CoffeeScript.compile(content)
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Jekyll
|
4
|
+
module Converters
|
5
|
+
class CoffeeScript < Converter
|
6
|
+
safe true
|
7
|
+
priority :low
|
8
|
+
|
9
|
+
def setup
|
10
|
+
require "coffee-script"
|
11
|
+
@setup = true
|
12
|
+
end
|
13
|
+
|
14
|
+
def matches(ext)
|
15
|
+
ext.casecmp(".coffee").zero?
|
16
|
+
end
|
17
|
+
|
18
|
+
def output_ext(_ext)
|
19
|
+
".js"
|
20
|
+
end
|
21
|
+
|
22
|
+
def convert(content)
|
23
|
+
setup unless @setup
|
24
|
+
::CoffeeScript.compile(content)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Jekyll
|
4
|
-
module Coffeescript
|
5
|
-
VERSION = "1.
|
6
|
-
end
|
7
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Jekyll
|
4
|
+
module Coffeescript
|
5
|
+
VERSION = "1.2.2"
|
6
|
+
end
|
7
|
+
end
|
data/lib/jekyll-coffeescript.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "jekyll"
|
4
|
-
require "jekyll-coffeescript/version"
|
5
|
-
require "jekyll/converters/coffeescript"
|
6
|
-
|
7
|
-
module Jekyll
|
8
|
-
module Coffeescript
|
9
|
-
end
|
10
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "jekyll"
|
4
|
+
require "jekyll-coffeescript/version"
|
5
|
+
require "jekyll/converters/coffeescript"
|
6
|
+
|
7
|
+
module Jekyll
|
8
|
+
module Coffeescript
|
9
|
+
end
|
10
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-coffeescript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parker Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-script
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: '1.12'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: '1.12'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: jekyll
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,19 +95,19 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name: rubocop
|
98
|
+
name: rubocop-jekyll
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0.
|
103
|
+
version: '0.5'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0.
|
110
|
+
version: '0.5'
|
111
111
|
description:
|
112
112
|
email:
|
113
113
|
- parkrmoore@gmail.com
|
@@ -130,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
130
|
requirements:
|
131
131
|
- - ">="
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
133
|
+
version: 2.3.0
|
134
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - ">="
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.7.
|
141
|
+
rubygems_version: 2.7.9
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: A CoffeeScript converter for Jekyll.
|