html_mini 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +3 -3
- data/lib/html_mini.rb +1 -1
- metadata +11 -14
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7a64071f4c151575f2fd0327f4aa9a98addc3cf5
|
4
|
+
data.tar.gz: 5522485cf9b903cc993ec73e644d9759b958ed43
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ee16ae014a9da7e3ee353ba6e3f2a74fb92699bb1dd7da8650312944126777d540cc2aaa9113e2357afbe472b192dd04affd782c58b97cc22e5317975874ee13
|
7
|
+
data.tar.gz: 5340f03b743a6d2708045b9a33c1698d28f4189ad1475769087e508a98df48905341a0dbe37da0a0fa729be4ad3d1ce0621ca8f522867803b85bf4054e7a5fe5
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# HtmlMini
|
2
2
|
|
3
|
-
The *
|
3
|
+
The *html_mini* gem includes a simple module and a middleware that adds HTML minification
|
4
4
|
for Rack applications. HtmlMini is optimised for speed over syntax preservation.
|
5
5
|
|
6
6
|
## Disclaimer
|
@@ -8,7 +8,7 @@ for Rack applications. HtmlMini is optimised for speed over syntax preservation.
|
|
8
8
|
This is an early release that has not been tested in production. I wanted to try out creating a rack middleware and a gem.
|
9
9
|
The minify logic is **minimal** therefore unexpected issues can occur. **Use at your own risk**
|
10
10
|
|
11
|
-
If you have inline Javascript in your Html, make sure all lines are ended by semi colons, and that you only use multi or full line comments, no comments at
|
11
|
+
If you have inline Javascript in your Html, make sure all lines are ended by semi colons, and that you only use multi or full line comments, no comments at end of line.
|
12
12
|
|
13
13
|
## Using with Rack application
|
14
14
|
|
@@ -49,5 +49,5 @@ Jerome Touffe-Blin, [@jtblin](https://twitter.com/jtlbin), [http://www.linkedin.
|
|
49
49
|
|
50
50
|
## License
|
51
51
|
|
52
|
-
|
52
|
+
HtmlMini is copyright 2012 Jerome Touffe-Blin and contributors. It is licensed under the BSD license. See the include LICENSE file for details.
|
53
53
|
|
data/lib/html_mini.rb
CHANGED
metadata
CHANGED
@@ -1,30 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html_mini
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jerome Touffe-Blin
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-08-07 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rack
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 1.4.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 1.4.0
|
30
27
|
description: Simple, fast HTML minification for Rack applications
|
@@ -40,28 +37,28 @@ files:
|
|
40
37
|
- LICENSE
|
41
38
|
- README.md
|
42
39
|
homepage: http://github.com/jtblin/html_mini
|
43
|
-
licenses:
|
40
|
+
licenses:
|
41
|
+
- BSD
|
42
|
+
metadata: {}
|
44
43
|
post_install_message:
|
45
44
|
rdoc_options:
|
46
45
|
- --charset=UTF-8
|
47
46
|
require_paths:
|
48
47
|
- lib
|
49
48
|
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
49
|
requirements:
|
52
|
-
- -
|
50
|
+
- - '>='
|
53
51
|
- !ruby/object:Gem::Version
|
54
52
|
version: '0'
|
55
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
54
|
requirements:
|
58
|
-
- -
|
55
|
+
- - '>='
|
59
56
|
- !ruby/object:Gem::Version
|
60
57
|
version: 1.3.6
|
61
58
|
requirements: []
|
62
59
|
rubyforge_project:
|
63
|
-
rubygems_version:
|
60
|
+
rubygems_version: 2.0.5
|
64
61
|
signing_key:
|
65
|
-
specification_version:
|
62
|
+
specification_version: 4
|
66
63
|
summary: HTML Mini
|
67
64
|
test_files: []
|