baze 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bin/dataurl +18 -0
- data/bin/primes +1 -1
- data/bin/rrtmux +0 -1
- data/bin/shost +1 -1
- data/bin/suc +0 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 05675caacff352e9b6bf1c8884caada07d431de331599530d500ec1fdb95205e
|
4
|
+
data.tar.gz: b368a075e2b4a8de30243ae96d2390217d8717d89ea6938fda3b18d4b997fe81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c955c5b1adc3cb40bd74c3bbafb8e79ea0a9132625fc0ed401c8622cffe77f02d082a1eabb2bb750da9cd621a4fe801ed3c989fb9f4acd0543ba1c12d1108fb
|
7
|
+
data.tar.gz: cc46c88e330ce8e38329a035e2c3ab5cbed280037413dd45f926b29de9811324bd391e263056ef0b4f28a7b118c3d943e8add4ca7e4721affe8874d264e3e87a
|
data/bin/dataurl
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'optparse'
|
4
|
+
require 'base64'
|
5
|
+
|
6
|
+
rounds = 1
|
7
|
+
|
8
|
+
optparse = OptionParser.new do |opts|
|
9
|
+
opts.banner = "Usage: dataurl mime [path]\n" \
|
10
|
+
" Provides a data: URL for path or stdin"
|
11
|
+
end
|
12
|
+
|
13
|
+
optparse.parse!
|
14
|
+
|
15
|
+
mime = ARGV.shift
|
16
|
+
content = ARGF.read
|
17
|
+
|
18
|
+
puts "data:#{mime};base64,#{Base64.strict_encode64(content)}"
|
data/bin/primes
CHANGED
data/bin/rrtmux
CHANGED
data/bin/shost
CHANGED
data/bin/suc
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baze
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pierre Carrier
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description:
|
14
14
|
email:
|
15
15
|
- pc@rrier.ca
|
16
16
|
executables:
|
@@ -31,6 +31,7 @@ executables:
|
|
31
31
|
- shellescape
|
32
32
|
- statistik
|
33
33
|
- cupa
|
34
|
+
- dataurl
|
34
35
|
- fixperms
|
35
36
|
extensions: []
|
36
37
|
extra_rdoc_files: []
|
@@ -38,6 +39,7 @@ files:
|
|
38
39
|
- COPYING
|
39
40
|
- bin/cols
|
40
41
|
- bin/cupa
|
42
|
+
- bin/dataurl
|
41
43
|
- bin/fixperms
|
42
44
|
- bin/hex2ip
|
43
45
|
- bin/ip2hex
|
@@ -58,7 +60,7 @@ homepage: https://github.com/pcarrier/baze
|
|
58
60
|
licenses:
|
59
61
|
- ISC
|
60
62
|
metadata: {}
|
61
|
-
post_install_message:
|
63
|
+
post_install_message:
|
62
64
|
rdoc_options: []
|
63
65
|
require_paths:
|
64
66
|
- lib
|
@@ -73,9 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
75
|
- !ruby/object:Gem::Version
|
74
76
|
version: 1.2.0
|
75
77
|
requirements: []
|
76
|
-
|
77
|
-
|
78
|
-
signing_key:
|
78
|
+
rubygems_version: 3.5.16
|
79
|
+
signing_key:
|
79
80
|
specification_version: 4
|
80
81
|
summary: Base utilities for POSIX system
|
81
82
|
test_files: []
|