appextensioninstaller 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6097a455fc65c358e0fff97997c1663e3fbb9736
4
- data.tar.gz: dc25a3b6651c79d7ce7bd0ea5d7999a8c8c528a3
3
+ metadata.gz: 6c4b0d6a058868dd5de35c28bf1ad6729b975986
4
+ data.tar.gz: e8ead84f42e2e52570e0563e586ea67aaadd6e5c
5
5
  SHA512:
6
- metadata.gz: 1d943a4ebd66bc8d16a14dc1a58e5bec425741da8b01b3e5f5832429867228ac8e58de9b2ddce13f859970762708562541def916c5ad015f2525e6dafa2c249f
7
- data.tar.gz: 035f15f7c20c2ac90b12ad9752274522809da038ed5d9148f237b8e5913311563f5c747aca7a4fd55f075560ac1368530491e9c57e88d5192fcb8e261cfc6cda
6
+ metadata.gz: 02de23fa327a5bf38efac1880146924831dc77892d92053b3603227dd3b1e50f9de8fbdc55a87a7e01a5b51be2e23a1468355087f5e157cc784f41bfeae87a83
7
+ data.tar.gz: 7f6619f119ef8e3cd4a95a86b8ea0702abec80d78f8e03443afbd21652c882acabb0d46855d443d42773f38d6afeb98dfb5edabecfa8dacb451f25b036466f97
data/.gitignore CHANGED
@@ -1,22 +1,35 @@
1
1
  *.gem
2
2
  *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- *.bundle
19
- *.so
20
- *.o
21
- *.a
22
- mkmf.log
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
- # Your code goes here...
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
@@ -1,3 +1,3 @@
1
1
  module Appextensioninstaller
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appextensioninstaller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - 颜志炜