jadeite 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
1
+ require 'bundler'
2
+ Bundler.require
3
+ require 'jadeite'
1
4
  require 'benchmark'
2
- require '../lib/jadeite'
3
- require '../lib/jadeite/environment'
4
5
 
5
6
  TEMPLATES = {
6
7
  :form => {
@@ -1,5 +1,5 @@
1
+ require "nodejs"
1
2
  module Jadeite
2
- end
3
-
4
- require "jadeite/version"
5
- require "jadeite/environment"
3
+ require "jadeite/environment"
4
+ require "jadeite/version"
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Jadeite
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -1,5 +1,3 @@
1
- require "nodejs/environment"
2
- require "nodejs/module"
3
1
  module NodeJS
4
2
  @builtins = {}
5
3
  def self.register_builtin(sym, klass)
@@ -8,6 +6,7 @@ module NodeJS
8
6
  def self.builtins
9
7
  @builtins
10
8
  end
11
-
9
+ require "nodejs/environment"
10
+ require "nodejs/module"
12
11
  require "nodejs/builtins"
13
12
  end
@@ -3,8 +3,8 @@ require 'jadeite'
3
3
 
4
4
  describe "Jadeite" do
5
5
  let(:template_str) {
6
- <<-jade
7
- p Hello \#{who}
6
+ <<-jade.strip
7
+ p Hello \#{who}
8
8
  - if (awesome)
9
9
  em Pretty awesome
10
10
  p=a.nested.title
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jadeite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: