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 +4 -4
- data/.github/workflows/rake.yml +8 -0
- data/lib/moxml/adapter/customized_ox/attribute.rb +0 -2
- data/lib/moxml/adapter/customized_ox/namespace.rb +0 -2
- data/lib/moxml/adapter/customized_ox/text.rb +0 -2
- data/lib/moxml/adapter/ox.rb +2 -2
- data/lib/moxml/version.rb +1 -1
- metadata +2 -3
- data/lib/ox/node.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35cf55a2fae2cbcf05a2c85a1985b1e773b8f84bca9577fc9ab237f0b9203725
|
4
|
+
data.tar.gz: 8af184352fd686ac41446d225c84c93de3978220db50421b403e743ae783f727
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21fc2ffb57f9ada23c1e90539a72d2cf6a593a18996ecbf76cf1143c22724433f49a4da8ee02f64b0939d9f4fc49db58993d6a48f74c6768754719c4c685495c
|
7
|
+
data.tar.gz: 1b92a5280b4efa175e680c1ad927db865d2457251cc62aa1e9d4368fbcf42ce77e2699153f3b86f7cca5022d308b8f9f644c33bc8a846ccc2e7a8b0d5978584e
|
data/.github/workflows/rake.yml
CHANGED
@@ -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 }}
|
data/lib/moxml/adapter/ox.rb
CHANGED
@@ -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
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.
|
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-
|
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
|