embork 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +5 -0
- data/TODO.md +16 -0
- data/bin/embork +63 -0
- data/blueprint/Borkfile +42 -0
- data/blueprint/Gemfile +13 -0
- data/blueprint/README.md +25 -0
- data/blueprint/app/app.js +11 -0
- data/blueprint/app/components/.gitkeep +0 -0
- data/blueprint/app/controllers/.gitkeep +0 -0
- data/blueprint/app/helpers/.gitkeep +0 -0
- data/blueprint/app/index.html.erb +18 -0
- data/blueprint/app/initializers/.gitkeep +0 -0
- data/blueprint/app/mixins/.gitkeep +0 -0
- data/blueprint/app/models/.gitkeep +0 -0
- data/blueprint/app/router.js +8 -0
- data/blueprint/app/routes/.gitkeep +0 -0
- data/blueprint/app/routes/index.js +1 -0
- data/blueprint/app/styles/.gitkeep +0 -0
- data/blueprint/app/styles/app.scss +3 -0
- data/blueprint/app/templates/.gitkeep +0 -0
- data/blueprint/app/templates/application.hbs +3 -0
- data/blueprint/app/templates/components/.gitkeep +0 -0
- data/blueprint/app/utils/.gitkeep +0 -0
- data/blueprint/app/views/.gitkeep +0 -0
- data/blueprint/bower.json +16 -0
- data/blueprint/bowerrc +3 -0
- data/blueprint/config/development/application.css +0 -0
- data/blueprint/config/development/application.js +12 -0
- data/blueprint/config/production/application.css +0 -0
- data/blueprint/config/production/application.js +12 -0
- data/blueprint/dotfiles +3 -0
- data/blueprint/erbfiles +5 -0
- data/blueprint/gitignore +17 -0
- data/blueprint/jshintrc +40 -0
- data/blueprint/package.json +15 -0
- data/blueprint/static/.gitkeep +0 -0
- data/blueprint/tests/.jshintrc +71 -0
- data/blueprint/tests/helpers/resolver.js +7 -0
- data/blueprint/tests/helpers/start-app.js +29 -0
- data/blueprint/tests/index.html +44 -0
- data/blueprint/tests/test-helper.js +6 -0
- data/blueprint/tests/test-loader.js +8 -0
- data/blueprint/tests/unit/.gitkeep +0 -0
- data/embork.gemspec +41 -0
- data/lib/embork.rb +23 -0
- data/lib/embork/borkfile.rb +148 -0
- data/lib/embork/build_versions.rb +21 -0
- data/lib/embork/builder.rb +156 -0
- data/lib/embork/environment.rb +90 -0
- data/lib/embork/forwarder.rb +23 -0
- data/lib/embork/generator.rb +184 -0
- data/lib/embork/logger.rb +40 -0
- data/lib/embork/pushstate.rb +16 -0
- data/lib/embork/server.rb +80 -0
- data/lib/embork/sprockets.rb +6 -0
- data/lib/embork/sprockets/ember_handlebars_compiler.rb +75 -0
- data/lib/embork/sprockets/es6_module_transpiler.rb +120 -0
- data/lib/embork/sprockets/frameworks.rb +34 -0
- data/lib/embork/sprockets/helpers.rb +45 -0
- data/lib/embork/sprockets/support/es6-module-transpiler.js +7190 -0
- data/lib/embork/sprockets/support/node_runner.js +22 -0
- data/lib/embork/version.rb +3 -0
- data/lib/string/strip.rb +27 -0
- data/spec/embork/borkfile/Borkfile.empty +0 -0
- data/spec/embork/borkfile/Borkfile.full +32 -0
- data/spec/embork/borkfile/Borkfile.rack +5 -0
- data/spec/embork/borkfile/Borkfile.relative +3 -0
- data/spec/embork/borkfile_spec.rb +119 -0
- data/spec/embork/builder/Borkfile +20 -0
- data/spec/embork/builder/app/index.html.erb +9 -0
- data/spec/embork/builder/config/production/application.css +0 -0
- data/spec/embork/builder/config/production/application.js +0 -0
- data/spec/embork/builder/config/production/deeply/nested/asset.js +0 -0
- data/spec/embork/builder/static/images/image.png +0 -0
- data/spec/embork/builder_spec.rb +95 -0
- data/spec/embork/environment_spec.rb +78 -0
- data/spec/embork/generator_spec.rb +84 -0
- data/spec/embork/server/example_app/Borkfile +1 -0
- data/spec/embork/server/example_app/app/app.js.erb +3 -0
- data/spec/embork/server/example_app/app/css/main.sass +3 -0
- data/spec/embork/server/example_app/app/index.html +9 -0
- data/spec/embork/server/example_app/build/development/application-12345.js +14 -0
- data/spec/embork/server/example_app/build/development/index.html +9 -0
- data/spec/embork/server/example_app/components/some/component.js +6 -0
- data/spec/embork/server/example_app/config/development/application.css +4 -0
- data/spec/embork/server/example_app/config/development/application.js +2 -0
- data/spec/embork/server/example_app/config/production/application.css +4 -0
- data/spec/embork/server/example_app/config/production/application.js +4 -0
- data/spec/embork/server/example_app/static/fonts/.gitkeep +0 -0
- data/spec/embork/server/example_app/static/images/.gitkeep +0 -0
- data/spec/embork/server/example_app/static/images/image.png +0 -0
- data/spec/embork/server/specimen.css +7 -0
- data/spec/embork/server/specimen.js +14 -0
- data/spec/embork/server_spec.rb +152 -0
- data/spec/embork/sprockets/ember_handlebars_compiler/amd_template.js +26 -0
- data/spec/embork/sprockets/ember_handlebars_compiler/cjs_template.js +24 -0
- data/spec/embork/sprockets/ember_handlebars_compiler/global_handlebars_template.js +17 -0
- data/spec/embork/sprockets/ember_handlebars_compiler/global_hbs_template.js +17 -0
- data/spec/embork/sprockets/ember_handlebars_compiler/my/hbs/template.hbs +5 -0
- data/spec/embork/sprockets/ember_handlebars_compiler/my_handlebars_template.js.handlebars +5 -0
- data/spec/embork/sprockets/ember_handlebars_compiler/my_hbs_template.js.hbs +5 -0
- data/spec/embork/sprockets/ember_handlebars_compiler/transformed_template.js +26 -0
- data/spec/embork/sprockets/ember_handlebars_compiler_spec.rb +82 -0
- data/spec/embork/sprockets/es6_module_transpiler/app/my/transformed/module.js +13 -0
- data/spec/embork/sprockets/es6_module_transpiler/app/my_fancy_module.js +13 -0
- data/spec/embork/sprockets/es6_module_transpiler/compiled_amd.js +20 -0
- data/spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js +20 -0
- data/spec/embork/sprockets/es6_module_transpiler/component.js +1 -0
- data/spec/embork/sprockets/es6_module_transpiler/components/some_component.js +1 -0
- data/spec/embork/sprockets/es6_module_transpiler/config/application.js +1 -0
- data/spec/embork/sprockets/es6_module_transpiler/manifest.js +20 -0
- data/spec/embork/sprockets/es6_module_transpiler/namespaced.js +20 -0
- data/spec/embork/sprockets/es6_module_transpiler/transformed.js +20 -0
- data/spec/embork/sprockets/es6_module_transpiler_spec.rb +97 -0
- data/spec/spec_helper.rb +13 -0
- metadata +468 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
define("my_fancy_module",
|
2
|
+
["math","exports"],
|
3
|
+
function(__dependency1__, __exports__) {
|
4
|
+
"use strict";
|
5
|
+
var Point = __dependency1__.Point;
|
6
|
+
var pow = __dependency1__.pow;
|
7
|
+
var sqrt = __dependency1__.sqrt;
|
8
|
+
|
9
|
+
function Segment(start, end) {
|
10
|
+
this.start = start;
|
11
|
+
this.end = end;
|
12
|
+
|
13
|
+
this.distance = sqrt(
|
14
|
+
pow(start.x - end.x, 2) +
|
15
|
+
pow(start.y - end.y, 2)
|
16
|
+
);
|
17
|
+
}
|
18
|
+
|
19
|
+
__exports__["default"] = Segment;
|
20
|
+
});
|
@@ -0,0 +1,20 @@
|
|
1
|
+
window.require.define({"my_fancy_module": function(exports, require, module) {
|
2
|
+
|
3
|
+
"use strict";
|
4
|
+
var Point = require("math").Point;
|
5
|
+
var pow = require("math").pow;
|
6
|
+
var sqrt = require("math").sqrt;
|
7
|
+
|
8
|
+
function Segment(start, end) {
|
9
|
+
this.start = start;
|
10
|
+
this.end = end;
|
11
|
+
|
12
|
+
this.distance = sqrt(
|
13
|
+
pow(start.x - end.x, 2) +
|
14
|
+
pow(start.y - end.y, 2)
|
15
|
+
);
|
16
|
+
}
|
17
|
+
|
18
|
+
exports["default"] = Segment;
|
19
|
+
|
20
|
+
}});
|
@@ -0,0 +1 @@
|
|
1
|
+
var hello;
|
@@ -0,0 +1 @@
|
|
1
|
+
var hello;
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require my_fancy_module
|
@@ -0,0 +1,20 @@
|
|
1
|
+
define("my_fancy_module",
|
2
|
+
["math","exports"],
|
3
|
+
function(__dependency1__, __exports__) {
|
4
|
+
"use strict";
|
5
|
+
var Point = __dependency1__.Point;
|
6
|
+
var pow = __dependency1__.pow;
|
7
|
+
var sqrt = __dependency1__.sqrt;
|
8
|
+
|
9
|
+
function Segment(start, end) {
|
10
|
+
this.start = start;
|
11
|
+
this.end = end;
|
12
|
+
|
13
|
+
this.distance = sqrt(
|
14
|
+
pow(start.x - end.x, 2) +
|
15
|
+
pow(start.y - end.y, 2)
|
16
|
+
);
|
17
|
+
}
|
18
|
+
|
19
|
+
__exports__["default"] = Segment;
|
20
|
+
});
|
@@ -0,0 +1,20 @@
|
|
1
|
+
define("my-package/my_fancy_module",
|
2
|
+
["math","exports"],
|
3
|
+
function(__dependency1__, __exports__) {
|
4
|
+
"use strict";
|
5
|
+
var Point = __dependency1__.Point;
|
6
|
+
var pow = __dependency1__.pow;
|
7
|
+
var sqrt = __dependency1__.sqrt;
|
8
|
+
|
9
|
+
function Segment(start, end) {
|
10
|
+
this.start = start;
|
11
|
+
this.end = end;
|
12
|
+
|
13
|
+
this.distance = sqrt(
|
14
|
+
pow(start.x - end.x, 2) +
|
15
|
+
pow(start.y - end.y, 2)
|
16
|
+
);
|
17
|
+
}
|
18
|
+
|
19
|
+
__exports__["default"] = Segment;
|
20
|
+
});
|
@@ -0,0 +1,20 @@
|
|
1
|
+
define("transformed_module",
|
2
|
+
["math","exports"],
|
3
|
+
function(__dependency1__, __exports__) {
|
4
|
+
"use strict";
|
5
|
+
var Point = __dependency1__.Point;
|
6
|
+
var pow = __dependency1__.pow;
|
7
|
+
var sqrt = __dependency1__.sqrt;
|
8
|
+
|
9
|
+
function Segment(start, end) {
|
10
|
+
this.start = start;
|
11
|
+
this.end = end;
|
12
|
+
|
13
|
+
this.distance = sqrt(
|
14
|
+
pow(start.x - end.x, 2) +
|
15
|
+
pow(start.y - end.y, 2)
|
16
|
+
);
|
17
|
+
}
|
18
|
+
|
19
|
+
__exports__["default"] = Segment;
|
20
|
+
});
|
@@ -0,0 +1,97 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
require 'embork/sprockets/es6_module_transpiler'
|
4
|
+
|
5
|
+
describe 'Embork::Sprockets::ES6ModuleTranspiler' do
|
6
|
+
let(:root_path) { File.expand_path '../es6_module_transpiler', __FILE__ }
|
7
|
+
|
8
|
+
let(:sprockets_environment) { Sprockets::Environment.new root_path }
|
9
|
+
let(:app) do
|
10
|
+
s = sprockets_environment
|
11
|
+
s.register_postprocessor 'application/javascript', Embork::Sprockets::ES6ModuleTranspiler
|
12
|
+
s.append_path 'app'
|
13
|
+
s.append_path 'components'
|
14
|
+
s.append_path 'config'
|
15
|
+
Rack::Builder.new do
|
16
|
+
run s
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
let(:amd_specimen) { File.read(File.join(root_path, 'compiled_amd.js')).strip }
|
21
|
+
|
22
|
+
it 'compiles to amd' do
|
23
|
+
get '/my_fancy_module.js'
|
24
|
+
expect(last_response).to be_ok
|
25
|
+
expect(last_response.body.strip).to eq(amd_specimen)
|
26
|
+
end
|
27
|
+
|
28
|
+
context 'CJS Mode' do
|
29
|
+
before(:all) { Embork::Sprockets::ES6ModuleTranspiler.compile_to = :cjs }
|
30
|
+
after(:all) { Embork::Sprockets::ES6ModuleTranspiler.compile_to = :amd }
|
31
|
+
|
32
|
+
let(:cjs_specimen) { File.read(File.join(root_path, 'compiled_cjs.js')).strip }
|
33
|
+
|
34
|
+
it 'compiles to cjs' do
|
35
|
+
get '/my_fancy_module.js'
|
36
|
+
expect(last_response).to be_ok
|
37
|
+
expect(last_response.body.strip).to eq(cjs_specimen)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
context 'With Transform' do
|
42
|
+
before(:all) do
|
43
|
+
transform = Proc.new do |module_name|
|
44
|
+
module_name.split('/').tap{ |parts| parts.shift }.join('_')
|
45
|
+
end
|
46
|
+
Embork::Sprockets::ES6ModuleTranspiler.transform = transform
|
47
|
+
end
|
48
|
+
|
49
|
+
after(:all) { Embork::Sprockets::ES6ModuleTranspiler.transform = nil }
|
50
|
+
|
51
|
+
let(:transformed_specimen) { File.read(File.join(root_path, 'transformed.js')).strip }
|
52
|
+
|
53
|
+
it 'transforms module name' do
|
54
|
+
get '/my/transformed/module.js'
|
55
|
+
expect(last_response).to be_ok
|
56
|
+
expect(last_response.body.strip).to eq(transformed_specimen)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
context 'With namespace' do
|
61
|
+
|
62
|
+
before(:all) do
|
63
|
+
Embork::Sprockets::ES6ModuleTranspiler.namespace = 'my-package'
|
64
|
+
end
|
65
|
+
|
66
|
+
after(:all) do
|
67
|
+
Embork::Sprockets::ES6ModuleTranspiler.namespace = nil
|
68
|
+
end
|
69
|
+
|
70
|
+
let(:namespaced_specimen) { File.read(File.join(root_path, 'namespaced.js')).strip }
|
71
|
+
|
72
|
+
it 'adds a namespace to the module name' do
|
73
|
+
get '/my_fancy_module.js'
|
74
|
+
expect(last_response).to be_ok
|
75
|
+
expect(last_response.body.strip).to eq(namespaced_specimen)
|
76
|
+
end
|
77
|
+
|
78
|
+
end
|
79
|
+
|
80
|
+
context 'Manifests and components' do
|
81
|
+
let(:manifest_specimen) { File.read(File.join(root_path, 'manifest.js')).strip }
|
82
|
+
|
83
|
+
let(:component_specimen) { File.read(File.join(root_path, 'component.js')).strip }
|
84
|
+
|
85
|
+
it 'doesn\'t compile manifests' do
|
86
|
+
get '/application.js'
|
87
|
+
expect(last_response).to be_ok
|
88
|
+
expect(last_response.body.strip).to eq(manifest_specimen)
|
89
|
+
end
|
90
|
+
|
91
|
+
it 'doesn\'t compile components' do
|
92
|
+
get '/some_component.js'
|
93
|
+
expect(last_response).to be_ok
|
94
|
+
expect(last_response.body.strip).to eq(component_specimen)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'rack/test'
|
2
|
+
|
3
|
+
ENV['RACK_ENV'] = 'test'
|
4
|
+
|
5
|
+
RSpec.configure do |config|
|
6
|
+
# Use color in STDOUT
|
7
|
+
config.color = true
|
8
|
+
|
9
|
+
# Use the specified formatter
|
10
|
+
config.formatter = :documentation # :progress, :html, :textmate
|
11
|
+
|
12
|
+
config.include Rack::Test::Methods
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,468 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: embork
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Matthew Smart
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-06-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: sprockets
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: ember-source
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.5.1.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.5.1.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: handlebars-source
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.3.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.3.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: thor
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.19.1
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.19.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rack
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: coffee-script
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: sass
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: execjs
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: barber
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: colorize
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: bundler
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.3'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.3'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rspec
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 3.0.0.beta1
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 3.0.0.beta1
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rake
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rack-test
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rb-fsevent
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: pry
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - '='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.9.12.2
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - '='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 0.9.12.2
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: compass
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: bootstrap-sass
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
description: A tool set for building ember apps.
|
266
|
+
email:
|
267
|
+
- mdsmart@gmail.com
|
268
|
+
executables:
|
269
|
+
- embork
|
270
|
+
extensions: []
|
271
|
+
extra_rdoc_files: []
|
272
|
+
files:
|
273
|
+
- ".gitignore"
|
274
|
+
- Gemfile
|
275
|
+
- LICENSE.txt
|
276
|
+
- README.md
|
277
|
+
- Rakefile
|
278
|
+
- TODO.md
|
279
|
+
- bin/embork
|
280
|
+
- blueprint/Borkfile
|
281
|
+
- blueprint/Gemfile
|
282
|
+
- blueprint/README.md
|
283
|
+
- blueprint/app/app.js
|
284
|
+
- blueprint/app/components/.gitkeep
|
285
|
+
- blueprint/app/controllers/.gitkeep
|
286
|
+
- blueprint/app/helpers/.gitkeep
|
287
|
+
- blueprint/app/index.html.erb
|
288
|
+
- blueprint/app/initializers/.gitkeep
|
289
|
+
- blueprint/app/mixins/.gitkeep
|
290
|
+
- blueprint/app/models/.gitkeep
|
291
|
+
- blueprint/app/router.js
|
292
|
+
- blueprint/app/routes/.gitkeep
|
293
|
+
- blueprint/app/routes/index.js
|
294
|
+
- blueprint/app/styles/.gitkeep
|
295
|
+
- blueprint/app/styles/app.scss
|
296
|
+
- blueprint/app/templates/.gitkeep
|
297
|
+
- blueprint/app/templates/application.hbs
|
298
|
+
- blueprint/app/templates/components/.gitkeep
|
299
|
+
- blueprint/app/utils/.gitkeep
|
300
|
+
- blueprint/app/views/.gitkeep
|
301
|
+
- blueprint/bower.json
|
302
|
+
- blueprint/bowerrc
|
303
|
+
- blueprint/config/development/application.css
|
304
|
+
- blueprint/config/development/application.js
|
305
|
+
- blueprint/config/production/application.css
|
306
|
+
- blueprint/config/production/application.js
|
307
|
+
- blueprint/dotfiles
|
308
|
+
- blueprint/erbfiles
|
309
|
+
- blueprint/gitignore
|
310
|
+
- blueprint/jshintrc
|
311
|
+
- blueprint/package.json
|
312
|
+
- blueprint/static/.gitkeep
|
313
|
+
- blueprint/tests/.jshintrc
|
314
|
+
- blueprint/tests/helpers/resolver.js
|
315
|
+
- blueprint/tests/helpers/start-app.js
|
316
|
+
- blueprint/tests/index.html
|
317
|
+
- blueprint/tests/test-helper.js
|
318
|
+
- blueprint/tests/test-loader.js
|
319
|
+
- blueprint/tests/unit/.gitkeep
|
320
|
+
- embork.gemspec
|
321
|
+
- lib/embork.rb
|
322
|
+
- lib/embork/borkfile.rb
|
323
|
+
- lib/embork/build_versions.rb
|
324
|
+
- lib/embork/builder.rb
|
325
|
+
- lib/embork/environment.rb
|
326
|
+
- lib/embork/forwarder.rb
|
327
|
+
- lib/embork/generator.rb
|
328
|
+
- lib/embork/logger.rb
|
329
|
+
- lib/embork/pushstate.rb
|
330
|
+
- lib/embork/server.rb
|
331
|
+
- lib/embork/sprockets.rb
|
332
|
+
- lib/embork/sprockets/ember_handlebars_compiler.rb
|
333
|
+
- lib/embork/sprockets/es6_module_transpiler.rb
|
334
|
+
- lib/embork/sprockets/frameworks.rb
|
335
|
+
- lib/embork/sprockets/helpers.rb
|
336
|
+
- lib/embork/sprockets/support/es6-module-transpiler.js
|
337
|
+
- lib/embork/sprockets/support/node_runner.js
|
338
|
+
- lib/embork/version.rb
|
339
|
+
- lib/string/strip.rb
|
340
|
+
- spec/embork/borkfile/Borkfile.empty
|
341
|
+
- spec/embork/borkfile/Borkfile.full
|
342
|
+
- spec/embork/borkfile/Borkfile.rack
|
343
|
+
- spec/embork/borkfile/Borkfile.relative
|
344
|
+
- spec/embork/borkfile_spec.rb
|
345
|
+
- spec/embork/builder/Borkfile
|
346
|
+
- spec/embork/builder/app/index.html.erb
|
347
|
+
- spec/embork/builder/config/production/application.css
|
348
|
+
- spec/embork/builder/config/production/application.js
|
349
|
+
- spec/embork/builder/config/production/deeply/nested/asset.js
|
350
|
+
- spec/embork/builder/static/images/image.png
|
351
|
+
- spec/embork/builder_spec.rb
|
352
|
+
- spec/embork/environment_spec.rb
|
353
|
+
- spec/embork/generator_spec.rb
|
354
|
+
- spec/embork/server/example_app/Borkfile
|
355
|
+
- spec/embork/server/example_app/app/app.js.erb
|
356
|
+
- spec/embork/server/example_app/app/css/main.sass
|
357
|
+
- spec/embork/server/example_app/app/index.html
|
358
|
+
- spec/embork/server/example_app/build/development/application-12345.js
|
359
|
+
- spec/embork/server/example_app/build/development/index.html
|
360
|
+
- spec/embork/server/example_app/components/some/component.js
|
361
|
+
- spec/embork/server/example_app/config/development/application.css
|
362
|
+
- spec/embork/server/example_app/config/development/application.js
|
363
|
+
- spec/embork/server/example_app/config/production/application.css
|
364
|
+
- spec/embork/server/example_app/config/production/application.js
|
365
|
+
- spec/embork/server/example_app/static/fonts/.gitkeep
|
366
|
+
- spec/embork/server/example_app/static/images/.gitkeep
|
367
|
+
- spec/embork/server/example_app/static/images/image.png
|
368
|
+
- spec/embork/server/specimen.css
|
369
|
+
- spec/embork/server/specimen.js
|
370
|
+
- spec/embork/server_spec.rb
|
371
|
+
- spec/embork/sprockets/ember_handlebars_compiler/amd_template.js
|
372
|
+
- spec/embork/sprockets/ember_handlebars_compiler/cjs_template.js
|
373
|
+
- spec/embork/sprockets/ember_handlebars_compiler/global_handlebars_template.js
|
374
|
+
- spec/embork/sprockets/ember_handlebars_compiler/global_hbs_template.js
|
375
|
+
- spec/embork/sprockets/ember_handlebars_compiler/my/hbs/template.hbs
|
376
|
+
- spec/embork/sprockets/ember_handlebars_compiler/my_handlebars_template.js.handlebars
|
377
|
+
- spec/embork/sprockets/ember_handlebars_compiler/my_hbs_template.js.hbs
|
378
|
+
- spec/embork/sprockets/ember_handlebars_compiler/transformed_template.js
|
379
|
+
- spec/embork/sprockets/ember_handlebars_compiler_spec.rb
|
380
|
+
- spec/embork/sprockets/es6_module_transpiler/app/my/transformed/module.js
|
381
|
+
- spec/embork/sprockets/es6_module_transpiler/app/my_fancy_module.js
|
382
|
+
- spec/embork/sprockets/es6_module_transpiler/compiled_amd.js
|
383
|
+
- spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
|
384
|
+
- spec/embork/sprockets/es6_module_transpiler/component.js
|
385
|
+
- spec/embork/sprockets/es6_module_transpiler/components/some_component.js
|
386
|
+
- spec/embork/sprockets/es6_module_transpiler/config/application.js
|
387
|
+
- spec/embork/sprockets/es6_module_transpiler/manifest.js
|
388
|
+
- spec/embork/sprockets/es6_module_transpiler/namespaced.js
|
389
|
+
- spec/embork/sprockets/es6_module_transpiler/transformed.js
|
390
|
+
- spec/embork/sprockets/es6_module_transpiler_spec.rb
|
391
|
+
- spec/spec_helper.rb
|
392
|
+
homepage: ''
|
393
|
+
licenses:
|
394
|
+
- MIT
|
395
|
+
metadata: {}
|
396
|
+
post_install_message:
|
397
|
+
rdoc_options: []
|
398
|
+
require_paths:
|
399
|
+
- lib
|
400
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
401
|
+
requirements:
|
402
|
+
- - ">="
|
403
|
+
- !ruby/object:Gem::Version
|
404
|
+
version: '0'
|
405
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
406
|
+
requirements:
|
407
|
+
- - ">="
|
408
|
+
- !ruby/object:Gem::Version
|
409
|
+
version: '0'
|
410
|
+
requirements: []
|
411
|
+
rubyforge_project:
|
412
|
+
rubygems_version: 2.2.2
|
413
|
+
signing_key:
|
414
|
+
specification_version: 4
|
415
|
+
summary: A tool set for building ember apps.
|
416
|
+
test_files:
|
417
|
+
- spec/embork/borkfile/Borkfile.empty
|
418
|
+
- spec/embork/borkfile/Borkfile.full
|
419
|
+
- spec/embork/borkfile/Borkfile.rack
|
420
|
+
- spec/embork/borkfile/Borkfile.relative
|
421
|
+
- spec/embork/borkfile_spec.rb
|
422
|
+
- spec/embork/builder/Borkfile
|
423
|
+
- spec/embork/builder/app/index.html.erb
|
424
|
+
- spec/embork/builder/config/production/application.css
|
425
|
+
- spec/embork/builder/config/production/application.js
|
426
|
+
- spec/embork/builder/config/production/deeply/nested/asset.js
|
427
|
+
- spec/embork/builder/static/images/image.png
|
428
|
+
- spec/embork/builder_spec.rb
|
429
|
+
- spec/embork/environment_spec.rb
|
430
|
+
- spec/embork/generator_spec.rb
|
431
|
+
- spec/embork/server/example_app/Borkfile
|
432
|
+
- spec/embork/server/example_app/app/app.js.erb
|
433
|
+
- spec/embork/server/example_app/app/css/main.sass
|
434
|
+
- spec/embork/server/example_app/app/index.html
|
435
|
+
- spec/embork/server/example_app/build/development/application-12345.js
|
436
|
+
- spec/embork/server/example_app/build/development/index.html
|
437
|
+
- spec/embork/server/example_app/components/some/component.js
|
438
|
+
- spec/embork/server/example_app/config/development/application.css
|
439
|
+
- spec/embork/server/example_app/config/development/application.js
|
440
|
+
- spec/embork/server/example_app/config/production/application.css
|
441
|
+
- spec/embork/server/example_app/config/production/application.js
|
442
|
+
- spec/embork/server/example_app/static/fonts/.gitkeep
|
443
|
+
- spec/embork/server/example_app/static/images/.gitkeep
|
444
|
+
- spec/embork/server/example_app/static/images/image.png
|
445
|
+
- spec/embork/server/specimen.css
|
446
|
+
- spec/embork/server/specimen.js
|
447
|
+
- spec/embork/server_spec.rb
|
448
|
+
- spec/embork/sprockets/ember_handlebars_compiler/amd_template.js
|
449
|
+
- spec/embork/sprockets/ember_handlebars_compiler/cjs_template.js
|
450
|
+
- spec/embork/sprockets/ember_handlebars_compiler/global_handlebars_template.js
|
451
|
+
- spec/embork/sprockets/ember_handlebars_compiler/global_hbs_template.js
|
452
|
+
- spec/embork/sprockets/ember_handlebars_compiler/my/hbs/template.hbs
|
453
|
+
- spec/embork/sprockets/ember_handlebars_compiler/my_handlebars_template.js.handlebars
|
454
|
+
- spec/embork/sprockets/ember_handlebars_compiler/my_hbs_template.js.hbs
|
455
|
+
- spec/embork/sprockets/ember_handlebars_compiler/transformed_template.js
|
456
|
+
- spec/embork/sprockets/ember_handlebars_compiler_spec.rb
|
457
|
+
- spec/embork/sprockets/es6_module_transpiler/app/my/transformed/module.js
|
458
|
+
- spec/embork/sprockets/es6_module_transpiler/app/my_fancy_module.js
|
459
|
+
- spec/embork/sprockets/es6_module_transpiler/compiled_amd.js
|
460
|
+
- spec/embork/sprockets/es6_module_transpiler/compiled_cjs.js
|
461
|
+
- spec/embork/sprockets/es6_module_transpiler/component.js
|
462
|
+
- spec/embork/sprockets/es6_module_transpiler/components/some_component.js
|
463
|
+
- spec/embork/sprockets/es6_module_transpiler/config/application.js
|
464
|
+
- spec/embork/sprockets/es6_module_transpiler/manifest.js
|
465
|
+
- spec/embork/sprockets/es6_module_transpiler/namespaced.js
|
466
|
+
- spec/embork/sprockets/es6_module_transpiler/transformed.js
|
467
|
+
- spec/embork/sprockets/es6_module_transpiler_spec.rb
|
468
|
+
- spec/spec_helper.rb
|