trailblazer-activity 0.6.1 → 0.6.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: 7dbf0f6f475965ca903f16b2a584bc82131c21d91ed9a8897bf78c2c2abe91fb
4
- data.tar.gz: f78fb64dbd9ff29f50be67f569548826f38f50186b8b63c3d6f16b8138a9edad
3
+ metadata.gz: 65286a1dcb00e4928ebad6db7bdfd52eaaeb225436a715ea3b1c15d142b15819
4
+ data.tar.gz: 1bed34667414ac73686040941fbd17e37f2963b46366b98fd6e8b323bbea0563
5
5
  SHA512:
6
- metadata.gz: c32b52c355f304c8dc0bc4e167e89ce0915a342ed985027879b42f9ffba327f49d74e14dc3b740d7f263276b78940f17557560a03b57ac8bf85b54a2fc7407aa
7
- data.tar.gz: 5917d86ee194c90052e5568593090a5de90684f3438d736c766ddae5b055bbf9a00191286a27bf16bae159a95068caa6994bdf17d7a1b8cfe10b1c5694d81891
6
+ metadata.gz: 52ce7e8fc9500aa1646852f653e68cbe86f06ec8327bcb1b833ba00b838694999495a0b98822bacd3ee88616fd5fb3d46af41a4144429bd1fb8c08df282407d7
7
+ data.tar.gz: 74cc1e25042edca7c358ec783a0bb79af2d56f975076c6bfb68cde2df5ed09af058ca84d963602ffaa9e1683a65234e82059db8eface16445848975be0712ecf
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.6.2
2
+
3
+ * Allow all `Option` types for input/output.
4
+
1
5
  # 0.6.1
2
6
 
3
7
  * Make `:input` and `:output` standard options of the DSL to create variable mappings.
@@ -23,12 +23,10 @@ class Trailblazer::Activity < Module
23
23
 
24
24
  # @private
25
25
  def self.filter_for(filter)
26
- if filter.is_a?(Proc)
27
- filter
28
- elsif filter.is_a?(Symbol)
29
- filter # TODO: test this properly?
30
- else
26
+ if filter.is_a?(::Array) || filter.is_a?(::Hash)
31
27
  TaskWrap::DSL.filter_from_dsl(filter)
28
+ else
29
+ filter
32
30
  end
33
31
  end
34
32
 
@@ -1,5 +1,5 @@
1
1
  module Trailblazer
2
2
  class Activity < Module
3
- VERSION = "0.6.1"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-activity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-13 00:00:00.000000000 Z
11
+ date: 2018-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hirb