zassets-plugins-emblem 0.0.0 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 60c79f68ba6df370f5c31f4ffd22e8f4d646cc01
4
+ data.tar.gz: 8c7dcaf5c8b34b7ce628445329326020c20e941e
5
+ SHA512:
6
+ metadata.gz: aca7cd96e3f9321e0875f7f7f6514c664b08e34fa097aba2f34fb28a04dd58ff1929a56ea4e14cca90990b37751b6158b40edc9d839febcac79e6b48f94ad908
7
+ data.tar.gz: 709792f17cb0d0c5869deecbebcb9d8fcdc52b591c0a12aa0f7f468318875fa2dcc3a960458516fd5ddbfa6ce6c2b3b68c06cd7c6597ee68bab35c36ba9c57b8
@@ -0,0 +1,43 @@
1
+ zassets-plugins-emblem
2
+ ======================
3
+
4
+ [![Version][badge-version-img]][badge-version-uri]
5
+
6
+
7
+ Emblem plugin for [zassets][].
8
+
9
+
10
+ Installation
11
+ ------------
12
+
13
+ $ gem install zassets-plugins-emblem
14
+
15
+
16
+ Configuration
17
+ -------------
18
+
19
+ zassets configuration:
20
+
21
+ ``` yaml
22
+ plugins:
23
+ - emblem
24
+ ```
25
+
26
+ Specifying plugin options:
27
+
28
+ ``` yaml
29
+ plugins:
30
+ - name: :emblem
31
+ precompile: true
32
+ ember_template: HTMLBars
33
+ ```
34
+
35
+ More information in:
36
+
37
+ https://github.com/botandrose/ember-emblem-template#user-content-options
38
+
39
+
40
+
41
+ [zassets]: https://rubygems.org/gems/zassets
42
+ [badge-version-img]: https://img.shields.io/gem/v/zassets-plugins-emblem.svg?style=flat-square
43
+ [badge-version-uri]: https://rubygems.org/gems/zassets-plugins-emblem
@@ -1,3 +1,5 @@
1
+ require 'ember/emblem/template'
2
+
1
3
  module ZAssets
2
4
  module Plugins
3
5
  module Emblem
@@ -7,12 +9,7 @@ module ZAssets
7
9
  end
8
10
 
9
11
  def register
10
- require 'emblem/sprockets/template'
11
- require 'handlebars/source'
12
-
13
- @config[:engines][:emblem] = ::Emblem::Sprockets::Template
14
-
15
- @config[:paths] << File.dirname(::Handlebars::Source.bundled_path)
12
+ @config[:engines][:emblem] = ::Ember::Emblem::Template
16
13
  end
17
14
  end
18
15
  end
@@ -1,7 +1,7 @@
1
1
  module ZAssets
2
2
  module Plugins
3
3
  module Emblem
4
- VERSION = '0.0.0'
4
+ VERSION = '0.1.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,84 +1,62 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zassets-plugins-emblem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Thibault Jouan
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-01 00:00:00.000000000 Z
11
+ date: 2015-05-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: emblem-sprockets
14
+ name: ember-emblem-template
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: 0.1.0
19
+ version: '0.2'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: 0.1.0
30
- - !ruby/object:Gem::Dependency
31
- name: handlebars-source
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - '='
36
- - !ruby/object:Gem::Version
37
- version: 1.0.12
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - '='
44
- - !ruby/object:Gem::Version
45
- version: 1.0.12
46
- description: ! 'Emblem processor for zassets.
47
-
48
- '
26
+ version: '0.2'
27
+ description: Emblem processor for zassets.
49
28
  email: tj@a13.fr
50
29
  executables: []
51
30
  extensions: []
52
- extra_rdoc_files: []
31
+ extra_rdoc_files:
32
+ - README.md
53
33
  files:
54
- - .gitignore
55
- - Gemfile
34
+ - README.md
56
35
  - lib/zassets-plugins-emblem.rb
57
36
  - lib/zassets/plugins/emblem/registrant.rb
58
37
  - lib/zassets/plugins/emblem/version.rb
59
- - zassets-plugins-emblem.gemspec
60
38
  homepage: https://rubygems.org/gems/zassets-plugins-emblem
61
- licenses: []
39
+ licenses:
40
+ - BSD-3-Clause
41
+ metadata: {}
62
42
  post_install_message:
63
43
  rdoc_options: []
64
44
  require_paths:
65
45
  - lib
66
46
  required_ruby_version: !ruby/object:Gem::Requirement
67
- none: false
68
47
  requirements:
69
- - - ! '>='
48
+ - - ">="
70
49
  - !ruby/object:Gem::Version
71
50
  version: '0'
72
51
  required_rubygems_version: !ruby/object:Gem::Requirement
73
- none: false
74
52
  requirements:
75
- - - ! '>='
53
+ - - ">="
76
54
  - !ruby/object:Gem::Version
77
55
  version: '0'
78
56
  requirements: []
79
57
  rubyforge_project:
80
- rubygems_version: 1.8.23
58
+ rubygems_version: 2.4.5
81
59
  signing_key:
82
- specification_version: 3
83
- summary: zassets-plugins-emblem-0.0.0
60
+ specification_version: 4
61
+ summary: zassets-plugins-emblem-0.1.0
84
62
  test_files: []
data/.gitignore DELETED
@@ -1 +0,0 @@
1
- /Gemfile.lock
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
@@ -1,25 +0,0 @@
1
- lib = File.expand_path('../lib', __FILE__)
2
- $LOAD_PATH << lib unless $LOAD_PATH.include? lib
3
- require 'zassets/plugins/emblem/version'
4
-
5
- Gem::Specification.new do |s|
6
- s.name = 'zassets-plugins-emblem'
7
- s.version = ZAssets::Plugins::Emblem::VERSION
8
- s.summary = "zassets-plugins-emblem-#{ZAssets::Plugins::Emblem::VERSION}"
9
- s.description = <<-eoh.gsub(/^ +/, '')
10
- Emblem processor for zassets.
11
- eoh
12
- s.homepage = 'https://rubygems.org/gems/zassets-plugins-emblem'
13
-
14
- s.author = 'Thibault Jouan'
15
- s.email = 'tj@a13.fr'
16
-
17
- s.files = `git ls-files`.split $/
18
-
19
- s.add_dependency 'emblem-sprockets', '~> 0.1.0'
20
-
21
- # FIXME: handlebars-source version is hardcoded until emblem can work with
22
- # handlebars >= 1.1.1.
23
- # see: https://github.com/machty/emblem.js/issues/107
24
- s.add_dependency 'handlebars-source', '1.0.12'
25
- end