cocoapods-binary-flutter 0.0.4 → 0.0.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: dbccf5f81ab2d1c4027344919097747c08243f635dfce19e25c920e89fed0046
4
- data.tar.gz: 4676603b66098d1c0a74a12a72ad183b6d4dd730f191b5e5544869251c41af4f
3
+ metadata.gz: 56711746f3dae006843c13fac105cee635f8a239260a4434480f82cc84c00a08
4
+ data.tar.gz: 190ad47229df9a14faaeb557e475728b2f8cfbff3fe28c8c196ade71a2be1c4b
5
5
  SHA512:
6
- metadata.gz: d043d042a6e9ed71008da1f2b5a959a4fda52e35caebe466580ccf0aff6432221d6635871977ab8f7fcd23932719e8be34aff16f21891742475b05a3ea5dbc8a
7
- data.tar.gz: 24254a17154575e5a90106d6e6908f9ca28cdc5f206d7449c91e06202ea910989252b80905e05e64f05f6cf5cacca12e2cfe93267b3f8bbbeed6f02f4d69c40f
6
+ metadata.gz: af6e879e3bdce903f9b142bc4406c166c2b7c6a85285fb8364cd9e0a8797a32a5dcd777cb24ea7ba8e2cd6c5a4ac4b01b2d655a21ad28e28e92f570ac108e153
7
+ data.tar.gz: 1750e1764f6adb294f2842de882ea2611f377b0f976da8fb0cd8e23154a442cacab4a3605fe8103bcb64a21894a1290de3e630f4a7cbba6fcb48ba58447ff5fa
@@ -1,3 +1,3 @@
1
1
  module CocoapodsBinaryFlutter
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -71,6 +71,21 @@ module Pod
71
71
 
72
72
  #安装
73
73
  def install_all_lzflutter_pods(flutter_binary_path)
74
+ # defined_in_file is a Pathname to the Podfile set by CocoaPods.
75
+ pod_contents = File.read(defined_in_file)
76
+ if pod_contents.include? 'flutter_post_install'
77
+ puts <<~POSTINSTALL
78
+ DELETE `flutter_post_install(installer)` to your Podfile `post_install` block to build Flutter plugins:
79
+
80
+ post_install do |installer|
81
+ flutter_post_install(installer)
82
+ end
83
+ POSTINSTALL
84
+ raise 'DELETE `flutter_post_install(installer)` in Podfile `post_install` block
85
+ Flutter产物依赖不需要flutter_post_install(installer)
86
+ '
87
+ end
88
+
74
89
  install_lzflutter_engine_pod(flutter_binary_path)
75
90
  install_lzflutter_plugin_pods(flutter_binary_path)
76
91
  install_lzflutter_application_pod(flutter_binary_path)
@@ -104,6 +119,7 @@ module Pod
104
119
  def install_lzflutter_application_pod(flutter_binary_path)
105
120
  pod 'App', :path => File.join(flutter_binary_path, 'flutter'), :inhibit_warnings => true
106
121
  end
122
+
107
123
  end
108
124
  end
109
125
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-binary-flutter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
- - 单浩强
8
- autorequire:
7
+ - Jacky
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-16 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -56,7 +56,7 @@ homepage: https://github.com/EXAMPLE/cocoapods-binary-flutter
56
56
  licenses:
57
57
  - MIT
58
58
  metadata: {}
59
- post_install_message:
59
+ post_install_message:
60
60
  rdoc_options: []
61
61
  require_paths:
62
62
  - lib
@@ -71,8 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.0.3
75
- signing_key:
74
+ rubygems_version: 3.1.4
75
+ signing_key:
76
76
  specification_version: 4
77
77
  summary: A longer description of cocoapods-binary-flutter.
78
78
  test_files: []