haxe-rails 0.1.2 → 0.1.3

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: 821faecc9b1be59847124822ac9224fc3b4d5e85
4
- data.tar.gz: 677ddf6bcb9222084499dccbf10e0d73bbd91b25
3
+ metadata.gz: 7f88ba3153de3659513c4ad4f8bfc842ab8cb53a
4
+ data.tar.gz: 4e78efeba41744bbb4af47d3a3ce982ff0b51a01
5
5
  SHA512:
6
- metadata.gz: b8666d332bbcd33016f4636fbe1eceb031905628c12fd51668a846fb0d76f7412ed95884e396ad07e6c49bcbd8f51e90412be704db6e65e4dbe5bfb4856b62e3
7
- data.tar.gz: e90b0e4e87132745bcb97ca9fd0570f9e81f6eb8f333b23ded3be7e437bacbb3e711e0017d4346db03142a9073e775841daae62b9476e5167ddd78d71f52bcf2
6
+ metadata.gz: e33b1dd5bf5f6711db1a7f377a6641621c8ec277755cba3e91520cf184deabde82196665e6740e803296e72b7f95b19c91fc4881330b4bf80a7f48ba70b2e9a8
7
+ data.tar.gz: 7cf0bc19fda98505a87639358aac42861fc465b22834403de405f81bab089bef0705f266740b9a6139fbfb07fc3476ecf1f87780e30e8019ee59021bb3c045b2
@@ -1,12 +1,9 @@
1
1
  require 'tilt/template'
2
+ require 'haxe/rails/compiler'
2
3
 
3
4
  module Haxe
4
5
  module Rails
5
6
  class Template < ::Tilt::Template
6
- def initialize_engine
7
- require 'haxe/rails/compiler'
8
- end
9
-
10
7
  def prepare
11
8
  end
12
9
 
@@ -1,5 +1,5 @@
1
1
  module Haxe
2
2
  module Rails
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
@@ -0,0 +1,5 @@
1
+ class Main:
2
+
3
+ def __init__(self):
4
+ pass
5
+
@@ -0,0 +1,4 @@
1
+ (function (console) { "use strict";
2
+ var Main = function() {
3
+ };
4
+ })(typeof console != "undefined" ? console : {log:function(){}});
@@ -1,5 +1,5 @@
1
1
  describe Haxe::Rails do
2
2
  describe 'Version' do
3
- it { expect(Haxe::Rails::VERSION).to eq '0.1.2' }
3
+ it { expect(Haxe::Rails::VERSION).to eq '0.1.3' }
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haxe-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - k-motoyan
@@ -115,8 +115,10 @@ files:
115
115
  - spec/fixtures/haxe_projects/fail_compile/compile.hxml
116
116
  - spec/fixtures/haxe_projects/target_python/Main.hx
117
117
  - spec/fixtures/haxe_projects/target_python/compile.hxml
118
+ - spec/fixtures/haxe_projects/target_python/main.py
118
119
  - spec/fixtures/haxe_projects/will_compile/Main.hx
119
120
  - spec/fixtures/haxe_projects/will_compile/compile.hxml
121
+ - spec/fixtures/haxe_projects/will_compile/main.js
120
122
  - spec/haxe-rails_spec.rb
121
123
  - spec/haxe/rails/compiler_spec.rb
122
124
  - spec/haxe/rails/template_spec.rb
@@ -150,8 +152,10 @@ test_files:
150
152
  - spec/fixtures/haxe_projects/fail_compile/Main.hx
151
153
  - spec/fixtures/haxe_projects/target_python/compile.hxml
152
154
  - spec/fixtures/haxe_projects/target_python/Main.hx
155
+ - spec/fixtures/haxe_projects/target_python/main.py
153
156
  - spec/fixtures/haxe_projects/will_compile/compile.hxml
154
157
  - spec/fixtures/haxe_projects/will_compile/Main.hx
158
+ - spec/fixtures/haxe_projects/will_compile/main.js
155
159
  - spec/haxe/rails/compiler_spec.rb
156
160
  - spec/haxe/rails/template_spec.rb
157
161
  - spec/haxe-rails_spec.rb