syck 1.5.1 → 1.5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/syck/constants.rb +1 -1
- data/syck.gemspec +1 -1
- metadata +3 -10
- data/ext/syck/compile_commands.json +0 -1
- data/syck-1.5.0.gem +0 -0
- data/test/test_gc.rb +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d9334ff2ab0db4b2d01c78f15fe2b18b8610fa2494157c85f3bbc4c935578cf
|
4
|
+
data.tar.gz: e68f5b83037746d7b69851736e25d000e142ad33a37e7bf1922080d08c251ee7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 934bd32bbb33044df770a561daf850b29eb3999cfc0163b2a4cbf4a1e21b4854105249844dd49b1225ac991e6b01b45c1eb67e12c761d37744e498121f130eb2
|
7
|
+
data.tar.gz: 866376d0f8aee6cf82e2171f0a29367945012ddd5e36c7522cb221281d9c4465ab666bbdbc07c31ff61ca343122b98843ef48225aa354de1aa5c5552da7dbaa0
|
data/lib/syck/constants.rb
CHANGED
data/syck.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "syck"
|
5
|
-
s.version = "1.5.1"
|
5
|
+
s.version = "1.5.1.1"
|
6
6
|
|
7
7
|
s.summary = "A gemified version of Syck from Ruby's stdlib"
|
8
8
|
s.description = "A gemified version of Syck from Ruby's stdlib. Syck has been removed from\nRuby's stdlib, and this gem is meant to bridge the gap for people that haven't\nupdated their YAML yet."
|
metadata
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: syck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.1
|
4
|
+
version: 1.5.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi SHIBATA
|
8
8
|
- Aaron Patterson
|
9
9
|
- Mat Brown
|
10
|
-
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2024-08-
|
12
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: bundler
|
@@ -71,7 +70,6 @@ files:
|
|
71
70
|
- README.rdoc
|
72
71
|
- Rakefile
|
73
72
|
- ext/syck/bytecode.c
|
74
|
-
- ext/syck/compile_commands.json
|
75
73
|
- ext/syck/emitter.c
|
76
74
|
- ext/syck/extconf.h
|
77
75
|
- ext/syck/extconf.rb
|
@@ -102,14 +100,12 @@ files:
|
|
102
100
|
- lib/syck/yamlnode.rb
|
103
101
|
- lib/syck/ypath.rb
|
104
102
|
- lib/yaml/syck.rb
|
105
|
-
- syck-1.5.0.gem
|
106
103
|
- syck.gemspec
|
107
104
|
- test/helper.rb
|
108
105
|
- test/test_array.rb
|
109
106
|
- test/test_boolean.rb
|
110
107
|
- test/test_class.rb
|
111
108
|
- test/test_exception.rb
|
112
|
-
- test/test_gc.rb
|
113
109
|
- test/test_hash.rb
|
114
110
|
- test/test_null.rb
|
115
111
|
- test/test_omap.rb
|
@@ -124,7 +120,6 @@ homepage: https://github.com/ruby/syck
|
|
124
120
|
licenses:
|
125
121
|
- MIT
|
126
122
|
metadata: {}
|
127
|
-
post_install_message:
|
128
123
|
rdoc_options:
|
129
124
|
- "--main"
|
130
125
|
- README.rdoc
|
@@ -141,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
136
|
- !ruby/object:Gem::Version
|
142
137
|
version: 0.9.5
|
143
138
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
145
|
-
signing_key:
|
139
|
+
rubygems_version: 3.6.0.dev
|
146
140
|
specification_version: 4
|
147
141
|
summary: A gemified version of Syck from Ruby's stdlib
|
148
142
|
test_files:
|
@@ -151,7 +145,6 @@ test_files:
|
|
151
145
|
- test/test_boolean.rb
|
152
146
|
- test/test_class.rb
|
153
147
|
- test/test_exception.rb
|
154
|
-
- test/test_gc.rb
|
155
148
|
- test/test_hash.rb
|
156
149
|
- test/test_null.rb
|
157
150
|
- test/test_omap.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
/Users/ktsanaktsidis/Code/zendesk/syck/tmp/arm64-darwin23/syck/3.3.0/compile_commands.json
|
data/syck-1.5.0.gem
DELETED
Binary file
|
data/test/test_gc.rb
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
require 'helper'
|
2
|
-
|
3
|
-
module Syck
|
4
|
-
class TestGC < Test::Unit::TestCase
|
5
|
-
def setup
|
6
|
-
@big_array = 20.times.map do |i|
|
7
|
-
h = {}
|
8
|
-
%w[a b c].each do |k|
|
9
|
-
h[k] = Random.bytes(16).unpack('H*').first
|
10
|
-
end
|
11
|
-
%w[d e f].each do |k|
|
12
|
-
h[k] = Random.rand(0...100_000)
|
13
|
-
end
|
14
|
-
h
|
15
|
-
end
|
16
|
-
GC.stress = true
|
17
|
-
end
|
18
|
-
|
19
|
-
def teardown
|
20
|
-
GC.stress = false
|
21
|
-
end
|
22
|
-
|
23
|
-
def test_dump_load_many_hashes
|
24
|
-
yaml = Syck.dump(@big_array)
|
25
|
-
2.times { Syck.load(yaml) }
|
26
|
-
# If it doesn't segfault, it passed
|
27
|
-
end
|
28
|
-
|
29
|
-
def test_dump_parse_many_hashes
|
30
|
-
yaml = Syck.dump(@big_array)
|
31
|
-
2.times { Syck.parse(yaml) }
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|