Permalink
Browse files

update version to 0.1.8.5

  • Loading branch information...
1 parent c9c51b9 commit 9801331b3b74dcb78c33a1cec0ba869544948882 @ZhangHanDong committed Mar 20, 2011
Showing with 8 additions and 1 deletion.
  1. +1 −1 ruby_extendsions.gemspec
  2. +7 −0 spec/array_spec.rb
View
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = "ruby_extendsions"
- s.version = "0.1.8.4"
+ s.version = "0.1.8.5"
s.platform = Gem::Platform::RUBY
s.authors = ["blackanger"]
s.email = ["blackanger.z@gmail.com"]
View
@@ -60,6 +60,13 @@
arr.should be == ['a', ['1','2','cddd'], 'd', '1']
brr.stringify_items.should be == ["b", ["3", "4", "false"], "b", "2"]
brr.should be == [:b, [3,4,false], :b,2]
+
+ arr2 = [1,4,6,'sf', 'fs', 8, 2]
+ arr2.b_include?('sf').should be_true
+ arr2.b_include?(1).should be_true
+ arr2.b_include?('fs').should be_true
+ arr2.b_include?('8').should be_false
+
end
end

0 comments on commit 9801331

Please sign in to comment.