immosquare-yaml 0.1.14 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a26ea2c4375279087963bb2f86d378ebc94307888bf3a114ee9cb2efff5fc84e
4
- data.tar.gz: 7e5cc0cac1cd67a86726fc3941fc9b6eb23937cfd9114b4739f4213945cd4620
3
+ metadata.gz: 60ef4af0d0357bbda277347303b629eb35f4c4f038b11aba183d732676e621d3
4
+ data.tar.gz: d59812063819a531adeb28b043ec49b3834d220f17bfb908b293ab914f502771
5
5
  SHA512:
6
- metadata.gz: 735a49b34d8058aa5d315cfc25d353d7e89fa0e1dc202b995efbe38f2e147d80929783d227f5744d480473cc36cff0c23788980b6266656fb64586fef40a0350
7
- data.tar.gz: 0d5dc4454e3c44c39d58e76ec4423bd2bdcf6746ef4aec22b25b8f43a90e60795460aeb8182eaaadaa373c6bedc3155fbbc37da82cdb49990829f5e526d86a7c
6
+ metadata.gz: 72bf381243a7fa6f5cbebc540b5bf8849f082bee1c63fc05e74f06bbe840470df1b9484fdd2edaf0fe3f1c0745ddcb37103fcbe1d46ac5e97f3ffa6b1203b52e
7
+ data.tar.gz: 0544a1ffd258cbb0ba1ade56aa1a0b01aa3037a06121796d309389ed731ceec23e38c4be41959ae083228f142e3f26289b3b611f3a8c0107474de31fd41e1a94
@@ -1,3 +1,3 @@
1
1
  module ImmosquareYaml
2
- VERSION = "0.1.14".freeze
2
+ VERSION = "0.1.15".freeze
3
3
  end
@@ -75,7 +75,7 @@ module ImmosquareYaml
75
75
  ##===========================================================================##
76
76
  clean_yml(file_path)
77
77
  parsed_yml = parse(file_path)
78
- parsed_yml = parsed_yml.sort_by_key(true)
78
+ parsed_yml = parsed_yml.sort_by_key
79
79
  parsed_yml = dump(parsed_yml)
80
80
 
81
81
  ##===========================================================================##
@@ -134,7 +134,7 @@ module ImmosquareYaml
134
134
  ## parse the file & sort if necessary
135
135
  ##===========================================================================##
136
136
  parsed_xml = parse_xml(file_path)
137
- parsed_xml = parsed_xml.sort_by_key(true) if options[:sort]
137
+ parsed_xml = parsed_xml.sort_by_key if options[:sort]
138
138
 
139
139
  ##===========================================================================##
140
140
  ## Restore original content
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immosquare-yaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - IMMO SQUARE
@@ -11,7 +11,7 @@ cert_chain: []
11
11
  date: 2023-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: iso-639
14
+ name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
@@ -25,12 +25,15 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: httparty
28
+ name: immosquare-extensions
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 0.1.4
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -38,16 +41,16 @@ dependencies:
38
41
  - - "~>"
39
42
  - !ruby/object:Gem::Version
40
43
  version: '0'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 0.1.4
41
47
  - !ruby/object:Gem::Dependency
42
- name: immosquare-extensions
48
+ name: iso-639
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
- - - ">="
49
- - !ruby/object:Gem::Version
50
- version: 0.1.2
51
54
  type: :runtime
52
55
  prerelease: false
53
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -55,9 +58,6 @@ dependencies:
55
58
  - - "~>"
56
59
  - !ruby/object:Gem::Version
57
60
  version: '0'
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: 0.1.2
61
61
  description: IMMOSQUARE-YAML is a specialized Ruby gem tailored primarily for parsing
62
62
  and dumping YML translation files, addressing challenges faced with other parsers
63
63
  like interpreting translation keys as booleans, multi-line strings, and more.