pod_updater 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pod_updater.rb +2 -23
- data/lib/pod_updater/pod_push.rb +2 -2
- data/lib/pod_updater/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: 96bceeb06fbf7c78bdba2763e9939283e5739bf1
|
4
|
+
data.tar.gz: a16397c6bcf4fc22697e9f6d4569a1dcb1cf4cb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d22c3dcd2ff46c4abd75949ef533a393550870ddec6409aa2f6f12df73716c33bac64b6cf5e84c03d579be14f485b7f0270d5900acb7d2e86a0e2fde371771b3
|
7
|
+
data.tar.gz: 17737a57b05efdbd2bdd533ca6cf7fd56b4aed500d8e7f9871a8cca4ce33348f93e3b298b64d87c03ad1b451b7e360fdb1971ffc7e833a9bc87ac946c10e0766
|
data/lib/pod_updater.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
require "
|
2
|
-
require "
|
1
|
+
require "pod_updater/version"
|
2
|
+
require "pod_updater/pod_push"
|
3
3
|
|
4
4
|
|
5
5
|
module PodUpdater
|
@@ -11,24 +11,3 @@ module PodUpdater
|
|
11
11
|
|
12
12
|
end
|
13
13
|
|
14
|
-
require 'optparse'
|
15
|
-
|
16
|
-
options = {}
|
17
|
-
option_parser = OptionParser.new do |opts|
|
18
|
-
|
19
|
-
opts.banner = 'here is help messages of the command line tool'
|
20
|
-
|
21
|
-
options[:version] = nil
|
22
|
-
opts.on('-v', '--version [version]', String, 'the podspec\'s version') do |version|
|
23
|
-
options[:version] = version
|
24
|
-
end
|
25
|
-
|
26
|
-
end.parse!
|
27
|
-
|
28
|
-
unless options[:version]
|
29
|
-
|
30
|
-
abort("ABORTED! You forgot pass a version value with command \'-v [version]\'")
|
31
|
-
exit
|
32
|
-
end
|
33
|
-
puts "哈哈哈开始"
|
34
|
-
PodUpdater.run(options[:version])
|
data/lib/pod_updater/pod_push.rb
CHANGED
data/lib/pod_updater/version.rb
CHANGED