golf 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/golf/compiler.rb CHANGED
@@ -167,8 +167,6 @@ module Golf
167
167
  (doc/'//style').remove
168
168
  (doc/'//script').remove
169
169
 
170
- puts doc.to_s
171
-
172
170
  arr["html"] = doc.to_s
173
171
 
174
172
  #load from files, ".js.coffee", etc
@@ -181,7 +179,7 @@ module Golf
181
179
  arr[output_type] = filtered_read(file_path)
182
180
  else
183
181
  extension = file_path.split('/').last.split('.').last
184
- arr[extension] = File.read(file_path)
182
+ arr[extension] = File.read(file_path) unless extension == "html"
185
183
  end
186
184
  end
187
185
  arr
data/lib/golf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Golf
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: golf
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.2
5
+ version: 0.7.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Micha Niskin, Alan Dipert, Julio Capote