fastlane-plugin-stream_actions 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe523cad661bd0be5c6f5b6506c5d53bb9cc529c2ba9358d528178d1cb549d62
4
- data.tar.gz: 58455c34dfd514cc81606d0441a3c3a06b7812355efe9f280fa48a7cf6305e09
3
+ metadata.gz: 834fcd8556edac941a7f96cc0635b5b14b31b2bb1108b641ef4b1d22a5b541e9
4
+ data.tar.gz: 30dc6a5aefd71ca405c5bf91839b368130689a311a1a778f5fbe8daa754e63ce
5
5
  SHA512:
6
- metadata.gz: 48e46569e075b8bfa1976b0735395b4701982628cd14c9c60e44936fd6e81f4d34de5a98c8e3f62f0389a0598bfd497eb38767e1b906a64d874d745836789f2b
7
- data.tar.gz: f805c1e49334611b7df03ad457e771f61a45c5500e98109f98c5fb419a85764c6797c6bcd3aeaaf5c33546eb8be74943404259309f5984561e7a20624db6ef24
6
+ metadata.gz: 3ee6a8583ce21d04f68d6de01aa23c3f9e8b3d613310273739a5b598969659955faa8a94dcf3da2b6932e5bae9db9c6ac92486cb846f55a9e59de6c9d771c35f
7
+ data.tar.gz: a52e73838da89e85654b9b9bb0b884d83efbec1bdd0a1205ec3e131e86c8d733a8aac8ab48b188cfe868f01477911e39010b90bcb794ad808dbe5d4085feda4f
@@ -13,7 +13,7 @@ module Fastlane
13
13
  return true if changed_files.size == 100 # TODO: https://github.com/cli/cli/issues/5368
14
14
 
15
15
  changed_files.select! do |path|
16
- params[:sources][params[:type].to_sym].any? { |required| path.start_with?(required) }
16
+ params[:sources][params[:type]].any? { |required| path.start_with?(required) }
17
17
  end
18
18
 
19
19
  changed_files.size.positive?
@@ -32,6 +32,7 @@ module Fastlane
32
32
  FastlaneCore::ConfigItem.new(
33
33
  key: :sources,
34
34
  description: 'Array of paths to scan',
35
+ is_string: false,
35
36
  verify_block: proc do |source|
36
37
  UI.user_error!("Sources have to be specified") unless source
37
38
  end
@@ -39,6 +40,7 @@ module Fastlane
39
40
  FastlaneCore::ConfigItem.new(
40
41
  key: :type,
41
42
  description: 'Type of the check that was triggered',
43
+ is_string: false,
42
44
  verify_block: proc do |type|
43
45
  UI.user_error!("Type has to be specified") unless type
44
46
  end
@@ -34,8 +34,9 @@ module Fastlane
34
34
  FastlaneCore::ConfigItem.new(
35
35
  key: :env_vars,
36
36
  description: 'The environment variables to add to test plan',
37
- verify_block: proc do |path|
38
- UI.user_error!("The environment variables array should not be empty") if env_vars.empty?
37
+ is_string: false,
38
+ verify_block: proc do |array|
39
+ UI.user_error!("The environment variables array should not be empty") if array.empty?
39
40
  end
40
41
  )
41
42
  ]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-stream_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream