chipper 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/ext/src/chipper.cc +1 -1
  2. data/ext/src/version.h +1 -1
  3. metadata +2 -2
@@ -61,7 +61,7 @@ void remove(char *string, const char *pattern) {
61
61
  char *sanitized = (char *)malloc(strlen(string) + 1), *src = string, *dst = sanitized;
62
62
 
63
63
  while (*src) {
64
- if (memcmp(src, pattern, width) == 0)
64
+ if (strncmp(src, pattern, width) == 0)
65
65
  src += width;
66
66
  else
67
67
  *dst++ = *src++;
@@ -1 +1 @@
1
- #define CHIPPER_VERSION "0.4.3"
1
+ #define CHIPPER_VERSION "0.4.4"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 3
9
- version: 0.4.3
8
+ - 4
9
+ version: 0.4.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bharanee Rathna