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 +4 -4
- data/.travis.yml +1 -0
- data/Appraisals +10 -0
- data/barber.gemspec +1 -1
- data/lib/barber/precompiler.rb +4 -1
- data/lib/barber/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d07b42235e4aa33851a76e92fde2de300364150
|
4
|
+
data.tar.gz: ff3dca189d774e58d55b6341d0b3b9c0c32472f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e03e46959a2370291c681b7857cbb0e5e1a22c5690fee8ad8f146fb304c73bede262a5b7581bc4f2c81aebdec774d82583a7121928b082dec8b082a2f29544e9
|
7
|
+
data.tar.gz: 846ee5a6f13416639cb7db2486d908895c99046805892e9c35bac18f68693646b2fb0718adaf205770c6fc22b8058e7278a0889829b4039fa31059ccdbc56cee
|
data/.travis.yml
CHANGED
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", "<
|
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"
|
data/lib/barber/precompiler.rb
CHANGED
@@ -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
|
data/lib/barber/version.rb
CHANGED
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.
|
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-
|
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: '
|
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: '
|
53
|
+
version: '3'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: rake
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|