tworingtools 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/release-podspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa051c082a7a4d50d9d1a9cb4d8ed6d8120d8c6603c448bc805d0ffd5aadedd9
|
4
|
+
data.tar.gz: 416758fc09f842303e0a57dc9a110446e6d6631292d6d30ed81f21ca3107b1c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6afd2b4fdb92dd274d20bb6a6d1f8d6eea35ac1b7fee0288175756253d329b7161ff5efd88b2a97f5011a201da7c8f3f1f702d239e52bdafd8cb7543bc759ab
|
7
|
+
data.tar.gz: f2f7750b13633ced10d9523a3ab9f6d9be21be09f35a73d5d82f4389390330efdd88275b14ab7fdff0196b4ba60e4e5d8662a27d190653ac2807eef9a9abe2bb
|
data/bin/release-podspec
CHANGED
@@ -23,7 +23,7 @@ parser = OptionParser.new do |opts|
|
|
23
23
|
opts.on('-v', '--verbose', 'Pass \'--verbose\' to \'cocoapods spec lint\'.') do |name| options[:verbose] = true end
|
24
24
|
opts.on('-rREPO', '--repo=REPO', 'By default, release-podspec pushes the podspec to CocoaPods trunk. By supplying this argument, instead of \`pod trunk push\`, \`pod repo push\` is used instead.') do |repo| options[:repo] = repo end
|
25
25
|
opts.on('-cCHANGELOG_PATH', '--changelog-path=CHANGELOG_PATH', 'By default, release-podspec looks for //CHANGELOG.md. You can specify another location with this option.') do |changelog_path| options[:changelog_path] = changelog_path end
|
26
|
-
opts.on('--e', '--changelog-entry=CHANGELOG_ENTRY', 'The name of the changelog entry, if it differs from the tag name.') do |changelog_entry_name_override| options[:changelog_entry_name_override] =
|
26
|
+
opts.on('--e', '--changelog-entry=CHANGELOG_ENTRY', 'The name of the changelog entry, if it differs from the tag name.') do |changelog_entry_name_override| options[:changelog_entry_name_override] = changelog_entry_name_override end
|
27
27
|
opts.on('-h', '--help', 'Print this help message.') do
|
28
28
|
puts opts
|
29
29
|
exit
|
@@ -35,7 +35,7 @@ changelog_path = 'CHANGELOG.md'
|
|
35
35
|
if options[:changelog_path] != nil then
|
36
36
|
changelog_path = options[:changelog_path]
|
37
37
|
end
|
38
|
-
version = `vrsn --read --file #{podspec}.podspec
|
38
|
+
version = `vrsn --read --file #{podspec}.podspec`.strip
|
39
39
|
name_prefix = String.new
|
40
40
|
if options[:podspec_name_in_tag] then
|
41
41
|
name_prefix = podspec + '-'
|