fastlane-plugin-stream_actions 0.1.5 → 0.1.7

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: 834fcd8556edac941a7f96cc0635b5b14b31b2bb1108b641ef4b1d22a5b541e9
4
- data.tar.gz: 30dc6a5aefd71ca405c5bf91839b368130689a311a1a778f5fbe8daa754e63ce
3
+ metadata.gz: cc373822d20324cdb7e28d242a5279b5b017271d2ebc307d14469ab75177d8b3
4
+ data.tar.gz: f99b659269913977a42cb3520cefa74244350b0c54848a35033aa549aa730b97
5
5
  SHA512:
6
- metadata.gz: 3ee6a8583ce21d04f68d6de01aa23c3f9e8b3d613310273739a5b598969659955faa8a94dcf3da2b6932e5bae9db9c6ac92486cb846f55a9e59de6c9d771c35f
7
- data.tar.gz: a52e73838da89e85654b9b9bb0b884d83efbec1bdd0a1205ec3e131e86c8d733a8aac8ab48b188cfe868f01477911e39010b90bcb794ad808dbe5d4085feda4f
6
+ metadata.gz: 9e80669d5a0ebbaa2b56046eed6df41d5a70e595f476d00326ecf8be0b6120d6a1c2043050f9dc3e56da84055c4bac469b8ba3c78c2c507d9e0f94927a1e506c
7
+ data.tar.gz: 07ee14f31e3aabc0fa01d00525ae5edf8b69bd41295cbae1c847d20ce5ae6f241d42df0dc51840bb1f478b4cd9642dc108cfcd35445e9b30be6b2d1aa76ac73c
@@ -4,7 +4,7 @@ module Fastlane
4
4
 
5
5
  class IsCheckRequiredAction < Action
6
6
  def self.run(params)
7
- return true if ENV['GITHUB_EVENT_NAME'] != 'pull_request'
7
+ return true if ENV['GITHUB_EVENT_NAME'] != 'pull_request' && !params[:force]
8
8
 
9
9
  pr_number = JSON.parse(ENV['GITHUB_EVENT'])['pull_request']['number']
10
10
 
@@ -44,6 +44,11 @@ module Fastlane
44
44
  verify_block: proc do |type|
45
45
  UI.user_error!("Type has to be specified") unless type
46
46
  end
47
+ ),
48
+ FastlaneCore::ConfigItem.new(
49
+ key: :force,
50
+ description: 'Should the checked be anyway',
51
+ is_string: false
47
52
  )
48
53
  ]
49
54
  end
@@ -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']}")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.7"
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.5
4
+ version: 0.1.7
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