rascal 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/rascal/docker/container.rb +3 -3
- data/lib/rascal/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd535de9c0092cf4ab69d5e279e8cb0e19ec682d74e915844a781db8e7e2bb53
|
4
|
+
data.tar.gz: ce84b237c9302f56f810a03b3bf95711b279f3a931687d5d29bd21bbb4f325ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2d95fdaf90bab2efc7e3987d142f37653526f30e6026a8a2d056cf85c8bb780b47251d85e8102faac8a0d4b715459c1dcec2d7e5f20d8fb413150778872844d
|
7
|
+
data.tar.gz: c5f35334569ea8be40d4f474aef6734c52289f33517dc7c96cbae432a2c02fccbb5bd906c1273ff077ddb21be89dcbd29b3a729c96853f26afb07dea9439e8a0
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented here.
|
|
4
4
|
|
5
5
|
Rascal follows semantic versioning. This has little consequence pre 1.0, so expect breaking changes.
|
6
6
|
|
7
|
+
## 0.3.2 (2020-10-23)
|
8
|
+
|
9
|
+
- Fix broken `rascal shell` command.
|
10
|
+
|
11
|
+
|
7
12
|
## 0.3.1 (2020-10-01)
|
8
13
|
|
9
14
|
- Pass env variables to service containers.
|
data/Gemfile.lock
CHANGED
@@ -42,21 +42,21 @@ module Rascal
|
|
42
42
|
|
43
43
|
def start(network: nil, network_alias: nil, volumes: [], env: {})
|
44
44
|
say "Starting container for #{@name}"
|
45
|
-
create(network: network, network_alias: network_alias, volumes: volumes) unless exists?
|
45
|
+
create(network: network, network_alias: network_alias, volumes: volumes, env: env) unless exists?
|
46
46
|
Docker.interface.run(
|
47
47
|
'container',
|
48
48
|
'start',
|
49
|
-
*env_args(env),
|
50
49
|
id,
|
51
50
|
)
|
52
51
|
end
|
53
52
|
|
54
|
-
def create(network: nil, network_alias: nil, volumes: [])
|
53
|
+
def create(network: nil, network_alias: nil, volumes: [], env: {})
|
55
54
|
@id = Docker.interface.run(
|
56
55
|
'container',
|
57
56
|
'create',
|
58
57
|
'--name', @prefixed_name,
|
59
58
|
*(volumes.flat_map { |v| ['-v', v.to_param] }),
|
59
|
+
*env_args(env),
|
60
60
|
*(['--network', network.id] if network),
|
61
61
|
*(['--network-alias', network_alias] if network_alias),
|
62
62
|
@image,
|
data/lib/rascal/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rascal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Kraze
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|