jekyll-asset-pipeline 0.0.4 → 0.0.5

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.
data/README.md CHANGED
@@ -1,16 +1,12 @@
1
1
  # Jekyll Asset Pipeline
2
2
 
3
- [Jekyll Asset Pipeline](http://www.matthodan.com/2012/11/22/jekyll-asset-pipeline.html) is a powerful asset pipeline that automatically collects, converts and compresses your site's JavaScript and CSS assets when you compile your Jekyll site. Here are some of its features:
3
+ [Jekyll Asset Pipeline](http://www.matthodan.com/2012/11/22/jekyll-asset-pipeline.html) is a powerful asset pipeline that automatically collects, converts and compresses/minifies your site's JavaScript and CSS assets when you compile your Jekyll site.
4
4
 
5
- - Declarative dependency management via asset manifests
6
- - Asset preprocessing/conversion (supports [CoffeeScript](http://coffeescript.org/), [Sass/Scss](http://sass-lang.com/), [Less](http://lesscss.org/), [Erb](http://ruby-doc.org/stdlib-1.9.3/libdoc/erb/rdoc/ERB.html), etc.)
7
- - Asset compression (supports [YUI Compressor](http://developer.yahoo.com/yui/compressor/), [Closure Compiler](https://developers.google.com/closure/compiler/), etc.)
8
- - Fingerprints bundled asset filenames with MD5 hashes for better browser caching
9
- - Automatic generation of HTML "link" and "script" tags that point to bundled assets
10
- - Integrates seamlessly into Jekyll's workflow, including auto site regeneration
5
+ [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/matthodan/jekyll-asset-pipeline)
11
6
 
12
7
  ## Table of Contents
13
8
 
9
+ - [Features](#features)
14
10
  - [How It Works](#how-it-works)
15
11
  - [Getting Started](#getting-started)
16
12
  - [Asset Preprocessing](#asset-preprocessing)
@@ -20,6 +16,15 @@
20
16
  - [Contribute](#contribute)
21
17
  - [Credits](#credits)
22
18
 
19
+ ## Features
20
+
21
+ - Declarative dependency management via asset manifests
22
+ - Asset preprocessing/conversion (supports [CoffeeScript](http://coffeescript.org/), [Sass/Scss](http://sass-lang.com/), [Less](http://lesscss.org/), [Erb](http://ruby-doc.org/stdlib-1.9.3/libdoc/erb/rdoc/ERB.html), etc.)
23
+ - Asset compression (supports [YUI Compressor](http://developer.yahoo.com/yui/compressor/), [Closure Compiler](https://developers.google.com/closure/compiler/), etc.)
24
+ - Fingerprints bundled asset filenames with MD5 hashes for better browser caching
25
+ - Automatic generation of HTML "link" and "script" tags that point to bundled assets
26
+ - Integrates seamlessly into Jekyll's workflow, including auto site regeneration
27
+
23
28
  ## How It Works
24
29
 
25
30
  Jekyll Asset Pipeline's workflow can be summarized as follows:
@@ -254,9 +259,7 @@ asset_pipeline:
254
259
 
255
260
  ## Contribute
256
261
 
257
- You can contribute to the Jekyll Asset Pipeline by submitting a pull request [via GitHub](https://github.com/matthodan/jekyll-asset-pipeline).
258
-
259
- Key areas that I have identified for future improvement include:
262
+ You can contribute to the Jekyll Asset Pipeline by submitting a pull request [via GitHub](https://github.com/matthodan/jekyll-asset-pipeline). I have identified the following areas for improvement:
260
263
 
261
264
  - __Tests, tests, tests.__ I'm embarrassed to say that I didn't write a single test while building Jekyll Asset Pipeline. This started as a hack for my blog and quickly grew into a library as I tweaked it to support my own needs.
262
265
  - __Handle remote assets.__ Right now, Jekyll Asset Pipeline does not provide any way to include remote assets in bundles unless you save them locally before generating your site. Moshen's [Jekyll Asset Bundler](https://github.com/moshen/jekyll-asset_bundler) allows you to include remote assets, which I thought was pretty interesting. That said, I think it is generally better to keep remote assets separate so that they load asynchronously.
@@ -23,7 +23,7 @@ module JekyllAssetPipeline
23
23
  #
24
24
  # Returns string
25
25
  def html
26
- "#{@path/@filename}\n"
26
+ "#{@path}/#{@filename}\n"
27
27
  end
28
28
  end
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module JekyllAssetPipeline
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-asset-pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-25 00:00:00.000000000 Z
12
+ date: 2012-12-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -43,6 +43,38 @@ dependencies:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
45
  version: 1.9.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: rake
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '0.9'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.9'
62
+ - !ruby/object:Gem::Dependency
63
+ name: minitest
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '4.3'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '4.3'
46
78
  description: Jekyll Asset Pipeline adds asset preprocessing (CoffeeScript, Sass, Less,
47
79
  ERB, etc.), asset compression/minification (Yahoo YUI Compressor, Google Closure
48
80
  Compiler, etc.) to Jekyll. Jekyll Asset Pipeline can be extended to support any
@@ -87,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
119
  version: '0'
88
120
  requirements: []
89
121
  rubyforge_project:
90
- rubygems_version: 1.8.24
122
+ rubygems_version: 1.8.23
91
123
  signing_key:
92
124
  specification_version: 3
93
125
  summary: A powerful asset pipeline for Jekyll that bundles, converts, and minifies