busser-shindo 0.1.0 → 0.2.0

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: ed8ee07c573dee840f59dc4dd319fcf289159c60
4
- data.tar.gz: 30fe058fe8e49b3b0605be0af02319806e6f4fcc
3
+ metadata.gz: 98f32c29f3af8c20fd07685b4490c4662c900545
4
+ data.tar.gz: 5d0d9e4a0ad56b204e93792d523a8a3ed5858b62
5
5
  SHA512:
6
- metadata.gz: 2477c3f33150f9f1e1b0e1b7661b82ae9b88958172032aae944dbc949d2751f6ad69e5cd9fa072cf2638ce3ec0f22f00eea698910767f12bd980b0b49163232f
7
- data.tar.gz: 8fc9cb0ba08b2fdab583d7d076758767db1a8fe5eeac503cf22200f8300ec584665d557c6182610d8e0e33edc06f248f3c225459c769eb77d21ebb3418fc5e8c
6
+ metadata.gz: 5e9a5ee4d1ac75f096be7748479600c89c6f0f2c47c9eb3cf338fcf6499689095d864fc880f96e405c879b12da16afed93e60765d2ae99bbea5f5f6bcd345019
7
+ data.tar.gz: d3775919cc36f52d0a2d52a70acbc0aac74de9aab05912c2dd31f726b8ac5d11462428b1802d964d53020986d0cb0922052d5803ae172273806e97b169d7a11a
data/CHANGELOG.md CHANGED
@@ -1,33 +1,9 @@
1
- ## 0.2.5 / 2013-11-14
1
+ ## 0.1.1
2
2
 
3
- * issue #5: Added --color and --format documentation rspec options
4
- merge pull-req by Kannan Manickam <kannan@rightscale.com>. thanks.
3
+ - fix Gem bin path
4
+ - do bundle when found Gemfile
5
5
 
6
- ## 0.2.4 / 2013-11-01
6
+ ## 0.1.0
7
7
 
8
- * issue #4: Search all GEM_PATH values for `rspec` bin.
9
- merge pull-req by Seth Chisamore <schisamo@opscode.com>. thanks.
10
-
11
- ## 0.2.3 / 2013-07-10
12
-
13
- * issue #2: remove tight dependency of serverspec. thanks to rteabeault.
14
-
15
- ## 0.2.2 / 2013-07-09
16
-
17
- * issue #2: remove dependency rspec.
18
-
19
- ## 0.2.1 / 2013-06-18
20
-
21
- * fix silly exit value.
22
-
23
- ## 0.2.0 / 2013-06-18
24
-
25
- * issue #1: do not print full backtrace if serverspec test failure.
26
-
27
- ## 0.1.1 / 2013-06-06
28
-
29
- * add cucumber test and fix related things
30
-
31
- ## 0.1.0 / 2013-05-22
32
-
33
- * Initial release
8
+ - Initial release
9
+ - Just do run shindont
@@ -26,12 +26,18 @@ require 'busser/runner_plugin'
26
26
  class Busser::RunnerPlugin::Shindo < Busser::RunnerPlugin::Base
27
27
  postinstall do
28
28
  install_gem("shindo")
29
+ install_gem("bundler")
29
30
  end
30
31
 
31
32
  def test
32
- # runner = File.join(File.dirname(__FILE__), %w{.. serverspec runner.rb})
33
+ ## Refered from busser-rspec
34
+ if File.exists?(File.join(suite_path, "Gemfile"))
35
+ # Bundle install local completes quickly if the gems are already found locally
36
+ # it fails if it needs to talk to the internet. The || below is the fallback
37
+ # to the internet-enabled version. It's a speed optimization.
38
+ run("env PATH=#{ENV['PATH']}:#{Gem.bindir} bundle install --local || bundle install")
39
+ end
33
40
 
34
- # run_ruby_script!("#{runner} #{suite_path('serverspec').to_s}")
35
- run!("shindont #{suite_path('shindo')}")
41
+ run!("env PATH=#{ENV['PATH']}:#{Gem.bindir} shindont #{suite_path('shindo')}")
36
42
  end
37
43
  end
@@ -22,6 +22,6 @@ module Busser
22
22
  module Shindo
23
23
 
24
24
  # Version string for the Shindo Busser runner plugin
25
- VERSION = "0.1.0"
25
+ VERSION = "0.2.0"
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: busser-shindo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiko Sawanobori