golf 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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