rulingcom
dbcf687fdd
test
2024-02-15 14:17:27 +08:00
rulingcom
47238a8c7b
Support older ruby 2.1.
2024-02-15 13:07:07 +08:00
Yorick Peterse
c4efbcec1b
Release 3.4
2022-08-02 16:18:22 +02:00
lulalala
0a9d6302c3
Take ownership when children nodes are assigned
2022-08-02 21:17:33 +08:00
lulalala
36c11b2712
Update owner when assign children
2022-07-13 21:34:08 +08:00
Yorick Peterse
cf27b764e8
Release 3.3
2020-07-27 02:20:04 +02:00
Roy Zwambag
2142243227
Add to_s as an alias to the to_xml method
2020-07-27 00:14:36 +00:00
Roy Zwambag
5bdd0207a0
Small fixes in CONTRIBUTING.md
...
- Change the links to to working links.
- Rename "pull request" to "merge request".
2020-07-25 21:41:28 +02:00
Yorick Peterse
b7daee79de
Updated outdated parts of the CONTRIBUTING guide
2020-02-20 17:33:43 +01:00
Yorick Peterse
6736bcaeba
Release 3.2
2020-01-10 16:03:15 +01:00
Yorick Peterse
7f5c0dc8b0
Add CI config for Ruby 2.7
2020-01-10 15:41:37 +01:00
Kitaiti Makoto
b9bcd21b2b
Distinguish hash argument and keyword argument in arguments of XML::Querying#xpath
2020-01-10 20:18:48 +09:00
Kitaiti Makoto
804f755101
Pass keyword argument to XML::Querying#xpath implicitly
2020-01-10 20:17:16 +09:00
Yorick Peterse
ac3fe8f343
Release 3.1
2020-01-08 13:57:23 +01:00
Yorick Peterse
f00fa40e3a
Make PUBLIC/SYSTEM matching case-insensitive
...
Some websites may use "public" or "system" in doctypes, or completely
messed up casing such as PuBlIc (unlikely, but possible). This ensures
we don't care about the exact casing used.
This fixes https://gitlab.com/yorickpeterse/oga/issues/199
2020-01-08 03:23:46 +01:00
Kitaiti Makoto
10e9101c42
Write document about XML::Queryng#xpath's namespace argument
2019-12-03 20:13:32 +09:00
Yorick Peterse
f4832339b2
Release 3.0
2019-12-03 02:06:12 +01:00
Yorick Peterse
bf44e357e4
Drop support for Rubinius
...
Rubinius hasn't been tested on for years, nor is it really relevant as a
Ruby implementation these days. While Oga probably still works fine on
Rubinius, I don't want to claim we support something when we officially
don't.
2019-12-03 01:34:26 +01:00
Yorick Peterse
82373d164f
Bump MRI requirements to 2.3.0
...
See https://gitlab.com/yorickpeterse/oga/issues/196 for more
information.
2019-12-03 01:33:52 +01:00
Yorick Peterse
e413165afd
Release 2.17
2019-12-02 19:32:43 +01:00
KitaitiMakoto
95da93949b
Fix XPath queries using default XML namespace
...
This fixes https://gitlab.com/yorickpeterse/oga/issues/195
2019-12-02 17:40:11 +00:00
Yorick Peterse
d492a775bf
Release 2.16
2019-11-29 15:43:39 +01:00
KitaitiMakoto
977bd594c8
Add support for XPath namespace aliases
...
This fixes https://gitlab.com/yorickpeterse/oga/issues/176
2019-11-29 14:21:45 +00:00
Kitaiti Makoto
da9721cb34
Suppress deprecation warning on RDoc
...
> NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It
> will be removed on or after 2018-12-01.
2019-11-05 16:12:31 +00:00
KitaitiMakoto
d9e7346b60
Fix older option for gem command
2019-11-05 12:38:17 +00:00
Yorick Peterse
e086515e59
Release 2.15
2018-04-11 21:42:08 +02:00
Yorick Peterse
8ac0055e42
Allow "th" to occur in thead, tbody, and tfoot
...
Fixes https://gitlab.com/yorickpeterse/oga/issues/190
2018-04-11 21:32:30 +02:00
Yorick Peterse
6c10f41446
Release 2.14
2018-01-30 22:58:43 +01:00
David Cornu
bc87711f9c
Return an Enumerator from each* methods when no block is given
2018-01-29 13:12:42 -05:00
Yorick Peterse
0b7b54119b
Release 2.13
2018-01-05 10:29:42 +01:00
Yorick Peterse
886a160c6a
Strip leading/trailing whitespace from CSS exprs
...
When tokenising CSS expressions we now strip leading and trailing
whitespace from the input string. This is performed without any checks
as a check + `String#strip` ended up being slower compared to just
running `String#strip`. On top of that we cache expressions anyway, so
the overhead of `String#strip` is very small.
Fixes https://gitlab.com/yorickpeterse/oga/issues/187
2018-01-04 22:02:50 +01:00
Yorick Peterse
d1336e760a
Disable appveyor Email notifications
2018-01-02 13:23:22 +01:00
Yorick Peterse
952779da39
Use msys64 for installing Ragel
2018-01-02 13:14:55 +01:00
Yorick Peterse
a5cb9887b0
Try adding vcpkg bin/ to the PATH
2018-01-02 13:06:06 +01:00
Yorick Peterse
5d693134d7
Try using vcpkg for installing Ragel
2018-01-02 12:44:07 +01:00
Vidur Murali
84748a8d85
Fix typo in gemspec homepage URL
2018-01-02 16:20:52 +05:30
Yorick Peterse
e40bd38384
Fixed CHANGELOG typo
2017-12-29 20:42:06 +01:00
Yorick Peterse
db00fcdd55
Release 2.12
2017-12-29 20:40:24 +01:00
Yorick Peterse
f574197ea6
Ignore nested element start tags
...
This ensures that Oga is able to tokenize input such as the following:
<script<script>foo</script>
Oga will now treat this as:
<script>foo</script>
This is based on libxml behaviour, which seems to differ a bit from
Chromium which treats the node as a text node. This however would
require complex look-ahead logic (as far as I can tell) that I really
don't want to implement in Oga.
Fixes #186
2017-12-28 16:12:20 +01:00
Yorick Peterse
1e002de527
Update CI links
...
[ci skip]
2017-11-02 14:31:43 +01:00
Yorick Peterse
e6eaff1a28
Fix YAML for JRuby builds
2017-11-02 14:13:18 +01:00
Yorick Peterse
11e83f911b
Try to install openjdk for JRuby
...
This is necessary so "javac" is available.
2017-11-02 14:07:51 +01:00
Yorick Peterse
dea9bafee1
Use Ragel without a version
...
Apparently on some platforms (e.g. the JRuby build) 6.9 breaks things.
2017-11-02 13:24:13 +01:00
Yorick Peterse
9cfd628b55
Install build-base on Alpine
...
This is necessary to get programs such as "make".
2017-11-02 13:13:57 +01:00
Yorick Peterse
54e3115607
Bundle without nproc on CI
...
nproc is in coreutils which isn't installed by default. Since the
Gemfile is so small there's no real benefit to using -jX anyway.
2017-11-02 12:56:53 +01:00
Yorick Peterse
794291990e
Use ragel 6.9-r0
...
Maybe this will work, because apparently just using "ragel=6.9" refuses
to install.
2017-11-02 12:41:46 +01:00
Yorick Peterse
de2166eb40
Don't use sudo for Alpine
2017-11-02 12:29:47 +01:00
Yorick Peterse
b248cc7c0f
Updated Appveyor config
2017-11-02 12:21:02 +01:00
Yorick Peterse
e811b511b0
Fixed the GitLab CI YAML
2017-11-02 02:39:40 +01:00
Yorick Peterse
5d1d7fd1d8
Move to GitLab and GitLab CI
2017-11-02 02:13:00 +01:00