busser-serverspec 0.6.1 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ceb5e33dee44ac8df99608076491e212673fbb0b09ab71d56ca6f59f6a8a8984
4
- data.tar.gz: e7705ebfd7a4173eba591bee09b7fe7da3080318fd453af43869ff8d2fb966fd
3
+ metadata.gz: 2a7da0eb63750a288739f75b74aa9642aad7260c7ecd34116f7706b21f26487b
4
+ data.tar.gz: 1c538bda32af08a069838ed6123840c2e87c33fc903ab2e231fbe51db6a887bb
5
5
  SHA512:
6
- metadata.gz: f4b2e46ae6c21669fb1fa0f830bd59376a54b03f2dfa485623b2ea1674609ef60452ca66897a9e31432d25f417e713c9a021930266a50722b6bb829f654ae901
7
- data.tar.gz: 0a973516a87aa9adf0123dc3b36ec04888c91730111655f520753a46fccb06a24643859039d3a3324d51cabaf1bd0752b505be81f5ad0b52d03b29aa1263bc7e
6
+ metadata.gz: fc3fabb1131f758b7f15e49edc327ff31cae24dbf30507985bb6da17c97521a7cda5beecb8d03fc08efc6764e52ab5b49b6da147537d253b18dfbd8fb87cbccd
7
+ data.tar.gz: b412f4e00e70910fdb61334afbbc40beb640931ed867562863607c08bc839faf78e39516c9c8f0895c0973d21ad33977c63b128d70841995b6be2b54f5a02936
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ['d-higuchi@creationline.com']
11
11
  spec.description = %q{A Busser runner plugin for Serverspec}
12
12
  spec.summary = spec.description
13
- spec.homepage = 'https://github.com/test-kitchen/busser-serverspec'
13
+ spec.homepage = 'https://github.com/chuhn/busser-serverspec'
14
14
  spec.license = 'Apache 2.0'
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -25,7 +25,14 @@ require 'rubygems/dependency_installer'
25
25
  #
26
26
  class Busser::RunnerPlugin::Serverspec < Busser::RunnerPlugin::Base
27
27
  postinstall do
28
- install_gem('bundler')
28
+ version_contraint =
29
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.6.0')
30
+ '< 2.4'
31
+ else
32
+ '> 0.0'
33
+ end
34
+
35
+ install_gem('bundler', version_contraint)
29
36
  end
30
37
 
31
38
  def test
@@ -41,7 +48,7 @@ class Busser::RunnerPlugin::Serverspec < Busser::RunnerPlugin::Base
41
48
  def run_bundle_install
42
49
  # Referred from busser-shindo
43
50
  gemfile_path = File.join(suite_path, 'serverspec', 'Gemfile')
44
- if File.exists?(gemfile_path)
51
+ if File.exist?(gemfile_path)
45
52
  # Bundle install local completes quickly if the gems are already found
46
53
  # locally it fails if it needs to talk to the internet. The || below is
47
54
  # the fallback to the internet-enabled version. It's a speed optimization.
@@ -18,6 +18,6 @@
18
18
 
19
19
  module Busser
20
20
  module Serverspec
21
- VERSION = '0.6.1'
21
+ VERSION = '0.6.3'.freeze
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: busser-serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - HIGUCHI Daisuke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-20 00:00:00.000000000 Z
11
+ date: 2025-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: busser
@@ -191,7 +191,7 @@ files:
191
191
  - lib/busser/runner_plugin/serverspec.rb
192
192
  - lib/busser/serverspec/runner.rb
193
193
  - lib/busser/serverspec/version.rb
194
- homepage: https://github.com/test-kitchen/busser-serverspec
194
+ homepage: https://github.com/chuhn/busser-serverspec
195
195
  licenses:
196
196
  - Apache 2.0
197
197
  metadata: {}