tworingtools 1.4.0 → 1.4.1

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
  SHA256:
3
- metadata.gz: b9bc096690034b6909c1188bb8d4a9621a04108161b5da3844f20d0bdd70d7b5
4
- data.tar.gz: 16b0cd93af5fe37b6cddb779ffbfa70faa952d5c5e113f8f6c84ddd3e88e01fa
3
+ metadata.gz: b65e7f760105784d31f8af50a73f4fd8d82bec10ce5b1f9947e5db809b2c7e2e
4
+ data.tar.gz: e96728e8f3d26fcb7278d97b634eee114abde0079017a3008ca36bd636d7d3b2
5
5
  SHA512:
6
- metadata.gz: 8e812c0bfc257e8a758804f1c0781996616f1a6aaed8d43fc297db0062efa429c4f3e9f21c297666fcd18c28347453d275a9e041f062585e15adeb74b65e28de
7
- data.tar.gz: e4f4a4ac5adab4f036828f6da2f1b9fe082bac001191fed5e890e265b824ff21e88427dacab021c3c0d290354804a60378001ee6cff05df793eda7e2333d6b56
6
+ metadata.gz: f17d9253750f0e54d48be4fee79fff2c91a5bb1d3999adc59451170d3cac9819bc3b7c681c8314e0c77a6ba806b112a5fd28060060f22b4cbb4416b49ea40ba0
7
+ data.tar.gz: 31dcf60cb6fbd40a7a4bdc48f40873225022aeb0ba8a9ec434f896d8339b140cd154390a37466d52f7b0c4eb615ac80e0c54fb0af5e163b03adf831fcf56c279
@@ -12,7 +12,7 @@ options = {}
12
12
  parser = OptionParser.new do |opts|
13
13
  opts.banner = <<~BANNER
14
14
 
15
- Usage: prerelease-podspec [options] <podspec-name> [<podspec-path>]
15
+ Usage: prerelease-podspec [options] <podspec-name>
16
16
 
17
17
  Branch and create/push a release candidate tag, modify the podspec to use that version tag, and try linting it.
18
18
 
data/bin/release-podspec CHANGED
@@ -8,7 +8,7 @@ options = {}
8
8
  parser = OptionParser.new do |opts|
9
9
  opts.banner = <<~BANNER
10
10
 
11
- Usage: release-podspec [options] <podspec-name> [<podspec-path>]
11
+ Usage: release-podspec [options] <podspec-name>
12
12
 
13
13
  Form Git tags and push them to remote, then push the podspec to CocoaPods trunk.
14
14
 
@@ -2,8 +2,26 @@
2
2
 
3
3
  podspec = ARGV[0]
4
4
 
5
+ options = {}
6
+ parser = OptionParser.new do |opts|
7
+ opts.banner = <<~BANNER
8
+
9
+ Usage: revert-failed-release-tag <podspec-name>
10
+
11
+ Branch and create/push a release candidate tag, modify the podspec to use that version tag, and try linting it.
12
+
13
+ Options:
14
+
15
+ BANNER
16
+ opts.on('-h', '--help', 'Print this help message.') do
17
+ puts opts
18
+ exit
19
+ end
20
+ end
21
+ parser.parse!
22
+
5
23
  version_file = "#{podspec}.podspec"
6
24
  version = `vrsn --read --file #{version_file}`.strip
7
25
  tag = "#{podspec}-#{version}"
8
- sh "git tag --delete #{tag}"
9
- sh "git push --delete origin #{tag}"
26
+ `git tag --delete #{tag}`
27
+ `git push --delete origin #{tag}`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tworingtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew McKnight
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-30 00:00:00.000000000 Z
11
+ date: 2019-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: github_api