tworingtools 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/changetag +3 -10
  3. data/bin/release-podspec +2 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c11e763730be0688eced48554d8d180761cedd6c99f66d28535492833caf6641
4
- data.tar.gz: 2729c37706c364c29e83a982365e499a1b0be52e2e3e6b65d98f090487ac2f6c
3
+ metadata.gz: 85ee8eb174b10c2e9b0ee756454ebd214307b2e767c7b95589facc88971673fd
4
+ data.tar.gz: 9e7fc2299b12d5682aeff74774326324dbbff5399bd5c606ed412a8216124c36
5
5
  SHA512:
6
- metadata.gz: 7e4b08aab3ba6d04d5def2f2c35a278a514191adcd949420e264e729ad33a2beea9a5f84de32947644040ce6395cc174ba62c7222385c347ba7fa35653d01791
7
- data.tar.gz: 4968587b139468aa2c2d1d012e5cfbd6566482bb8653e0b720700f26033767be84d9db5f76afda29c0ae1a0b3f06cf9805f4f14a930c1465de39be873f7cb6f3
6
+ metadata.gz: 7ef9816421efcafb154184fca63d07162b0ea93b1c0668b2d95ae3705287be707cdfc89afa7ceb89e2091c8d915b2594f3569ccf15a67a114ed103fc17c56c74
7
+ data.tar.gz: 65839643da50f4967a7f53b80a12cb61315cf4a146c5359e4cfdfcc25031311187574da1f4875cb6fe8009f0eada272b011e6ef573bf5369c2f325085f144a84
@@ -41,16 +41,9 @@ parser = OptionParser.new do |opts|
41
41
  end
42
42
  parser.parse!
43
43
 
44
- # check for a valid git message comment character
45
-
46
- comment_char = `git config --get core.commentchar`.strip
47
- if comment_char == '' or comment_char == '#' then
48
- puts 'Your git comment character is still set to ‘#’. You need to change it to another character before using changetag. For instance:'
49
- puts
50
- puts "\tgit config core.commentchar '@'"
51
- puts
52
- exit ILLEGAL_COMMENT_CHAR
53
- end
44
+ # set valid git message comment character
45
+
46
+ echo_and_exec "git config core.commentchar '@'"
54
47
 
55
48
  # get the changelog entry contents
56
49
 
@@ -34,7 +34,8 @@ changelog_path = 'CHANGELOG.md'
34
34
  if options[:changelog_path] != nil then
35
35
  changelog_path = options[:changelog_path]
36
36
  end
37
- echo_and_exec "rbenv exec bundle exec changetag #{changelog_path} `vrsn --read --file #{podspec}.podspec`"
37
+ version = `vrsn --read --file #{podspec}.podspec`
38
+ echo_and_exec "rbenv exec bundle exec changetag #{changelog_path} #{version}"
38
39
  echo_and_exec 'git push --tags'
39
40
 
40
41
  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.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew McKnight