jump-starter 1.1.16 → 1.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/bin/jumpstart +7 -83
- data/lib/jumpstarter_core/setup.rb +1 -1
- data/lib/jumpstarter_core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9706f9216827451fb3e6506ba998c7a5c234bb7423074c078d533fa9e35aff7
|
4
|
+
data.tar.gz: 006744101b01ed63fc394d5ae554e3fe503393fffb55c02c66d426032a1e5dc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0a6fc532b81d6cbaa6f41a168703b1c779641fbf59a590cbc1737f71de076f18f9292d00b7248acdd1cb9d204b1694076b32a0943806f67ac5131b0502509aa
|
7
|
+
data.tar.gz: ddbf25c072b29ebf4dd6d279463642ba8e30c11db59b91632d1b8d8a5c7e8cb80cf649f66648dfe878fcafdd868d8b5159992adf138e239f8aeb0b04813cadc0
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
|
4
|
+
jump-starter (1.1.16)
|
5
5
|
colorize
|
6
6
|
commander
|
7
7
|
|
@@ -32,9 +32,9 @@ PLATFORMS
|
|
32
32
|
ruby
|
33
33
|
|
34
34
|
DEPENDENCIES
|
35
|
-
|
35
|
+
jump-starter!
|
36
36
|
rake
|
37
37
|
rspec
|
38
38
|
|
39
39
|
BUNDLED WITH
|
40
|
-
1.
|
40
|
+
1.17.3
|
data/bin/jumpstart
CHANGED
@@ -2,107 +2,31 @@
|
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'commander'
|
5
|
-
require '
|
5
|
+
require 'jumpstarter'
|
6
6
|
|
7
|
-
module
|
7
|
+
module Jumpstarter
|
8
8
|
class Kernal
|
9
9
|
include Commander::Methods
|
10
10
|
# include whatever modules you need
|
11
11
|
def run
|
12
|
-
program :name, '
|
12
|
+
program :name, 'Jumpstarter'
|
13
13
|
program :version, '0.0.1'
|
14
14
|
program :description, 'Helps maintain dependencies'
|
15
15
|
|
16
|
-
command :
|
17
|
-
c.syntax = '
|
16
|
+
command :start do |c|
|
17
|
+
c.syntax = 'Jumpstarter start [options]'
|
18
18
|
c.summary = ''
|
19
19
|
c.description = ''
|
20
20
|
c.example 'description', 'command example'
|
21
21
|
c.option '--some-switch', 'Some switch that does something'
|
22
22
|
c.action do |args, options|
|
23
|
-
|
23
|
+
Jumpstarter::Runner.setup
|
24
24
|
end
|
25
25
|
end
|
26
|
-
|
27
|
-
# command :install do |c|
|
28
|
-
# c.syntax = 'maintainer setup [options]'
|
29
|
-
# c.summary = ''
|
30
|
-
# c.description = ''
|
31
|
-
# c.example 'description', 'command example'
|
32
|
-
# c.option '--some-switch', 'Some switch that does something'
|
33
|
-
# c.action do |args, options|
|
34
|
-
# if args[0] == "cocoapods"
|
35
|
-
# Maintainer::Runner.install_cocoapods
|
36
|
-
# elsif args[0] == "git"
|
37
|
-
# Maintainer::Runner.install_git
|
38
|
-
# elsif args[0] == "pip"
|
39
|
-
# Maintainer::Runner.install_pip
|
40
|
-
# end
|
41
|
-
# end
|
42
|
-
# end
|
43
|
-
|
44
|
-
# command :uninstall do |c|
|
45
|
-
# c.syntax = 'maintainer setup [options]'
|
46
|
-
# c.summary = ''
|
47
|
-
# c.description = ''
|
48
|
-
# c.example 'description', 'command example'
|
49
|
-
# c.option '--some-switch', 'Some switch that does something'
|
50
|
-
# c.action do |args, options|
|
51
|
-
# if args[0] == "cocoapods"
|
52
|
-
# Maintainer::Runner.uninstall_cocoapods
|
53
|
-
# end
|
54
|
-
# end
|
55
|
-
# end
|
56
|
-
|
57
|
-
# command :pip do |c|
|
58
|
-
# c.syntax = 'maintainer pod [options]'
|
59
|
-
# c.summary = ''
|
60
|
-
# c.description = ''
|
61
|
-
# c.example 'description', 'command example'
|
62
|
-
# c.option '--some-switch', 'Some switch that does something'
|
63
|
-
# c.action do |args, options|
|
64
|
-
# Maintainer::Runner.pip(pkg: "#{args[0]}")
|
65
|
-
# end
|
66
|
-
# end
|
67
|
-
|
68
|
-
# command :pod do |c|
|
69
|
-
# c.syntax = 'maintainer pod [options]'
|
70
|
-
# c.summary = ''
|
71
|
-
# c.description = ''
|
72
|
-
# c.example 'description', 'command example'
|
73
|
-
# c.option '--some-switch', 'Some switch that does something'
|
74
|
-
# c.action do |args, options|
|
75
|
-
# Maintainer::Runner.pod(podname: "#{args[0]}")
|
76
|
-
# end
|
77
|
-
# end
|
78
|
-
|
79
|
-
# command :update do |c|
|
80
|
-
# c.syntax = 'maintainer pod [options]'
|
81
|
-
# c.summary = ''
|
82
|
-
# c.description = ''
|
83
|
-
# c.example 'description', 'command example'
|
84
|
-
# c.option '--some-switch', 'Some switch that does something'
|
85
|
-
# c.action do |args, options|
|
86
|
-
# if args[0] == "all"
|
87
|
-
# Maintainer::Runner.update_all!
|
88
|
-
# end
|
89
|
-
# end
|
90
|
-
# end
|
91
|
-
|
92
|
-
# command :help do |c|
|
93
|
-
# c.syntax = 'maintainer help [options]'
|
94
|
-
# c.summary = ''
|
95
|
-
# c.description = ''
|
96
|
-
# c.example 'description', 'command example'
|
97
|
-
# c.option '--some-switch', 'Some switch that does something'
|
98
|
-
# c.action do |args, options|
|
99
|
-
# # Do something or c.when_called Maintainer::Commands::Help
|
100
|
-
# end
|
101
|
-
# end
|
102
26
|
run!
|
103
27
|
end
|
104
28
|
end
|
105
29
|
end
|
106
30
|
|
107
|
-
|
31
|
+
Jumpstarter::Kernal.new.run
|
108
32
|
|