cinnabar 0.0.6 → 0.0.7

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: d1b9aa28bb5ec0a8ab6c27fad3c32118087ddb9bf6caef21a4b511f0c2c0c4c8
4
- data.tar.gz: 952f7f0c1d2b915f3fde32ead4cc36c4c96c482e616325a7df596ed8f1187fb4
3
+ metadata.gz: e6421e09dfa0c80203e6f23bcc2fab637dc1e8b1e8673d0f584a9bbcd323e3f4
4
+ data.tar.gz: 4828cb0de49dc9039b61ad2367913db43957a8debac9a5dad2224ed49a818872
5
5
  SHA512:
6
- metadata.gz: 3b20bb4b422443e83afd40753ef2862ec59f8533b2b1e0fee3c33e755e42d1fc26b158b297f73c7ae402a09709be49e82b6f77053b3c761fea31da929d8244e4
7
- data.tar.gz: c814343302e8e2f94e3ae04b9558b8306e0512b541e136391ce67863b40edc0468da990a9b69e58440a669424acca1bd352cdebb150dabd4d10dbf93a249da41
6
+ metadata.gz: 6f29c1326ae25a3658027ae98dc160af3c31204e6f4d720e10094c10286591f34586fd07e231bc9604cdbeba40ddb93c8a9c35cd803e8821271f66d77a98a439
7
+ data.tar.gz: dfe9e80083ed0da1b47c0cde810f4dde2a0a33111d6e06a55bc59740c44cdc4fd5f4e208a6b7e647e28372b1a4015b665a2ba5e59a0cea4e3462f6b0b6a39981
data/docs/Readme.md CHANGED
@@ -57,7 +57,7 @@ jobs:
57
57
  with:
58
58
  repository: 2moe/cinnabar
59
59
  path: cinnabar
60
- ref: v0.0.5
60
+ ref: v0.0.7
61
61
 
62
62
  - name: (example) run cargo command
63
63
  run: |
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cinnabar
4
- VERSION = '0.0.6'
4
+ VERSION = '0.0.7'
5
5
  end
data/misc/firb/bin/firb CHANGED
@@ -22,8 +22,31 @@
22
22
  # which :ruby #=> `which ruby`
23
23
  # cdir '~/.cache' #=> `cd ~/.cache; pwd; ls`
24
24
  # pwd #=> Dir.pwd
25
+ #
26
+ # Install Dependencies:
27
+ #
28
+ # - Windows:
29
+ # winget install Microsoft.VCRedist.2015+.x64
30
+ # # OR: winget install Microsoft.VCRedist.2015+.arm64
31
+ #
32
+ # scoop install bat eza
33
+ #
34
+ # - macOS:
35
+ # brew install bat eza
36
+ #
37
+ # - Debian:
38
+ #
39
+ # apt update
40
+ # apt install -y bat eza
41
+ # ln -svf /usr/bin/batcat /usr/local/bin/bat
42
+ #
43
+ # - Arch:
44
+ # pacman -Sy bat eza
45
+ #
46
+ # - Alpine:
47
+ # apk add bat eza
48
+ #
25
49
  # ====================
26
-
27
50
  Kernel.warn " ruby:\t#{RUBY_VERSION}" if ARGV.empty?
28
51
 
29
52
  $ruby_cache_dir = -> {
@@ -4,17 +4,9 @@
4
4
 
5
5
  require_relative 'which'
6
6
 
7
- BAT_CAT_CMD = -> {
8
- %w[bat batcat]
9
- .each { return [_1, '-Pp'] if which(_1) }
10
- ['cat']
11
- }.call.freeze
12
-
13
- EXA_LS_CMD = -> {
14
- %w[eza exa]
15
- .each { return [_1, '--icons=auto'] if which(_1) }
16
- ['ls', '--color=auto']
17
- }.call.freeze
7
+ BAT_CAT_CMD = ['bat', '-Pp'].freeze
8
+ EXA_LS_CMD = ['eza', '--icons=auto'].freeze
9
+ # EXA_LS_CMD = ['ls', '--color=auto'].freeze
18
10
 
19
11
  # Similar to `cd "/path/to/dir"; pwd; ls`
20
12
  def cdir(path = Dir.home)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Firb
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinnabar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - 2moe