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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4468c2db9ce85ea253602ac40dbd99618efe85b0
4
- data.tar.gz: f66158bb247d6d025eace0a7ac14aae0410e32bc
3
+ metadata.gz: 56bee2161692c9c4df1debb630c334601cec69d7
4
+ data.tar.gz: 07d42f9de406e28f5178a65ce6cb27bc1df194a6
5
5
  SHA512:
6
- metadata.gz: 22b0f6a64e37ccd1723f35c49ceb48343bc3658fdf854450358965e352acd94c7d84493d29fb1ad440cef7a07322042dcd149251c23d3fbdeab347bd034b0f92
7
- data.tar.gz: 8049c599b1ff06611006c8d5bb9f0e4ca5ae117c97c46f5d86f57e696892fea8d1658c64657e209fa2fe1b1853b66a8f548b1430f2373c6353a82304b88db995
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") && in_gemfile?("jasmine-phantom")
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
- 'bundle exec rake jasmine:phantom:ci'
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
@@ -1,3 +1,3 @@
1
1
  module Kender
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
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.0
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-10 00:00:00.000000000 Z
14
+ date: 2015-06-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler