subpod 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: 287c5293a1160642f4eea26aed58ec02e0132832
4
- data.tar.gz: 8b412f2beecefbd2f341210bea583e1f5bd7fb32
3
+ metadata.gz: 66f9cab3a164471b2377183d915eb01ca4ad2213
4
+ data.tar.gz: 2d91ee0b265bebf1459b60bdda9e6b5ea80e8af7
5
5
  SHA512:
6
- metadata.gz: f788b44556efa9f7a78609f4680e0b5fd53f135762ce01ab2b996eb14df8fab5064d21a01053ee5d940c9c4bf5a9f8fda17dc259d34f0fdf9dd3d537b6d68472
7
- data.tar.gz: 53e142050cf9ad13711249992c0ea16e4a5aeffc4a36e8c625d896b7d5728c90ce7cfc91c2d2ea46bba389b7aacd4dddfc205f8f03ab55e892d67d1ea1060a61
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.option :version, '-v', '--version', 'Version of SubPod'
8
-
9
- CLActive.action do |opt|
10
- puts SubPod::VERSION if opt[:version]
11
- end
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
- CLActive.subcmd :update do |update|
20
- update.action do |opt|
21
- SubPod.run(:install, true)
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` found in the current working directory."
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!
@@ -1,3 +1,3 @@
1
1
  module SubPod
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
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.3
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-15 00:00:00.000000000 Z
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.5
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.5
40
+ version: 0.0.12
41
41
  description: Make Pods as a sub project
42
42
  email: tang3w@gmail.com
43
43
  executables: