ember-emblem-template 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -3
- data/Gemfile +1 -1
- data/ember-emblem-template.gemspec +0 -1
- data/lib/ember/emblem/rails.rb +1 -1
- data/lib/ember/emblem/template.rb +2 -1
- data/lib/ember/emblem/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 306175bd1316e7ad8e678b99df4dd2715cf8e501
|
4
|
+
data.tar.gz: fd6f37dde558a35677fd7ed70d45e8db54e707af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c6d2175298e2a9d512ce559408d6ddb036cc7e49bf399986ac9041d3fc7bbcd4b5aa013962a6697cd14782476882a55afd4223b3e4e335d33bc9eda2be94c9a
|
7
|
+
data.tar.gz: 822ba5ba54ba0bcfeb2f7afbc6dae2e78718e0cb00feb78cb224cb3bb47e37317dec70f43431f572923f48d19d77f6cc01c9ba64b349827d1dfde3b50af1312c
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
21
|
spec.add_dependency 'ember-handlebars-template', '~> 0.7.0'
|
22
|
-
spec.add_dependency 'sprockets-rails', '~> 2.0'
|
23
22
|
|
24
23
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
25
24
|
spec.add_development_dependency 'rake', '~> 10.0'
|
data/lib/ember/emblem/rails.rb
CHANGED
@@ -3,7 +3,7 @@ module Ember
|
|
3
3
|
module Rails
|
4
4
|
class Engine < ::Rails::Engine
|
5
5
|
initializer "ember_rails.setup", after: :append_assets_path, group: :all do |app|
|
6
|
-
|
6
|
+
Ember::Emblem::Template.setup app.assets
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -11,7 +11,8 @@ module Ember
|
|
11
11
|
|
12
12
|
class Template < Ember::Handlebars::Template
|
13
13
|
def self.setup(env)
|
14
|
-
env.
|
14
|
+
env.register_mime_type 'text/x-emblem', extensions: ['.emblem']
|
15
|
+
env.register_transformer 'text/x-emblem', 'application/javascript', Ember::Emblem::Template
|
15
16
|
end
|
16
17
|
|
17
18
|
def self.config
|
data/lib/ember/emblem/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember-emblem-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryunosuke SATO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ember-handlebars-template
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.7.0
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: sprockets-rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '2.0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: bundler
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|