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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 432576471e2b0a38ce78ddf4957748f3be557b1c4c933da08339069bb6142928
4
- data.tar.gz: 7e508811d1eb829cefd7dfe9a2c6db416e106859f8087c55e8209e4278102d24
3
+ metadata.gz: 48445cf3024920de9584a6e94ba548ab539629fae5a1d15c4f7927e9146072dc
4
+ data.tar.gz: 1f92a69d2e9cf3da177d4d413dfbe744019193a186b3a8574614b9498df0ef08
5
5
  SHA512:
6
- metadata.gz: 4dc6fa6d46aa1693b2e0ee85e8669a74ac217e16ff07119ad8c9bf4f20378a97c815f7292c1790c54b54b207a822cc28a69d19dda90019244ba5cb65accf1989
7
- data.tar.gz: e0329abd55eaf74ab5ad2777bbb593f9e44bbce377c37a39aa61ba7af26cf20073846ac7322a288cf97e305f57866cba4e84332edd0f2d4aff64d0f1f324e330
6
+ metadata.gz: 38edbb22951a299d2a29a0072ff1538664c1e03924d95529f9586480a5521352cea7dc1a31b97b35cec117f29f5d0b2c1be940ded50a66f8d19f03f792f9e074
7
+ data.tar.gz: 90d2d84910583b7476783e18f608e140f281618cbb348d131ba3e2d398858c6fe8c513f9b3fbfe994a6cd5426b307b82ace88bd06c9aa25fdce4f51ca880617c
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "podspecpush"
3
+ require "orientepodspecpush"
4
4
 
5
- podpush = Podspecpush::PodPush.new
5
+ podpush = Orientepodspecpush::PodPush.new
6
6
  podpush.push
@@ -1,3 +1,3 @@
1
1
  module Orientepodspecpush
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -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.2
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-10 00:00:00.000000000 Z
11
+ date: 2018-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop