cutlass 0.2.2 → 0.2.3

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: 343c9862759141c5feeba0bafbac9aad72a2ea74330ad2868c2fb8cfcdca84a4
4
- data.tar.gz: 24f5abe57557982cda38e335311911c3af688dc36cdc42e5436b429cb1fc72bc
3
+ metadata.gz: 8496e7ba6cfe271e413d6d6cc52371b57b44a4cfeaaa1b52a57c7a899d2d6b3c
4
+ data.tar.gz: cfdc93566ff44bda4750c9a54cb6b3445b76a86cdcf66d34ab7d99cd3fb1fc42
5
5
  SHA512:
6
- metadata.gz: 2591d579985513433cb26690d1abadde25ba00914d7fa2b7733f2431d8387e34dc757360982db2b3156a44c20dc7cfa5f74ab969f77b8b9f9c2a63527baa1519
7
- data.tar.gz: 0b9ecaf0726b5483f600ef5178baa948ed61be5ea18e8ed52910d13990755889d9f57abab982b1d5e972350919d805070852d8bcf2aaeeeb162b26156b982d17
6
+ metadata.gz: d42d06c6f3dc18dfc565e1c295507f98e6da4b8a7eba48ded50610cefe269d3bba78dec76cc4ad0c7dcea65d9357d519f0e157bcf8150d17a174b7ba33f4db5c
7
+ data.tar.gz: fb10a7a64fc6d54d56cf49d8dab1b0c7906cc8762c1b024b6ee875a9d2bd1f9582b547f4e93ffa750aa024140edcbb51ecf64b45bd9c329faff92c33b5a6c91d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## 0.2.3
4
+
5
+ - Fix keyword arg warning https://github.com/heroku/cutlass/pull/28
6
+
3
7
  ## 0.2.2
4
8
 
5
9
  - Support :memory option for start_container https://github.com/heroku/cutlass/pull/27
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cutlass (0.2.2)
4
+ cutlass (0.2.3)
5
5
  docker-api (>= 2.0)
6
6
 
7
7
  GEM
data/lib/cutlass/app.rb CHANGED
@@ -90,10 +90,10 @@ module Cutlass
90
90
  on_teardown { thread.join }
91
91
  end
92
92
 
93
- def start_container(opts = {})
93
+ def start_container(memory: nil, expose_ports: [])
94
94
  raise "No block given" unless block_given?
95
95
 
96
- ContainerBoot.new(opts.merge(image_id: last_build.image_id)).call do |container|
96
+ ContainerBoot.new(image_id: last_build.image_id, memory: memory, expose_ports: expose_ports).call do |container|
97
97
  yield container
98
98
  end
99
99
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Cutlass
4
4
  # Version
5
- VERSION = "0.2.2"
5
+ VERSION = "0.2.3"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cutlass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - schneems
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 3.1.4
95
+ rubygems_version: 3.2.22
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: Write CNB integration tests for Pack in Ruby with cutlass