cocoapods-dist 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cocoapods-dist-0.0.1.gem +0 -0
- data/lib/cocoapods-dist/command/dist.rb +9 -4
- data/lib/cocoapods-dist/gem_version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf0d03f20ab9a0d0fc3af8fcf3cd9eab6e482199d9468634a9a151926333de73
|
4
|
+
data.tar.gz: e7255e71f325834408097b546765ed2311eb1a2f313f62511c28a798973ec835
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e947b82ff0d8900200e3c4e07687e7bf1ba7431be6234a6789a22e1b8d47da7f70b242726d12492aa42d81d6fa19b1c5d71cae1692ded1a868ae2d6a2483e605
|
7
|
+
data.tar.gz: bf4aa78a909d5c3fd5edab21cb137bf0272c6c8604acd1ad05473b6d33a50db189015e259b5a53c4c06c0beb61402702f0850804b0629991bbac28db6028b92d
|
Binary file
|
@@ -22,8 +22,8 @@ module Pod
|
|
22
22
|
|
23
23
|
def self.options
|
24
24
|
[
|
25
|
-
['--tag', '
|
26
|
-
['--commit', '
|
25
|
+
['--tag', 'show tags only'],
|
26
|
+
['--commit', 'show all addtion commits'],
|
27
27
|
].concat(super)
|
28
28
|
end
|
29
29
|
|
@@ -43,10 +43,11 @@ module Pod
|
|
43
43
|
|
44
44
|
validate!
|
45
45
|
|
46
|
-
#
|
46
|
+
#clone module to cache dir && fetch newest log
|
47
47
|
cloneToCache
|
48
|
+
fetchGit
|
48
49
|
|
49
|
-
#
|
50
|
+
#fetch updates
|
50
51
|
outdated = Pod::Command::Outdated.parse([])
|
51
52
|
updates = outdated.public_updates
|
52
53
|
updates = updates.select {|subArr| subArr[0] == @name} unless updates.empty?
|
@@ -126,6 +127,10 @@ module Pod
|
|
126
127
|
end
|
127
128
|
end
|
128
129
|
|
130
|
+
def fetchGit
|
131
|
+
Dir.chdir(env_git) { git! ['fetch'] }
|
132
|
+
end
|
133
|
+
|
129
134
|
def repo_clone(source, path)
|
130
135
|
unless Dir.exist?(path)
|
131
136
|
Dir.mkdir(path)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-dist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- youhui
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- LICENSE.txt
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
|
+
- cocoapods-dist-0.0.1.gem
|
54
55
|
- cocoapods-dist.gemspec
|
55
56
|
- lib/cocoapods-dist.rb
|
56
57
|
- lib/cocoapods-dist/command.rb
|