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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 572abe30bc6bf324db027831465e8727645f9a3baa86099f17b183990dadc112
4
- data.tar.gz: a3f022201df4025e5f967db4482bf25b9cfc8c20b99518ce905671415610ca90
3
+ metadata.gz: cd535de9c0092cf4ab69d5e279e8cb0e19ec682d74e915844a781db8e7e2bb53
4
+ data.tar.gz: ce84b237c9302f56f810a03b3bf95711b279f3a931687d5d29bd21bbb4f325ca
5
5
  SHA512:
6
- metadata.gz: bb8692dd074d0ed5f6b266df552652dafcc79e89a7cbfbf17c4c624caf7d0a8fb96760d0feb8f4aabd384bb3ae5b809c99539faba3cb36f1ef13a1ff3f259542
7
- data.tar.gz: 07e7e1980a7b275c274448c4bd4961bd5a3a33a310c65453ab604ab27f7c9d1103e3d470d693066298b596c87dd43024dc2ac41b1d0a86fd5995055f8f0d6ede
6
+ metadata.gz: d2d95fdaf90bab2efc7e3987d142f37653526f30e6026a8a2d056cf85c8bb780b47251d85e8102faac8a0d4b715459c1dcec2d7e5f20d8fb413150778872844d
7
+ data.tar.gz: c5f35334569ea8be40d4f474aef6734c52289f33517dc7c96cbae432a2c02fccbb5bd906c1273ff077ddb21be89dcbd29b3a729c96853f26afb07dea9439e8a0
@@ -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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rascal (0.3.1)
4
+ rascal (0.3.2)
5
5
  thor (~> 0.20.3)
6
6
 
7
7
  GEM
@@ -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,
@@ -1,3 +1,3 @@
1
1
  module Rascal
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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-01 00:00:00.000000000 Z
11
+ date: 2020-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor