couchbase-jruby-client 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.jrubyrc +722 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +203 -0
  7. data/README.md +349 -0
  8. data/Rakefile +10 -0
  9. data/couchbase-jruby-client.gemspec +31 -0
  10. data/lib/couchbase/async/callback.rb +19 -0
  11. data/lib/couchbase/async/queue.rb +26 -0
  12. data/lib/couchbase/async.rb +140 -0
  13. data/lib/couchbase/bucket.rb +556 -0
  14. data/lib/couchbase/cluster.rb +105 -0
  15. data/lib/couchbase/constants.rb +12 -0
  16. data/lib/couchbase/design_doc.rb +61 -0
  17. data/lib/couchbase/error.rb +43 -0
  18. data/lib/couchbase/jruby/couchbase_client.rb +22 -0
  19. data/lib/couchbase/jruby/future.rb +8 -0
  20. data/lib/couchbase/operations/arithmetic.rb +301 -0
  21. data/lib/couchbase/operations/delete.rb +104 -0
  22. data/lib/couchbase/operations/design_docs.rb +99 -0
  23. data/lib/couchbase/operations/get.rb +282 -0
  24. data/lib/couchbase/operations/stats.rb +26 -0
  25. data/lib/couchbase/operations/store.rb +461 -0
  26. data/lib/couchbase/operations/touch.rb +136 -0
  27. data/lib/couchbase/operations/unlock.rb +192 -0
  28. data/lib/couchbase/operations/utils.rb +44 -0
  29. data/lib/couchbase/operations.rb +27 -0
  30. data/lib/couchbase/query.rb +73 -0
  31. data/lib/couchbase/result.rb +43 -0
  32. data/lib/couchbase/transcoder.rb +77 -0
  33. data/lib/couchbase/utils.rb +62 -0
  34. data/lib/couchbase/version.rb +3 -0
  35. data/lib/couchbase/view.rb +367 -0
  36. data/lib/couchbase/view_row.rb +193 -0
  37. data/lib/couchbase.rb +157 -0
  38. data/lib/jars/commons-codec-1.5.jar +0 -0
  39. data/lib/jars/couchbase-client-1.2.0-javadoc.jar +0 -0
  40. data/lib/jars/couchbase-client-1.2.0-sources.jar +0 -0
  41. data/lib/jars/couchbase-client-1.2.0.jar +0 -0
  42. data/lib/jars/httpcore-4.1.1.jar +0 -0
  43. data/lib/jars/httpcore-nio-4.1.1.jar +0 -0
  44. data/lib/jars/jettison-1.1.jar +0 -0
  45. data/lib/jars/netty-3.5.5.Final.jar +0 -0
  46. data/lib/jars/spymemcached-2.10.0-javadoc.jar +0 -0
  47. data/lib/jars/spymemcached-2.10.0-sources.jar +0 -0
  48. data/lib/jars/spymemcached-2.10.0.jar +0 -0
  49. data/test/profile/.gitignore +1 -0
  50. data/test/profile/.jrubyrc +722 -0
  51. data/test/profile/Gemfile +6 -0
  52. data/test/profile/benchmark.rb +168 -0
  53. data/test/profile/profile.rb +59 -0
  54. data/test/setup.rb +203 -0
  55. data/test/test_arithmetic.rb +177 -0
  56. data/test/test_async.rb +324 -0
  57. data/test/test_bucket.rb +213 -0
  58. data/test/test_cas.rb +79 -0
  59. data/test/test_couchbase.rb +29 -0
  60. data/test/test_couchbase_rails_cache_store.rb +341 -0
  61. data/test/test_delete.rb +125 -0
  62. data/test/test_design_docs.rb +72 -0
  63. data/test/test_errors.rb +82 -0
  64. data/test/test_format.rb +161 -0
  65. data/test/test_get.rb +417 -0
  66. data/test/test_query.rb +23 -0
  67. data/test/test_stats.rb +57 -0
  68. data/test/test_store.rb +213 -0
  69. data/test/test_timer.rb +43 -0
  70. data/test/test_touch.rb +97 -0
  71. data/test/test_unlock.rb +121 -0
  72. data/test/test_utils.rb +58 -0
  73. data/test/test_version.rb +53 -0
  74. data/test/test_view.rb +94 -0
  75. metadata +255 -0
@@ -0,0 +1,722 @@
1
+ # These properties can be used to alter runtime behavior for perf or compatibility.
2
+ # Specify them by passing -X<property>=<value>
3
+ # or if passing directly to Java, -Djruby.<property>=<value>
4
+ # or put <property>=<value> in .jrubyrc
5
+ #
6
+ # This dump is a valid .jrubyrc file of current settings. Uncomment and modify
7
+ # settings to customize.
8
+
9
+ ################################################################################
10
+ # compiler
11
+ ################################################################################
12
+
13
+ # Set the number of lines at which compiled bodies are "chained".
14
+ # Options: [Integer], Default: 500.
15
+
16
+ #compile.chainsize=500
17
+
18
+ # Dump to console all bytecode generated at runtime.
19
+ # Options: [true, false], Default: false.
20
+
21
+ #compile.dump=false
22
+
23
+ # Return true from multiple assignment instead of a new array.
24
+ # Options: [true, false], Default: false.
25
+
26
+ #compile.fastMasgn=false
27
+
28
+ # Compile with all "mostly harmless" compiler optimizations.
29
+ # Options: [true, false], Default: false.
30
+
31
+ compile.fastest=true
32
+
33
+ # Turn on fast operators for Fixnum and Float.
34
+ # Options: [true, false], Default: true.
35
+
36
+ #compile.fastops=true
37
+
38
+ # Compile obj.__send__(<literal>, ...) as obj.<literal>(...).
39
+ # Options: [true, false], Default: false.
40
+
41
+ #compile.fastsend=false
42
+
43
+ # Use invokedynamic for optimizing Ruby code
44
+ # Options: [true, false], Default: false.
45
+
46
+ compile.invokedynamic=true
47
+
48
+ # Generate method bindings (handles) for compiled methods lazily.
49
+ # Options: [true, false], Default: false.
50
+
51
+ #compile.lazyHandles=false
52
+
53
+ # Set compilation mode. JIT = at runtime; FORCE = before execution.
54
+ # Options: [JIT, FORCE, OFF, OFFIR], Default: JIT.
55
+
56
+ #compile.mode=JIT
57
+
58
+ # Compile calls without guards, for experimentation.
59
+ # Options: [true, false], Default: false.
60
+
61
+ #compile.noguards=false
62
+
63
+ # Enable or disable peephole optimizations.
64
+ # Options: [true, false], Default: true.
65
+
66
+ #compile.peephole=true
67
+
68
+ # (EXPERIMENTAL) Turn on compilation without polling for "unsafe" thread events.
69
+ # Options: [true, false], Default: false.
70
+
71
+ #compile.threadless=false
72
+
73
+
74
+ ################################################################################
75
+ # invokedynamic
76
+ ################################################################################
77
+
78
+ # Enable all possible uses of invokedynamic.
79
+ # Options: [true, false], Default: false.
80
+
81
+ invokedynamic.all=true
82
+
83
+ # Use invokedynamic to load cached values like literals and constants.
84
+ # Options: [true, false], Default: true.
85
+
86
+ #invokedynamic.cache=true
87
+
88
+ # Use invokedynamic to load constants.
89
+ # Options: [true, false], Default: true.
90
+
91
+ #invokedynamic.cache.constants=true
92
+
93
+ # Use invokedynamic to get/set instance variables.
94
+ # Options: [true, false], Default: true.
95
+
96
+ #invokedynamic.cache.ivars=true
97
+
98
+ # Use invokedynamic to load literals.
99
+ # Options: [true, false], Default: true.
100
+
101
+ #invokedynamic.cache.literals=true
102
+
103
+ # Use ClassValue to store class-specific data.
104
+ # Options: [true, false], Default: false.
105
+
106
+ #invokedynamic.class.values=false
107
+
108
+ # Maximum global cache failures after which to use slow path.
109
+ # Options: [Integer], Default: 100.
110
+
111
+ #invokedynamic.global.maxfail=100
112
+
113
+ # Use MethodHandles rather than generated code to bind Ruby methods.
114
+ # Options: [true, false], Default: false.
115
+
116
+ #invokedynamic.handles=false
117
+
118
+ # Enable invokedynamic for method invocations.
119
+ # Options: [true, false], Default: true.
120
+
121
+ #invokedynamic.invocation=true
122
+
123
+ # Bind Ruby attribue invocations directly to invokedynamic.
124
+ # Options: [true, false], Default: true.
125
+
126
+ #invokedynamic.invocation.attr=true
127
+
128
+ # Bind Fixnum and Float math using optimized logic.
129
+ # Options: [true, false], Default: true.
130
+
131
+ #invokedynamic.invocation.fastops=true
132
+
133
+ # Also bind indirect method invokers to invokedynamic.
134
+ # Options: [true, false], Default: true.
135
+
136
+ #invokedynamic.invocation.indirect=true
137
+
138
+ # Bind Ruby to Java invocations with invokedynamic.
139
+ # Options: [true, false], Default: true.
140
+
141
+ #invokedynamic.invocation.java=true
142
+
143
+ # Use SwitchPoint for class modification guards on invocations.
144
+ # Options: [true, false], Default: true.
145
+
146
+ #invokedynamic.invocation.switchpoint=true
147
+
148
+ # Log binding of invokedynamic call sites.
149
+ # Options: [true, false], Default: false.
150
+
151
+ #invokedynamic.log.binding=false
152
+
153
+ # Log invokedynamic-based constant lookups.
154
+ # Options: [true, false], Default: false.
155
+
156
+ #invokedynamic.log.constants=false
157
+
158
+ # Log invokedynamic-based global lookups.
159
+ # Options: [true, false], Default: false.
160
+
161
+ #invokedynamic.log.globals=false
162
+
163
+ # Maximum call site failures after which to inline cache.
164
+ # Options: [Integer], Default: 1000.
165
+
166
+ #invokedynamic.maxfail=1000
167
+
168
+ # Maximum polymorphism of PIC binding.
169
+ # Options: [Integer], Default: 6.
170
+
171
+ #invokedynamic.maxpoly=6
172
+
173
+ # Enable all safe (but maybe not fast) uses of invokedynamic.
174
+ # Options: [true, false], Default: false.
175
+
176
+ #invokedynamic.safe=false
177
+
178
+
179
+ ################################################################################
180
+ # jit
181
+ ################################################################################
182
+
183
+ # Run the JIT compiler in a background thread.
184
+ # Options: [true, false], Default: true.
185
+
186
+ #jit.background=true
187
+
188
+ # Cache jitted method in-memory bodies across runtimes and loads.
189
+ # Options: [true, false], Default: true.
190
+
191
+ #jit.cache=true
192
+
193
+ # Save jitted methods to <dir> as they're compiled, for future runs.
194
+ # Options: [dir], Default: null.
195
+
196
+ #jit.codeCache=
197
+
198
+ # Log loading of JITed bytecode.
199
+ # Options: [true, false], Default: false.
200
+
201
+ #jit.debug=false
202
+
203
+ # Enable stdout dumping of JITed bytecode.
204
+ # Options: [true, false], Default: false.
205
+
206
+ #jit.dumping=false
207
+
208
+ # Exclude methods from JIT. Comma delimited.
209
+ # Options: [ClsOrMod, ClsOrMod::method_name, -::method_name], Default: .
210
+
211
+ #jit.exclude=
212
+
213
+ # Log a message every n methods JIT compiled.
214
+ # Options: [Integer], Default: 0.
215
+
216
+ #jit.logEvery=0
217
+
218
+ # Enable JIT logging (reports successful compilation).
219
+ # Options: [true, false], Default: false.
220
+
221
+ #jit.logging=false
222
+
223
+ # Enable verbose JIT logging (reports failed compilation).
224
+ # Options: [true, false], Default: false.
225
+
226
+ #jit.logging.verbose=false
227
+
228
+ # Set the max count of active methods eligible for JIT-compilation.
229
+ # Options: [Integer], Default: 4096.
230
+
231
+ #jit.max=4096
232
+
233
+ # Set the maximum full-class byte size allowed for jitted methods.
234
+ # Options: [Integer], Default: 30000.
235
+
236
+ #jit.maxsize=30000
237
+
238
+ # Set the JIT threshold to the specified method invocation count.
239
+ # Options: [Integer], Default: 50.
240
+
241
+ #jit.threshold=50
242
+
243
+
244
+ ################################################################################
245
+ # intermediate representation
246
+ ################################################################################
247
+
248
+ # Debug compilation of JRuby IR.
249
+ # Options: [true, false], Default: false.
250
+
251
+ #ir.compiler.debug=false
252
+
253
+ # Debug generation of JRuby IR.
254
+ # Options: [true, false], Default: false.
255
+
256
+ #ir.debug=false
257
+
258
+ # Specify comma delimeted list of passes to run after inlining a method.
259
+ # Options: [String], Default: null.
260
+
261
+ #ir.inline_passes=
262
+
263
+ # Specify comma delimeted list of passes to run.
264
+ # Options: [String], Default: null.
265
+
266
+ #ir.passes=
267
+
268
+ # [EXPT]: Profile IR code during interpretation.
269
+ # Options: [true, false], Default: false.
270
+
271
+ #ir.profile=false
272
+
273
+ # Visualization of JRuby IR.
274
+ # Options: [true, false], Default: false.
275
+
276
+ #ir.visualizer=false
277
+
278
+
279
+ ################################################################################
280
+ # native
281
+ ################################################################################
282
+
283
+ # Enable or disable C extension support.
284
+ # Options: [true, false], Default: false.
285
+
286
+ #cext.enabled=false
287
+
288
+ # Dump bytecode-generated FFI stubs to console.
289
+ # Options: [true, false], Default: false.
290
+
291
+ #ffi.compile.dump=false
292
+
293
+ # Use invokedynamic to bind FFI invocations.
294
+ # Options: [true, false], Default: false.
295
+
296
+ #ffi.compile.invokedynamic=false
297
+
298
+ # Reify FFI compiled classes.
299
+ # Options: [true, false], Default: false.
300
+
301
+ #ffi.compile.reify=false
302
+
303
+ # Number of FFI invocations before generating a bytecode stub.
304
+ # Options: [Integer], Default: 100.
305
+
306
+ #ffi.compile.threshold=100
307
+
308
+ # Enable/disable native code, including POSIX features and C exts.
309
+ # Options: [true, false], Default: true.
310
+
311
+ #native.enabled=true
312
+
313
+ # Enable verbose logging of native extension loading.
314
+ # Options: [true, false], Default: false.
315
+
316
+ #native.verbose=false
317
+
318
+
319
+ ################################################################################
320
+ # thread pooling
321
+ ################################################################################
322
+
323
+ # Enable reuse of native threads via a thread pool.
324
+ # Options: [true, false], Default: false.
325
+
326
+ #thread.pool.enabled=false
327
+
328
+ # The maximum number of threads to allow in the pool.
329
+ # Options: [Integer], Default: 2147483647.
330
+
331
+ #thread.pool.max=2147483647
332
+
333
+ # The minimum number of threads to keep alive in the pool.
334
+ # Options: [Integer], Default: 0.
335
+
336
+ #thread.pool.min=0
337
+
338
+ # The maximum number of seconds to keep alive an idle thread.
339
+ # Options: [Integer], Default: 60.
340
+
341
+ #thread.pool.ttl=60
342
+
343
+ # The maximum number of threads to allow in the timeout pool.
344
+ # Options: [Integer], Default: 8.
345
+
346
+ #timeout.thread.pool.max=8
347
+
348
+
349
+ ################################################################################
350
+ # miscellaneous
351
+ ################################################################################
352
+
353
+ # Enable colorized backtraces.
354
+ # Options: [true, false], Default: false.
355
+
356
+ #backtrace.color=false
357
+
358
+ # Mask .java lines in Ruby backtraces.
359
+ # Options: [true, false], Default: false.
360
+
361
+ #backtrace.mask=false
362
+
363
+ # Set the style of exception backtraces.
364
+ # Options: [normal, raw, full, mri], Default: normal.
365
+
366
+ #backtrace.style=normal
367
+
368
+ # Specify the major Java bytecode version.
369
+ # Options: [1.5, 1.6, 1.7], Default: 1.7.
370
+
371
+ #bytecode.version=1.7
372
+
373
+ # Specify the major Ruby version to be compatible with.
374
+ # Options: [1.8, 1.9, 2.0], Default: 1.9.
375
+
376
+ #compat.version=1.9
377
+
378
+ # Generate consistent object hashes across JVMs
379
+ # Options: [true, false], Default: false.
380
+
381
+ #consistent.hashing=false
382
+
383
+ # Use lightweight Enumerator#next logic when possible.
384
+ # Options: [true, false], Default: true.
385
+
386
+ #enumerator.lightweight=true
387
+
388
+ # Use JVM coroutines for Fiber.
389
+ # Options: [true, false], Default: false.
390
+
391
+ #fiber.coroutines=false
392
+
393
+ # Use a single global lock for requires.
394
+ # Options: [true, false], Default: false.
395
+
396
+ #global.require.lock=false
397
+
398
+ # Make non-local flow jumps generate backtraces.
399
+ # Options: [true, false], Default: false.
400
+
401
+ #jump.backtrace=false
402
+
403
+ # Set in-process launching of e.g. system('ruby ...').
404
+ # Options: [true, false], Default: false.
405
+
406
+ #launch.inproc=false
407
+
408
+ # Set whether JMX management is enabled.
409
+ # Options: [true, false], Default: false.
410
+
411
+ #management.enabled=false
412
+
413
+ # Do a true process-obliterating native exec for Kernel#exec.
414
+ # Options: [true, false], Default: true.
415
+
416
+ #native.exec=true
417
+
418
+ # Use native impls for parts of net/protocol.
419
+ # Options: [true, false], Default: false.
420
+
421
+ #native.net.protocol=false
422
+
423
+ # Prefer IPv4 network stack
424
+ # Options: [true, false], Default: true.
425
+
426
+ #net.preferIPv4=true
427
+
428
+ # Enable or disable ObjectSpace.each_object.
429
+ # Options: [true, false], Default: false.
430
+
431
+ #objectspace.enabled=false
432
+
433
+ # Do not unwrap process streams (issue on some recent JVMs).
434
+ # Options: [true, false], Default: false.
435
+
436
+ #process.noUnwrap=false
437
+
438
+ # Use reflection for binding methods, not generated bytecode.
439
+ # Options: [true, false], Default: false.
440
+
441
+ #reflected.handles=false
442
+
443
+ # Before instantiation, stand up a real Java class for every Ruby class.
444
+ # Options: [true, false], Default: false.
445
+
446
+ #reify.classes=false
447
+
448
+ # Log errors during reification (reify.classes=true).
449
+ # Options: [true, false], Default: false.
450
+
451
+ #reify.logErrors=false
452
+
453
+ # Attempt to expand instance vars into Java fields
454
+ # Options: [true, false], Default: false.
455
+
456
+ #reify.variables=false
457
+
458
+ # Enable or disable SipHash for String hash function.
459
+ # Options: [true, false], Default: false.
460
+
461
+ #siphash.enabled=false
462
+
463
+ # Set the signal used for dumping thread stacks.
464
+ # Options: [USR1, USR2, etc], Default: USR2.
465
+
466
+ #thread.dump.signal=USR2
467
+
468
+
469
+ ################################################################################
470
+ # debugging and logging
471
+ ################################################################################
472
+
473
+ # Set whether full traces are enabled (c-call/c-return).
474
+ # Options: [true, false], Default: false.
475
+
476
+ #debug.fullTrace=false
477
+
478
+ # Log externally-launched processes.
479
+ # Options: [true, false], Default: false.
480
+
481
+ #debug.launch=false
482
+
483
+ # Log require/load file searches.
484
+ # Options: [true, false], Default: false.
485
+
486
+ #debug.loadService=false
487
+
488
+ # Log require/load parse+evaluate times.
489
+ # Options: [true, false], Default: false.
490
+
491
+ #debug.loadService.timing=false
492
+
493
+ # disables JRuby impl script loads and prints parse exceptions
494
+ # Options: [true, false], Default: false.
495
+
496
+ #debug.parser=false
497
+
498
+ # Print which script is executed by '-S' flag.
499
+ # Options: [true, false], Default: false.
500
+
501
+ #debug.scriptResolution=false
502
+
503
+ # Dump class + instance var names on first new of Object subclasses.
504
+ # Options: [true, false], Default: false.
505
+
506
+ #dump.variables=false
507
+
508
+ # Generate backtraces for heavily-used Errno exceptions (EAGAIN).
509
+ # Options: [true, false], Default: false.
510
+
511
+ #errno.backtrace=false
512
+
513
+ # Log every time an exception backtrace is generated.
514
+ # Options: [true, false], Default: false.
515
+
516
+ #log.backtraces=false
517
+
518
+ # Log every time a Kernel#caller backtrace is generated.
519
+ # Options: [true, false], Default: false.
520
+
521
+ #log.callers=false
522
+
523
+ # Log every time an exception is constructed.
524
+ # Options: [true, false], Default: false.
525
+
526
+ #log.exceptions=false
527
+
528
+ # Log every time a built-in warning backtrace is generated.
529
+ # Options: [true, false], Default: false.
530
+
531
+ #log.warnings=false
532
+
533
+ # Use specified class for logging.
534
+ # Options: [class name], Default: org.jruby.util.log.JavaUtilLoggingLogger.
535
+
536
+ #logger.class=org.jruby.util.log.JavaUtilLoggingLogger
537
+
538
+ # Generate backtraces for heavily-used Errno exceptions (EAGAIN).
539
+ # Options: [true, false], Default: false.
540
+
541
+ #stop_iteration.backtrace=false
542
+
543
+
544
+ ################################################################################
545
+ # java integration
546
+ ################################################################################
547
+
548
+ # Use java.lang.reflect.Proxy for interface impl.
549
+ # Options: [true, false], Default: false.
550
+
551
+ #interfaces.useProxy=false
552
+
553
+ # Use generated handles instead of reflection for calling Java.
554
+ # Options: [true, false], Default: false.
555
+
556
+ #java.handles=false
557
+
558
+ # Log whether setAccessible is working.
559
+ # Options: [true, false], Default: false.
560
+
561
+ #ji.logCanSetAccessible=false
562
+
563
+ # Extend Java classes without using a proxy object.
564
+ # Options: [true, false], Default: false.
565
+
566
+ #ji.newStyleExtension=false
567
+
568
+ # Cache Java object wrappers between calls.
569
+ # Options: [true, false], Default: true.
570
+
571
+ #ji.objectProxyCache=true
572
+
573
+ # Allow external envs to replace JI proxy class factory
574
+ # Options: [String], Default: null.
575
+
576
+ #ji.proxyClassFactory=
577
+
578
+ # Try to set inaccessible Java methods to be accessible.
579
+ # Options: [true, false], Default: true.
580
+
581
+ #ji.setAccessible=true
582
+
583
+ # Allow Capitalized Java pacakge names.
584
+ # Options: [true, false], Default: false.
585
+
586
+ #ji.upper.case.package.name.allowed=false
587
+
588
+
589
+ ################################################################################
590
+ # profiling
591
+ ################################################################################
592
+
593
+ # Maximum number of methods to consider for profiling.
594
+ # Options: [Integer], Default: 100000.
595
+
596
+ #profile.max.methods=100000
597
+
598
+
599
+ ################################################################################
600
+ # command line options
601
+ ################################################################################
602
+
603
+ # Wrap execution with a gets() loop. Same as -n.
604
+ # Options: [true, false], Default: false.
605
+
606
+ #cli.assume.loop=false
607
+
608
+ # Print $_ after each execution of script. Same as -p.
609
+ # Options: [true, false], Default: false.
610
+
611
+ #cli.assume.print=false
612
+
613
+ # Split $_ into $F for -p or -n. Same as -a.
614
+ # Options: [true, false], Default: false.
615
+
616
+ #cli.autosplit=false
617
+
618
+ # Set autosplit separator. Same as -F.
619
+ # Options: [String], Default: null.
620
+
621
+ #cli.autosplit.separator=
622
+
623
+ # Backup extension for in-place ARGV files. Same as -i.
624
+ # Options: [String], Default: null.
625
+
626
+ #cli.backup.extension=
627
+
628
+ # Print target script bytecode to stderr. Same as --bytecode.
629
+ # Options: [true, false], Default: false.
630
+
631
+ #cli.bytecode=false
632
+
633
+ # Check syntax of target script. Same as -c but runs script.
634
+ # Options: [true, false], Default: false.
635
+
636
+ #cli.check.syntax=false
637
+
638
+ # Print copyright to stderr. Same as --copyright but runs script.
639
+ # Options: [true, false], Default: false.
640
+
641
+ #cli.copyright=false
642
+
643
+ # Enable debug mode logging. Same as -d.
644
+ # Options: [true, false], Default: false.
645
+
646
+ #cli.debug=false
647
+
648
+ # Encoding name to treat external data.
649
+ # Options: [String], Default: null.
650
+
651
+ #cli.encoding.external=
652
+
653
+ # Encoding name to use internally.
654
+ # Options: [String], Default: null.
655
+
656
+ #cli.encoding.internal=
657
+
658
+ # Print command-line usage. Same as --help but runs script.
659
+ # Options: [true, false], Default: false.
660
+
661
+ #cli.help=false
662
+
663
+ # Set kcode character set. Same as -K (1.8).
664
+ # Options: [NIL, NONE, UTF8, SJIS, EUC], Default: NONE.
665
+
666
+ #cli.kcode=NONE
667
+
668
+ # Load a bundler Gemfile in cwd before running. Same as -G.
669
+ # Options: [true, false], Default: false.
670
+
671
+ #cli.load.gemfile=false
672
+
673
+ # Enable parser debug logging. Same as -y.
674
+ # Options: [true, false], Default: false.
675
+
676
+ #cli.parser.debug=false
677
+
678
+ # Enable line ending processing. Same as -l.
679
+ # Options: [true, false], Default: false.
680
+
681
+ #cli.process.line.ends=false
682
+
683
+ # Enable instrumented profiling modes.
684
+ # Options: [OFF, API, FLAT, GRAPH, HTML, JSON], Default: OFF.
685
+
686
+ #cli.profiling.mode=OFF
687
+
688
+ # Print config properties. Same as --properties but runs script.
689
+ # Options: [true, false], Default: false.
690
+
691
+ #cli.properties=false
692
+
693
+ # Default record separator.
694
+ # Options: [String], Default: "\n".
695
+
696
+ #cli.record.separator="\n"
697
+
698
+ # Enable/disable RubyGems.
699
+ # Options: [true, false], Default: true.
700
+
701
+ #cli.rubygems.enable=true
702
+
703
+ # Strip text before shebang in script. Same as -x.
704
+ # Options: [true, false], Default: false.
705
+
706
+ #cli.strip.header=false
707
+
708
+ # Verbose mode, as -w or -W2. Sets default for cli.warning.level.
709
+ # Options: [true, false], Default: false.
710
+
711
+ #cli.verbose=false
712
+
713
+ # Print version to stderr. Same as --version.
714
+ # Options: [true, false], Default: false.
715
+
716
+ #cli.version=false
717
+
718
+ # Warning level (off=0,normal=1,on=2). Same as -W.
719
+ # Options: [NIL, FALSE, TRUE], Default: FALSE.
720
+
721
+ #cli.warning.level=FALSE
722
+
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'benchmark-ips'
4
+ gem 'jrjackson', '~> 0.2.3'
5
+ gem 'multi_json', '~> 1.0'
6
+ gem 'atomic', '~> 1.1.14'