ember-handlebars-template 0.7.4 → 0.7.5

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: 77319b803ef0bb86af75d3a3bf0b99995c7be108
4
- data.tar.gz: 6e4ab11bd2addd353bf1e68f6373fef17c4b90f5
3
+ metadata.gz: b4d73a502b42e050cc13649e3771f3f23cef66e0
4
+ data.tar.gz: '08d9a053ba7afe4d2ab4c7878e484fdbc775df08'
5
5
  SHA512:
6
- metadata.gz: 510f0f567b9ce63fafb3fc9c1c90ea1913dc9586d3e25ab3d7e7ca38a6ee0caa2846bd4237c4a5af51af88bfddf0aba7d3202c8d5f29131c7b2a2f2bc50e2c9d
7
- data.tar.gz: 046c0d6890e4ba6fa54dfe132442ae4aebf0672dd9719b41f82b86c0be66aa2042fff964c70018036effaeb12984d87da7e2786011c0e12042a388a8506616f0
6
+ metadata.gz: eec9e80fb87ac36a58bf52e48bbe81f74c395096eccbaa1c29dd4aa817ff88019fe6b4e5253eba9a802d7b348bb302c11e9198cb3c8c47f16ec18f3afd496453
7
+ data.tar.gz: 27851599c321647fec577410d82c57e5eeedcb7169dff24d8b097099fde282dc8f09b8fb511eccae23962dbff387e1fb6bd7a8c68d236c4bd0260f9374aef4cb
data/.travis.yml CHANGED
@@ -2,13 +2,16 @@ language: ruby
2
2
  sudo: false
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.1
6
- - 2.2.4
7
- - 2.3.0
5
+ - 2.1.10
6
+ - 2.2.6
7
+ - 2.3.3
8
+ before_install:
9
+ - gem update bundler
8
10
  env:
9
11
  matrix:
10
12
  - SPROCKETS_VERSION="~> 3.3.0"
11
- - SPROCKETS_VERSION="~> 3.4.0"
12
- - SPROCKETS_VERSION="~> 3.5.0"
13
- - SPROCKETS_VERSION="~> 3.6.0"
13
+ - SPROCKETS_VERSION="~> 3.7.0"
14
14
  - SPROCKETS_VERSION="~> 4.0.0.beta2"
15
+ - EMBER_SOURCE_VERSION="~> 1.13"
16
+ - EMBER_SOURCE_VERSION="~> 2.6"
17
+ - EMBER_SOURCE_VERSION="~> 2.10"
data/Gemfile CHANGED
@@ -3,4 +3,6 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in ember-handlebars-template.gemspec
4
4
  gemspec
5
5
 
6
+ gem 'rack', '~> 1.6' if RUBY_VERSION < '2.2'
7
+ gem 'ember-source', ENV['EMBER_SOURCE_VERSION'] if ENV['EMBER_SOURCE_VERSION']
6
8
  gem 'sprockets', ENV['SPROCKETS_VERSION'] if ENV['SPROCKETS_VERSION']
@@ -80,7 +80,7 @@ module Ember
80
80
  raise "Unsupported `output_type`: #{config.output_type}"
81
81
  end
82
82
 
83
- meta = {moduleName: module_name}
83
+ meta = meta_supported? ? {moduleName: module_name} : false
84
84
 
85
85
  if config.precompile
86
86
  if raw
@@ -186,6 +186,10 @@ module Ember
186
186
  Barber::VERSION
187
187
  ]
188
188
  end
189
+
190
+ def meta_supported?
191
+ Gem::Version.new(Ember::VERSION) >= Gem::Version.new('2.7.0')
192
+ end
189
193
  end
190
194
  end
191
195
  end
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module Handlebars
3
- VERSION = '0.7.4'
3
+ VERSION = '0.7.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-handlebars-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryunosuke SATO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-17 00:00:00.000000000 Z
11
+ date: 2016-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  version: '0'
140
140
  requirements: []
141
141
  rubyforge_project:
142
- rubygems_version: 2.5.1
142
+ rubygems_version: 2.5.2
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: The sprockets template for Ember Handlebars.