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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c767924cd3e18cf87c96793b0ae13e5704705b60a209774969dee552616355c4
4
- data.tar.gz: d7cc7b815165cd54a8ccd2db8ffa80b0fb25b973fc2c09327cc9263ecbb185e0
3
+ metadata.gz: cf0d03f20ab9a0d0fc3af8fcf3cd9eab6e482199d9468634a9a151926333de73
4
+ data.tar.gz: e7255e71f325834408097b546765ed2311eb1a2f313f62511c28a798973ec835
5
5
  SHA512:
6
- metadata.gz: c78f3ce502ee21c08c8e00edf4de66d42aa150c1c5fc306d0ea9eb315c34e7a723901a167a28c8b582c8b8c5d933810d8f92195233601e9ac23a5e517fbbf0e5
7
- data.tar.gz: 2084843afa12e197aac2b989b576dc4918195523cba93331f04cbc6aa96e2e594a0a887d266dd8e76b315a5bfd75d6c2f13d94c537210d93977f2b9e169a74cf
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', 'Force running `pod repo update` before install'],
26
- ['--commit', 'Disallow any changes to the Podfile or the Podfile.lock during installation'],
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
- #first clone module to cache dir
46
+ #clone module to cache dir && fetch newest log
47
47
  cloneToCache
48
+ fetchGit
48
49
 
49
- #second
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)
@@ -1,3 +1,3 @@
1
1
  module CocoapodsDist
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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