jmpod 0.2.6 → 0.3.6
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/jmpod-0.2.7.gem +0 -0
- data/jmpod-0.2.8.gem +0 -0
- data/jmpod-0.2.9.gem +0 -0
- data/jmpod-0.3.0.gem +0 -0
- data/jmpod-0.3.1.gem +0 -0
- data/jmpod-0.3.2.gem +0 -0
- data/jmpod-0.3.3.gem +0 -0
- data/jmpod-0.3.4.gem +0 -0
- data/lib/jmpod/command/config.rb +0 -4
- data/lib/jmpod/command/create/third.rb +0 -3
- data/lib/jmpod/command/init/ci.rb +1 -1
- data/lib/jmpod/command/init/unit.rb +1 -1
- data/lib/jmpod/command/op/gems.rb +33 -0
- data/lib/jmpod/command/op/gitconf.rb +34 -0
- data/lib/jmpod/command/op/xcache.rb +33 -0
- data/lib/jmpod/command/op.rb +15 -0
- data/lib/jmpod/command.rb +1 -0
- data/lib/jmpod/version.rb +1 -1
- metadata +13 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 575ce1e67a03e6846b8c52690dfd5b13841dbd66ebed97409080585915373684
|
4
|
+
data.tar.gz: dabac51d660931dd0b6686c0c7e21d72b2c939b520a755c5379b946d0351aae0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ad96620eeb2ccfd7a749e8ba6601b325fa03264c22debcf23975c5d6d0ef2809ab5b43a33138e39c2a7d5667e1752f13317c5ea02ed93ee07bfcd9ad27bd972
|
7
|
+
data.tar.gz: 2b0d315eed47eab0a12e74e11d492d7369f14e22c0fed89b5b77010935ae25dd5e3ad44a8d947d62474dbc8ef2805b43d33b9324b7a1c148f91c1990df023faa
|
data/jmpod-0.2.7.gem
ADDED
Binary file
|
data/jmpod-0.2.8.gem
ADDED
Binary file
|
data/jmpod-0.2.9.gem
ADDED
Binary file
|
data/jmpod-0.3.0.gem
ADDED
Binary file
|
data/jmpod-0.3.1.gem
ADDED
Binary file
|
data/jmpod-0.3.2.gem
ADDED
Binary file
|
data/jmpod-0.3.3.gem
ADDED
Binary file
|
data/jmpod-0.3.4.gem
ADDED
Binary file
|
data/lib/jmpod/command/config.rb
CHANGED
@@ -21,9 +21,6 @@ module Jmpod
|
|
21
21
|
def validate!
|
22
22
|
super
|
23
23
|
help! 'A url for the Pod is required.' unless @url
|
24
|
-
help! 'The Pod url cannot contain spaces.' if @url =~ /\s/
|
25
|
-
help! 'The Pod url cannot contain plusses.' if @url =~ /\+/
|
26
|
-
help! "The Pod url cannot begin with a '.'" if @url[0, 1] == '.'
|
27
24
|
end
|
28
25
|
|
29
26
|
def run
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module Jmpod
|
2
|
+
class Command
|
3
|
+
class Op < Command
|
4
|
+
class Gems < Op
|
5
|
+
|
6
|
+
self.summary = '打开gems文件夹'
|
7
|
+
self.description = <<-DESC
|
8
|
+
打开gems文件夹
|
9
|
+
DESC
|
10
|
+
|
11
|
+
self.arguments = [
|
12
|
+
]
|
13
|
+
|
14
|
+
def initialize(argv)
|
15
|
+
super
|
16
|
+
end
|
17
|
+
|
18
|
+
def validate!
|
19
|
+
super
|
20
|
+
end
|
21
|
+
|
22
|
+
def run
|
23
|
+
openGems
|
24
|
+
end
|
25
|
+
|
26
|
+
def openGems
|
27
|
+
puts 'gem路径为:/Library/Ruby/Gems/'.green
|
28
|
+
system 'open /Library/Ruby/Gems/'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
module Jmpod
|
2
|
+
class Command
|
3
|
+
class Op < Command
|
4
|
+
class Gitconf < Op
|
5
|
+
|
6
|
+
self.summary = '打开.gitconfig文件'
|
7
|
+
self.description = <<-DESC
|
8
|
+
打开.gitconfig文件
|
9
|
+
DESC
|
10
|
+
|
11
|
+
self.arguments = [
|
12
|
+
]
|
13
|
+
|
14
|
+
def initialize(argv)
|
15
|
+
super
|
16
|
+
end
|
17
|
+
|
18
|
+
def validate!
|
19
|
+
super
|
20
|
+
end
|
21
|
+
|
22
|
+
def run
|
23
|
+
openGitConfig
|
24
|
+
end
|
25
|
+
|
26
|
+
def openGitConfig
|
27
|
+
puts 'git config路径为:~/.gitconfig'.green
|
28
|
+
puts 'git命令为: git config --list'
|
29
|
+
`git config --list`
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module Jmpod
|
2
|
+
class Command
|
3
|
+
class Op < Command
|
4
|
+
class Xcache < Op
|
5
|
+
|
6
|
+
self.summary = '打开Xcode 缓存文件夹'
|
7
|
+
self.description = <<-DESC
|
8
|
+
打开Xcode 缓存文件夹
|
9
|
+
DESC
|
10
|
+
|
11
|
+
self.arguments = [
|
12
|
+
]
|
13
|
+
|
14
|
+
def initialize(argv)
|
15
|
+
super
|
16
|
+
end
|
17
|
+
|
18
|
+
def validate!
|
19
|
+
super
|
20
|
+
end
|
21
|
+
|
22
|
+
def run
|
23
|
+
openXcodeCache
|
24
|
+
end
|
25
|
+
|
26
|
+
def openXcodeCache
|
27
|
+
puts 'Xcode缓存路径为:~/Library/Developer/Xcode/DerivedData/'.green
|
28
|
+
system 'open ~/Library/Developer/Xcode/DerivedData/'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'jmpod/command/op/gems'
|
2
|
+
require 'jmpod/command/op/gitconf'
|
3
|
+
require 'jmpod/command/op/xcache'
|
4
|
+
|
5
|
+
module Jmpod
|
6
|
+
class Command
|
7
|
+
class Op < Command
|
8
|
+
self.abstract_command = true
|
9
|
+
self.summary = '打开常用文件'
|
10
|
+
self.description = <<-DESC
|
11
|
+
打开常用文件夹,并输出路径
|
12
|
+
DESC
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/jmpod/command.rb
CHANGED
data/lib/jmpod/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jmpod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jieming
|
@@ -116,6 +116,14 @@ files:
|
|
116
116
|
- Rakefile
|
117
117
|
- bin/jmpod
|
118
118
|
- bin/setup
|
119
|
+
- jmpod-0.2.7.gem
|
120
|
+
- jmpod-0.2.8.gem
|
121
|
+
- jmpod-0.2.9.gem
|
122
|
+
- jmpod-0.3.0.gem
|
123
|
+
- jmpod-0.3.1.gem
|
124
|
+
- jmpod-0.3.2.gem
|
125
|
+
- jmpod-0.3.3.gem
|
126
|
+
- jmpod-0.3.4.gem
|
119
127
|
- jmpod.gemspec
|
120
128
|
- lib/jmpod.rb
|
121
129
|
- lib/jmpod/command.rb
|
@@ -130,6 +138,10 @@ files:
|
|
130
138
|
- lib/jmpod/command/init.rb
|
131
139
|
- lib/jmpod/command/init/ci.rb
|
132
140
|
- lib/jmpod/command/init/unit.rb
|
141
|
+
- lib/jmpod/command/op.rb
|
142
|
+
- lib/jmpod/command/op/gems.rb
|
143
|
+
- lib/jmpod/command/op/gitconf.rb
|
144
|
+
- lib/jmpod/command/op/xcache.rb
|
133
145
|
- lib/jmpod/constant.rb
|
134
146
|
- lib/jmpod/version.rb
|
135
147
|
homepage: http://34.80.176.10:8080/iOS-third/jmpod
|