kender 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kender/commands/jasmine.rb +8 -3
- data/lib/kender/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56bee2161692c9c4df1debb630c334601cec69d7
|
4
|
+
data.tar.gz: 07d42f9de406e28f5178a65ce6cb27bc1df194a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa9fdbc9a764ef80c728a755ef32b420321d17ef7f59283c5bc0d64fa392b5243af57eef011759a1f2a388ff88a265acb06f32ddef3447650f94534586d72faa
|
7
|
+
data.tar.gz: 710b20fa159fa675af6fe039444ae9133740eb0544073e7fdf0b0e5a5d13d6366291586b340f7064a3cd11be9ed2fbe4af4fc05304dcf9c3cf3dcf7ff75d0032
|
@@ -8,9 +8,9 @@ module Kender
|
|
8
8
|
return false if ENV['VALIDATE_PROJECT']
|
9
9
|
|
10
10
|
# make sure those gems were added
|
11
|
-
return false unless in_gemfile?("jasmine")
|
11
|
+
return false unless in_gemfile?("jasmine")
|
12
12
|
|
13
|
-
# verify jasmine and phantomjs are present
|
13
|
+
# verify jasmine and phantomjs are both present
|
14
14
|
`phantomjs --version 2>&1 > /dev/null`
|
15
15
|
return false unless $?.success?
|
16
16
|
`bundle exec jasmine license`
|
@@ -18,7 +18,12 @@ module Kender
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def command
|
21
|
-
|
21
|
+
if in_gemfile?("jasmine-phantom")
|
22
|
+
#This is nicer as will install phantomJS for us.
|
23
|
+
'bundle exec rake jasmine:phantom:ci'
|
24
|
+
else
|
25
|
+
'bundle exec rake jasmine:ci'
|
26
|
+
end
|
22
27
|
end
|
23
28
|
|
24
29
|
end
|
data/lib/kender/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Smith
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-06-
|
14
|
+
date: 2015-06-15 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|