podspecpush 0.9.1 → 0.9.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: fd5ab2bee0a4338a4863dd8caf56efd63db31cdd
4
- data.tar.gz: ed34852f1c271c1cbf6c7021fd72017576d8e2b4
3
+ metadata.gz: 1ad63d8d192edef3d6eacfce3cbdc3c50f9f5045
4
+ data.tar.gz: b4225c4fd9c6787ed218495ffafd52cc0639b466
5
5
  SHA512:
6
- metadata.gz: f552e1bd7334e58d644891a5993cdc667c7232375e072d265d4aa7d10df31d2a6531467b94132d0c762ba7ce727e17bbda5303a49efc28a3008eb05583954db3
7
- data.tar.gz: d262e86b4c861d8bfe5df051765ef2c1165cba1eb53ed18aef4f1068d1db35db971d98859e31d57f2684bd3ac64a396750484e4a1a53a995b32c15d75478ea41
6
+ metadata.gz: eabc32f5c7357a1c4eebbd4a4ff205709dec96bcf98b4820cb46a11279385f187db90b991c702c97d3d5d44f9b5e7d5885e579ae38635bf31245d9035a3d322f
7
+ data.tar.gz: cfcd464821dccf263c559d51b73e40f1191bb92de5f648284554d30f1a88836ff226713819e0437fda87b1ab53bdc5a3fd19467ac7249ffaf88a7f84a6171a2c
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Tired of linting, checking, pushing your cocoapod spec? No more! Once you are satisified with your pod, simply increment and push the tag. No changes to .podspec required, the tooling will update this for you!
4
4
 
5
- You can then publish your next version by running `podspecpush --repo <reponame>`!
5
+ You can then publish your next version by running `podspecpush --specRepo <reponame>`!
6
6
 
7
7
  Thats it!
8
8
 
@@ -24,10 +24,13 @@ Or install it yourself as:
24
24
 
25
25
  ## Usage
26
26
 
27
- To push a spec repo
28
-
29
- ```ruby
30
- podspecpush --repo myPersonalRepo --force true
27
+ ```sh
28
+ Options:
29
+ -s, --specRepo=<s> Name of the repo to push to. See pod repo list for available repos
30
+ -w, --workspace=<s> Path to cocoapod workspace
31
+ -o, --sources=<s> Comma delimited list of private repo sources to consider when linting private repo. Master is included by default so private repos can source master
32
+ -p, --private If set, assume the cocoapod is private and skip public checks
33
+ -h, --help Show this message
31
34
  ```
32
35
 
33
36
  Note: The force flag is off by default. If set to true you will push with warnings.
data/lib/podspecpush.rb CHANGED
@@ -28,7 +28,7 @@ module Podspecpush
28
28
 
29
29
  cmd = []
30
30
  cmd << ['bundle exec'] if shouldUseBundleExec
31
- cmd << ['pod cache clean --all'] if shouldUseBundleExec
31
+ cmd << ['pod cache clean --all']
32
32
  system cmd.join(' ')
33
33
  end
34
34
 
@@ -66,7 +66,7 @@ module Podspecpush
66
66
  puts "Please enter new a brief message to put in the git tag describing what's changed".blue
67
67
  @podVersionMessage = gets.chomp.downcase
68
68
 
69
- system "git tag -a #{@podVersion} -m #{@podVersionMessage}"
69
+ system "git tag -a #{@podVersion} -m '#{@podVersionMessage}'"
70
70
  system "git push --tags"
71
71
 
72
72
  contents = File.read(specfile)
@@ -1,3 +1,3 @@
1
1
  module Podspecpush
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podspecpush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Carroll
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-16 00:00:00.000000000 Z
11
+ date: 2018-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop