cocoapods-bin 0.1.10 → 0.1.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7e7004742f0706b39361c49ccb6514cb2403e4c
4
- data.tar.gz: 57ddc9568893b8267091a0d8a7635203e7ba34fd
3
+ metadata.gz: 5e69bdb2c15a7997fa3e79c20054e68c72d785c1
4
+ data.tar.gz: c92c1fe7bedd91a8141fc7e4da2bc6b4e5f0c733
5
5
  SHA512:
6
- metadata.gz: fca94fe628bbbeb5169886a82ff851d32f463337e2ed6fc5ee575ed1edb511642bda1eef905cba0fe1c72e57a390e2dda6988b1d1f4725567f457beccf60cc30
7
- data.tar.gz: 259a3dfe774bdff6592b630eb36c594acda9137a8512b223a199e36a89b1991a133334654faec1f8d18a1ffc313484257845aac3ad4528ae259b46f3c9b93b01
6
+ metadata.gz: cae7bab625278b25106d637d1d69953d376918905876ff68828d7c0e647bd4f1be7c705f0e8d43dc281ee9033215b4ac4760dc781d9fe561828390b9a77a1277
7
+ data.tar.gz: 4a05474bdad32d7f705e4445573e4a0341850ecfe139b31e14dd43d9c4e6cf498590f7dd5e30654ad6b3067e2dadffe757275ae1ecbdf027a03c3a91751af430
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-bin (0.1.10)
4
+ cocoapods-bin (0.1.11)
5
5
  cocoapods (~> 1.4)
6
6
  parallel
7
7
 
@@ -1,5 +1,5 @@
1
1
  module CBin
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
3
3
  end
4
4
 
5
5
  module Pod
data/lib/cocoapods-bin.rb CHANGED
@@ -1,47 +1,2 @@
1
1
  require 'cocoapods-bin/gem_version'
2
- require 'cocoapods-bin/native/sources_manager'
3
-
4
-
5
- p '============='
6
- p '============='
7
- module Pod
8
- class Command
9
- class Update < Command
10
- def initialize(argv)
11
- @pods = argv.arguments! unless argv.arguments.empty?
12
-
13
- p config.lockfile
14
-
15
- source_urls = argv.option('sources', '').split(',')
16
- excluded_pods = argv.option('exclude-pods', '').split(',')
17
- unless source_urls.empty?
18
- source_pods = source_urls.flat_map { |url| config.sources_manager.source_with_name_or_url(url).pods }
19
- unless source_pods.empty?
20
- source_pods = source_pods.select { |pod| config.lockfile.pod_names.include?(pod) }
21
- if @pods
22
- @pods += source_pods
23
- else
24
- @pods = source_pods unless source_pods.empty?
25
- end
26
- end
27
- end
28
-
29
- unless excluded_pods.empty?
30
- @pods ||= config.lockfile.pod_names.dup
31
-
32
- non_installed_pods = (excluded_pods - @pods)
33
- unless non_installed_pods.empty?
34
- pluralized_words = non_installed_pods.length > 1 ? %w(Pods are) : %w(Pod is)
35
- message = "Trying to skip `#{non_installed_pods.join('`, `')}` #{pluralized_words.first} " \
36
- "which #{pluralized_words.last} not installed"
37
- raise Informative, message
38
- end
39
-
40
- @pods.delete_if { |pod| excluded_pods.include?(pod) }
41
- end
42
-
43
- super
44
- end
45
- end
46
- end
47
- end
2
+ require 'cocoapods-bin/native/sources_manager'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - tripleCC