cocoapods-extension 0.0.2 → 0.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23d9d9f3347ec55cd24f6c9c896a4cc6629ea0c71d5c3922cd2090e5b141becd
4
- data.tar.gz: c3d552f1ebebe12b2ea98291fc0160045074031ef505a7f3f945143b82545ccd
3
+ metadata.gz: d7d2612f54e2825990b166bc8ff85f6b2f337f6edc40676ad4feaa58c3bf7c6b
4
+ data.tar.gz: 55b15814c4d5678c59c489df121381041a13cf94627bc6b23bee948ecfe41cf2
5
5
  SHA512:
6
- metadata.gz: 2d586a46d922e15dd605f1379feace1b376b21530c57c197b9c046c40673b9407fad0b679dff8b3f5a3e1a3966cacde36b6314bb74b07b4e4fba091db543999d
7
- data.tar.gz: 3447982537c9b223673931f8f23d318b36815f54a3f215f8e880dabf1bba90b262d073bad6d344b19966ef28f627c0fecc998aef3f8ebcb69fd73b296b008e2d
6
+ metadata.gz: 90eda1dd2b5b67eb684a64809ae59f9824d8168f49520b5bb274af405c50ad972b6228e4e6584f6c04e01c2cd88116d792ee563f54b4dd18393794efdefd8a98
7
+ data.tar.gz: 2c6f4037ffdd74728bebf69a16cde088e76b1815e099f814ca75d78067ff955992d35a8bf54982ea88310c895deb02737d6398c7e4d8ab5297aaf2597d4a474b
@@ -17,7 +17,7 @@ module Pod
17
17
  begin
18
18
  UI.puts "Updating development environment."
19
19
  Pod::Extension::Sandbox::update!
20
- UI.puts "Done."
20
+ UI.puts "Development environment updated complete!".green
21
21
  rescue => exception
22
22
  puts "[!] #{exception}".red
23
23
  end
@@ -7,7 +7,8 @@ module Pod
7
7
  old_method = instance_method(:pod)
8
8
  define_method(:pod) do |name, *requirements|
9
9
  development = Pod::Extension::Development::development
10
- options = requirements.last || Hash.new
10
+ options = requirements.last
11
+ options = options.is_a?(Hash) ? options : Hash.new;
11
12
  path = options[:path]
12
13
  if path.nil? && development.runing? && !development.pods_list?.nil? && !development.source_list?.nil?
13
14
  share = development.pods_list?[name]
@@ -1,3 +1,3 @@
1
1
  module CocoapodsExtension
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - panghu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-03 00:00:00.000000000 Z
11
+ date: 2020-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler