bson 3.0.3-java → 3.0.4-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e88c6048a0eb0d05b03bfd1b061b1b5cb148782
4
- data.tar.gz: 7d3f84be44c5aa8c886a289c88dfc291f30219f9
3
+ metadata.gz: e15a83a3228aabbbe0ba970b02766a67ce81d422
4
+ data.tar.gz: a57404f1c8ada4b0473cd877d2c0b0a6dd73c3f6
5
5
  SHA512:
6
- metadata.gz: a682006a541b2262c7f42d37d7d59a3dd4e30fd854d52b941f5fd6a5f5c2abfbbe7ab6a97878db81ba3b67fe06867d8f7dfefc6d0a2b7eba4d7c8b2898efce20
7
- data.tar.gz: af9f13114018b55862e9c81cbf637ba34058eeecaa00f7e4caced08c3e303a6dc7c3d6e8b655812a186fbe426891c0d1922811e1355b7b66e557df10a4c76df5
6
+ metadata.gz: 3c2aaf5896819ad43dca99fe7ec16ac1a09e33e4a7749c37e1c016a67f0dca80b9121c606e50c1985867c2869b228c1bfd5ce776143aceb46d1b163b95f7e1c4
7
+ data.tar.gz: 270b657d4d7e0e3842fdf2e1bbfbd25afc36301d5ded2551941eb430ace247b1f2109c7c586d0a741410195c3cfd2e75ca63540fd40e6b7c9c01e681ce24b31a
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,6 +1,12 @@
1
1
  BSON Changelog
2
2
  ==============
3
3
 
4
+ ## 3.0.4
5
+
6
+ ### Bug Fixes
7
+
8
+ * Fixed `BSON::ObjectId.legal?` regular expression to properly check beginning and end of strings.
9
+
4
10
  ## 3.0.3
5
11
 
6
12
  ### Bug Fixes
Binary file
@@ -282,7 +282,7 @@ module BSON
282
282
  #
283
283
  # @since 2.0.0
284
284
  def legal?(string)
285
- string.to_s =~ /^[0-9a-f]{24}$/i ? true : false
285
+ string.to_s =~ /\A[0-9a-f]{24}\z/i ? true : false
286
286
  end
287
287
 
288
288
  # Executes the provided block only if the size of the provided object is
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
 
15
15
  module BSON
16
- VERSION = "3.0.3"
16
+ VERSION = "3.0.4"
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bson
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: java
6
6
  authors:
7
7
  - Tyler Brock
@@ -34,7 +34,7 @@ cert_chain:
34
34
  XZOS48LlWh15EG4yZo/gRzqNAW2LUIkYA5eMS2Kp6r+KV8IBUO/LaHdrXbdilpa8
35
35
  BRsuCo7UZDbFVRns04HLyjVvkj+K/ywIcdKdS0csz5M=
36
36
  -----END CERTIFICATE-----
37
- date: 2015-05-19 00:00:00.000000000 Z
37
+ date: 2015-06-04 00:00:00.000000000 Z
38
38
  dependencies: []
39
39
  description: A full featured BSON specification implementation, in Ruby
40
40
  email:
metadata.gz.sig CHANGED
Binary file