metaractor 3.1.0 → 3.1.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: 285b4aecd4d684716db6d574e443464ba4fecaca03f49417153d4eb2d49994e4
4
- data.tar.gz: bea5769c3cb76692d1f1a1218fae8937500ae2cdec53dfda5d17066170a723b8
3
+ metadata.gz: 70a949834d71b20665b6acc4e7e820de727a333226e26af6fa4f0c5cfa7c431d
4
+ data.tar.gz: 9e4fa64a34d534f2725a24bb7d3c4e9c963d61a36530a9d4b5543c29193c29fa
5
5
  SHA512:
6
- metadata.gz: 78226f45df08e38363d19cf03e3ec7867d0788700abf11daa08d5eca31ff62f3e9c43460d39be9d9422a686ee1a0da35de323df54d49ea06962876a809f3ad06
7
- data.tar.gz: 76dee36d5fd30560f4bb7ebee50cf1e59d984e70bc219107e2d439024523ed2992056baacb17227e294466f4cff75b58cd96c7bb8fc0b680438ee8bf367e057c
6
+ metadata.gz: b23927d92d66bd17b109e5519cba3e9a25439e04866d9d5159be09d3bcd2802da5a5c31e01c3c8124bae1f7128fff6d46c0f82f9d3faefe4ddac0955a015a1e3
7
+ data.tar.gz: 9a157b4b2d932b3c8b730ee6ffd11dca110395fb8cf859ea30a13073fb60c89373ab38515d571120ce7814661f00aa24fcdfbbfc4eadffde177387288ee7dc2d
data/docker-compose.yml CHANGED
@@ -8,6 +8,10 @@ services:
8
8
  environment:
9
9
  FIXUID:
10
10
  FIXGID:
11
+ BUILDKITE:
12
+ BUILDKITE_BUILD_URL:
13
+ BUILDKITE_JOB_ID:
14
+ BUILDKITE_AGENT_ACCESS_TOKEN:
11
15
  volumes:
12
16
  - bundler-data:/usr/local/bundle
13
17
  - .:/metaractor
@@ -38,6 +38,10 @@ module Metaractor
38
38
  @options[key]
39
39
  end
40
40
 
41
+ def has_key?(key)
42
+ @options.has_key?(key)
43
+ end
44
+
41
45
  def dig(name, *names)
42
46
  @options.dig(name, *names)
43
47
  end
@@ -143,7 +147,7 @@ module Metaractor
143
147
 
144
148
  def apply_defaults
145
149
  parameters.each do |name, parameter|
146
- next unless parameter[:default]
150
+ next unless parameter.has_key?(:default)
147
151
 
148
152
  unless context.has_key?(name)
149
153
  context[name] = _parameter_default(name)
@@ -1,3 +1,3 @@
1
1
  module Metaractor
2
- VERSION = "3.1.0"
2
+ VERSION = "3.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metaractor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Schlesinger