tworingtools 2.0.3 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/release-podspec +6 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06fe6502106dcae958559b6fce2dd724c2ecbd6e77d2b95e2b0f6cb67a1de286
4
- data.tar.gz: 738ef45f9b00cb2c59f69078b69166c8c0ea6522eb738178570ef88607e16e17
3
+ metadata.gz: 86ce3aef521a0acfe1eff300796855bebbd7287246c0d24c100ed2f573886a25
4
+ data.tar.gz: f39a86ba830b3526467b3eadfe16870716c05a45aa6029c970c43de52c6063bc
5
5
  SHA512:
6
- metadata.gz: ba6a34c3e5db422f727ab9ca63e17d8a88d7e92a15313356fb33e94d16a1c856bc92213ed03e474985ad4b73153e520cfc60c31dcdcf782433697d3b4c8546f5
7
- data.tar.gz: ff8920bab3dcf610d9e0044a21f9f4f3d098f2f3d04d704e64ce13fd3b450054797827a58be3ce8d02ca3e73904f43c84c4d2c047225c2530094aac33a5c5b31
6
+ metadata.gz: a482e2f09a123e18dd7e2884bbc12445266adc92fbed2e06c21877fec727ba53a3069c24d5b65e0d5eb0a5723c61c35666e8ef3bd3a5ffaa0ce279db86db8c47
7
+ data.tar.gz: 5050203feb8c97bd4cb5186d0fed9b608c4ee382e521584f5d95fab70234c865ae47a830a01a3316dd0d28b6070bfbf4a0d013a1584d51e80302f4b52915cd47
@@ -23,6 +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] = true end
26
27
  opts.on('-h', '--help', 'Print this help message.') do
27
28
  puts opts
28
29
  exit
@@ -39,7 +40,11 @@ name_prefix = String.new
39
40
  if options[:podspec_name_in_tag] then
40
41
  name_prefix = podspec + '-'
41
42
  end
42
- echo_and_exec "rbenv exec bundle exec changetag #{changelog_path} #{name_prefix}#{version} "
43
+ changelog_entry_name = String.new
44
+ if options[:changelog_entry_name_override] != nil then
45
+ changelog_entry_name = "--name " + options[:changelog_entry_name_override]
46
+ end
47
+ echo_and_exec "rbenv exec bundle exec changetag #{changelog_path} #{name_prefix}#{version} #{changelog_entry_name}"
43
48
  echo_and_exec 'git push --tags'
44
49
 
45
50
  spec_lint_flags = Array.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tworingtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew McKnight