dockerun 0.3.4 → 0.3.5

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: 777e1a207665d2cb3e4418a2890441779663c1fe5eb39dd49f498a4445213cff
4
- data.tar.gz: a81b53e08e2e3e109104f05545e6f30f12bd2dc10590f6bd356180f8e4b919cd
3
+ metadata.gz: e780ee279842afa1d97ce5bd7aa09961d35f8fd5510ff86551d8701ee7d33475
4
+ data.tar.gz: 3a3f2e91045841ef670b4a1e01d28ccd75f0f5d7452a7e25807ac2b1a76f2468
5
5
  SHA512:
6
- metadata.gz: c55faea206d5bcddaee2c78d82aa101e15279236c749a43c43614aa840f4e48c7fdf02f0285207c84d76ce2cd53aa6b99974cffbaa2f035617f3ce7276522eb1
7
- data.tar.gz: 0d666b21e41d00232f0af9354877419e6479b09286fb219369ae528b1fbb5b185d8ef85af5f695b9f85f5c3fca332f1347ef9b042fb1bf70e83ae9ab00cfb927
6
+ metadata.gz: da62e413cd4d6dc7c78402cd5a48b31ad7896d98266d64678b3cfea24888140a1fa2e3162f9d7316852d0886288f3a3362f61c11c39293b15c797fea97e2eb3d
7
+ data.tar.gz: 97bfaf132fd15ee8dbee661b9fc5e274019f7c31e6d91480fcb9212e90d84d595d8a359e37f4336c4cc2b15877178e0ad5f6ed4a1409b0140836e4a3f0e7d495
data/.release_history.yml CHANGED
@@ -52,3 +52,5 @@ dockerun:
52
52
  :timestamp: 1680596515.6388657
53
53
  - :version: 0.3.3
54
54
  :timestamp: 1680598096.8177018
55
+ - :version: 0.3.4
56
+ :timestamp: 1680600334.3304904
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dockerun (0.3.4)
4
+ dockerun (0.3.5)
5
5
  colorize
6
6
  docker-cli (>= 0.3.1)
7
7
  teLogger
@@ -27,7 +27,7 @@ GEM
27
27
  toolrack
28
28
  tty-command
29
29
  tty-prompt
30
- git_cli (0.11.2)
30
+ git_cli (0.11.4)
31
31
  gvcs
32
32
  ptools (~> 1.4.0)
33
33
  teLogger
@@ -36,11 +36,19 @@ GEM
36
36
  teLogger
37
37
  toolrack
38
38
  tty-prompt
39
- gvcs (0.1.1)
39
+ gvcs (0.1.2)
40
40
  pastel (0.8.0)
41
41
  tty-color (~> 0.5)
42
42
  ptools (1.4.3)
43
43
  rake (13.0.6)
44
+ release-gem (0.1.18)
45
+ colorize
46
+ git_cli
47
+ gvcs
48
+ teLogger
49
+ toolrack
50
+ tty-command
51
+ tty-prompt
44
52
  rspec (3.12.0)
45
53
  rspec-core (~> 3.12.0)
46
54
  rspec-expectations (~> 3.12.0)
@@ -55,7 +63,7 @@ GEM
55
63
  rspec-support (~> 3.12.0)
56
64
  rspec-support (3.12.0)
57
65
  teLogger (0.2.2)
58
- toolrack (0.21.0)
66
+ toolrack (0.22.1)
59
67
  tty-color (0.6.0)
60
68
  tty-command (0.10.1)
61
69
  pastel (~> 0.8)
@@ -79,6 +87,7 @@ DEPENDENCIES
79
87
  devops_assist
80
88
  dockerun!
81
89
  rake (~> 13.0)
90
+ release-gem
82
91
  rspec (~> 3.0)
83
92
 
84
93
  BUNDLED WITH
data/Rakefile CHANGED
@@ -8,3 +8,4 @@ require 'devops_assist'
8
8
  RSpec::Core::RakeTask.new(:spec)
9
9
 
10
10
  task default: :spec
11
+ require 'release/gem'
data/dockerun.gemspec CHANGED
@@ -46,4 +46,5 @@ Gem::Specification.new do |spec|
46
46
 
47
47
  # For more information and examples about making a new gem, checkout our
48
48
  # guide at: https://bundler.io/guides/creating_gem.html
49
+ spec.add_development_dependency 'release-gem'
49
50
  end
@@ -115,9 +115,6 @@ module Dockerun
115
115
  when :add_to_bundle?
116
116
  cli.yes?("\n Add directory '#{val.first}' to bundler config local? ".yellow)
117
117
 
118
- when :add_mount_to_container
119
- config.add_mount_to_container(imageName, *val)
120
-
121
118
  when :add_more_volume_mapping?
122
119
  cli.yes?("\n Add more volume mapping? ".yellow)
123
120
 
@@ -10,12 +10,13 @@ module Dockerun
10
10
  def self.from_storage
11
11
  path = File.join(Dir.getwd, FILENAME)
12
12
  if File.exist?(path)
13
- cont = nil
14
- File.open(path,"r") do |f|
15
- cont = f.read
16
- end
13
+ #cont = nil
14
+ #File.open(path,"r") do |f|
15
+ # cont = f.read
16
+ #end
17
17
 
18
- Config.new(YAML.load(cont), true)
18
+ #Config.new(YAML.load(cont), true)
19
+ Config.new(YAML.unsafe_load_file(path), true)
19
20
  else
20
21
  Config.new({}, false)
21
22
  end
@@ -239,7 +239,6 @@ module Dockerun
239
239
  @shared_dirs[File.basename(dest)] = dest
240
240
  end
241
241
 
242
- block.call(:add_mount_to_container, container_name, mount.last)
243
242
  repeat = block.call(:add_more_volume_mapping?)
244
243
  break if not repeat
245
244
 
@@ -248,6 +247,9 @@ module Dockerun
248
247
  end
249
248
 
250
249
 
250
+ #
251
+ # Try to run once to install bundle config --local and create alias during image building
252
+ #
251
253
  insideDockerConfig = File.join(File.dirname(__FILE__),"..","..","template","setup_ruby_devenv.rb.erb")
252
254
  if File.exist?(insideDockerConfig)
253
255
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dockerun
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockerun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-04 00:00:00.000000000 Z
11
+ date: 2023-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toolrack
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: release-gem
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  description: ''
112
126
  email:
113
127
  - cameronian0@protonmail.com