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 +4 -4
- data/README.md +8 -5
- data/lib/podspecpush.rb +2 -2
- data/lib/podspecpush/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ad63d8d192edef3d6eacfce3cbdc3c50f9f5045
|
4
|
+
data.tar.gz: b4225c4fd9c6787ed218495ffafd52cc0639b466
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 --
|
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
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
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']
|
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)
|
data/lib/podspecpush/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|