kitchen-transport-speedy 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NTI2NDc5MTEyMjJjMmM2ODdhOTMyOWRkMjM5ODE2ODNlNjA5Zjk0Nw==
5
- data.tar.gz: !binary |-
6
- YjE1YzYwNGRhOGE5OGE4OTUzNzdmNTgyZGYxZDg2MTgwNmQ0ODljZQ==
2
+ SHA1:
3
+ metadata.gz: bbc9784c1e4127b2c346d370cd501447d0b2ec00
4
+ data.tar.gz: 3ec968ceda8c64fea0585e4b191e16dbc4ad5070
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NmEwMTBjMzMwZjVkYzZlNzU0MTVkZGNjZDkwMjBjM2RjYmI3ZTA0ZTAzNGZm
10
- NWJkYjVlOWZjOWZiZDRjZDk5MGJmOGI2OTliYmE5NTAzNmFjM2YwOTBjMTFk
11
- ZmZjMDlkZmEzMDFhMmRhMjA2ZGY2ZmVkMjBiMzU2ZTdhODQwYjE=
12
- data.tar.gz: !binary |-
13
- Y2U5YzE1MzRiMTRkNTNkNjczYTY2NTE4YTllMjQzMzE2ZWEzMTQ4ZWYzNzI1
14
- NGFkNGI5NTlhNGZhODRlMDhlODE3Y2Q5ODZmMmVhN2RiNTQ3MzAyY2EwMTFk
15
- ZWE5ODBhMzI4YjQ1NTVlMjJjOTIwMGVlNDZmNDkzNTQzYmUxODg=
6
+ metadata.gz: b61ae6e79bcee608c40538105c93fe461c9cbe36448b827a2d0462d1492fa4263568481a40019744b6bb072b001be4618a6895b978e78147fca8d67d5c2bc713
7
+ data.tar.gz: e349829d1fa7d3543a59baecae034623aecfbcfa8fc32abfcd58a65b4cc568c07c494d176603dcf2c19e4c01d678419080966a9c956cad8805ffae4b5f340f6a
@@ -52,6 +52,7 @@ module Kitchen
52
52
  archive_basename = ::File.basename(local) + '.tar'
53
53
  archive = ::File.join(::File.dirname(local), archive_basename)
54
54
  Mixlib::ShellOut.new(archive_locally(local, archive)).run_command.error!
55
+ execute(ensure_remotedir_exists(remote))
55
56
 
56
57
  logger.debug("Calling regular upload for #{archive} to #{remote}")
57
58
  super(archive, remote)
@@ -1,7 +1,7 @@
1
1
  module Kitchen
2
2
  module Transport
3
3
  class SpeedyModule
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
@@ -30,6 +30,10 @@ module Kitchen
30
30
  end
31
31
  end
32
32
 
33
+ def ensure_remotedir_exists(remote)
34
+ "mkdir -p #{remote}"
35
+ end
36
+
33
37
  def archive_locally(path, archive_path)
34
38
  "tar -cf #{archive_path} -C #{::File.dirname(path)} #{::File.basename(path)}"
35
39
  end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-transport-speedy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grégoire Seux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-13 00:00:00.000000000 Z
11
+ date: 2017-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.11'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.11'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.0'
69
69
  description:
@@ -73,9 +73,9 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - .gitignore
77
- - .rspec
78
- - .travis.yml
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - ".travis.yml"
79
79
  - Gemfile
80
80
  - LICENSE
81
81
  - README.md
@@ -93,12 +93,12 @@ require_paths:
93
93
  - lib
94
94
  required_ruby_version: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - ! '>='
96
+ - - ">="
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []