oj 3.7.5 → 3.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/ext/oj/buf.h +4 -4
  3. data/ext/oj/cache8.c +3 -3
  4. data/ext/oj/cache8.h +4 -4
  5. data/ext/oj/circarray.c +1 -1
  6. data/ext/oj/circarray.h +4 -4
  7. data/ext/oj/code.h +6 -6
  8. data/ext/oj/compat.c +5 -5
  9. data/ext/oj/custom.c +15 -13
  10. data/ext/oj/dump.c +15 -5
  11. data/ext/oj/dump.h +3 -3
  12. data/ext/oj/dump_compat.c +15 -11
  13. data/ext/oj/dump_leaf.c +1 -1
  14. data/ext/oj/dump_object.c +4 -2
  15. data/ext/oj/encode.h +3 -3
  16. data/ext/oj/err.c +1 -1
  17. data/ext/oj/err.h +5 -5
  18. data/ext/oj/fast.c +14 -14
  19. data/ext/oj/hash.c +7 -7
  20. data/ext/oj/hash.h +4 -4
  21. data/ext/oj/hash_test.c +2 -2
  22. data/ext/oj/mimic_json.c +9 -9
  23. data/ext/oj/object.c +3 -3
  24. data/ext/oj/odd.c +12 -8
  25. data/ext/oj/odd.h +5 -5
  26. data/ext/oj/oj.c +14 -12
  27. data/ext/oj/oj.h +23 -23
  28. data/ext/oj/parse.c +3 -3
  29. data/ext/oj/parse.h +26 -26
  30. data/ext/oj/rails.c +27 -23
  31. data/ext/oj/rails.h +3 -3
  32. data/ext/oj/reader.h +5 -5
  33. data/ext/oj/resolve.h +3 -3
  34. data/ext/oj/rxclass.c +5 -5
  35. data/ext/oj/rxclass.h +7 -7
  36. data/ext/oj/saj.c +2 -2
  37. data/ext/oj/scp.c +3 -3
  38. data/ext/oj/sparse.c +4 -4
  39. data/ext/oj/stream_writer.c +1 -1
  40. data/ext/oj/strict.c +6 -6
  41. data/ext/oj/string_writer.c +1 -1
  42. data/ext/oj/trace.h +8 -8
  43. data/ext/oj/val_stack.c +8 -2
  44. data/ext/oj/val_stack.h +9 -9
  45. data/ext/oj/wab.c +11 -7
  46. data/lib/oj/version.rb +1 -1
  47. data/test/bug.rb +51 -0
  48. data/test/bug2.rb +10 -0
  49. data/test/bug3.rb +46 -0
  50. data/test/bug_fast.rb +32 -0
  51. data/test/bug_load.rb +24 -0
  52. data/test/crash.rb +111 -0
  53. data/test/example.rb +11 -0
  54. data/test/foo.rb +4 -29
  55. data/test/io.rb +48 -0
  56. data/test/isolated/test_mimic_rails_datetime.rb +27 -0
  57. data/test/mem.rb +12 -27
  58. data/test/mod.rb +16 -0
  59. data/test/omit.rb +20 -0
  60. data/test/rails.rb +50 -0
  61. data/test/rails_datetime_test.rb +24 -0
  62. data/test/russian.rb +18 -0
  63. data/test/struct.rb +29 -0
  64. data/test/test_serializer.rb +59 -0
  65. data/test/write_timebars.rb +31 -0
  66. data/test/x_test.rb +185 -0
  67. metadata +102 -68
  68. data/test/big.rb +0 -15
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: UTF-8
3
+
4
+ $: << File.dirname(__FILE__)
5
+
6
+ %w(lib ext test).each do |dir|
7
+ $LOAD_PATH.unshift File.expand_path("../../#{dir}", __FILE__)
8
+ end
9
+
10
+ require 'sqlite3'
11
+ require "rails/all"
12
+ require "active_model"
13
+
14
+ date = DateTime.now
15
+
16
+ puts date.to_json
17
+
18
+ require "oj"
19
+
20
+ puts "OJ.dump(DateTime.now)"
21
+ puts
22
+ puts Oj.dump(DateTime.now)
23
+ puts
24
+
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: UTF-8
3
+
4
+ $: << File.dirname(__FILE__)
5
+
6
+ %w(lib ext test).each do |dir|
7
+ $LOAD_PATH.unshift File.expand_path("../../#{dir}", __FILE__)
8
+ end
9
+
10
+ require 'oj'
11
+
12
+ s = %|{"response":[{"id":7250,"from_id":1382722,"owner_id":1382722,"date":1415964230,"post_type":"post","text":"Сдается комната в 2-х комнатной квартире с декабря месяца в Люберцах. (р-он Красная Горка)\nСдается желательно семейной паре (можно рассмотреть и другие варианты). \nв комнате одна большая . Стол, Шкаф, комод.\nДля проживания все есть. в Соседней комнате проживают два парня (из Чувашии)\nДо города можно доехать на маршрутке (20 мин.) на против дома остановка, на электричке (до электрички 15-20 мин. пешком) или на автобусе\nЦена 15 тыс. за комнату + коммунальные услуги\nЗвоните 8\/903\/012-34-25 венера","comments":{"count":0},"likes":{"count":1},"reposts":{"count":0}}]}|
13
+
14
+ r = Oj.load(s)
15
+
16
+ text = r["response"][0]["text"]
17
+ puts "#{text}"
18
+ puts "#{text.encoding}"
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: UTF-8
3
+
4
+ # Ubuntu does not accept arguments to ruby when called using env. To get warnings to show up the -w options is
5
+ # required. That can be set in the RUBYOPT environment variable.
6
+ # export RUBYOPT=-w
7
+
8
+ $VERBOSE = true
9
+
10
+ $: << File.join(File.dirname(__FILE__), "../lib")
11
+ $: << File.join(File.dirname(__FILE__), "../ext")
12
+
13
+ require 'oj'
14
+
15
+ A = Struct.new(:a,:b,:c,:d)
16
+ B = Struct.new(:e,:f)
17
+
18
+ obj = [A.new(55, B.new(1, 'X'), B.new(2, 'Y'), 3)]
19
+
20
+ s = Oj.dump(obj, :mode => :object)
21
+
22
+ 100000.times do
23
+ Oj.load(s, :mode => :object)
24
+ # ds = Oj.dump(o, :mode => :object)
25
+ # if ds != s
26
+ # puts ds
27
+ # raise "holy crap"
28
+ # end
29
+ end
@@ -0,0 +1,59 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: UTF-8
3
+
4
+ $: << File.dirname(__FILE__)
5
+
6
+ %w(lib ext test).each do |dir|
7
+ $LOAD_PATH.unshift File.expand_path("../../#{dir}", __FILE__)
8
+ end
9
+
10
+ require 'minitest'
11
+ require 'minitest/autorun'
12
+ require 'oj'
13
+
14
+ Oj.mimic_JSON
15
+
16
+ require 'rails/all'
17
+ require 'active_model'
18
+ require 'active_model_serializers'
19
+ require 'active_support/json'
20
+
21
+ #Oj.mimic_JSON
22
+
23
+ class Category
24
+ include ActiveModel::Model
25
+ include ActiveModel::SerializerSupport
26
+
27
+ attr_accessor :id, :name
28
+
29
+ def initialize(id, name)
30
+ @id = id
31
+ @name = name
32
+ end
33
+ end
34
+
35
+ class CategorySerializer < ActiveModel::Serializer
36
+ attributes :id, :name
37
+ end
38
+
39
+ class MimicRails < Minitest::Test
40
+
41
+ def test_dump_object
42
+ Oj.default_options= {:indent => 0}
43
+ category = Category.new(1, 'test')
44
+ serializer = CategorySerializer.new(category)
45
+
46
+ json = serializer.to_json()
47
+ puts "*** serializer.to_json() #{serializer.to_json()}"
48
+ assert_equal(%|{"category":{"id":1,"name":"test"}}|, json)
49
+
50
+ json = serializer.as_json()
51
+ puts "*** serializer.as_json() #{serializer.as_json()}"
52
+ assert_equal({"category" => {:id => 1, :name => "test"}}, json)
53
+
54
+ json = JSON.dump(serializer)
55
+ puts "*** JSON.dump(serializer) #{JSON.dump(serializer)}"
56
+ assert_equal(%|{"category":{"id":1,"name":"test"}}|, json)
57
+ end
58
+
59
+ end # MimicRails
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: UTF-8
3
+
4
+ %w(lib ext).each do |dir|
5
+ $LOAD_PATH.unshift File.expand_path("../../#{dir}", __FILE__)
6
+ end
7
+
8
+ require 'stringio'
9
+ require 'oj'
10
+
11
+
12
+ filename = File.join(File.dirname(__FILE__), 'day.json')
13
+ File.open(filename, "w") do |f|
14
+ w = Oj::StreamWriter.new(f, :indent => -1)
15
+ 390.times do |i|
16
+ w.push_object()
17
+ w.push_value(12, 'msgType')
18
+ w.push_value(1, 'version')
19
+ w.push_value(1_400_074_200 + i * 60, 'bar')
20
+ w.push_value('TBC', 'source')
21
+ w.push_array('timebars')
22
+ w.push_object()
23
+ w.push_value('aapl_24', 'asset')
24
+ w.push_value(91.87, 'close')
25
+ w.pop()
26
+ w.pop()
27
+ w.pop()
28
+ end
29
+ f.write("\n")
30
+ end
31
+
@@ -0,0 +1,185 @@
1
+
2
+ $: << File.expand_path("../../oj/ext", __FILE__)
3
+ $: << File.expand_path("../../oj/lib", __FILE__)
4
+
5
+ require 'rubygems'
6
+ require 'sqlite3'
7
+ require 'terminal-table'
8
+ require 'oj'
9
+ require 'rails/all'
10
+ require 'benchmark'
11
+ begin
12
+ require 'benchmark/memory'
13
+ rescue LoadError => e
14
+ end
15
+
16
+ OJ_1 = { mode: :object, use_as_json: false, float_precision: 16, bigdecimal_as_decimal: false, nan: :null }
17
+ OJ_2 = { mode: :compat, use_as_json: false, float_precision: 16, bigdecimal_as_decimal: false, nan: :null, time_format: :xmlschema, second_precision: 3 }
18
+ OJ_3 = { mode: :compat, use_as_json: true, float_precision: 16, bigdecimal_as_decimal: false, nan: :null, time_format: :xmlschema, second_precision: 3 }
19
+
20
+ # test data
21
+ class Colors
22
+ include Enumerable
23
+ def each
24
+ yield 'red'
25
+ yield 'green'
26
+ yield 'blue'
27
+ end
28
+ end
29
+
30
+ Struct.new('Customer', :name, :address)
31
+
32
+ fork { exit 99 }
33
+ Process.wait
34
+
35
+ ActiveRecord::Base.logger = Logger.new(STDERR)
36
+ ActiveRecord::Base.logger.level = 1
37
+
38
+ ActiveRecord::Base.establish_connection(
39
+ adapter: 'sqlite3',
40
+ database:':memory:'
41
+ )
42
+
43
+ ActiveRecord::Migration.verbose = false
44
+ ActiveRecord::Schema.define do
45
+ create_table :users do |table|
46
+ table.column :name, :string
47
+ end
48
+ end
49
+
50
+ class User < ActiveRecord::Base
51
+ validates :name, presence: true
52
+ end
53
+
54
+ user = User.new
55
+ user.valid?
56
+
57
+ TEST_DATA = {
58
+ Regexp: /test/,
59
+ FalseClass: false,
60
+ NilClass: nil,
61
+ Object: Object.new,
62
+ TrueClass: true,
63
+ String: 'abc',
64
+ StringChinese: '二胡',
65
+ Numeric: 1,
66
+ Symbol: :sym,
67
+ Time: Time.new,
68
+ Array: [],
69
+ Hash: {},
70
+ HashNotEmpty: {a: 1},
71
+ Date: Date.new,
72
+ DateTime: DateTime.new,
73
+ Enumerable: Colors.new,
74
+ BigDecimal: '1'.to_d/3,
75
+ BigDecimalInfinity: '0.5'.to_d/0,
76
+ Struct: Struct::Customer.new('Dave', '123 Main'),
77
+ Float: 1.0/3,
78
+ FloatInfinity: 0.5/0,
79
+ Range: (1..10),
80
+ 'Process::Status': $?,
81
+ 'ActiveSupport::TimeWithZone': Time.utc(2005,2,1,15,15,10).in_time_zone('Hawaii'),
82
+ 'ActiveModel::Errors': user.errors,
83
+ 'ActiveSupport::Duration': 1.month.ago,
84
+ 'ActiveSupport::Multibyte::Chars': 'über'.mb_chars,
85
+ 'ActiveRecord::Relation': User.where(name: 'aaa'),
86
+
87
+ # 'ActionDispatch::Journey::GTG::TransitionTable': TODO,
88
+ }
89
+
90
+ # helper
91
+ def compare(expected, result)
92
+ if result.is_a? Exception
93
+ '💀'
94
+ else
95
+ if expected != result
96
+ puts "*** expected: #{expected}"
97
+ puts "*** actual: #{result}"
98
+ end
99
+ expected == result ? '👌' : '❌'
100
+ end
101
+ end
102
+
103
+ # def compare(expected, result)
104
+ # if result.is_a? Exception
105
+ # 'Error'
106
+ # else
107
+ # expected == result ? 'Ok' : 'Fail'
108
+ # end
109
+ # end
110
+
111
+ # actual tests
112
+ test_result = TEST_DATA.map do |key, val|
113
+ to_json_result = val.to_json
114
+
115
+ json_generate_result = begin
116
+ JSON.generate(val)
117
+ rescue JSON::GeneratorError => e
118
+ e
119
+ end
120
+
121
+ Oj.default_options = OJ_1
122
+ oj_dump_result_1 = begin
123
+ if key == :DateTime
124
+ Exception.new('Unknown error')
125
+ else
126
+ Oj.dump(val)
127
+ end
128
+ rescue NoMemoryError => e
129
+ e
130
+ end
131
+
132
+ Oj.default_options = OJ_2
133
+ oj_dump_result_2 = begin
134
+ Oj.dump(val)
135
+ rescue NoMemoryError => e
136
+ e
137
+ end
138
+
139
+ Oj.default_options = OJ_3
140
+ oj_dump_result_3 = begin
141
+ Oj.dump(val)
142
+ rescue NoMemoryError => e
143
+ e
144
+ end
145
+
146
+ [key, {
147
+ to_json_result: to_json_result,
148
+ #json_generate: compare(to_json_result, json_generate_result),
149
+ #oj_dump_1: compare(to_json_result, oj_dump_result_1),
150
+ oj_dump_2: compare(to_json_result, oj_dump_result_2),
151
+ #oj_dump_3: compare(to_json_result, oj_dump_result_3),
152
+ }]
153
+ end.to_h
154
+
155
+ # format output
156
+ rows = test_result.map do |key, val|
157
+ [key, val[:json_generate], val[:oj_dump_1], val[:oj_dump_2], val[:oj_dump_3]]
158
+ end
159
+
160
+ puts "\nComparing Rails to_json with other JSON implementations\n"
161
+ puts Terminal::Table.new headings: ['class', 'JSON.generate', 'Oj.dump (object)', 'Oj.dump (compat)', 'Oj.dump (compat, as_json)'], rows: rows
162
+
163
+ Oj.default_options = OJ_3
164
+
165
+ obj = TEST_DATA
166
+
167
+ puts "\n"
168
+
169
+ =begin
170
+ if Benchmark.respond_to?(:memory)
171
+ Benchmark.memory do |x|
172
+ x.report('to_json:'){ 10_000.times { obj.to_json } }
173
+ x.report('Oj:') { 10_000.times { Oj.dump(obj) } }
174
+ x.compare!
175
+ end
176
+ puts "---------------------------------------------\n\n"
177
+ end
178
+
179
+ Benchmark.benchmark(Benchmark::CAPTION, 14, Benchmark::FORMAT) do |x|
180
+ x.report('to_json:'){ 10_000.times { obj.to_json } }
181
+ x.report('Oj:') { 10_000.times { Oj.dump(obj) } }
182
+ end
183
+ =end
184
+ puts "\n"
185
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oj
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.5
4
+ version: 3.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Ohler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-27 00:00:00.000000000 Z
11
+ date: 2018-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -79,16 +79,16 @@ extensions:
79
79
  - ext/oj/extconf.rb
80
80
  extra_rdoc_files:
81
81
  - README.md
82
- - pages/Modes.md
83
- - pages/Advanced.md
84
- - pages/Options.md
85
82
  - pages/Custom.md
86
- - pages/Compatibility.md
87
83
  - pages/WAB.md
88
- - pages/Security.md
84
+ - pages/Advanced.md
85
+ - pages/Rails.md
89
86
  - pages/Encoding.md
87
+ - pages/Security.md
88
+ - pages/Options.md
89
+ - pages/Compatibility.md
90
+ - pages/Modes.md
90
91
  - pages/JsonGem.md
91
- - pages/Rails.md
92
92
  files:
93
93
  - LICENSE
94
94
  - README.md
@@ -175,10 +175,17 @@ files:
175
175
  - test/activesupport5/encoding_test_cases.rb
176
176
  - test/activesupport5/test_helper.rb
177
177
  - test/activesupport5/time_zone_test_helpers.rb
178
- - test/big.rb
178
+ - test/bug.rb
179
+ - test/bug2.rb
180
+ - test/bug3.rb
181
+ - test/bug_fast.rb
182
+ - test/bug_load.rb
183
+ - test/crash.rb
184
+ - test/example.rb
179
185
  - test/files.rb
180
186
  - test/foo.rb
181
187
  - test/helper.rb
188
+ - test/io.rb
182
189
  - test/isolated/shared.rb
183
190
  - test/isolated/test_mimic_after.rb
184
191
  - test/isolated/test_mimic_alone.rb
@@ -187,6 +194,7 @@ files:
187
194
  - test/isolated/test_mimic_define.rb
188
195
  - test/isolated/test_mimic_rails_after.rb
189
196
  - test/isolated/test_mimic_rails_before.rb
197
+ - test/isolated/test_mimic_rails_datetime.rb
190
198
  - test/isolated/test_mimic_redefine.rb
191
199
  - test/json_gem/json_addition_test.rb
192
200
  - test/json_gem/json_common_interface_test.rb
@@ -199,6 +207,8 @@ files:
199
207
  - test/json_gem/json_string_matching_test.rb
200
208
  - test/json_gem/test_helper.rb
201
209
  - test/mem.rb
210
+ - test/mod.rb
211
+ - test/omit.rb
202
212
  - test/perf.rb
203
213
  - test/perf_compat.rb
204
214
  - test/perf_fast.rb
@@ -209,6 +219,9 @@ files:
209
219
  - test/perf_simple.rb
210
220
  - test/perf_strict.rb
211
221
  - test/perf_wab.rb
222
+ - test/rails.rb
223
+ - test/rails_datetime_test.rb
224
+ - test/russian.rb
212
225
  - test/sample.rb
213
226
  - test/sample/change.rb
214
227
  - test/sample/dir.rb
@@ -223,6 +236,7 @@ files:
223
236
  - test/sample/shape.rb
224
237
  - test/sample/text.rb
225
238
  - test/sample_json.rb
239
+ - test/struct.rb
226
240
  - test/test_compat.rb
227
241
  - test/test_custom.rb
228
242
  - test/test_debian.rb
@@ -235,6 +249,7 @@ files:
235
249
  - test/test_object.rb
236
250
  - test/test_saj.rb
237
251
  - test/test_scp.rb
252
+ - test/test_serializer.rb
238
253
  - test/test_strict.rb
239
254
  - test/test_various.rb
240
255
  - test/test_wab.rb
@@ -242,6 +257,8 @@ files:
242
257
  - test/tests.rb
243
258
  - test/tests_mimic.rb
244
259
  - test/tests_mimic_addition.rb
260
+ - test/write_timebars.rb
261
+ - test/x_test.rb
245
262
  homepage: http://www.ohler.com/oj
246
263
  licenses:
247
264
  - MIT
@@ -277,82 +294,99 @@ signing_key:
277
294
  specification_version: 4
278
295
  summary: A fast JSON parser and serializer.
279
296
  test_files:
280
- - test/perf_file.rb
297
+ - test/activesupport4/encoding_test.rb
298
+ - test/activesupport4/test_helper.rb
299
+ - test/activesupport4/decoding_test.rb
300
+ - test/perf_object.rb
281
301
  - test/test_hash.rb
282
- - test/perf.rb
283
- - test/test_object.rb
284
- - test/test_null.rb
285
- - test/test_compat.rb
286
302
  - test/test_custom.rb
287
- - test/perf_scp.rb
288
- - test/test_integer_range.rb
289
- - test/test_gc.rb
290
- - test/sample.rb
291
- - test/json_gem/json_string_matching_test.rb
292
- - test/json_gem/json_addition_test.rb
293
- - test/json_gem/test_helper.rb
303
+ - test/bug3.rb
294
304
  - test/json_gem/json_generator_test.rb
305
+ - test/json_gem/json_addition_test.rb
306
+ - test/json_gem/json_generic_object_test.rb
295
307
  - test/json_gem/json_parser_test.rb
308
+ - test/json_gem/json_ext_parser_test.rb
296
309
  - test/json_gem/json_encoding_test.rb
297
310
  - test/json_gem/json_common_interface_test.rb
298
- - test/json_gem/json_generic_object_test.rb
299
- - test/json_gem/json_ext_parser_test.rb
311
+ - test/json_gem/test_helper.rb
312
+ - test/json_gem/json_string_matching_test.rb
300
313
  - test/json_gem/json_fixtures_test.rb
314
+ - test/write_timebars.rb
315
+ - test/test_writer.rb
316
+ - test/russian.rb
317
+ - test/rails_datetime_test.rb
318
+ - test/omit.rb
319
+ - test/test_gc.rb
320
+ - test/_test_active_mimic.rb
321
+ - test/test_serializer.rb
322
+ - test/sample/file.rb
323
+ - test/sample/group.rb
324
+ - test/sample/oval.rb
325
+ - test/sample/rect.rb
326
+ - test/sample/hasprops.rb
327
+ - test/sample/layer.rb
328
+ - test/sample/text.rb
329
+ - test/sample/doc.rb
330
+ - test/sample/line.rb
331
+ - test/sample/dir.rb
332
+ - test/sample/shape.rb
333
+ - test/sample/change.rb
334
+ - test/activerecord/result_test.rb
335
+ - test/crash.rb
336
+ - test/io.rb
337
+ - test/test_object.rb
338
+ - test/struct.rb
339
+ - test/mod.rb
340
+ - test/sample.rb
341
+ - test/perf_scp.rb
342
+ - test/bug2.rb
301
343
  - test/tests_mimic_addition.rb
344
+ - test/test_saj.rb
345
+ - test/test_strict.rb
346
+ - test/perf_saj.rb
347
+ - test/perf_simple.rb
348
+ - test/perf_fast.rb
302
349
  - test/test_wab.rb
303
- - test/activesupport4/test_helper.rb
304
- - test/activesupport4/decoding_test.rb
305
- - test/activesupport4/encoding_test.rb
306
- - test/activerecord/result_test.rb
307
- - test/_test_active.rb
308
- - test/test_file.rb
309
- - test/activesupport5/encoding_test_cases.rb
310
- - test/activesupport5/time_zone_test_helpers.rb
311
- - test/activesupport5/test_helper.rb
312
- - test/activesupport5/decoding_test.rb
313
- - test/activesupport5/encoding_test.rb
314
350
  - test/tests.rb
315
- - test/_test_active_mimic.rb
316
- - test/perf_object.rb
317
- - test/test_strict.rb
318
- - test/test_scp.rb
319
- - test/perf_wab.rb
320
- - test/test_saj.rb
321
- - test/mem.rb
351
+ - test/example.rb
352
+ - test/_test_active.rb
322
353
  - test/perf_compat.rb
323
- - test/helper.rb
324
- - test/isolated/test_mimic_alone.rb
325
- - test/isolated/test_mimic_define.rb
354
+ - test/test_various.rb
355
+ - test/test_null.rb
356
+ - test/test_integer_range.rb
357
+ - test/test_scp.rb
358
+ - test/bug_load.rb
359
+ - test/files.rb
360
+ - test/x_test.rb
361
+ - test/foo.rb
326
362
  - test/isolated/test_mimic_rails_after.rb
327
- - test/isolated/test_mimic_after.rb
328
- - test/isolated/test_mimic_rails_before.rb
329
- - test/isolated/test_mimic_as_json.rb
363
+ - test/isolated/test_mimic_rails_datetime.rb
330
364
  - test/isolated/test_mimic_redefine.rb
365
+ - test/isolated/test_mimic_as_json.rb
331
366
  - test/isolated/shared.rb
367
+ - test/isolated/test_mimic_alone.rb
368
+ - test/isolated/test_mimic_after.rb
332
369
  - test/isolated/test_mimic_before.rb
370
+ - test/isolated/test_mimic_rails_before.rb
371
+ - test/isolated/test_mimic_define.rb
372
+ - test/_test_mimic_rails.rb
373
+ - test/test_file.rb
374
+ - test/perf_wab.rb
375
+ - test/activesupport5/time_zone_test_helpers.rb
376
+ - test/activesupport5/encoding_test.rb
377
+ - test/activesupport5/test_helper.rb
378
+ - test/activesupport5/encoding_test_cases.rb
379
+ - test/activesupport5/decoding_test.rb
380
+ - test/bug.rb
381
+ - test/mem.rb
333
382
  - test/sample_json.rb
334
383
  - test/test_debian.rb
335
- - test/perf_fast.rb
336
- - test/test_writer.rb
337
384
  - test/test_fast.rb
338
- - test/sample/line.rb
339
- - test/sample/change.rb
340
- - test/sample/dir.rb
341
- - test/sample/text.rb
342
- - test/sample/layer.rb
343
- - test/sample/rect.rb
344
- - test/sample/group.rb
345
- - test/sample/oval.rb
346
- - test/sample/doc.rb
347
- - test/sample/hasprops.rb
348
- - test/sample/shape.rb
349
- - test/sample/file.rb
350
- - test/files.rb
351
- - test/big.rb
352
- - test/perf_saj.rb
353
- - test/foo.rb
385
+ - test/rails.rb
386
+ - test/perf_file.rb
387
+ - test/test_compat.rb
388
+ - test/helper.rb
354
389
  - test/tests_mimic.rb
390
+ - test/perf.rb
391
+ - test/bug_fast.rb
355
392
  - test/perf_strict.rb
356
- - test/test_various.rb
357
- - test/_test_mimic_rails.rb
358
- - test/perf_simple.rb