jmpod 0.1.2 → 0.1.3
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 +4 -4
- data/Gemfile.lock +2 -2
- data/lib/jmpod/command/create/oc.rb +1 -0
- data/lib/jmpod/command/create/swift.rb +1 -0
- data/lib/jmpod/command/create/third.rb +7 -2
- data/lib/jmpod/command/init.rb +1 -1
- data/lib/jmpod/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05cada685bb18c7bd7e93fca3cd4dd97d41348870a9c172bc4fbfca4e8fabccd
|
4
|
+
data.tar.gz: d6592cd71e7257c6dd5a038c1fe27814a80ba891e12f47f919cbb67db204ea61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5117400e7b714c33588eb538d4adf8496f80ca212d4f3e8d823c97bfcb477c178140e7173a6fb3c0beb6d433d5568e4f13b47abb9ec43b9e67e54c1a313b1467
|
7
|
+
data.tar.gz: befb274bebbb6dab4f31ec662962b47f3ee7acaa8140359dae47b65b6e06f6c063bf284543ae7b4961a44883b354c677475cda3c83c833063f3902b07eb1a5e6
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jmpod (0.1.
|
4
|
+
jmpod (0.1.2)
|
5
5
|
claide (>= 1.0.2, < 2.0)
|
6
6
|
cocoapods (>= 1.8.4)
|
7
7
|
colored2 (~> 3.1)
|
8
8
|
molinillo (~> 0.6.6)
|
9
9
|
|
10
10
|
GEM
|
11
|
-
remote: https://
|
11
|
+
remote: https://ruby-china.org/
|
12
12
|
specs:
|
13
13
|
CFPropertyList (3.0.2)
|
14
14
|
activesupport (4.2.11.1)
|
@@ -30,8 +30,13 @@ module Jmpod
|
|
30
30
|
# fork 第三方仓库流程
|
31
31
|
puts "run"
|
32
32
|
`git clone #{@url}`
|
33
|
-
|
34
|
-
|
33
|
+
dir = @url.match(/[a-z|\-]+(?=\.git)/)
|
34
|
+
`cd dir`
|
35
|
+
`git remote set-url origin http://34.80.176.10:8080/ios/#{dir}.git`
|
36
|
+
`git push origin master`
|
37
|
+
`git push --tags`
|
38
|
+
# TODO 将podspec上传到私有specs上
|
39
|
+
|
35
40
|
puts "fork 第三方库成功!".green
|
36
41
|
end
|
37
42
|
end
|
data/lib/jmpod/command/init.rb
CHANGED
data/lib/jmpod/version.rb
CHANGED