cocoapods-binary-flutter 0.0.8 → 0.0.9
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8015e84e4cd63fcc94031d9c42061ccbcba859d6a7c25897b7d2ed5b8c78eda
|
|
4
|
+
data.tar.gz: 620592d6f2b537f272da97b94725313dd57e9c1605a6317cd010c5794fe407db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4011e3fd4efd2f2dd677947a03bc3579c132e3fb6988b1e3d3da31f25366fd8324eb7df640c8b0f03d9716c662edf43615c42703c13439130ef11555c4b241d4
|
|
7
|
+
data.tar.gz: 6a0a1581ebccac9e6e377bf26bf2d36b665aac031fb126093d37a644f750252f1b5310a3a6489a0a1376b02a1af514fed13c04958d2cd4816be30b5610b2a12b
|
|
@@ -7,6 +7,7 @@ require 'fileutils'
|
|
|
7
7
|
require 'uri'
|
|
8
8
|
require 'net/http'
|
|
9
9
|
require 'net/https'
|
|
10
|
+
require 'colorize'
|
|
10
11
|
|
|
11
12
|
module Pod
|
|
12
13
|
class Podfile
|
|
@@ -73,17 +74,16 @@ module Pod
|
|
|
73
74
|
def install_all_lzflutter_pods(flutter_binary_path)
|
|
74
75
|
# defined_in_file is a Pathname to the Podfile set by CocoaPods.
|
|
75
76
|
pod_contents = File.read(defined_in_file)
|
|
76
|
-
if pod_contents.include? 'flutter_post_install'
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
if pod_contents.include? 'flutter_post_install(installer)'
|
|
78
|
+
|
|
79
|
+
unless pod_contents.include? 'flutter_post_install(installer) if defined?(flutter_post_install)'
|
|
80
|
+
|
|
81
|
+
raise "产物依赖需要修改 flutter_post_install(installer) 增加define判断` in Podfile `post_install` block
|
|
82
|
+
flutter_post_install(installer) if defined?(flutter_post_install)
|
|
83
|
+
".colorize(:red)
|
|
84
|
+
|
|
85
|
+
end
|
|
79
86
|
|
|
80
|
-
post_install do |installer|
|
|
81
|
-
flutter_post_install(installer)
|
|
82
|
-
end
|
|
83
|
-
POSTINSTALL
|
|
84
|
-
puts "\\e[33mDELETE `flutter_post_install(installer)` in Podfile `post_install` block
|
|
85
|
-
Flutter产物依赖不需要flutter_post_install(installer)
|
|
86
|
-
\e[0m"
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
install_lzflutter_engine_pod(flutter_binary_path)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-binary-flutter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jacky
|
|
@@ -11,21 +11,21 @@ cert_chain: []
|
|
|
11
11
|
date: 2023-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: rake
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '0'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
26
|
+
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
28
|
+
name: colorize
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - ">="
|