jekyll-assets 3.0.11 → 3.0.12

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: 319eeab72a3d9cb99b7bf888861dcd5e8685c5245b9fa179e587d853bd6b3cad
4
- data.tar.gz: 2b53de4cacd344d2bc84aaa3d33df4d6382d77c42baae6bac881aa66bd304656
3
+ metadata.gz: 4e737c9505d43dc2de9832a2d5bb4a23ac96482ae7faf00aa6f1b589ad11f597
4
+ data.tar.gz: 2222dcfbcf85a8f0d11f35b69a3bf3c48ce3e4ffe3f6d4c48d75b72b31b79eba
5
5
  SHA512:
6
- metadata.gz: 8d796a76d2b54a4364426c9bf364dd2252ba65006270bf6cfe2cbb3ee96fcd1cc26aaec958a88d0971a5d3f9c1a89d3c26dc15e8c91dedaed835a431419a397a
7
- data.tar.gz: c1a4c4a479b28558976ee59c5c6d32c1f293b9b957bb4b946ee26040930466d3216e42c2dd0dc9b2659fb5dba290c1a592b38f5258b472505556bbf4811ba358
6
+ metadata.gz: 6b1af7dbd3bf7cbfa53a82799fe6c21d87d8a2add9d6cca6a609bf19978f7d7a883d57052eaf594ed97e218cda23a3060fa2675a1c58da162b54a1f9dcd45f26
7
+ data.tar.gz: b48cf3c2292e7d5201ccc9c5fee218dc70cf0f3b745c4a981bbffece8caae653cbdbca6c3694a87006bf749dc5851f7f639d81843d3402e5ef734fa2a6a36e4e
data/Gemfile CHANGED
@@ -7,8 +7,14 @@ gemspec
7
7
 
8
8
  sv = "~> 4.0.beta"
9
9
  gem "sprockets", ENV["SPROCKETS_VERSION"] || sv, require: false
10
+ # rubocop:disable Bundler/DuplicatedGem
10
11
  if ENV["JEKYLL_VERSION"]
11
12
  gem "jekyll", ENV["JEKYLL_VERSION"], {
12
13
  require: false,
13
14
  }
15
+ elsif ENV["JEKYLL_BRANCH"]
16
+ gem "jekyll", {
17
+ git: "https://github.com/jekyll/jekyll",
18
+ branch: ENV["JEKYLL_BRANCH"],
19
+ }
14
20
  end
data/Rakefile CHANGED
@@ -4,38 +4,9 @@
4
4
  # Author: Jordon Bedwell
5
5
  # Encoding: utf-8
6
6
 
7
- # --
8
- # 🔖
9
- # RSpec, MiniTest, Whatever.
10
- # --
11
- task :spec do
12
- exec "script/test"
13
- end
14
- # --
15
- # 🔖
16
- # RSpec, MiniTest, Whatever.
17
- # --
18
- task :test do
19
- exec "script/test"
20
- end
21
- # --
22
- # 🔖
23
- # @see .rubocop.yml
24
- # Rubocop.
25
- # --
26
- task :rubocop do
27
- exec "script/lint"
28
- end
29
- # --
30
- # 🔖
31
- # @see .rubocop.yml
32
- # Rubocop.
33
- # --
34
- task :lint do
35
- exec "script/lint"
36
- end
37
-
38
- # --
7
+ task default: [:spec]
8
+ task(:spec) { exec "script/test" }
9
+ task(:test) { exec "script/test" }
39
10
  Dir.glob("script/rake.d/*.rake").each do |v|
40
11
  load v
41
12
  end
@@ -182,7 +182,8 @@ module Jekyll
182
182
  })
183
183
  end
184
184
  when obj.is_a?(String)
185
- ctx.registers[:site].liquid_renderer.file("(asset:var)")
185
+ k = Digest::SHA256.hexdigest(obj)[0, 6]
186
+ ctx.registers[:site].liquid_renderer.file("(asset:var:#{k})")
186
187
  .parse(obj).render!(ctx)
187
188
  else
188
189
  obj
@@ -4,6 +4,6 @@
4
4
 
5
5
  module Jekyll
6
6
  module Assets
7
- VERSION = "3.0.11"
7
+ VERSION = "3.0.12"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.11
4
+ version: 3.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordon Bedwell
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-04-15 00:00:00.000000000 Z
13
+ date: 2018-11-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: execjs
@@ -505,7 +505,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
505
505
  version: '0'
506
506
  requirements: []
507
507
  rubyforge_project:
508
- rubygems_version: 2.7.6
508
+ rubygems_version: 2.7.7
509
509
  signing_key:
510
510
  specification_version: 4
511
511
  summary: Assets for Jekyll