cocoapods-ykutility 0.0.16 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39a9a6dbf6bbae7a26bc1268eaacb7be4a0e297634819162e68e4bba226ea6a5
|
4
|
+
data.tar.gz: 8ad12e93caae8c91ccb56080164f577fc074bee408bce563c47eb53777014df3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5165399c54df662f3ffb0c7790c9cc0011fd8dd2b36baca05a7f9a90f6250db2b78287f396b4317e99b3f864bc8bac0e441329b0367ed1ee5e740bfed1a1c66c
|
7
|
+
data.tar.gz: 96381ecac62375d1fccb537011d4c27b67b79853f792fc818de8b9fb5f00623f5306aafd87a0d2d97277f13332e787fae1b6bd65be9c4cf0b3b1fe765787845e
|
@@ -1,23 +1,27 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module YKPod
|
4
|
-
|
5
4
|
class YKCreatePodConfig
|
6
5
|
attr_accessor :name, :language, :with_demo, :with_register, :author, :author_email, :prefix, :path
|
7
6
|
|
8
|
-
def initialize
|
9
|
-
@name =
|
10
|
-
@language =
|
7
|
+
def initialize
|
8
|
+
@name = ''
|
9
|
+
@language = ''
|
11
10
|
@with_demo = true
|
12
11
|
@with_register = false
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
|
13
|
+
user_name = open('|git config --global user.name').gets
|
14
|
+
user_name = user_name.blank? ? 'xxximac' : user_name
|
15
|
+
user_email = open('|git config --global user.email').gets
|
16
|
+
user_email = user_email.blank? ? 'xxx@xxx.com' : user_email
|
17
|
+
@author = user_name.strip.gsub('.', '')
|
18
|
+
@author_email = user_email.strip
|
19
|
+
@prefix = 'YK'
|
16
20
|
@path = File.expand_path(Dir.getwd.to_s)
|
17
21
|
end
|
18
22
|
|
19
23
|
def prefix_name
|
20
|
-
|
24
|
+
name.start_with?(prefix) ? name : prefix + name
|
21
25
|
end
|
22
26
|
end
|
23
|
-
end
|
27
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-ykutility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stephen.chen
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jazzy
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: file_exists
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: bundler
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,7 +143,7 @@ homepage: https://github.com/stephen5652/cocoapods-yk-pod-utility.git
|
|
129
143
|
licenses:
|
130
144
|
- MIT
|
131
145
|
metadata: {}
|
132
|
-
post_install_message:
|
146
|
+
post_install_message:
|
133
147
|
rdoc_options: []
|
134
148
|
require_paths:
|
135
149
|
- lib
|
@@ -144,8 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
158
|
- !ruby/object:Gem::Version
|
145
159
|
version: '0'
|
146
160
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
148
|
-
signing_key:
|
161
|
+
rubygems_version: 3.4.10
|
162
|
+
signing_key:
|
149
163
|
specification_version: 4
|
150
164
|
summary: 一款cocoapods插件,用于创建定制化标准组件.
|
151
165
|
test_files: []
|