indocker 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
  SHA256:
3
- metadata.gz: 8e526bf660134a83bdfca0bde3f3c55eabdd65048aaa9b5010f49e63c00bac36
4
- data.tar.gz: 7ee83fa4d8784114390bc9abab7d29f5e9dbe24bde4573274f1dd6f95d627bf9
3
+ metadata.gz: 7db1ee43dc77d64ef756d9344d1a90086034cdb3aea3aabb81e215e2142b5e11
4
+ data.tar.gz: af8d6b04b0a728341fab4059abbec6a89edcab45933e03cab43df6a5baa4d9f6
5
5
  SHA512:
6
- metadata.gz: 5b3f95e27d372a330e370dd8bae0740e7ec3e04f354128c13189b8a4494fc6fdb06bebf5222f6ac95f79e30d08e3c37f69a54e1ee0000287f111366762ab68ac
7
- data.tar.gz: c556959cdf2eca0ce5a2ce95dec99a0498c052eb64af113b50d14705562a3aa860e3d87755e56f473e3a60c70191f87f8c6a5870af9b126e921e8d871b754c03
6
+ metadata.gz: 5b62b0cfa0f4297e739bd3100e77d959f0cba6a3dc2687bef9b37c6cad50a5e07916b96ab91aa906e22499fd3430ab965b354f4152d5b5c8fe0929dbcb8ca493
7
+ data.tar.gz: da4caa93850b2279328e436986693928741f4ba8d8c0a86c4d609f4826c62604aa90dab6de2c7f409480133954f1c8c48f856758b4f1a324dc6cea2090fac9d6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- indocker (0.3.0)
4
+ indocker (0.3.1)
5
5
  net-ssh
6
6
 
7
7
  GEM
@@ -10,7 +10,7 @@ class Indocker::Containers::RestartPolicy
10
10
 
11
11
  def restart?(container, timestamp)
12
12
  file = timestamp_file(container)
13
- return true if !File.exists?(file)
13
+ return true if !File.exist?(file)
14
14
 
15
15
  last_timestamp = File.read(file).strip
16
16
  timestamp != last_timestamp
@@ -24,7 +24,7 @@ class Indocker::DockerRunArgs
24
24
 
25
25
  path = Indocker::EnvFileHelper.path(env_file)
26
26
 
27
- if !File.exists?(path)
27
+ if !File.exist?(path)
28
28
  raise ArgumentError.new("env file not found: #{path}")
29
29
  end
30
30
 
@@ -61,7 +61,7 @@ class Indocker::DockerRunArgs
61
61
  end
62
62
 
63
63
  sysctl = container.get_start_option(:sysctl)
64
-
64
+
65
65
  if sysctl
66
66
  Array(sysctl).each do |val|
67
67
  args.push("--sysctl #{val}")
@@ -6,7 +6,7 @@ class Indocker::Images::ImageBuilder
6
6
  @image = Indocker::Images::Image.new(name)
7
7
  dockerfile = File.join(dir, 'Dockerfile')
8
8
 
9
- if File.exists?(dockerfile)
9
+ if File.exist?(dockerfile)
10
10
  @image.set_dockerfile(dockerfile)
11
11
  end
12
12
 
@@ -35,7 +35,7 @@ class Indocker::Images::ImageBuilder
35
35
  end
36
36
 
37
37
  def dockerfile(path)
38
- if !File.exists?(path)
38
+ if !File.exist?(path)
39
39
  raise ArgumentError.new("Dockerfile was not found in #{path}")
40
40
  end
41
41
 
@@ -1,3 +1,3 @@
1
1
  module Indocker
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: indocker
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
  - Ruslan Gatiyatov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-10-30 00:00:00.000000000 Z
12
+ date: 2023-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-ssh
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  requirements: []
224
- rubygems_version: 3.3.7
224
+ rubygems_version: 3.3.24
225
225
  signing_key:
226
226
  specification_version: 4
227
227
  summary: Docker Containers Deployment