Skip to content

Commit 26a5cb0

Browse files
committed
Minor doc tweaks, and new console raketask
1 parent 9ea4e24 commit 26a5cb0

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# BitArray: A simple bit-array/bitfield library in pure Ruby
22

3-
Basic, pure Ruby bit field. Works well for Bloom filters (the use case for which I originally wrote it).
3+
A simple, pure-Ruby 'bit field' object. Works well for Bloom filters (the use case for which I originally wrote it).
44

55
Originally written in 2007 and left without significant update until 2017, it has now been updated to work within a typical, modern Ruby environment while maintaining the same API.
66

@@ -63,7 +63,7 @@ ba.to_s # "0000111111110000"
6363

6464

6565
## History
66-
- 1.2 in 2018 (Added option to skip reverse the bits for each byte)
66+
- 1.2 in 2018 (Added option to skip reverse the bits for each byte by @dalibor)
6767
- 1.1 in 2018 (fixed a significant bug)
6868
- 1.0 in 2017 (updated for modern Ruby, more efficient storage, and 10th birthday)
6969
- 0.0.1 in 2012 (original v5 released on GitHub)
@@ -77,7 +77,7 @@ ba.to_s # "0000111111110000"
7777

7878
Thanks to Michael Slade for encouraging me to update this library on its 10th birthday and for suggesting finally using String's getbyte and setbyte methods now that we're all on 1.9+ compatible implementations.
7979

80-
Further thanks to @tdeo, @JoshuaSP, and @m1lt0n for pull requests.
80+
Further thanks to @tdeo, @JoshuaSP, @dalibor and @m1lt0n for pull requests.
8181

8282
## License
8383

Rakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,10 @@ require "bundler/gem_tasks"
22
require "rake/testtask"
33

44
Rake::TestTask.new
5+
56
task :default => :test
7+
8+
desc "Open an irb session to work with bitarray"
9+
task :console do
10+
sh "irb -rubygems -I lib -r bitarray"
11+
end

0 commit comments

Comments
 (0)