ember-middleman 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +3 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +9 -0
- data/Gemfile +8 -0
- data/LICENSE +22 -0
- data/README.md +75 -0
- data/Rakefile +8 -0
- data/ember-middleman.gemspec +34 -0
- data/features/handlebars_compilation.feature +5 -0
- data/features/path_to_libraries.feature +7 -0
- data/features/step_definitions/javascript_steps.rb +4 -0
- data/features/support/env.rb +6 -0
- data/fixtures/handlebars-compilation/config.rb +1 -0
- data/fixtures/handlebars-compilation/source/javascripts/templates.js +1 -0
- data/fixtures/handlebars-compilation/source/javascripts/templates/ok_button.js.handlebars +3 -0
- data/fixtures/path-to-libraries/config.rb +1 -0
- data/fixtures/path-to-libraries/source/index.erb +6 -0
- data/fixtures/path-to-libraries/source/javascripts/application.js +3 -0
- data/lib/ember/middleman.rb +13 -0
- data/lib/ember/middleman/extension.rb +39 -0
- data/lib/ember/middleman/handlebars/template.rb +110 -0
- data/lib/ember/middleman/version.rb +5 -0
- metadata +257 -0
- metadata.gz.sig +1 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c653e95123ef36faf7ee7765ab3461ba9916b088
|
4
|
+
data.tar.gz: 938461e033da80cfa38a4a8bafb11b0a6ce7b59e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fa1e70616f29aca6b7c3b4d6f62471b0c29848c99d2cd867c74fa4318eb201efbcff1c8e4a91b569151e18bcfd6fffa62a83d1c5616555004e596394805f8f2d
|
7
|
+
data.tar.gz: 11ab23dcc0d91ce9769ed0e9939b7c5b6c805e11129120e38a1a4046ad6a4b4512eff442deceae54d6865624c75b269e953464aa5341f5c4811c70354871fc1e
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
ADDED
Binary file
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Ryunosuke SATO <tricknotes.rs@gmail.com>
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
# Ember::Middleman
|
2
|
+
|
3
|
+
ember-middleman supports using Ember.js with Middleman in easily.
|
4
|
+
|
5
|
+
_This gem is inspired by [ember-rails](http://github.com/emberjs/ember-rails)._
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
``` ruby
|
12
|
+
gem 'ember-middleman'
|
13
|
+
gem 'ember-source', '1.0.0.rc5' # the version you requires
|
14
|
+
gem 'handlebars-source', '1.0.0.rc4' # the version you requires
|
15
|
+
```
|
16
|
+
|
17
|
+
Execute:
|
18
|
+
|
19
|
+
``` sh
|
20
|
+
$ bundle
|
21
|
+
```
|
22
|
+
|
23
|
+
Or install it yourself as:
|
24
|
+
|
25
|
+
``` sh
|
26
|
+
$ gem install ember-middleman
|
27
|
+
```
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
When you installed ember-middleman, the following features help you.
|
32
|
+
|
33
|
+
### Path to libraries
|
34
|
+
|
35
|
+
You can use Ember.js, handlebars and ember-data.
|
36
|
+
Please write the followings to your `application.js` (or something you use):
|
37
|
+
|
38
|
+
``` javascript
|
39
|
+
//= require handlebars
|
40
|
+
//= require ember
|
41
|
+
//= require ember-data
|
42
|
+
```
|
43
|
+
|
44
|
+
### handlebars compilation
|
45
|
+
|
46
|
+
You can use handlebars as your template language for Ember.js.
|
47
|
+
|
48
|
+
``` sh
|
49
|
+
$ mkdir -p source/javascripts/templates
|
50
|
+
```
|
51
|
+
|
52
|
+
And put your template.
|
53
|
+
|
54
|
+
For example:
|
55
|
+
|
56
|
+
* `source/javascripts/templates/ok_button.js.handlebars`
|
57
|
+
|
58
|
+
``` handlebars
|
59
|
+
<div>
|
60
|
+
<button {{action someAction}}>OK</button>
|
61
|
+
</div>
|
62
|
+
```
|
63
|
+
|
64
|
+
It automatically set as `Ember.TEMPLATES['ok_button']`.
|
65
|
+
|
66
|
+
## Tests
|
67
|
+
|
68
|
+
``` sh
|
69
|
+
bundle exec rake
|
70
|
+
```
|
71
|
+
|
72
|
+
## Known issues
|
73
|
+
|
74
|
+
* Many code are duplicated with ember-rails
|
75
|
+
* generator is required
|
data/Rakefile
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'ember/middleman/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'ember-middleman'
|
8
|
+
spec.version = Ember::Middleman::VERSION
|
9
|
+
spec.authors = ['Ryunosuke SATO']
|
10
|
+
spec.email = ['tricknotes.rs@gmail.com']
|
11
|
+
spec.description = %q{Ember for Middleman}
|
12
|
+
spec.summary = %q{Ember for Middleman}
|
13
|
+
spec.homepage = 'https://github.com/tricknotes/ember-middleman'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ['lib']
|
20
|
+
|
21
|
+
spec.add_dependency 'barber'
|
22
|
+
spec.add_dependency 'ember-source'
|
23
|
+
spec.add_dependency 'ember-data-source'
|
24
|
+
spec.add_dependency 'handlebars-source', ['>= 1.0.0.rc2']
|
25
|
+
spec.add_dependency 'middleman-core', ['~> 3.0']
|
26
|
+
spec.add_dependency 'middleman-more', ['~> 3.0']
|
27
|
+
spec.add_dependency 'middleman-sprockets', ['~> 3.0']
|
28
|
+
|
29
|
+
spec.add_development_dependency 'bundler', '~> 1.3'
|
30
|
+
spec.add_development_dependency 'rake'
|
31
|
+
spec.add_development_dependency 'ember-source', '1.0.0.rc5'
|
32
|
+
spec.add_development_dependency 'ember-data-source', '>= 0.13'
|
33
|
+
spec.add_development_dependency 'handlebars-source', '1.0.0.rc4'
|
34
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
Feature: Path to libraries
|
2
|
+
Scenario: Load Ember.js
|
3
|
+
Given the Server is running at "path-to-libraries"
|
4
|
+
When I go to "/javascripts/application.js"
|
5
|
+
Then I should see "Ember.VERSION"
|
6
|
+
Then I should see "Handlebars.VERSION"
|
7
|
+
Then I should see "DS.CURRENT_API_REVISION"
|
@@ -0,0 +1 @@
|
|
1
|
+
activate :ember
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require_tree .
|
@@ -0,0 +1 @@
|
|
1
|
+
activate :ember
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'active_support/ordered_options'
|
2
|
+
|
3
|
+
require 'ember/middleman/handlebars/template'
|
4
|
+
|
5
|
+
require 'ember/source'
|
6
|
+
require 'ember/data/source'
|
7
|
+
require 'handlebars/source'
|
8
|
+
|
9
|
+
module Ember
|
10
|
+
module Middleman
|
11
|
+
module Extension
|
12
|
+
class << self
|
13
|
+
def registered(app)
|
14
|
+
config = Ember::Middleman::Handlebars::Template.configuration
|
15
|
+
|
16
|
+
config.precompile ||= true
|
17
|
+
config.templates_root ||= 'templates'
|
18
|
+
config.templates_path_separator ||= '/'
|
19
|
+
|
20
|
+
yield config if block_given?
|
21
|
+
|
22
|
+
app.before_configuration do
|
23
|
+
template_extensions :handlebars => :javascript
|
24
|
+
end
|
25
|
+
|
26
|
+
app.after_configuration do
|
27
|
+
sprockets.append_path ::Ember::Source.bundled_path_for(nil)
|
28
|
+
sprockets.append_path ::Ember::Data::Source.bundled_path_for(nil)
|
29
|
+
sprockets.append_path File.dirname(::Handlebars::Source.bundled_path)
|
30
|
+
end
|
31
|
+
|
32
|
+
Sprockets.register_engine '.handlebars', Ember::Middleman::Handlebars::Template
|
33
|
+
Sprockets.register_engine '.hbs', Ember::Middleman::Handlebars::Template
|
34
|
+
Sprockets.register_engine '.hjs', Ember::Middleman::Handlebars::Template
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
require 'ostruct'
|
2
|
+
|
3
|
+
require 'sprockets'
|
4
|
+
require 'sprockets/engines'
|
5
|
+
require 'barber'
|
6
|
+
|
7
|
+
module Ember
|
8
|
+
module Middleman
|
9
|
+
module Handlebars
|
10
|
+
class Template < Tilt::Template
|
11
|
+
def self.default_mime_type
|
12
|
+
'application/javascript'
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.configuration
|
16
|
+
@configuration ||= OpenStruct.new
|
17
|
+
end
|
18
|
+
|
19
|
+
def prepare; end
|
20
|
+
|
21
|
+
def evaluate(scope, locals, &block)
|
22
|
+
target = template_target(scope)
|
23
|
+
raw = handlebars?(scope)
|
24
|
+
|
25
|
+
if raw
|
26
|
+
template = data
|
27
|
+
else
|
28
|
+
template = mustache_to_handlebars(scope, data)
|
29
|
+
end
|
30
|
+
|
31
|
+
if configuration.precompile
|
32
|
+
if raw
|
33
|
+
template = precompile_handlebars(template)
|
34
|
+
else
|
35
|
+
template = precompile_ember_handlebars(template)
|
36
|
+
end
|
37
|
+
else
|
38
|
+
if raw
|
39
|
+
template = compile_handlebars(data)
|
40
|
+
else
|
41
|
+
template = compile_ember_handlebars(template)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
"#{target} = #{template}\n"
|
46
|
+
end
|
47
|
+
|
48
|
+
def configuration
|
49
|
+
self.class.configuration
|
50
|
+
end
|
51
|
+
|
52
|
+
private
|
53
|
+
|
54
|
+
def handlebars?(scope)
|
55
|
+
scope.pathname.to_s =~ /\.raw\.(handlebars|hjs|hbs)/
|
56
|
+
end
|
57
|
+
|
58
|
+
def template_target(scope)
|
59
|
+
"Ember.TEMPLATES[#{template_path(scope.logical_path).inspect}]"
|
60
|
+
end
|
61
|
+
|
62
|
+
def compile_handlebars(string)
|
63
|
+
"Handlebars.compile(#{indent(string).inspect});"
|
64
|
+
end
|
65
|
+
|
66
|
+
def precompile_handlebars(string)
|
67
|
+
Barber::FilePrecompiler.call(string)
|
68
|
+
end
|
69
|
+
|
70
|
+
def compile_ember_handlebars(string)
|
71
|
+
"Ember.Handlebars.compile(#{indent(string).inspect});"
|
72
|
+
end
|
73
|
+
|
74
|
+
def precompile_ember_handlebars(string)
|
75
|
+
Barber::Ember::FilePrecompiler.call(string)
|
76
|
+
end
|
77
|
+
|
78
|
+
def mustache_to_handlebars(scope, template)
|
79
|
+
if scope.pathname.to_s =~ /\.mustache\.(handlebars|hjs|hbs)/
|
80
|
+
template.gsub(/\{\{(\w[^\}\}]+)\}\}/){ |x| "{{unbound #{$1}}}" }
|
81
|
+
else
|
82
|
+
template
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
def template_path(path)
|
87
|
+
root = configuration.templates_root
|
88
|
+
|
89
|
+
if root.kind_of? Array
|
90
|
+
root.each do |root|
|
91
|
+
path.sub!(/#{Regexp.quote(root)}\//, '')
|
92
|
+
end
|
93
|
+
else
|
94
|
+
unless root.empty?
|
95
|
+
path.sub!(/#{Regexp.quote(root)}\/?/, '')
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
path = path.split('/')
|
100
|
+
|
101
|
+
path.join(configuration.templates_path_separator)
|
102
|
+
end
|
103
|
+
|
104
|
+
def indent(string)
|
105
|
+
string.gsub(/$(.)/m, "\\1 ").strip
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
metadata
ADDED
@@ -0,0 +1,257 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ember-middleman
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ryunosuke SATO
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDLDCCAhSgAwIBAgIBADANBgkqhkiG9w0BAQUFADA8MQwwCgYDVQQDDANnZWQx
|
14
|
+
FzAVBgoJkiaJk/IsZAEZFgdfYWVyaWVfMRMwEQYKCZImiZPyLGQBGRYDb3JnMB4X
|
15
|
+
DTEyMDgxMDE1MjM1MVoXDTEzMDgxMDE1MjM1MVowPDEMMAoGA1UEAwwDZ2VkMRcw
|
16
|
+
FQYKCZImiZPyLGQBGRYHX2FlcmllXzETMBEGCgmSJomT8ixkARkWA29yZzCCASIw
|
17
|
+
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM7Sou14r78CbjbzZ6amfIebM2C4
|
18
|
+
zcyMj/isZvhCyzyeNrvMgHRDvQkpxThvXEPVImIJOv0Ajw/jwrrDwFcmxcCJS5mT
|
19
|
+
e1zHgOirFxbH1zXDEV3zylZw1Qc7hj48ITGjKNqHsf5mo4WcwrZ/ueySqU1cx6Bv
|
20
|
+
DEEEAOpKGq1El5/NgdjazX7nMNxgwe5jWKXf3GiCZBBCfKUL94bobBHbaLAHto7u
|
21
|
+
HvJHPP80XR92ClAaw9nW3eh4vxUVa2mukzFU8Ly8hnZJq6XJ35YCQYGS5YRQriCb
|
22
|
+
gVE113aLIcEZuLlg507tvjyRYleENjnDbZxfZ5mj9TpzqopLQldbQvY03WkCAwEA
|
23
|
+
AaM5MDcwCQYDVR0TBAIwADAdBgNVHQ4EFgQUhLr1LNzgSLwHZ5sHjypF5EoyczQw
|
24
|
+
CwYDVR0PBAQDAgSwMA0GCSqGSIb3DQEBBQUAA4IBAQCDjv7bPMdMJnNj0WK3QfbY
|
25
|
+
moPBSBVZoK8lmNGbBAXzv27u0w5xbHRsfxCQ4RvcnybAveWGvRSk+ZuqI/qh7Qxq
|
26
|
+
GmLGOBqbOlV2qPPighnmGNxATNdKmC39FCBnYBo7MBREK1SrWINusRl55crKstxT
|
27
|
+
fZgtWHtMmdDlhJ4CMNrKw+AK3rixDL4yjOjawBRz1EweLBIqjCLauxzQzIH8IAUE
|
28
|
+
kfaZ/LottIjj/TcU48s1v0eZrwBikx6yMnw+urjuQJyYIgJpE5ZpytmSz2AkkcsF
|
29
|
+
+GVPt1EGyVzZGQhGSHxueJG1Got984x/HT8H5jJw3SkgylarAMiQEJQ4ntz4KF+E
|
30
|
+
-----END CERTIFICATE-----
|
31
|
+
date: 2013-06-11 00:00:00.000000000 Z
|
32
|
+
dependencies:
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: barber
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: ember-source
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: ember-data-source
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: handlebars-source
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 1.0.0.rc2
|
82
|
+
type: :runtime
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 1.0.0.rc2
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: middleman-core
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ~>
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '3.0'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ~>
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '3.0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: middleman-more
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '3.0'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ~>
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '3.0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: middleman-sprockets
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ~>
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '3.0'
|
124
|
+
type: :runtime
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ~>
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '3.0'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: bundler
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ~>
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '1.3'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ~>
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '1.3'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: rake
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - '>='
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - '>='
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: ember-source
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - '='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: 1.0.0.rc5
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - '='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 1.0.0.rc5
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: ember-data-source
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - '>='
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0.13'
|
180
|
+
type: :development
|
181
|
+
prerelease: false
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - '>='
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0.13'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: handlebars-source
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - '='
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: 1.0.0.rc4
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - '='
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: 1.0.0.rc4
|
201
|
+
description: Ember for Middleman
|
202
|
+
email:
|
203
|
+
- tricknotes.rs@gmail.com
|
204
|
+
executables: []
|
205
|
+
extensions: []
|
206
|
+
extra_rdoc_files: []
|
207
|
+
files:
|
208
|
+
- .gitignore
|
209
|
+
- Gemfile
|
210
|
+
- LICENSE
|
211
|
+
- README.md
|
212
|
+
- Rakefile
|
213
|
+
- ember-middleman.gemspec
|
214
|
+
- features/handlebars_compilation.feature
|
215
|
+
- features/path_to_libraries.feature
|
216
|
+
- features/step_definitions/javascript_steps.rb
|
217
|
+
- features/support/env.rb
|
218
|
+
- fixtures/handlebars-compilation/config.rb
|
219
|
+
- fixtures/handlebars-compilation/source/javascripts/templates.js
|
220
|
+
- fixtures/handlebars-compilation/source/javascripts/templates/ok_button.js.handlebars
|
221
|
+
- fixtures/path-to-libraries/config.rb
|
222
|
+
- fixtures/path-to-libraries/source/index.erb
|
223
|
+
- fixtures/path-to-libraries/source/javascripts/application.js
|
224
|
+
- lib/ember/middleman.rb
|
225
|
+
- lib/ember/middleman/extension.rb
|
226
|
+
- lib/ember/middleman/handlebars/template.rb
|
227
|
+
- lib/ember/middleman/version.rb
|
228
|
+
homepage: https://github.com/tricknotes/ember-middleman
|
229
|
+
licenses:
|
230
|
+
- MIT
|
231
|
+
metadata: {}
|
232
|
+
post_install_message:
|
233
|
+
rdoc_options: []
|
234
|
+
require_paths:
|
235
|
+
- lib
|
236
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
237
|
+
requirements:
|
238
|
+
- - '>='
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: '0'
|
241
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
242
|
+
requirements:
|
243
|
+
- - '>='
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '0'
|
246
|
+
requirements: []
|
247
|
+
rubyforge_project:
|
248
|
+
rubygems_version: 2.0.3
|
249
|
+
signing_key:
|
250
|
+
specification_version: 4
|
251
|
+
summary: Ember for Middleman
|
252
|
+
test_files:
|
253
|
+
- features/handlebars_compilation.feature
|
254
|
+
- features/path_to_libraries.feature
|
255
|
+
- features/step_definitions/javascript_steps.rb
|
256
|
+
- features/support/env.rb
|
257
|
+
has_rdoc:
|
metadata.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
�hY34R�~X4�yT�{6�0B�Ǭ'�8��l�KC,��aBڌM%����O�齒��煌��<� [�� Oe�X��i�#�� �2�>���l�/�O�6S��QD�;�m�PC�׳{W&�����<�I�>��� ��}1ń��<[�[��)-=�5�]��R�7�����~��b�௴�-|j�����:�}�I�lN�;/�Y-�@�U��I���k��慫�s�F67��fY�
|