orientepodspecpush 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/orientepodspecpush +2 -2
- data/lib/orientepodspecpush/version.rb +1 -1
- data/lib/orientepodspecpush.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48445cf3024920de9584a6e94ba548ab539629fae5a1d15c4f7927e9146072dc
|
4
|
+
data.tar.gz: 1f92a69d2e9cf3da177d4d413dfbe744019193a186b3a8574614b9498df0ef08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38edbb22951a299d2a29a0072ff1538664c1e03924d95529f9586480a5521352cea7dc1a31b97b35cec117f29f5d0b2c1be940ded50a66f8d19f03f792f9e074
|
7
|
+
data.tar.gz: 90d2d84910583b7476783e18f608e140f281618cbb348d131ba3e2d398858c6fe8c513f9b3fbfe994a6cd5426b307b82ace88bd06c9aa25fdce4f51ca880617c
|
data/bin/orientepodspecpush
CHANGED
data/lib/orientepodspecpush.rb
CHANGED
@@ -20,6 +20,14 @@ module Orientepodspecpush
|
|
20
20
|
exit unless podspecFile != nil
|
21
21
|
end
|
22
22
|
|
23
|
+
def packageCode
|
24
|
+
cmd = []
|
25
|
+
cmd << ['bundle exec'] if shouldUseBundleExec
|
26
|
+
cmd << ["pod package #{specfile} --force"]
|
27
|
+
|
28
|
+
system cmd.join(' ')
|
29
|
+
end
|
30
|
+
|
23
31
|
def ensureGitClean
|
24
32
|
if `git status --porcelain`.length != 0
|
25
33
|
puts "Repo is not clean; will not push new version".red
|
@@ -132,6 +140,7 @@ module Orientepodspecpush
|
|
132
140
|
# Check
|
133
141
|
ensureGitClean
|
134
142
|
ensureSpecfile
|
143
|
+
package
|
135
144
|
|
136
145
|
# User input
|
137
146
|
updateVersion
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orientepodspecpush
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John wang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|