dorian-anonymize-json 1.0.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/anonymize-json +1 -1
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67961a55e6bc76d4beda59e3165a829e91407602a8c217f5193501baf574805b
4
- data.tar.gz: 391089eda0cef67311a1ec7b9799c54592372cb1b83a1a4248efcd5c62aa70de
3
+ metadata.gz: a9fafae7b90db3da61bc30bfd98c508873bf61180cf3687b7056f44b6edb9310
4
+ data.tar.gz: 66d8868c67f5c4647108fff748ac2ce170fbd09fcc1ac52d99fa518fab9c138b
5
5
  SHA512:
6
- metadata.gz: 4691e584e30d5ca69a8fecaef3b780c85b09876ed38d4b9ce0b65043f08b18c8b958c8ed4844d1282bbb7e367de9a27209bd95c379d1dde6953dab6a6cbf5ef1
7
- data.tar.gz: e1549253b66a84459df81edb6aefbaa3ec6882f6a2e7210ab9f1265073a2c3e87024029608fe4706a10abe467c825cd26211f3ee6fcb426c501e7d6a8f2ed8fd
6
+ metadata.gz: 43a2a260202a3a8ca5c2d7def80d54705a70b931e27405633adf8ea0aed40f232d12c1dc5253889a530329c054dfb5f8fea5d899b6bbcbe72b215b81c26ed748
7
+ data.tar.gz: bfb47e08a9da6d28af58737cca2f87a913d7a41c3eb78e6d570a33d00fa15cebd0cd365281e248470cf6ab14cc15b484fcf38310cfbd95ca29f975d57f246f91
data/bin/anonymize-json CHANGED
@@ -28,7 +28,7 @@ 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("../../VERSION", __FILE__))
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) }
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian-anonymize-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.1
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-24 00:00:00.000000000 Z
11
+ date: 2024-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: json
14
+ name: dorian-arguments
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: dorian-arguments
28
+ name: json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -59,14 +59,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: '3'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
- rubygems_version: 3.5.11
69
+ rubygems_version: 3.5.16
70
70
  signing_key:
71
71
  specification_version: 4
72
72
  summary: anonymize json file