biome-ruby 2.4.6-arm64-darwin → 2.4.7-arm64-darwin

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b111a8dd049ce239aaee94b93fbcfc9fcf782af466e48104d9fc880fe8eacbb9
4
- data.tar.gz: 8b1b9429f33555ee9c1a3be9ed1ea2d7a35a4a2c55d00612bee50657147d0b23
3
+ metadata.gz: 1cb4bb2a6bc4cbda874cbb1e0e1943ac3156808b6e96df144b04f19fcbcd9e1c
4
+ data.tar.gz: '084a9237a25a9b3b405aad822293fbbc5f827f93f3be2e9a51a4b94bd62dfe05'
5
5
  SHA512:
6
- metadata.gz: 03cfdba2d880903dc321370d3113e028b2d7eb82f8b1d4378ecf0718b244a0cee6c4328bd62b5cdab39574c897385521455231b2e3356035cea0d76184dbb6ab
7
- data.tar.gz: 68d31faa55071f01ab4b580916565c07f7233fcbca38b4d130cad230ef59ced46e9f67cf877d3638859cb19a7dfe9a4abda87d71a53c2ae470516cd9220f7a4c
6
+ metadata.gz: c5aa39796ac64b352b72b64fab854065a6a81a7e0c666cc1f43d30b917f88a4a080b35f8cb89378e9cfa3ee4e10c5b96d40a94ce14db8858fa8a16716fa6a7a2
7
+ data.tar.gz: 3efe32a56e329e11bc18fde1b851c19176edd2fc1a2c2b53344eda302c2ee547bb3f2edbb491633ecbbaa4a3b0d38a81612eaaf181b1cd99ed051071f9cb5751
data/LICENSE.txt CHANGED
@@ -19,3 +19,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  THE SOFTWARE.
22
+
23
+ This project was inspired by tailwindcss-ruby (https://github.com/flavorjones/tailwindcss-ruby).
data/README.md CHANGED
@@ -2,10 +2,49 @@
2
2
 
3
3
  A self-contained `biome` executable. Javascript linting and formatting without a package manager.
4
4
 
5
+ *Inspired by [tailwindcss-ruby](https://github.com/flavorjones/tailwindcss-ruby).*
5
6
 
6
7
  ## Installation
7
8
 
9
+ This gem wraps [the standalone executable version](https://biomejs.dev/guides/getting-started/) of Biome, the linting and formatting tool for JavaScript. These executables are platform specific, so there are actually separate underlying gems per platform, but the correct gem will automatically be picked for your platform.
8
10
 
11
+ Supported platforms are:
12
+
13
+ - arm64-darwin (macos-arm64)
14
+ - x64-mingw32 (windows-x64)
15
+ - x64-mingw-ucr (windows-x64)
16
+ - x86_64-darwin (macos-x64)
17
+ - x86_64-linux (linux-x64)
18
+ - aarch64-linux (linux-arm64)
19
+ - arm-linux (linux-armv7)
20
+
21
+ Install the gem and add to the application's Gemfile by executing:
22
+
23
+ ```bash
24
+ bundle add biome-ruby
25
+ ```
26
+
27
+ If bundler is not being used to manage dependencies, install the gem by executing:
28
+
29
+ ```bash
30
+ gem install biome-ruby
31
+ ```
32
+
33
+ ### Using a local installation of `biome`
34
+
35
+ If you are not able to use the vendored standalone executables (for example, if you're on an unsupported platform), you can use a [local installation](https://biomejs.dev/guides/manual-installation/) of the `biome` executable by setting an environment variable named `BIOME_INSTALL_DIR` to the directory path containing the executable.
36
+
37
+ For example, if you've installed `biome` so that the executable is found at `/path/to/node_modules/bin/biome`, then you should set your environment variable like so:
38
+
39
+ ``` sh
40
+ BIOME_INSTALL_DIR=/path/to/node_modules/bin
41
+ ```
42
+
43
+ or, for relative paths like `./node_modules/.bin/biome`:
44
+
45
+ ``` sh
46
+ BIOME_INSTALL_DIR=node_modules/.bin
47
+ ```
9
48
 
10
49
 
11
50
  ## Versioning
@@ -31,3 +70,4 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/micheb
31
70
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
32
71
 
33
72
  Biome is [MIT licensed](https://github.com/biomejs/biome/blob/main/LICENSE-MIT) or [Apache 2.0 licensed](https://github.com/biomejs/biome/tree/main/LICENSE-APACHE)
73
+
Binary file
@@ -3,16 +3,18 @@
3
3
  module Biome
4
4
  module Ruby
5
5
  module Upstream
6
- VERSION = '2.4.6'
6
+ VERSION = '2.4.7'
7
7
 
8
8
  # rubygems platform name => upstream release filename
9
9
  NATIVE_PLATFORMS = {
10
+ 'aarch64-linux-gnu' => 'biome-linux-arm64',
11
+ 'aarch64-linux-musl' => 'biome-linux-arm64-musl',
10
12
  'arm64-darwin' => 'biome-darwin-arm64',
13
+ 'x64-mingw-ucrt' => 'biome-win32-x64.exe',
14
+ 'x64-mingw32' => 'biome-win32-x64.exe',
11
15
  'x86_64-darwin' => 'biome-darwin-x64',
12
16
  'x86_64-linux-gnu' => 'biome-linux-x64',
13
- 'x86_64-linux-musl' => 'biome-linux-x64-musl',
14
- 'aarch64-linux-gnu' => 'biome-linux-arm64',
15
- 'aarch64-linux-musl' => 'biome-linux-arm64-musl'
17
+ 'x86_64-linux-musl' => 'biome-linux-x64-musl'
16
18
  }.freeze
17
19
  end
18
20
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Biome
4
4
  module Ruby
5
- VERSION = '2.4.6-alpha'
5
+ VERSION = '2.4.7'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biome-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.6
4
+ version: 2.4.7
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Michael Hebblethwaite