fastlane-plugin-stream_actions 0.1.4 → 0.1.6

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: d86c11c6bb9a4e8d5f01ffbbf5d8ad1abbe5f5fd936c024337e90e4efd9c95b9
4
- data.tar.gz: 92f4ccaa57ac8fe1c3b5a313fa2641c03fe6e29fe1c94502f2fe00a0f8e66cfd
3
+ metadata.gz: e9b22c10c2a5f37386d1b8d9a09da0098e864d78824ffe5a6da552d4e52984b6
4
+ data.tar.gz: 9471a975bc5258fb802234d7c53d170397ddb0a64f430f163e3e20c134baddfd
5
5
  SHA512:
6
- metadata.gz: d5f6de7ee9c8595e380cb2a1381ccb18f6dd5df71458ff99d53ac8ff57c17b6f887db0624b767dd0f8cab18d11abd7a0d2d6d4ee5d529f933fbd7da645c270b0
7
- data.tar.gz: 44fe021c2bb9535f6ea7de8db84776e27473efd42ff667c5b3afffcd58938986f55db61d30a97fc5bd335fbbc9863001aabc18cb9a8317af6a3d6e7965f66f0a
6
+ metadata.gz: 3fd3a80b24055e615ad2ff05870361b3e50639131fc22af910381f9f909d7a2e3a844d02de8a83d31e3f7ebf90edc404045550d8b24051defa22fe6a1ed2ff9d
7
+ data.tar.gz: '09fae4d3655bf8b206e466728d19ad6f2ef22e353927f136a101ba8ec369d8fd7bdb588ace04b7712cb3106e4600666decb9f9cd416e6cfeddf6a92ec1a3f2cb'
@@ -8,7 +8,7 @@ module Fastlane
8
8
  data_hash['defaultOptions']['environmentVariableEntries'] ||= []
9
9
 
10
10
  data_hash['defaultOptions']['environmentVariableEntries'] << params[:env_vars]
11
- File.write(test_plan_file, JSON.pretty_generate(data_hash))
11
+ File.write(params[:path], JSON.pretty_generate(data_hash))
12
12
 
13
13
  UI.success("✅ `#{params[:env_vars]}` ENV variables have been added to #{params[:path]}")
14
14
  UI.message("👀 #{params[:path]} ENV variables:\n#{data_hash['defaultOptions']['environmentVariableEntries']}")
@@ -35,8 +35,8 @@ module Fastlane
35
35
  key: :env_vars,
36
36
  description: 'The environment variables to add to test plan',
37
37
  is_string: false,
38
- verify_block: proc do |path|
39
- UI.user_error!("The environment variables array should not be empty") if env_vars.empty?
38
+ verify_block: proc do |array|
39
+ UI.user_error!("The environment variables array should not be empty") if array.empty?
40
40
  end
41
41
  )
42
42
  ]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-stream_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-28 00:00:00.000000000 Z
11
+ date: 2022-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler