umbrellio-utils 0.3.1 → 0.3.2

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: e701149e2cc866576a584afb0ce4f0260def90172435574b54a76fa360cccc6f
4
- data.tar.gz: 3ade3ca53aeb50fcab231798611f1810875e483e55eacdbfd31d111b161977b7
3
+ metadata.gz: 2b63180fc355a29f6d9890b540e8fadfbc572070865b7309990de0bd0fc094ec
4
+ data.tar.gz: 801fc30c7238f126b9fe705471be9d8d66f9b575e1789bd239d1868df323dfa8
5
5
  SHA512:
6
- metadata.gz: 66a5e895a307e11876af84245aa5efd02c8826643bf4ef15ef897222e47c26bbc44acfc33d8f174e776656a41389257eb7aceaa9efdbe243067db0b3fa7638d7
7
- data.tar.gz: 2e7a2a4a186c4d4f5772bafced3d3486b97fbe25a75316ca473f901798eecba57e9b8c2170f23b4a868b2f77ac233b1de946df7b1d23ab7fa260764de8375835
6
+ metadata.gz: 1187dc1b14d139bb723e11be25e7a35412cc794618913272c10b9aeff8e5a98392525fc75bbfead6b6a59e7c8c37c305c7d27164eb2148da28540fad19ea1aac
7
+ data.tar.gz: b4c696407bc41fb6ce2df840cb4476e99cdf68016e50a28545a33dcba615bc1dfd5b9c8822e5d357454207758538cd89b370b2efdf94ab950bfab74355ed5309
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- umbrellio-utils (0.3.1)
4
+ umbrellio-utils (0.3.2)
5
5
  memery (~> 1)
6
6
 
7
7
  GEM
@@ -29,16 +29,22 @@ GEM
29
29
  dry-inflector (0.2.0)
30
30
  i18n (1.8.10)
31
31
  concurrent-ruby (~> 1.0)
32
- memery (1.4.0)
32
+ memery (1.4.1)
33
33
  ruby2_keywords (~> 0.0.2)
34
34
  method_source (1.0.0)
35
35
  minitest (5.14.4)
36
+ nokogiri (1.12.2-x86_64-darwin)
37
+ racc (~> 1.4)
38
+ nokogiri (1.12.2-x86_64-linux)
39
+ racc (~> 1.4)
40
+ nori (2.6.0)
36
41
  parallel (1.20.1)
37
42
  parser (3.0.1.0)
38
43
  ast (~> 2.4.1)
39
44
  pry (0.14.0)
40
45
  coderay (~> 1.1)
41
46
  method_source (~> 1.0)
47
+ racc (1.5.2)
42
48
  rack (2.2.3)
43
49
  rainbow (3.0.0)
44
50
  rake (13.0.3)
@@ -90,7 +96,7 @@ GEM
90
96
  rubocop-sequel (0.2.0)
91
97
  rubocop (~> 1.0)
92
98
  ruby-progressbar (1.11.0)
93
- ruby2_keywords (0.0.4)
99
+ ruby2_keywords (0.0.5)
94
100
  sequel (5.43.0)
95
101
  simplecov (0.21.2)
96
102
  docile (~> 1.1)
@@ -111,6 +117,7 @@ GEM
111
117
  zeitwerk (2.4.2)
112
118
 
113
119
  PLATFORMS
120
+ x86_64-darwin-20
114
121
  x86_64-linux
115
122
 
116
123
  DEPENDENCIES
@@ -118,6 +125,8 @@ DEPENDENCIES
118
125
  bundler
119
126
  bundler-audit
120
127
  ci-helper
128
+ nokogiri
129
+ nori
121
130
  pry
122
131
  rake
123
132
  rspec
@@ -128,4 +137,4 @@ DEPENDENCIES
128
137
  yard
129
138
 
130
139
  BUNDLED WITH
131
- 2.2.15
140
+ 2.2.22
@@ -21,7 +21,7 @@ module UmbrellioUtils
21
21
  xml.xpath("//@*").remove if remove_attributes
22
22
 
23
23
  tags_converter = snakecase ? -> (tag) { tag.snakecase.to_sym } : -> (tag) { tag.to_sym }
24
- nori = Nori.new(convert_tags_to: tags_converter)
24
+ nori = Nori.new(convert_tags_to: tags_converter, convert_dashes_to_underscores: false)
25
25
  nori.parse(xml.to_xml(save_with: Nokogiri::XML::Node::SaveOptions::NO_DECLARATION))
26
26
  end
27
27
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UmbrellioUtils
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
@@ -33,6 +33,8 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency "bundler"
34
34
  spec.add_development_dependency "bundler-audit"
35
35
  spec.add_development_dependency "ci-helper"
36
+ spec.add_development_dependency "nokogiri"
37
+ spec.add_development_dependency "nori"
36
38
  spec.add_development_dependency "pry"
37
39
  spec.add_development_dependency "rake"
38
40
  spec.add_development_dependency "rspec"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: umbrellio-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JustAnotherDude
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-08 00:00:00.000000000 Z
11
+ date: 2021-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memery
@@ -80,6 +80,34 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: nokogiri
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: nori
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: pry
85
113
  requirement: !ruby/object:Gem::Requirement
@@ -238,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
266
  - !ruby/object:Gem::Version
239
267
  version: '0'
240
268
  requirements: []
241
- rubygems_version: 3.2.18
269
+ rubygems_version: 3.2.22
242
270
  signing_key:
243
271
  specification_version: 4
244
272
  summary: A set of utilities that speed up development