golf 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/golf/compiler.rb CHANGED
@@ -149,16 +149,15 @@ module Golf
149
149
  arr = {}
150
150
  css = (doc/'//style').first
151
151
  if css
152
- arr["css"] = css
152
+ arr["css"] = css.inner_html
153
153
  end
154
154
  js = (doc/'//script').first
155
155
  if js
156
- arr["js"] = js
156
+ arr["js"] = js.inner_html
157
157
  end
158
158
  (doc/'//style').remove
159
159
  (doc/'//script').remove
160
160
 
161
-
162
161
  arr["html"] = doc.to_s
163
162
 
164
163
  #load from files, ".js.coffee", etc
data/lib/golf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Golf
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.6"
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.5.5
5
+ version: 0.5.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Micha Niskin, Alan Dipert, Julio Capote