dorian-sort-yaml 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-yaml +1 -1
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ff09d214a4ef91af00cbe29f0060e184929d0445807689747cda209d0dc2b0c
4
- data.tar.gz: 9c7e55f68a02bddf194eb7d23b4a095f2c0e636965063f0f5b22f32cc683ccbb
3
+ metadata.gz: eb93c1210a0f28601b8dcd6ce7a08b33c48dcc5d71593d40ae332efe4954f8c2
4
+ data.tar.gz: 340b1b02dd763e9bbda53b38050e750a8b58e442f919f10fc347650bc67c7619
5
5
  SHA512:
6
- metadata.gz: afc71443f61d6b15e4ef260c03676c6c91a0dbee8aef9e152ef1d84ba25f0f63c11ef78c80be4d4f2da2444154d6d596c8142413ed0a079359091c0afd8ed898
7
- data.tar.gz: 50ebae0ce7d628d5b0fa86aa9bf7d885eabef86b7a8c9bec054f0af9110c399579a24d007231af6c117ead47afa72a5eba4ff6669fa4a31ea3c1995f263f9c49
6
+ metadata.gz: d1fdaf12bd2b0b360b2d10d3b99685550eaf4e84798d654460c2e38abca2f82d18053ce68100043ce30781b9b5ce4757603c72b6460bfea290a3b17a7dbcca4b
7
+ data.tar.gz: c57029291e3490f79fbba28b4c8888046583728cd29499ae1dc4edac7538b5d1ab9ab1754fc7e5b3e98bc60a271b3abe02245dfe2b97ed4ab09b40bae4501458
data/bin/sort-yaml CHANGED
@@ -22,7 +22,7 @@ parsed = Dorian::Arguments.parse(version: { alias: :v }, help: { alias: :h })
22
22
  abort parsed.help if parsed.options.help
23
23
 
24
24
  if parsed.options.version
25
- abort File.read(File.expand_path("../../VERSION", __FILE__))
25
+ abort File.read(File.expand_path("../VERSION", __dir__))
26
26
  end
27
27
 
28
28
  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-sort-yaml
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: yaml
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: yaml
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: sorts yaml