specinfra 2.25.0 → 2.25.1

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
  SHA1:
3
- metadata.gz: 83c057b2afe4689661eacd46887735fc2b5dd0b2
4
- data.tar.gz: fba4b32ea8b49d36089e3cc9a76c6e3be00e1c99
3
+ metadata.gz: 4e39e8f07b3f3da79bf77e6467ac8f0eb5dd1843
4
+ data.tar.gz: b5381e5f994384571d7bb35a719fb010a43bf124
5
5
  SHA512:
6
- metadata.gz: ea5828fa50fb9906b6116ba3d936a938c91c3cd2ecaf6687b2e1a3dc101ecf5f8b628c477e7fd825c82dcbb7e94ccda5f0e1180b55d91c36cbf71d18e6874027
7
- data.tar.gz: 4b46c4c33eee33fffc2cb104b64cd87d3ca227fd5ad1c417f39f086c6bf2ff79d0bd9cb50026b0be6b782c0378858a3371c68aed244d0a07a64c79285d430792
6
+ metadata.gz: b7cccede663857165f03dd291b76b7a1f21efbed985bb77827545ec3042335a1beed234556b65563d8927346e9ed853aa0ee4e3d3e4f68ca154b9779cfa54580
7
+ data.tar.gz: a2c1f1d6d8b04c0897f62ce332676fe89800846428432a09f680860126d5249171ab407280a8317ce66cda404ce9213e7ca0c4e29ee5daa23724b931ecd9a847
@@ -1,6 +1,6 @@
1
1
  module Specinfra::Backend
2
2
  class Docker < Exec
3
- def initialize
3
+ def initialize(config = {})
4
4
  super
5
5
 
6
6
  begin
@@ -1,7 +1,9 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  module Specinfra::Backend
3
3
  class Dockerfile < Specinfra::Backend::Base
4
- def initialize
4
+ def initialize(config = {})
5
+ super
6
+
5
7
  @lines = []
6
8
  ObjectSpace.define_finalizer(self) {
7
9
  if get_config(:dockerfile_finalizer).nil?
@@ -1,6 +1,8 @@
1
1
  module Specinfra::Backend
2
2
  class Lxc < Exec
3
- def initialize
3
+ def initialize(config = {})
4
+ super
5
+
4
6
  begin
5
7
  require 'lxc/extra' unless defined?(::LXC::Extra)
6
8
  rescue LoadError
@@ -2,7 +2,9 @@ require 'singleton'
2
2
 
3
3
  module Specinfra::Backend
4
4
  class ShellScript < Base
5
- def initialize
5
+ def initialize(config = {})
6
+ super
7
+
6
8
  @lines = [ "#!/bin/sh", "" ]
7
9
  ObjectSpace.define_finalizer(self, Writer.new(@lines))
8
10
  end
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.25.0"
2
+ VERSION = "2.25.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.25.0
4
+ version: 2.25.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita