html_minifier 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,15 +19,6 @@ require 'html_minifier'
19
19
  HtmlMinifier.minify(File.read("source.html"))
20
20
  ```
21
21
 
22
- Or you can use it with rake
23
-
24
- ```ruby
25
- require "html_minifier/task"
26
- HtmlMinifier::Task.new :html do |t|
27
- t.pattern = 'static/**/*.html'
28
- end
29
- ```
30
-
31
22
  When initializing `HtmlMinifier`, you can pass options
32
23
 
33
24
  ```ruby
@@ -38,6 +29,6 @@ HtmlMinifier.minify(source, <options>)
38
29
 
39
30
  ## TODO
40
31
 
41
- - add more tests
32
+ - add Rake task
42
33
  - add color reporter. Maybe [colorize](https://github.com/fazibear/colorize)
43
34
  - add cli
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
8
8
  s.authors = ["slavic"]
9
9
  s.email = ["stereobooster@gmail.com"]
10
10
  s.homepage = "https://github.com/stereobooster/html_minifier"
11
- s.summary = %q{Ruby wrapper for kangax html-minifier}
12
- s.description = %q{Ruby wrapper for kangax html-minifier}
11
+ s.summary = %q{Ruby wrapper for kangax js library html-minifier. If you want pure ruby use html_press}
12
+ s.description = %q{Ruby wrapper for kangax js library html-minifier. If you want pure ruby use html_press}
13
13
 
14
14
  s.files = `git ls-files`.split("\n")
15
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
@@ -1,4 +1,4 @@
1
1
  module HtmlMinifier
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  SUBMODULE = "7032d3d3d97aabf0a2c96c8155ed077b455aca31"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_minifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &28832952 !ruby/object:Gem::Requirement
16
+ requirement: &27583416 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *28832952
24
+ version_requirements: *27583416
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: submodule
27
- requirement: &28832652 !ruby/object:Gem::Requirement
27
+ requirement: &27583116 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.1.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *28832652
35
+ version_requirements: *27583116
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &28832400 !ruby/object:Gem::Requirement
38
+ requirement: &27582864 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *28832400
46
+ version_requirements: *27582864
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: multi_json
49
- requirement: &28832076 !ruby/object:Gem::Requirement
49
+ requirement: &27582540 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '1.3'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *28832076
57
+ version_requirements: *27582540
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: execjs
60
- requirement: &28831824 !ruby/object:Gem::Requirement
60
+ requirement: &27582288 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,8 +65,9 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *28831824
69
- description: Ruby wrapper for kangax html-minifier
68
+ version_requirements: *27582288
69
+ description: Ruby wrapper for kangax js library html-minifier. If you want pure ruby
70
+ use html_press
70
71
  email:
71
72
  - stereobooster@gmail.com
72
73
  executables: []
@@ -106,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
107
  version: '0'
107
108
  segments:
108
109
  - 0
109
- hash: -143587247
110
+ hash: -88757407
110
111
  required_rubygems_version: !ruby/object:Gem::Requirement
111
112
  none: false
112
113
  requirements:
@@ -115,11 +116,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
116
  version: '0'
116
117
  segments:
117
118
  - 0
118
- hash: -143587247
119
+ hash: -88757407
119
120
  requirements: []
120
121
  rubyforge_project:
121
122
  rubygems_version: 1.8.15
122
123
  signing_key:
123
124
  specification_version: 3
124
- summary: Ruby wrapper for kangax html-minifier
125
+ summary: Ruby wrapper for kangax js library html-minifier. If you want pure ruby use
126
+ html_press
125
127
  test_files: []