fastlane-plugin-stream_actions 0.3.101 → 0.3.103

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: 70baa58a4007406978755528bf3c44029b2a6774a26d41310b71af32ee13e86c
4
- data.tar.gz: 80c9062729860791c39049ea4e64cbb7efae7e6791bc7839f6f6f68a24c2c276
3
+ metadata.gz: ecdef6942d162386b056a2dd8c72d4e2fc68699d9f38cca5901783d0345f679e
4
+ data.tar.gz: 881ab30be8c1a7df21d915a5de8b7a06b9fbc3dbdac1847a6ea7ddcc16c65808
5
5
  SHA512:
6
- metadata.gz: 13d933c65f6698af94f43b51fe870a127b8e4424c98dfe8fb4fe12950976c73789826f7c1b1618278026bb1d317f77c3d27ae8a862eaa42db4faa178a35fde22
7
- data.tar.gz: b63e3ded374681a33585820bbabbe6c60df10dd2d291157f16dd82c21dd9ddcde5e6bd25e7dfa8f6730010742dc34fcfbfc0731980ed5c70479eb1fdcb9ebcf1
6
+ metadata.gz: 601642d278ed6cb9eb109e7810fd3e88e90158004a035efac8c09f3c5b3b437f5d64925ce5e4e5cea77e472e0e536d3be5e28acd5fda541c60d49cc3a99f3ebc
7
+ data.tar.gz: 1a8856e8d61082cf31bcdbf9a7d7f6b0bcb1970dce453e7bcd47dfc2e84218437d629bec5644112a2a91ea00003494a7ccbfce6bf2dc69ed705433167640e199
@@ -0,0 +1,35 @@
1
+ module Fastlane
2
+ module Actions
3
+ class CheckUnsafeFlagsAction < Action
4
+ def self.run(params)
5
+ if File.read(params[:swift_package_path]).include?('unsafe')
6
+ UI.user_error!('Package.swift contains unsafe flags.')
7
+ end
8
+ end
9
+
10
+ #####################################################
11
+ # @!group Documentation
12
+ #####################################################
13
+
14
+ def self.description
15
+ 'Checks if Package.swift contains unsafe flags'
16
+ end
17
+
18
+ def self.available_options
19
+ [
20
+ FastlaneCore::ConfigItem.new(
21
+ key: :swift_package_path,
22
+ description: 'The path to your project Package.swift',
23
+ is_string: true,
24
+ default_value: './Package.swift',
25
+ optional: false
26
+ )
27
+ ]
28
+ end
29
+
30
+ def self.is_supported?(platform)
31
+ true
32
+ end
33
+ end
34
+ end
35
+ end
@@ -44,11 +44,13 @@ module Fastlane
44
44
  end
45
45
  UI.important(content)
46
46
 
47
+ # Update metrics json with the new details
48
+ metrics[metrics_branch] = new_details
49
+ File.write(metrics_path, JSON.pretty_generate(metrics))
50
+
47
51
  next unless other_action.is_ci
48
52
 
49
53
  if is_release || (ENV['GITHUB_EVENT_NAME'].to_s == 'push' && other_action.current_branch == 'develop')
50
- metrics[metrics_branch] = new_details
51
- File.write(metrics_path, JSON.pretty_generate(metrics))
52
54
  Dir.chdir(metrics_dir) do
53
55
  if sh('git status -s').to_s.empty?
54
56
  UI.important('No changes in linkmap.')
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.3.101'
3
+ VERSION = '0.3.103'
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.3.101
4
+ version: 0.3.103
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-13 00:00:00.000000000 Z
11
+ date: 2026-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xctest_list
@@ -233,6 +233,7 @@ files:
233
233
  - lib/fastlane/plugin/stream_actions/actions/allure_create_testcase.rb
234
234
  - lib/fastlane/plugin/stream_actions/actions/allure_run_testplan.rb
235
235
  - lib/fastlane/plugin/stream_actions/actions/build_app_for_ios_simulator.rb
236
+ - lib/fastlane/plugin/stream_actions/actions/check_unsafe_flags.rb
236
237
  - lib/fastlane/plugin/stream_actions/actions/current_branch.rb
237
238
  - lib/fastlane/plugin/stream_actions/actions/custom_match.rb
238
239
  - lib/fastlane/plugin/stream_actions/actions/git_status.rb