jsmin_c 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/jsmin_c.c +1 -1
  2. data/jsmin_c.gemspec +2 -2
  3. metadata +3 -3
data/jsmin_c.c CHANGED
@@ -133,7 +133,7 @@ next()
133
133
  static inline void put_to_dest(int c)
134
134
  {
135
135
  /* this should be impossible? */
136
- if (desti < src_len)
136
+ if (desti < src_len+1)
137
137
  dest[desti++] = c;
138
138
  else
139
139
  rb_raise(rb_eIndexError, "JSMIN target file is larger than source.");
data/jsmin_c.gemspec CHANGED
@@ -2,8 +2,8 @@ Gem::Specification.new do |s|
2
2
  s.name = 'jsmin_c'
3
3
  s.author = 'Domen Puncer'
4
4
  s.email = 'domen@cba.si'
5
- s.version = '1.0.0'
6
- s.date = '2010-02-26'
5
+ s.version = '1.0.1'
6
+ s.date = '2010-03-03'
7
7
  s.homepage = 'http://www.riassence.org/'
8
8
  s.summary = 'Riassence JSMin Wrapper'
9
9
  s.has_rdoc = true
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Domen Puncer
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-02-26 00:00:00 +02:00
17
+ date: 2010-03-03 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20