ann-flavor-flutter 0.4.2 → 0.4.4

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: 741646ba710b4a450331a43e806f7015b0ad4d8475b8491c4e1f962d0d61e110
4
- data.tar.gz: f9fde1844ac4e1011bf822664b436d1f19c817034e47c043e35fa0b401d05a02
3
+ metadata.gz: d57c1bc278619e03093217b10da943867c6451ec3f7a9aa5bb1467a4237e23e3
4
+ data.tar.gz: 0ba8e70d266810c144431767937f454ea91d20f5d05360a83ed53c92a1b4b688
5
5
  SHA512:
6
- metadata.gz: b89eeb29158c2c14b49887978b6bd1939cf38988a351b9cef99e892f13ffb649bffaab6745ac9e46f1c3e66cb689924d6500e766b97efc8207f8a4e3d82297cd
7
- data.tar.gz: c6ee9b1f456bf2081b6fd974b1324968b7779a65f6705c1efef5ed108a05c23b403a7f977bed34a542bf422431eb68099b447dccaffa3be8fd6374e229a92979
6
+ metadata.gz: e4e38b858c0b17060676cd37fe24af154fa01bf9defe1bb104e92e5d4290e26da0eb62a05ff58bbf77145b30054238a1d81ab27f4d8e7891ec6c9796095dd65b
7
+ data.tar.gz: 8db5bae8d0e7688a68fe7ed319211cc25d8135c80dbf2e6255c14d5c845bf43568481e94241bf6fe51fbcf615c2f6f8309802aa66464653d0d4f1199ac730b72
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.4
4
+
5
+ ### Fixed
6
+ - `flutter build web --output` now receives an absolute path (Flutter requires it) and is passed as separate array elements rather than a single `--output=path` string.
7
+
8
+ ---
9
+
10
+ ## 0.4.3
11
+
12
+ ### Fixed
13
+ - `compile_build` for web now calls `Fastlane::Actions.sh` instead of bare `sh`, which is only available in lane context. Fixes `undefined method 'sh'` error during `upload_to_cloudflare`.
14
+
15
+ ---
16
+
3
17
  ## 0.4.2
4
18
 
5
19
  ### Changed
@@ -1,3 +1,3 @@
1
1
  module AnnFlavorFlutter
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.4"
3
3
  end
@@ -106,11 +106,10 @@ module FastlaneFlutterFlavor
106
106
  cli_flavor = ""
107
107
  cli_flavor_option = ""
108
108
  # Preprocess: copy per-flavor web assets into web/ before building
109
- sh("dart run ann_flutter_flavor sync-web --flavor #{flavor} --project #{@spec_root_folder}")
109
+ Fastlane::Actions.sh("dart", "run", "ann_flutter_flavor", "sync-web", "--flavor", flavor, "--project", @spec_root_folder)
110
110
  # Append per-flavor output directory when a flavor is specified
111
111
  unless flavor.empty?
112
- output_flag = "--output=#{web_output_dir(flavor)}"
113
- additional_parameter = additional_parameter.to_s.empty? ? output_flag : "#{additional_parameter} #{output_flag}"
112
+ additional_parameter = [additional_parameter.to_s, "--output", web_output_dir(flavor)].reject(&:empty?)
114
113
  end
115
114
  end
116
115
 
@@ -581,7 +580,8 @@ module FastlaneFlutterFlavor
581
580
  private
582
581
 
583
582
  def web_output_dir(flavor)
584
- flavor.to_s.empty? ? "build/web" : "build/web/#{flavor}"
583
+ relative = flavor.to_s.empty? ? "build/web" : "build/web/#{flavor}"
584
+ File.expand_path(relative, @root_folder)
585
585
  end
586
586
 
587
587
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ann-flavor-flutter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ANN Solutions
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-08-14 00:00:00.000000000 Z
11
+ date: 2026-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane