moxml 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90a6a09c55ff15198efd4687fa31e58bc4b17fa6a72b46c0e9cb88d5474f8899
4
- data.tar.gz: 27b376ff3bfa49b2bcb7c768451af8e39f491a7e2467c6965e85cee3cedc43f9
3
+ metadata.gz: 35cf55a2fae2cbcf05a2c85a1985b1e773b8f84bca9577fc9ab237f0b9203725
4
+ data.tar.gz: 8af184352fd686ac41446d225c84c93de3978220db50421b403e743ae783f727
5
5
  SHA512:
6
- metadata.gz: 3895bfc0612eddea337e083e6cdd66dbfda811d7d819c858d05a7e30b433c226ddaa8e7995690c65f142b329ac9454c8712c1cb9f6d95372c8cbbc0b0c8e7846
7
- data.tar.gz: 52bf943812996dcd501d65dfe2d6f9b06578429de92fe2ad74f87080c1c57cc04a8574c3e85ad72f156918d5ada2415c8e4a4c5e97ff2f10d68b5056d821c599
6
+ metadata.gz: 21fc2ffb57f9ada23c1e90539a72d2cf6a593a18996ecbf76cf1143c22724433f49a4da8ee02f64b0939d9f4fc49db58993d6a48f74c6768754719c4c685495c
7
+ data.tar.gz: 1b92a5280b4efa175e680c1ad927db865d2457251cc62aa1e9d4368fbcf42ce77e2699153f3b86f7cca5022d308b8f9f644c33bc8a846ccc2e7a8b0d5978584e
@@ -11,5 +11,13 @@ on:
11
11
  jobs:
12
12
  rake:
13
13
  uses: metanorma/ci/.github/workflows/generic-rake.yml@main
14
+ with:
15
+ before-setup-ruby: |
16
+ mkdir -p .bundle
17
+ touch .bundle/config
18
+ cat .bundle/config
19
+ echo "---" >> .bundle/config
20
+ echo 'BUNDLE_BUILD__RUBY___LL: "--with-cflags=-std=gnu17"' >> .bundle/config
21
+ cat .bundle/config
14
22
  secrets:
15
23
  pat_token: ${{ secrets.LUTAML_CI_PAT_TOKEN }}
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "../../../ox/node"
4
-
5
3
  module Moxml
6
4
  module Adapter
7
5
  module CustomizedOx
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "../../../ox/node"
4
-
5
3
  module Moxml
6
4
  module Adapter
7
5
  module CustomizedOx
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "../../../ox/node"
4
-
5
3
  module Moxml
6
4
  module Adapter
7
5
  module CustomizedOx
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative "base"
4
- # before ox so that all Ox classes inherit the monkey-patched Node
5
- require_relative "../../ox/node"
6
4
  require "ox"
7
5
  require_relative "customized_ox/text"
8
6
  require_relative "customized_ox/attribute"
9
7
  require_relative "customized_ox/namespace"
10
8
 
9
+ # insert :parent methods to all Ox classes inherit the Node class
10
+ ::Ox::Node.attr_accessor :parent
11
11
  module Moxml
12
12
  module Adapter
13
13
  class Ox < Base
data/lib/moxml/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Moxml
4
- VERSION = "0.1.6"
4
+ VERSION = "0.1.7"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-07-29 00:00:00.000000000 Z
11
+ date: 2025-08-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Moxml is a unified XML manipulation library that provides a common API.
14
14
 
@@ -65,7 +65,6 @@ files:
65
65
  - lib/moxml/version.rb
66
66
  - lib/moxml/xml_utils.rb
67
67
  - lib/moxml/xml_utils/encoder.rb
68
- - lib/ox/node.rb
69
68
  - moxml.gemspec
70
69
  - sig/moxml.rbs
71
70
  - spec/fixtures/small.xml
data/lib/ox/node.rb DELETED
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "ox/node"
4
-
5
- module Ox
6
- class Node
7
- attr_accessor :parent
8
- end
9
- end