hyperbuild 0.0.29 → 0.0.34

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.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -12
  3. data/lib/hyperbuild.rb +1 -1
  4. metadata +1 -3
  5. data/lib/linux +0 -0
  6. data/lib/macos +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3faa7b58ff53374cb3ef9cdbebb655aaee1c477e40c847a33319a26ba7cdf5db
4
- data.tar.gz: 79fc28156da9e719ea2a2cf4fe2fe8d513a71b226e45f80d1ed4a2dddb3c6931
3
+ metadata.gz: 47c6fab3ce9182fd8766ded1bddf8829760255054f61245788bc4717d6127ee5
4
+ data.tar.gz: 85ab01c986d9c14e96f23bcdd72e0de9f184f9b88416ad0a086d74a8b7e0318b
5
5
  SHA512:
6
- metadata.gz: 93b67a3e99a3b2593d619e78f588e0a876818fdf24abe12ddca7d4797f78eacb320cc25f91a47099328c7102c7b0c8c1bd74736fc145a9d535307c057eb2b7b4
7
- data.tar.gz: 0330a7c4927f31aadad7a5dca460dbcaeb656a6804c3f594013ebae31bbf7547f2d1dc765a34b1c87948fe9e201d9adacc27871a66eecdddfa5b8781052112c8
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-windows-x86_64.exe) |
29
- [macOS](https://wilsonl.in/hyperbuild/bin/0.0.29-macos-x86_64) |
30
- [Linux](https://wilsonl.in/hyperbuild/bin/0.0.29-linux-x86_64)
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.29"
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.29</version>
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
- Download the native module for [Windows](https://wilsonl.in/hyperbuild/bin/0.0.29-windows-x86_64-python.pyd), [macOS](https://wilsonl.in/hyperbuild/bin/0.0.29-macos-x86_64-python.so), or [Linux](https://wilsonl.in/hyperbuild/bin/0.0.29-linux-x86_64-python.so).
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 hyperbuild.minify "<p> Hello, world! </p>"
159
+ print Hyperbuild.minify "<p> Hello, world! </p>"
164
160
  ```
165
161
 
166
162
  </details>
@@ -11,7 +11,7 @@ class HyperbuildLoader
11
11
  end
12
12
 
13
13
  def self.lib_path
14
- File.join(__dir__, operating_system)
14
+ File.join(__dir__, [operating_system, '-x86_64-ruby', RUBY_VERSION.split('.')[0...-1].join('.')].join(''))
15
15
  end
16
16
  end
17
17
 
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.29
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