cocoapods-aomi-bin 0.1.26 → 0.1.27
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: ecdcf77ffe789de831f4e640d3088a54e19e6879a1f4fa0654c3a634cda30cd5
|
4
|
+
data.tar.gz: e401cb597d909572b6414605f4655fc9498392ac1f991c922e288dfa93dbfbac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b70ea18250659f69e835e25a3de288fa94e043ce5d217e08e6448e411277ad32be606471b06b09f5d714c635e282290946ad45c9db6c15b58cba4514a10d487
|
7
|
+
data.tar.gz: 1db2b61c886c530cdfa04f236a04dacc010a1c95e7481babbd4623ee63203a91dc1534ecc20950cc91c6e686c9579016091e5d7bd1787eb9dfe7819c67c37b29
|
@@ -127,7 +127,7 @@ module Pod
|
|
127
127
|
puts "[self.#{name}.topAnchor constraintEqualToAnchor:contentView.topAnchor].active = YES;"
|
128
128
|
puts "[self.#{name}.bottomAnchor constraintEqualToAnchor:contentView.bottomAnchor].active = YES;"
|
129
129
|
puts "[self.#{name}.widthAnchor constraintEqualToConstant:80].active = YES;"
|
130
|
-
puts "[self.#{name}.heightAnchor
|
130
|
+
puts "[self.#{name}.heightAnchor constraintEqualToConstant:80].active = YES;"
|
131
131
|
puts "\n\n"
|
132
132
|
end
|
133
133
|
end
|
@@ -26,6 +26,7 @@ module Pod
|
|
26
26
|
@models = []
|
27
27
|
@config_id = ''
|
28
28
|
@config_model_pre = 'ML'
|
29
|
+
@model_default_suffix = 'Model'
|
29
30
|
@type_trans = {}
|
30
31
|
@config_model_names = []
|
31
32
|
@model_names = []
|
@@ -81,6 +82,7 @@ module Pod
|
|
81
82
|
@http_url = config['url']
|
82
83
|
@config_id = config['id']
|
83
84
|
@config_model_pre = config['model_pre']
|
85
|
+
@config_model_suffix = config['model_suffix']
|
84
86
|
@config_model_names = config['model_names']
|
85
87
|
@type_trans = config['type_trans']
|
86
88
|
end
|
@@ -93,6 +95,10 @@ module Pod
|
|
93
95
|
@model_pre_name || @config_model_pre
|
94
96
|
end
|
95
97
|
|
98
|
+
def model_suffix
|
99
|
+
@config_model_suffix || @model_default_suffix
|
100
|
+
end
|
101
|
+
|
96
102
|
def req_model
|
97
103
|
uri = URI.parse(url_str)
|
98
104
|
req = Net::HTTP::Get.new(uri)
|
@@ -160,7 +166,7 @@ module Pod
|
|
160
166
|
if n.length <= 0
|
161
167
|
n = @config_model_names.detect{ |c| !@model_names.any?{ |n| n.gsub(/#{model_pre}(.*)Model/, '\1').eql?(c) } }
|
162
168
|
end
|
163
|
-
model_name = "#{model_pre}#{n}
|
169
|
+
model_name = "#{model_pre}#{n}#{model_suffix}"
|
164
170
|
@model_names << model_name
|
165
171
|
model_name
|
166
172
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-aomi-bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lihaijian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|