orientepodspecpush 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/orientepodspecpush/version.rb +1 -1
- data/lib/orientepodspecpush.rb +2 -10
- 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: e901da40a2bfad15692e11ae573ffa8471f45683061a25e849be971d06ec6b18
|
4
|
+
data.tar.gz: fe55f589b72c9ab4500305107605475e5539ad427e31010fc89676e6d02f03dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efa68b8a123d95f67ca1f5201feeb5aa591255cf17570e17bc0e07791007c82431260d979ee12f1e8fa88cfc4ef376879af56540e162065582ab3293ece39bf8
|
7
|
+
data.tar.gz: bce2011a5df54205f15fdac587c0a660dfb52c513a571738f0f9b9d91fba58716b370593539ca91721bf4b50ea0e9e3d8f9849da0a5bd794460d8161fb7d8fb2
|
data/lib/orientepodspecpush.rb
CHANGED
@@ -28,14 +28,6 @@ module Orientepodspecpush
|
|
28
28
|
system cmd.join(' ')
|
29
29
|
end
|
30
30
|
|
31
|
-
def packageCodePush
|
32
|
-
cmd = []
|
33
|
-
cmd << ['bundle exec'] if shouldUseBundleExec
|
34
|
-
cmd << ["pod package #{specfile} --force"]
|
35
|
-
|
36
|
-
system cmd.join(' ')
|
37
|
-
end
|
38
|
-
|
39
31
|
def ensureGitClean
|
40
32
|
if `git status --porcelain`.length != 0
|
41
33
|
puts "Repo is not clean; will not push new version".red
|
@@ -132,7 +124,7 @@ module Orientepodspecpush
|
|
132
124
|
else
|
133
125
|
cmd = []
|
134
126
|
cmd << ['bundle exec'] if shouldUseBundleExec
|
135
|
-
cmd << ["pod package #{specfile} --force"]
|
127
|
+
cmd << ["pod package #{specfile} --force --spec-sources=ssh://git-codecommit.ap-southeast-1.amazonaws.com/v1/repos/ios-OrienteSpecs, https://github.com/CocoaPods/Specs.git"]
|
136
128
|
|
137
129
|
system cmd.join(' ')
|
138
130
|
system "git add ."
|
@@ -183,7 +175,7 @@ module Orientepodspecpush
|
|
183
175
|
@pushCmd = makePushCmd(opts)
|
184
176
|
|
185
177
|
# execute
|
186
|
-
executeLint(
|
178
|
+
executeLint(true)
|
187
179
|
executePush
|
188
180
|
|
189
181
|
# Tidy up this repo!!
|
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.1.0
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|