| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
Backport ruby core
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
to prevent:
```
test/json/json_common_interface_test.rb:182: warning: mismatched indentations at 'end' with 'def' at 169
```
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
http://rubyci.s3.amazonaws.com/debian10/ruby-master/log/20200930T033004Z.diff.html.gz
```
[n/n] JSONCommonInterfaceTest#test_load = <elapsed> s
[n/n] JSONCommonInterfaceTest#test_load_file = <elapsed> s
+Leaked tempfile: JSONCommonInterfaceTest#test_load_file: #<Tempfile:<build-dir>/tmp/20200930-7601-ptnv6i (closed)>
[n/n] JSONCommonInterfaceTest#test_load_file! = <elapsed> s
+Leaked tempfile: JSONCommonInterfaceTest#test_load_file!: #<Tempfile:<build-dir>/tmp/20200930-7601-1la6m9 (closed)>
[n/n] JSONCommonInterfaceTest#test_load_file_with_option = <elapsed> s
+Leaked tempfile: JSONCommonInterfaceTest#test_load_file_with_option: #<Tempfile:<build-dir>/tmp/20200930-7601-blf9hz (closed)>
[n/n] JSONCommonInterfaceTest#test_load_file_with_option! = <elapsed> s
+Leaked tempfile: JSONCommonInterfaceTest#test_load_file_with_option!: #<Tempfile:<build-dir>/tmp/20200930-7601-b5gsdb (closed)>
```
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20201021T123003Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20201021T123003Z/ruby/test/json/json_parser_test.rb:227: warning: ambiguous first argument; put parentheses or a space even after `-' operator
/home/chkbuild/chkbuild/tmp/build/20201021T123003Z/ruby/test/json/json_parser_test.rb:228: warning: ambiguous first argument; put parentheses or a space even after `-' operator
```
|
| | |
|
|/ |
|
|\
| |
| | |
Implement a freeze: parser option
|
| |
| |
| |
| |
| |
| |
| | |
If set to true all parsed objects will be
immediately frozen, and strings will be
deduplicated if the Ruby implementation
allows it.
|
|\ \
| | |
| | | |
Fix an issue with generate_pretty and empty objects in the Ruby and Java implementations
|
|/ /
| |
| |
| | |
implementations
|
|\ \
| |/
|/| |
Fix JSON.load_file doc
|
|/ |
|
|\
| |
| | |
Partial compliance with doc/method_documentation.rdoc
|
|/ |
|
|\
| |
| | |
Fix pure parser with unclosed arrays / objects [Fix #314]
|
| | |
|
| |
| |
| | |
* Enhanced RDoc for JSON.dump
|
|\ \
| | |
| | | |
bundle the LICENSE file in the gem
|
|/ / |
|
|\ \
| | |
| | | |
Add an option to escape forward slash character
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Squashed commit of the following:
commit 26d181059989279a79c433cedcd893b4f52e42ee
Author: Francois Chagnon <francois.chagnon@jadedpixel.com>
Date: Tue Sep 15 21:17:34 2015 +0000
add config options for escape_slash
commit fa282334051b16df91ca097dd7304b46f3bc7719
Author: Francois Chagnon <francois.chagnon@jadedpixel.com>
Date: Mon Feb 9 21:09:33 2015 +0000
add forward slash to escape character
|
|\ \ \
| | | |
| | | | |
Nodoc for recurse_proc
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
RDoc for JSON.load with proc
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
[test] properly 'skip' test on JRuby
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
an early return still caused ensure to execute,
setting JSON constant to `nil` for later tests!
|
|\ \ \ \
| |/ / /
|/| | | |
unify json-java gemspec with the baseline
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
RDoc example for JSON.load
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Fixed unexpected illegal/malformed utf-8 error
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
flori/json@c34d01ff6a18dac04a90b2e0f820cdb1d5c7e1b2 does not
consider US-ASCII compatible but non-UTF-8 encodings, and causes
an error in RDoc tests.
|
|\ \ \ \
| | | | |
| | | | | |
[CI] setup supported JRubies to test against
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Enhance RDoc for JSON.parse
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
test/json/json_fixtures_test.rb: Prevent an "out of range" warning
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
with `make test-all RUBYOPT=-w`
```
/home/mame/work/ruby/.ext/common/json/common.rb:263: warning: Float 23456789012E666 out of range
```
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Do not add a relative path to $LOAD_PATH
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
... because it conflicts with test/ruby/test_m17n.rb.
An exception `incompatible character encodings: UTF-8 and UTF-16BE`
occurs when:
* a non-existence relative path is added to $LOAD_PATH,
* ASCII-incompatible encoding is set to default_external, and
* some file is loaded.
```
$LOAD_PATH << "no_existing_dir"
Encoding.default_external = Encoding::UTF_16BE
load "dummy.rb" #=> incompatible character encodings: UTF-8 and UTF-16BE
```
This issue can be actually observed by a combination of out-of-place
build and the following command:
make test-all TESTS="json ruby/m17n -n test_object_inspect_external"
http://ci.rvm.jp/logfiles/brlog.trunk-test-random.20200322-221411
ASCII-incompatible default external encoding assumes that the cwd is the
encoding, and it is attempted to beconcatenated with a non-existence
relative LOAD_PATH UTF-8 string, which causes the exception.
This changeset avoids a relative path.
|
|\ \ \ \
| | | | |
| | | | | |
Move options from #generate and #parse to common area
|