jekyll-uglify 1.0.1 → 1.0.2

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: 8838515e638c0fc2a32478b10c53274b75a5bf5099253f9d1d972f0f9d6184cc
4
- data.tar.gz: 0b1f73436b749067a7b4bbedfe71bc635d0d43e48af8c2d179962ab0077a9447
3
+ metadata.gz: 1829d0564075f121d22d27673117b2faec20a2eb81fa1d03d2d5a6dc51983b61
4
+ data.tar.gz: 5acbbd812be621de4bde1efe22dde5cb28ecbe521358178541482ddc340ea1f8
5
5
  SHA512:
6
- metadata.gz: b8dda5ac9def36f39b99b0b852be1d1bfbf87629b8920ea0c8bd91cf13c496b44fb557571f90f67b88276fe5b6a5f7a08025379ed68299ccb5c8f7ff50e03e7e
7
- data.tar.gz: 28ac8d8decb37531b5167d55350ef718da46fbcf83b4a6f8fc54bddc17ce9e34c142123db450ab37c392603ed5f8d13219d9a91a72d1493e1725259c27e1c9cd
6
+ metadata.gz: 8ff9da501bd8d9bde5064445b7b3073e59d7422042729f6c16539aacfa8ca7fdc61f519de397e71cdf8fa8408c3199299e6068f3413b13eaa5b6aa1730637c24
7
+ data.tar.gz: dbf1210db9a30c009c72917b210785c754de843f3b536e0ff6f4c6aa82f6785cb5a415e949f26ebdee666586755f9e747e93bfe160e105f325ddf29b74199711
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
55
55
  ## Enforcement
56
56
 
57
57
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at TODO: Write your email address. All
58
+ reported by contacting the project team at me@seanhofer.com All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
61
  obligated to maintain confidentiality with regard to the reporter of an incident.
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # [jekyll-uglify](https://rubygems.org/gems/jekyll-uglify)
2
+ [![Gem Version](https://badge.fury.io/rb/jekyll-uglify.svg)](https://badge.fury.io/rb/jekyll-uglify)
2
3
 
3
- A Jekyll plugin for uglifying JS in a given directory using [Uglifier](https://github.com/lautis/uglifier), a Ruby wrapper for UglifyJS.
4
+ A Jekyll plugin for uglifying JS in a given directory using [Uglifier](https://github.com/lautis/uglifier), a Ruby wrapper for UglifyJS by [lautis](https://github.com/lautis).
4
5
 
5
6
  ## Installation
6
7
  ```
@@ -10,7 +11,11 @@ gem install jekyll-uglify
10
11
  ## Set Up
11
12
  In `Gemfile`
12
13
  ``` ruby
13
- gem 'jekyll-uglify'
14
+ ...
15
+ group :jekyll_plugins do
16
+ ...
17
+ gem 'jekyll-uglify'
18
+ end
14
19
  ```
15
20
 
16
21
  To enable options in `_config.yml`
Binary file
@@ -7,14 +7,15 @@ require 'uglifier'
7
7
  module Jekyll
8
8
  module Uglify
9
9
  class Error < StandardError; end
10
- class UglifyJS < Jekyll::Command
11
- # Uglify all JS files in a given directory.
12
- # Ignores files with `.min.js` extensions.
13
- # Gets Uglifier configuration settings from `_config.yml`
14
- #
15
- # Syntax: jekyll uglify DIRECTORY [or]
16
- # bundle exec jekyll uglify DIR
17
- #
10
+ # Uglify all JS files in a given directory.
11
+ # Ignores files with `.min.js` extensions.
12
+ # Gets Uglifier configuration settings from `_config.yml`
13
+ #
14
+ # Syntax: jekyll uglify DIRECTORY [or]
15
+ # bundle exec jekyll uglify DIR
16
+ # Arguments:
17
+ # DIR directory in which JS should be uglified
18
+ class UglifyJS < Jekyll::Command
18
19
  def self.init_with_program(prog)
19
20
  prog.command(:uglify) do |c|
20
21
  c.syntax "uglify DIRECTORY"
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Uglify
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-uglify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Hofer
@@ -40,6 +40,7 @@ files:
40
40
  - Rakefile
41
41
  - bin/console
42
42
  - bin/setup
43
+ - jekyll-uglify-1.0.1.gem
43
44
  - jekyll-uglify.gemspec
44
45
  - lib/jekyll/uglify.rb
45
46
  - lib/jekyll/uglify/version.rb