dorian-anonymize-yaml 0.2.3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/anonymize-yaml +2 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8abb514c397e36971a3edc99d10418e356057a02a9cbe33dbd81fd71b263177
|
4
|
+
data.tar.gz: fb18bc9a83722216373b42aa5e3bb0736ea217b1a1a9db09417aebd7b129d69f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f14dec32699fb144544142b913256be39ed9c4628eb87858f1a76697613ac2114613395cbde353b97e948a2f333b858ba593565ab38473c4044381efd9351510
|
7
|
+
data.tar.gz: 2429b57e5b9ff98a3d1dbb30ed8c67cbae554674b275fa3a4025c06628c2c62a6176018c85876b3332db7b3ae7fff250b478066ae17c93bd669e0169cf7197ac
|
data/bin/anonymize-yaml
CHANGED
@@ -28,12 +28,10 @@ parsed = Dorian::Arguments.parse(version: { alias: :v }, help: { alias: :h })
|
|
28
28
|
abort parsed.help if parsed.options.help
|
29
29
|
|
30
30
|
if parsed.options.version
|
31
|
-
abort File.read(File.expand_path("
|
31
|
+
abort File.read(File.expand_path("../VERSION", __dir__))
|
32
32
|
end
|
33
33
|
|
34
34
|
inputs = parsed.arguments + parsed.files.map { |file| File.read(file) }
|
35
35
|
inputs = [$stdin.each_line.to_a.join] if inputs.empty?
|
36
36
|
|
37
|
-
inputs.each
|
38
|
-
puts anonymize_yaml(YAML.safe_load(input)).to_yaml
|
39
|
-
end
|
37
|
+
inputs.each { |input| puts anonymize_yaml(YAML.safe_load(input)).to_yaml }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dorian-anonymize-yaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dorian Marié
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dorian-arguments
|
@@ -43,9 +43,9 @@ require_paths:
|
|
43
43
|
- lib
|
44
44
|
required_ruby_version: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: 3.3.4
|
49
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - ">="
|