tworingtools 3.0.2 → 3.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/prerelease-podspec +4 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c09250511b87bb9ed4e1f1da967f5c5712b45c343e7213451dcab4fd1c7586ab
4
- data.tar.gz: ac6720085431eb198ac48b69b8823b20aa616346abf79f2446f81b4b3a24339b
3
+ metadata.gz: d9b1c737a275e5641827ae194527d442e3b66193aa207f04986fde49baf4347b
4
+ data.tar.gz: 9fa221d0138418902b99203f7ad06929c8b87e7d2b270fcce6a09996659c7c47
5
5
  SHA512:
6
- metadata.gz: a6eff7ef2d44889e7114bcd90e865fc10ad469771c4fc2a25511f581655f6718a3358fed338e81f86cb5f71e47d403c2996ca633dbc9ed2146c6d4771e757b67
7
- data.tar.gz: 4b24b67f638695591f6fa109e6dae3684e7002bd47bb70692445ff02d85c7a416c5da2a2f50c4d357259f38ea70a07104a3f19e81f5473f318c91502b3944553
6
+ metadata.gz: 52ca1d901b65ddac44e48ca3232104f7473be210bce899d919432e6debc6d9b23c77e2e0406dfc3d8ac8180f3eed7dca6f5ca45d5371cf8d723b62d606eaac5e
7
+ data.tar.gz: 5fc053973986ad6b0ea4139be05dc8f062e328604ddcc59a62f4518bdf2b6c6335120263c864b1b0b3c9c9f6bc31974a6dbe56b5948f44ad761d734263659774
@@ -23,6 +23,7 @@ parser = OptionParser.new do |opts|
23
23
  BANNER
24
24
  opts.on('-w', '--allow-warnings', 'Pass \'--allow-warnings\' to \'cocoapods spec lint\'.') do |force| options[:allow_warnings] = true end
25
25
  opts.on('-v', '--verbose', 'Pass \'--verbose\' to \'cocoapods spec lint\'.') do |name| options[:verbose] = true end
26
+ opts.on('-s', '--skip-tests', 'Pass \'--skip-tests\' to \'cocoapods spec lint\'.') do |skip_tests| options[:skip_tests] = true end
26
27
  opts.on('-n', '--podspec-name-in-tag', 'When forming the tag name for a release candidate, prefix the podspec‘s name to the version string. Helps when you have multiple podspecs in a repository and tag versions for each.') do |podspec_name_in_tag| options[:podspec_name_in_tag] = true end
27
28
  opts.on('-n', '--no-branch', 'Make any changes on the current branch instead of creating a temporary new branch.') do |no_branch| options[:no_branch] = true end
28
29
  opts.on('-cCHANGELOG', '--changelog=CHANGELOG', 'Location of a CHANGELOG document adhering to https://keepachangelog.com/en/1.0.0/ whose version entry should be extracted into an annotated tag for this release candidate.') do |changelog| options[:changelog] = changelog end
@@ -75,6 +76,9 @@ end
75
76
  if options[:verbose] != nil then
76
77
  spec_lint_flags << '--verbose'
77
78
  end
79
+ if options[:skip_tests] != nil then
80
+ spec_lint_flags << '--skip-tests'
81
+ end
78
82
  stdout, stderr, status = Open3.capture3 "rbenv exec bundle exec pod spec lint #{podspec}.podspec #{spec_lint_flags.join ' '}"
79
83
 
80
84
  puts "stdout: #{stdout}"
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: 3.0.2
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew McKnight