File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ ba.total_set
48
48
```
49
49
50
50
## History
51
- - 1.0 in 2017 (updated for modern Ruby, more efficient storage, and 10th birthday)
51
+ - 1.0.1 in 2018 (Changed bits order to be compliant with Redis' setbit/getbit and fixed initialize with custom field)
52
+ - 1.0.0 in 2017 (updated for modern Ruby, more efficient storage, and 10th birthday)
52
53
- 0.0.1 in 2012 (original v5 released on GitHub)
53
54
- v5 (added support for flags being on by default, instead of off)
54
55
- v4 (fixed bug where setting 0 bits to 0 caused a set to 1)
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ class BitArray
3
3
attr_reader :field
4
4
include Enumerable
5
5
6
- VERSION = "1.0 .0"
6
+ VERSION = "1.1 .0"
7
7
8
8
def initialize ( size , field = nil )
9
9
@size = size
You can’t perform that action at this time.
0 commit comments