dorian-sort-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/sort-json +1 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38d2e31702100c63cfb56fd8074e16a70035391d591cfc45865b7c2f120ec0a2
4
- data.tar.gz: e17b9bb93b7906a212f0834cb2262242ba10d4bca61fd3c052e40737677748c3
3
+ metadata.gz: 5b0e87208e9bb0324df64523d55fdba34b495f0ef2f11f349b3d529ee807ccb7
4
+ data.tar.gz: '028f585335d2c111c51ccf4f47a06bef4898d52346c9bd86139f6291a29a5cc1'
5
5
  SHA512:
6
- metadata.gz: d6fc168c02e1961efd764fd5788839057650524ed196596904000e9c78bfdd3e62686e98136b5900f60f427e4650b867b5c19d615d0d1a20b88f7effd1d80684
7
- data.tar.gz: '0418f36e2619992b282e485c741fba68df4f0bfec63fb8f580b5fa9d6b20737d0638dfbd5279b69b09b5534b339b9d9a7ba53b2e9650392cb0d31cc8e85e4be3'
6
+ metadata.gz: 9319f08bd551369da0ef7ebb695a49f283b4e0f1fb7a99cd3e8e3914913ad3c1ef894b2126bd978f069ba59571e4e38c5529bbb4a8bea74be4461bd62f345555
7
+ data.tar.gz: 39f71673b92795aef4285673e3811a77f4e679cfbd19455164a676e1e87ede003ea543fcbb521ce66af5d797aa1e57ea1fac6182c1e641a0872e40d88cfad9c9
data/bin/sort-json CHANGED
@@ -34,7 +34,7 @@ parsed =
34
34
  abort parsed.help if parsed.options.help
35
35
 
36
36
  if parsed.options.version
37
- abort File.read(File.expand_path("../../VERSION", __FILE__))
37
+ abort File.read(File.expand_path("../VERSION", __dir__))
38
38
  end
39
39
 
40
40
  inputs = parsed.arguments + parsed.files.map { |file| File.read(file) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian-sort-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
14
  name: dorian-arguments
@@ -45,14 +45,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: '0'
48
+ version: '3'
49
49
  required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  requirements: []
55
- rubygems_version: 3.5.11
55
+ rubygems_version: 3.5.16
56
56
  signing_key:
57
57
  specification_version: 4
58
58
  summary: sorts json