subpod 0.0.3 → 0.0.4
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/bin/subpod +9 -13
- data/lib/subpod.rb +1 -1
- data/lib/subpod/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66f9cab3a164471b2377183d915eb01ca4ad2213
|
|
4
|
+
data.tar.gz: 2d91ee0b265bebf1459b60bdda9e6b5ea80e8af7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54023de0ab0c780402f470a92f705c7c6eccbd164666ea6dcad8f9e831e6a8802bc88c165982907eb873da3e1147e211e5aac82a1d1f9c0fa552eb1391937839
|
|
7
|
+
data.tar.gz: 8ef8c851d964442abe843a129d6e2d4aed99dde2b0e44055b98255e4828740829cffa3d8f4575294538d8dab9f2b01cdeabb3fc1e237827eecd0dc5fb2e75439
|
data/bin/subpod
CHANGED
|
@@ -4,20 +4,16 @@ require 'rubygems'
|
|
|
4
4
|
require 'clactive'
|
|
5
5
|
require 'subpod'
|
|
6
6
|
|
|
7
|
-
CLActive
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
CLActive.subcmd :install do |install|
|
|
14
|
-
install.action do |opt|
|
|
15
|
-
SubPod.run(:install)
|
|
7
|
+
CLActive do
|
|
8
|
+
subcmd :install do
|
|
9
|
+
action { SubPod.run(:install) }
|
|
10
|
+
end
|
|
11
|
+
subcmd :update do
|
|
12
|
+
action { SubPod.run(:install, true) }
|
|
16
13
|
end
|
|
17
|
-
end
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
SubPod
|
|
15
|
+
option :version, '-v', '--version', 'Version of SubPod'
|
|
16
|
+
action do |opt|
|
|
17
|
+
puts SubPod::VERSION if version?
|
|
22
18
|
end
|
|
23
19
|
end
|
data/lib/subpod.rb
CHANGED
|
@@ -9,7 +9,7 @@ module SubPod
|
|
|
9
9
|
|
|
10
10
|
def install(update_mode = false)
|
|
11
11
|
cfg = Pod::Config.instance
|
|
12
|
-
cfg.podfile or fail Pod::Informative, "No `Podfile
|
|
12
|
+
cfg.podfile or fail Pod::Informative, "No `Podfile' found in the current working directory."
|
|
13
13
|
installer = Installer.new(cfg.sandbox, cfg.podfile, cfg.lockfile)
|
|
14
14
|
installer.update_mode = update_mode
|
|
15
15
|
installer.install!
|
data/lib/subpod/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: subpod
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tang Tianyong
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-04-
|
|
11
|
+
date: 2013-04-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - ~>
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.0.
|
|
33
|
+
version: 0.0.12
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - ~>
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.0.
|
|
40
|
+
version: 0.0.12
|
|
41
41
|
description: Make Pods as a sub project
|
|
42
42
|
email: tang3w@gmail.com
|
|
43
43
|
executables:
|