ragel-bitmap 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: '092e46dd50337f51b96bc571bcabb3cb157c903a65469256f923df24006dcca4'
4
- data.tar.gz: 965528c96ccd950bbd515dd57cf7213debeacb1a1f2531b22fc503e4c991401d
3
+ metadata.gz: 81ee241cad1db7b792b0d42ce470433c0577cd8845082743105b63a6033f2258
4
+ data.tar.gz: 36166c5ed4601c8f8dd4364119a5000164628e1d50656c4b99ebe718870fa4cf
5
5
  SHA512:
6
- metadata.gz: 0b27d046b012d2305cf884abc5c012724b40aaec5095c41aed8f19cd3ed2536cb23c5e878d79cdcd8c55f51d137adc5a481014e139cb76b2dcca3fb5535d6a49
7
- data.tar.gz: e693f71d64e87a3c7cf25d30c554afc059ca288911feb7e3c3ad0835dc641f800c19d50df24eec78b8a4aa996a9d4e076981f7ec64adc589fd84a82ba07ed1e0
6
+ metadata.gz: 7f4e3ad126a77e79b80527a2825fa05566e02c30c24ca1f0766af2448d8aaa47ec9e199c48ac3eaf302f5bfe74e3ca32f2e8c60089384243ef63ff23de16c6df
7
+ data.tar.gz: 47de8300a7b8f87c4dd20b08e37a4a9bb12da2d7402d3bb97472bb12e819ec4cff541eabf3079f4a174c8d92eefe206273886b4c5e8e9edbb61964907d1b4847
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ragel-bitmap (0.2.0)
4
+ ragel-bitmap (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/ragel/bitmap.rb CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  require 'ragel/bitmap/version'
4
4
 
5
+ # Polyfilling `getbyte` in order to support ruby 1.8
6
+ unless ''.respond_to?(:getbyte)
7
+ class String
8
+ def getbyte(index)
9
+ self[index].ord
10
+ end
11
+ end
12
+ end
13
+
5
14
  module Ragel
6
15
  module Bitmap
7
16
  class Array8
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ragel
4
4
  module Bitmap
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ragel-bitmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Deisz