cocoapods-ykutility 0.0.16 → 0.0.17
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: df1781fbaaf385bb78e2c6f759f83f695b97160873bd6f43dae0023d3b45392c
|
4
|
+
data.tar.gz: c4aa773035e0e924208073a652c6c3c32bfc3540d76ba4452be7170688fa09a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e40dcea94c384fece0a4d2af9e5d758b793d4f19ff36d26a3b8cef546522be7720566c404239c7833c0a33c7241ad0bf98708ad0d83b7a7a896f3faf945833f
|
7
|
+
data.tar.gz: 20e51a395c6c15cc6e9ac497850bd4c453637b50edf428cd8ac43c0408bbc0a886e8dab16a06fe8e4061e322edc3b00b9d2d8b3da1f865997940092845542813
|
@@ -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.17
|
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-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jazzy
|
@@ -129,7 +129,7 @@ homepage: https://github.com/stephen5652/cocoapods-yk-pod-utility.git
|
|
129
129
|
licenses:
|
130
130
|
- MIT
|
131
131
|
metadata: {}
|
132
|
-
post_install_message:
|
132
|
+
post_install_message:
|
133
133
|
rdoc_options: []
|
134
134
|
require_paths:
|
135
135
|
- lib
|
@@ -144,8 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
148
|
-
signing_key:
|
147
|
+
rubygems_version: 3.1.6
|
148
|
+
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: 一款cocoapods插件,用于创建定制化标准组件.
|
151
151
|
test_files: []
|