jekyll-js-converter 0.0.3 → 0.0.4

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: 59b4c63ecf296f976c95857e56b86a2b64c50dff8eb24cf2f8540ef368455bc1
4
- data.tar.gz: bcf7c1f2b2354d8e6d5aea189d96e71a8a33bac95b8084fdc9bc2443fa3d0b08
3
+ metadata.gz: 051f3d84b072c90751778f6a6745bd2e7128db20b9df638606a18b5d6d9282e3
4
+ data.tar.gz: 172c2a570d6d604c89501a51efcdc23e08ad4fc3746f20872065cd46cf44245a
5
5
  SHA512:
6
- metadata.gz: 036ed2f06eec55edf4b7c386161fe4a1e5114637475739a07429e6d9385fa1a12e6f98f3781eaeed056778c2fadff2469cc8d453a636fd3e29adcac868ba07d1
7
- data.tar.gz: b91a2ffb5e4ebc589d13aa9b188d3d9d650c20c58f93f5819141870e4604f1f55de0688f0069550661e3c43f219f2b63285e2aceeafe33949d759dbb635d425c
6
+ metadata.gz: 94d976d8474c9c12a7e0f4876999da602c88bad14bd9203899e202cd49b20c88c0978d534e04d17a8de63e453679f58c65e4f5178bffb4f485de61cb10edae2b
7
+ data.tar.gz: fffe093d63fb6206a7d5d8396171156bfa9e14a0ed817f6fa94d8d11db59d9ab553dc57cd33599ecfaa4309ab5672a839c32052caf77bc787f1a98fda7adc080
@@ -2,5 +2,9 @@ require 'jekyll-js-converter/version'
2
2
  require 'jekyll/converters/js'
3
3
 
4
4
  module JekyllJsConverter
5
- autoload :Theme, 'jekyll/theme'
5
+ class Jekyll::Theme
6
+ def javascript_path
7
+ @javascript_path ||= path_for '_javascript'
8
+ end
9
+ end
6
10
  end
@@ -1,3 +1,3 @@
1
1
  module JekyllJsConverter
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -55,7 +55,7 @@ module Jekyll
55
55
  end
56
56
 
57
57
  paths.uniq!
58
- paths << @site.theme.javascript_path if @site.theme&.javascript_path
58
+ paths << @site.theme.javascript_path
59
59
  paths.select { |path| File.directory?(path) }
60
60
  end
61
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-js-converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Susco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-23 00:00:00.000000000 Z
11
+ date: 2021-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -103,7 +103,6 @@ files:
103
103
  - lib/jekyll-js-converter.rb
104
104
  - lib/jekyll-js-converter/version.rb
105
105
  - lib/jekyll/converters/js.rb
106
- - lib/jekyll/theme.rb
107
106
  homepage: https://github.com/dsusco/jekyll-js-converter
108
107
  licenses:
109
108
  - MIT
data/lib/jekyll/theme.rb DELETED
@@ -1,7 +0,0 @@
1
- module Jekyll
2
- class Theme
3
- def javascript_path
4
- @javascript_path ||= path_for '_javascript'
5
- end
6
- end
7
- end