yarp 0.6.0 → 0.7.0
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/CHANGELOG.md +36 -0
- data/CONTRIBUTING.md +4 -0
- data/{Makefile.in → Makefile} +3 -4
- data/README.md +1 -1
- data/config.yml +29 -7
- data/docs/build_system.md +4 -15
- data/docs/building.md +1 -5
- data/docs/encoding.md +1 -0
- data/docs/{extension.md → ruby_api.md} +6 -3
- data/docs/serialization.md +71 -24
- data/ext/yarp/api_node.c +38 -6
- data/ext/yarp/extconf.rb +15 -10
- data/ext/yarp/extension.c +2 -0
- data/ext/yarp/extension.h +1 -1
- data/include/yarp/ast.h +108 -104
- data/include/yarp/defines.h +0 -15
- data/include/yarp/enc/yp_encoding.h +1 -0
- data/include/yarp/util/yp_buffer.h +1 -0
- data/include/yarp/util/yp_string.h +5 -1
- data/include/yarp/version.h +2 -3
- data/include/yarp.h +4 -2
- data/lib/yarp/ffi.rb +211 -0
- data/lib/yarp/lex_compat.rb +16 -2
- data/lib/yarp/node.rb +169 -117
- data/lib/yarp/ripper_compat.rb +3 -3
- data/lib/yarp/serialize.rb +285 -92
- data/lib/yarp.rb +167 -2
- data/src/enc/yp_unicode.c +9 -0
- data/src/node.c +22 -0
- data/src/prettyprint.c +49 -30
- data/src/serialize.c +90 -17
- data/src/util/yp_string.c +8 -17
- data/src/yarp.c +181 -49
- data/yarp.gemspec +5 -5
- metadata +6 -6
- data/config.h.in +0 -25
- data/configure +0 -4487
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yarp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -18,24 +18,23 @@ extensions:
|
|
18
18
|
- ext/yarp/extconf.rb
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
|
+
- CHANGELOG.md
|
21
22
|
- CODE_OF_CONDUCT.md
|
22
23
|
- CONTRIBUTING.md
|
23
24
|
- LICENSE.md
|
24
|
-
- Makefile
|
25
|
+
- Makefile
|
25
26
|
- README.md
|
26
|
-
- config.h.in
|
27
27
|
- config.yml
|
28
|
-
- configure
|
29
28
|
- docs/build_system.md
|
30
29
|
- docs/building.md
|
31
30
|
- docs/configuration.md
|
32
31
|
- docs/design.md
|
33
32
|
- docs/encoding.md
|
34
|
-
- docs/extension.md
|
35
33
|
- docs/fuzzing.md
|
36
34
|
- docs/heredocs.md
|
37
35
|
- docs/mapping.md
|
38
36
|
- docs/ripper.md
|
37
|
+
- docs/ruby_api.md
|
39
38
|
- docs/serialization.md
|
40
39
|
- docs/testing.md
|
41
40
|
- ext/yarp/api_node.c
|
@@ -65,6 +64,7 @@ files:
|
|
65
64
|
- include/yarp/util/yp_strpbrk.h
|
66
65
|
- include/yarp/version.h
|
67
66
|
- lib/yarp.rb
|
67
|
+
- lib/yarp/ffi.rb
|
68
68
|
- lib/yarp/lex_compat.rb
|
69
69
|
- lib/yarp/node.rb
|
70
70
|
- lib/yarp/pack.rb
|
data/config.h.in
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
/* config.h.in. Generated from configure.ac by autoheader. */
|
2
|
-
|
3
|
-
/* Define to 1 if you have the `mmap' function. */
|
4
|
-
#undef HAVE_MMAP
|
5
|
-
|
6
|
-
/* Define to 1 if you have the `snprintf' function. */
|
7
|
-
#undef HAVE_SNPRINTF
|
8
|
-
|
9
|
-
/* Define to the address where bug reports for this package should be sent. */
|
10
|
-
#undef PACKAGE_BUGREPORT
|
11
|
-
|
12
|
-
/* Define to the full name of this package. */
|
13
|
-
#undef PACKAGE_NAME
|
14
|
-
|
15
|
-
/* Define to the full name and version of this package. */
|
16
|
-
#undef PACKAGE_STRING
|
17
|
-
|
18
|
-
/* Define to the one symbol short name of this package. */
|
19
|
-
#undef PACKAGE_TARNAME
|
20
|
-
|
21
|
-
/* Define to the home page for this package. */
|
22
|
-
#undef PACKAGE_URL
|
23
|
-
|
24
|
-
/* Define to the version of this package. */
|
25
|
-
#undef PACKAGE_VERSION
|