hyperbuild 0.0.29 → 0.0.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -12
- data/lib/hyperbuild.rb +1 -1
- metadata +1 -3
- data/lib/linux +0 -0
- data/lib/macos +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47c6fab3ce9182fd8766ded1bddf8829760255054f61245788bc4717d6127ee5
|
4
|
+
data.tar.gz: 85ab01c986d9c14e96f23bcdd72e0de9f184f9b88416ad0a086d74a8b7e0318b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61ca7df54a0a844e98a0ad96b7b445ae12341b482f87df5fdc8e23889865cb694b203e192d64c1e460f099d47e9cdf5b75a33f86d2dbced49eb1b0c95b8c6cb7
|
7
|
+
data.tar.gz: 3daf0ebfd5eb205575f8d88963d9df42468e8be527e13483ade521709fc535bbb3059a6a0e13b98c2faf01ffc38c6aa596564ea599bcb2e670cd9cbb5fbb1155
|
data/README.md
CHANGED
@@ -25,9 +25,9 @@ Speed and effectiveness of Node.js version compared to [html-minfier](https://gi
|
|
25
25
|
|
26
26
|
##### Get
|
27
27
|
|
28
|
-
[Windows](https://wilsonl.in/hyperbuild/bin/0.0.
|
29
|
-
[macOS](https://wilsonl.in/hyperbuild/bin/0.0.
|
30
|
-
[Linux](https://wilsonl.in/hyperbuild/bin/0.0.
|
28
|
+
[Windows](https://wilsonl.in/hyperbuild/bin/0.0.34-windows-x86_64.exe) |
|
29
|
+
[macOS](https://wilsonl.in/hyperbuild/bin/0.0.34-macos-x86_64) |
|
30
|
+
[Linux](https://wilsonl.in/hyperbuild/bin/0.0.34-linux-x86_64)
|
31
31
|
|
32
32
|
##### Use
|
33
33
|
|
@@ -44,7 +44,7 @@ hyperbuild --src /path/to/src.html --out /path/to/output.min.html
|
|
44
44
|
|
45
45
|
```toml
|
46
46
|
[dependencies]
|
47
|
-
hyperbuild = "0.0.
|
47
|
+
hyperbuild = "0.0.34"
|
48
48
|
```
|
49
49
|
|
50
50
|
##### Use
|
@@ -105,7 +105,7 @@ Add as a Maven dependency:
|
|
105
105
|
<dependency>
|
106
106
|
<groupId>in.wilsonl.hyperbuild</groupId>
|
107
107
|
<artifactId>hyperbuild</artifactId>
|
108
|
-
<version>0.0.
|
108
|
+
<version>0.0.34</version>
|
109
109
|
</dependency>
|
110
110
|
```
|
111
111
|
|
@@ -126,18 +126,14 @@ class Main {
|
|
126
126
|
<details>
|
127
127
|
<summary><strong>Python</strong></summary>
|
128
128
|
|
129
|
-
hyperbuild is available as a [native module](https://github.com/PyO3/pyo3), and supports CPython (the default Python interpreter) versions 3.5 and higher.
|
129
|
+
hyperbuild is [on PyPI](https://pypi.org/project/hyperbuild), available as a [native module](https://github.com/PyO3/pyo3), and supports CPython (the default Python interpreter) versions 3.5 and higher.
|
130
130
|
|
131
131
|
##### Get
|
132
132
|
|
133
|
-
|
134
|
-
|
135
|
-
Rename the file to `hyperbuild.pyd` on Windows or `hyperbuild.so` on macOS/Linux.
|
133
|
+
Add the PyPI project as a dependency and install it using `pip` or `pipenv`.
|
136
134
|
|
137
135
|
##### Use
|
138
136
|
|
139
|
-
Make sure the native module can be [found by Python](https://docs.python.org/3/tutorial/modules.html#the-module-search-path). This is usually done by placing it into a folder declared in the `PYTHONPATH` environment variable or `sys.path` value, or the same folder as the script that will import it.
|
140
|
-
|
141
137
|
```python
|
142
138
|
import hyperbuild
|
143
139
|
|
@@ -160,7 +156,7 @@ Add the library as a dependency to `Gemfile` or `*.gemspec`.
|
|
160
156
|
```ruby
|
161
157
|
require 'hyperbuild'
|
162
158
|
|
163
|
-
print
|
159
|
+
print Hyperbuild.minify "<p> Hello, world! </p>"
|
164
160
|
```
|
165
161
|
|
166
162
|
</details>
|
data/lib/hyperbuild.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyperbuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wilson Lin
|
@@ -33,8 +33,6 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- README.md
|
35
35
|
- lib/hyperbuild.rb
|
36
|
-
- lib/linux
|
37
|
-
- lib/macos
|
38
36
|
homepage: https://github.com/wilsonzlin/hyperbuild
|
39
37
|
licenses:
|
40
38
|
- MIT
|
data/lib/linux
DELETED
Binary file
|
data/lib/macos
DELETED
Binary file
|