appextensioninstaller 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +33 -20
- data/appextensioninstaller.gemspec +1 -0
- data/lib/appextensioninstaller.rb +29 -1
- data/lib/appextensioninstaller/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c4b0d6a058868dd5de35c28bf1ad6729b975986
|
4
|
+
data.tar.gz: e8ead84f42e2e52570e0563e586ea67aaadd6e5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02de23fa327a5bf38efac1880146924831dc77892d92053b3603227dd3b1e50f9de8fbdc55a87a7e01a5b51be2e23a1468355087f5e157cc784f41bfeae87a83
|
7
|
+
data.tar.gz: 7f6619f119ef8e3cd4a95a86b8ea0702abec80d78f8e03443afbd21652c882acabb0d46855d443d42773f38d6afeb98dfb5edabecfa8dacb451f25b036466f97
|
data/.gitignore
CHANGED
@@ -1,22 +1,35 @@
|
|
1
1
|
*.gem
|
2
2
|
*.rbc
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
3
|
+
/.config
|
4
|
+
/coverage/
|
5
|
+
/InstalledFiles
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/test/tmp/
|
9
|
+
/test/version_tmp/
|
10
|
+
/tmp/
|
11
|
+
|
12
|
+
## Specific to RubyMotion:
|
13
|
+
.dat*
|
14
|
+
.repl_history
|
15
|
+
build/
|
16
|
+
|
17
|
+
## Documentation cache and generated files:
|
18
|
+
/.yardoc/
|
19
|
+
/_yardoc/
|
20
|
+
/doc/
|
21
|
+
/rdoc/
|
22
|
+
|
23
|
+
## Environment normalisation:
|
24
|
+
/.bundle/
|
25
|
+
/vendor/bundle
|
26
|
+
/lib/bundler/man/
|
27
|
+
|
28
|
+
# for a library or gem, you might want to ignore these files since the code is
|
29
|
+
# intended to run in multiple environments; otherwise, check them in:
|
30
|
+
# Gemfile.lock
|
31
|
+
# .ruby-version
|
32
|
+
# .ruby-gemset
|
33
|
+
|
34
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
35
|
+
.rvmrc
|
@@ -6,6 +6,7 @@ require 'appextensioninstaller/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "appextensioninstaller"
|
8
8
|
spec.version = Appextensioninstaller::VERSION
|
9
|
+
spec.date = Date.today
|
9
10
|
spec.authors = ["颜志炜"]
|
10
11
|
spec.email = ["yanzhiwei147@gmail.com"]
|
11
12
|
spec.summary = %q{"用于sdp安装iOS指定的App扩展target"}
|
@@ -1,5 +1,33 @@
|
|
1
|
+
if Encoding.default_external != Encoding::UTF_8
|
2
|
+
STDERR.puts <<-DOC
|
3
|
+
\e[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
|
4
|
+
Consider adding the following to ~/.profile:
|
5
|
+
|
6
|
+
export LANG=en_US.UTF-8
|
7
|
+
\e[0m
|
8
|
+
DOC
|
9
|
+
end
|
10
|
+
|
1
11
|
require "appextensioninstaller/version"
|
2
12
|
|
3
13
|
module Appextensioninstaller
|
4
|
-
|
14
|
+
class Shell
|
15
|
+
|
16
|
+
def initialize(cmd)
|
17
|
+
@cmd = cmd
|
18
|
+
end
|
19
|
+
|
20
|
+
def cmd
|
21
|
+
@cmd
|
22
|
+
end
|
23
|
+
|
24
|
+
def cmd=(cmd)
|
25
|
+
@cmd = cmd
|
26
|
+
end
|
27
|
+
|
28
|
+
def run
|
29
|
+
@cmd.nil? ? "" : `#{@cmd}`
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
5
33
|
end
|