ember-emblem-template 0.2.0 → 0.2.1

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: 6d288675bf87d64ca4a7542e528c172dad25cfdf
4
- data.tar.gz: 882b40451c8ce3e2bbe475277b68a1aeef384646
3
+ metadata.gz: 65c9ce9dac3fb4b44d4d8390bd7b2d6321e1d19a
4
+ data.tar.gz: d82824910a3f26e2f5eb8a912bbee9beb2f474dd
5
5
  SHA512:
6
- metadata.gz: a810cf42ccf726e0a016d389ceeb7a5a64325d23a504b24d301e5813517d3f85efae82c846433963b86c6e7beb980b75c8ba9e3449140560cac52009e7953bd4
7
- data.tar.gz: 709a6c4e6039b7b788e3fb90d8e067f85c09b6c790f2299bbab15ab8066996f941ec1e86fb6733a450692bb832962392e1a4cd918d780ddbffa674cef30b5f18
6
+ metadata.gz: 789b88a3e8dc849f9bde59ef4d3ce958d2944f74fd07b933b7841c46bb0b121fc0e45f2ec84de6910c613f37b096e8b597001bd859b32a320fd7bfc3e8f22e81
7
+ data.tar.gz: 27823510e020bb61dac7185a4e9333ec0b67c3b0cfebac3c2f8e03e4937fee6b035d370145f8fd3c47662f084d95874441a765086389fa54330191c7ba3e0b19
@@ -1,5 +1,3 @@
1
- require "ember/emblem/template"
2
-
3
1
  module Ember
4
2
  module Emblem
5
3
  module Rails
@@ -1,6 +1,7 @@
1
1
  require 'sprockets'
2
2
  require 'barber'
3
3
  require 'ember/handlebars/template'
4
+ require 'ember/emblem/rails' if defined?(Rails)
4
5
 
5
6
  module Ember
6
7
  module Emblem
@@ -59,6 +60,10 @@ module Ember
59
60
  handlebars = Precompiler.compile(string)
60
61
  "Ember.#{ember_template}.template(#{Barber::Ember::Precompiler.compile(handlebars)});"
61
62
  end
63
+
64
+ def config
65
+ @config ||= Config.new
66
+ end
62
67
  end
63
68
  end
64
69
  end
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module Emblem
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-emblem-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryunosuke SATO