barber 0.9.1 → 0.9.2

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: c7b27c58994c842d2f3285cbb23f76a59b788553
4
- data.tar.gz: a4da596576e3975392b148558c5646929a09e95f
3
+ metadata.gz: 0d07b42235e4aa33851a76e92fde2de300364150
4
+ data.tar.gz: ff3dca189d774e58d55b6341d0b3b9c0c32472f8
5
5
  SHA512:
6
- metadata.gz: 02b17330cfa9678bd3ff9975291c685a1402e8f10feb4fe4d218d4883dd4e1145d4e203c9c75c88676c270b4e06c50cf0bf2df0a968097f7f119affc4b093f9e
7
- data.tar.gz: 10a1e91d5db01d3d43dd0d9908b0f5d22b6422f4b53b0cdfe58417057132e2e5cf2c86fbed2a9103d6c32064ca69bad8b632a376773d8b5e4906756adefaac01
6
+ metadata.gz: e03e46959a2370291c681b7857cbb0e5e1a22c5690fee8ad8f146fb304c73bede262a5b7581bc4f2c81aebdec774d82583a7121928b082dec8b082a2f29544e9
7
+ data.tar.gz: 846ee5a6f13416639cb7db2486d908895c99046805892e9c35bac18f68693646b2fb0718adaf205770c6fc22b8058e7278a0889829b4039fa31059ccdbc56cee
data/.travis.yml CHANGED
@@ -4,6 +4,7 @@ rvm:
4
4
  - "2.2"
5
5
  - jruby-19mode
6
6
  - rbx-19mode
7
+ sudo: false
7
8
  before_script:
8
9
  - bundle exec appraisal install
9
10
  script: bundle exec rake appraisal
data/Appraisals CHANGED
@@ -18,6 +18,16 @@ appraise "ember-1.10" do
18
18
  gem "ember-source", "~> 1.10.0"
19
19
  end
20
20
 
21
+ appraise "ember-1.13" do
22
+ # Uses the latest of 1.x
23
+ gem "ember-source", "~> 1.13.0"
24
+ end
25
+
26
+ appraise "ember-2.0" do
27
+ # Uses the latest of 2.x
28
+ gem "ember-source", "~> 2.0.0"
29
+ end
30
+
21
31
  appraise "handlebars-3.0" do
22
32
  # Uses handlebars 3.0.x
23
33
  gem "handlebars-source", "~> 3.0.0"
data/barber.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.version = Barber::VERSION
17
17
 
18
18
  gem.add_dependency "execjs", [">= 1.2", "< 3"]
19
- gem.add_dependency "ember-source", [">= 1.0", "< 2"]
19
+ gem.add_dependency "ember-source", [">= 1.0", "< 3"]
20
20
 
21
21
  gem.add_development_dependency "rake"
22
22
  gem.add_development_dependency "handlebars-source", "< 3.1"
@@ -91,11 +91,14 @@ module Barber
91
91
  end
92
92
 
93
93
  def source
94
- # hbs 3 has no reference to `window`.
94
+ # hbs 3 has no reference to `window` and `self`.
95
95
  <<-SOURCE
96
96
  if (typeof window === 'undefined') {
97
97
  window = this;
98
98
  };
99
+ if (typeof self === 'undefined') {
100
+ self = this;
101
+ };
99
102
  #{sources.map(&:read).join("\n;\n")}
100
103
  SOURCE
101
104
  end
@@ -1,3 +1,3 @@
1
1
  module Barber
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - tchak
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-05 00:00:00.000000000 Z
12
+ date: 2015-08-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: execjs
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: '1.0'
41
41
  - - "<"
42
42
  - !ruby/object:Gem::Version
43
- version: '2'
43
+ version: '3'
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  version: '1.0'
51
51
  - - "<"
52
52
  - !ruby/object:Gem::Version
53
- version: '2'
53
+ version: '3'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: rake
56
56
  requirement: !ruby/object:Gem::Requirement