rbcss_rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3653cc118637ba7d43f007db19ac3d2808b49b33
4
- data.tar.gz: ed714a43215d4cf137f2f8b73a508a491494ebf5
3
+ metadata.gz: 3ea73791995d659d1b137d79dc4a01cf81f4543c
4
+ data.tar.gz: 537a480bbdc74e0ee0e1b63b796c365a55bee510
5
5
  SHA512:
6
- metadata.gz: c5c6403e5687a2ecbb708248b642a2c85b2e835f9633188897865840a8ad99a3e40f6abfb9e98a48cd7dce191dbda6074e251b636300226647f9ffa6f74e0ae5
7
- data.tar.gz: 22011ac216e681db3807763d9b15d49700a80b56e5ae7157ffa4b58d2ae9946e13075f5cd64be2bee324712ab82a29ea027cd14a922192e3009d90508f3ae9d5
6
+ metadata.gz: f6c07bee1c6cfda8afcbe23a8695cf4245bebb0e86ee5967068508a578942b9f880d0d740705760237a6be73e7b920227a4c53cfec401e1b52c946b20cc74f87
7
+ data.tar.gz: 589edcefb30a7af9cf117b10abbc28279bdcda657830f58d9fc1435e31f235347e233f2c0695acdf3964f4dffc56f8f28678417d63dff2f19451fe7fb07cae7c
@@ -1,3 +1,3 @@
1
1
  module RbcssRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/rbcss_rails.rb CHANGED
@@ -5,7 +5,7 @@ module RbcssRails
5
5
  self.default_mime_type = "text/css"
6
6
 
7
7
  def prepare
8
- @data = "$LOAD_PATH.unshift('#{File.dirname(File.expand_path(@file))}');require 'css';CSS.style do;#{File.read(@file)}\nend"
8
+ @data = "$LOAD_PATH.unshift('#{File.dirname(File.expand_path(@file))}');require 'css';css = CSS.new; css.style do;#{File.read(@file)}\nend"
9
9
  end
10
10
 
11
11
  def evaluate(scope, locals, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbcss_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Oliveira Morais
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-26 00:00:00.000000000 Z
11
+ date: 2015-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails