js2 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.0.8 2009-12-23
2
+ * fixed unique file problem in compilition files
3
+
1
4
  == 0.0.7 2009-12-23
2
5
  * Added Observable.js
3
6
  * Added JS2.App Class
@@ -53,7 +53,7 @@ class JS2::Process::FileHandler
53
53
  to_write = filename.sub(/^#{@read_dir}/, @write_dir).sub(/\.js2$/, '.comp.js')
54
54
  str = ""
55
55
 
56
- compilation.each do |f|
56
+ compilation.uniq.each do |f|
57
57
  read_file = f.sub(/^#{@read_dir}/, @write_dir).sub(/\.js2$/, '.js')
58
58
  str << File.read(read_file) + "\n"
59
59
  end
data/lib/js2.rb CHANGED
@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module Js2
5
- VERSION = '0.0.7'
5
+ VERSION = '0.0.8'
6
6
  end
7
7
 
8
8
  module JS2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: js2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Su