bson 2.0.0.rc-java → 2.1.0-java

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bson might be problematic. Click here for more details.

Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/CHANGELOG.md +9 -0
  5. data/LICENSE +1 -1
  6. data/NOTICE +1 -1
  7. data/README.md +7 -1
  8. data/Rakefile +25 -8
  9. data/lib/bson-ruby.jar +0 -0
  10. data/lib/bson.rb +3 -1
  11. data/lib/bson/array.rb +18 -1
  12. data/lib/bson/binary.rb +56 -1
  13. data/lib/bson/boolean.rb +1 -1
  14. data/lib/bson/code.rb +1 -1
  15. data/lib/bson/code_with_scope.rb +7 -5
  16. data/lib/bson/date.rb +44 -0
  17. data/lib/bson/date_time.rb +65 -0
  18. data/lib/bson/document.rb +1 -1
  19. data/lib/bson/encodable.rb +1 -1
  20. data/lib/bson/environment.rb +13 -1
  21. data/lib/bson/false_class.rb +1 -1
  22. data/lib/bson/float.rb +1 -1
  23. data/lib/bson/hash.rb +3 -3
  24. data/lib/bson/int32.rb +1 -1
  25. data/lib/bson/int64.rb +1 -1
  26. data/lib/bson/integer.rb +1 -1
  27. data/lib/bson/json.rb +1 -3
  28. data/lib/bson/max_key.rb +1 -1
  29. data/lib/bson/min_key.rb +1 -1
  30. data/lib/bson/nil_class.rb +1 -1
  31. data/lib/bson/object_id.rb +79 -6
  32. data/lib/bson/regexp.rb +1 -1
  33. data/lib/bson/registry.rb +1 -1
  34. data/lib/bson/specialized.rb +1 -1
  35. data/lib/bson/string.rb +20 -3
  36. data/lib/bson/symbol.rb +2 -2
  37. data/lib/bson/time.rb +1 -1
  38. data/lib/bson/timestamp.rb +1 -1
  39. data/lib/bson/true_class.rb +1 -1
  40. data/lib/bson/undefined.rb +1 -1
  41. data/lib/bson/version.rb +2 -2
  42. data/spec/bson/array_spec.rb +28 -1
  43. data/spec/bson/binary_spec.rb +16 -1
  44. data/spec/bson/boolean_spec.rb +1 -1
  45. data/spec/bson/code_spec.rb +1 -1
  46. data/spec/bson/code_with_scope_spec.rb +34 -7
  47. data/spec/bson/date_spec.rb +39 -0
  48. data/spec/bson/date_time_spec.rb +37 -0
  49. data/spec/bson/document_spec.rb +1 -1
  50. data/spec/bson/false_class_spec.rb +1 -1
  51. data/spec/bson/float_spec.rb +1 -1
  52. data/spec/bson/hash_spec.rb +1 -1
  53. data/spec/bson/int32_spec.rb +1 -1
  54. data/spec/bson/int64_spec.rb +1 -1
  55. data/spec/bson/integer_spec.rb +1 -1
  56. data/spec/bson/json_spec.rb +1 -1
  57. data/spec/bson/max_key_spec.rb +1 -1
  58. data/spec/bson/min_key_spec.rb +1 -1
  59. data/spec/bson/nil_class_spec.rb +1 -1
  60. data/spec/bson/object_id_spec.rb +110 -1
  61. data/spec/bson/regexp_spec.rb +1 -1
  62. data/spec/bson/registry_spec.rb +1 -1
  63. data/spec/bson/string_spec.rb +29 -2
  64. data/spec/bson/symbol_spec.rb +11 -1
  65. data/spec/bson/time_spec.rb +1 -1
  66. data/spec/bson/timestamp_spec.rb +1 -1
  67. data/spec/bson/true_class_spec.rb +1 -1
  68. data/spec/bson/undefined_spec.rb +1 -1
  69. data/spec/bson_spec.rb +1 -1
  70. data/spec/spec_helper.rb +3 -2
  71. data/spec/support/shared_examples.rb +1 -1
  72. metadata +16 -12
  73. metadata.gz.sig +0 -0
metadata.gz.sig CHANGED
Binary file