milestoner 11.1.0 → 11.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df939eba63c78f7665ea801b0bc853ae6bc88f4d2bf6da1c6f6b3f6fc24f18a1
4
- data.tar.gz: 580ad0414716ea5eb2237e186c9c9fe37f4ef96ce10d9d9305c4da5706fa46f1
3
+ metadata.gz: 0d13ba3b26332960cca2e9eecec51fa1f6e0b1a976310eeedfa710e705a2281f
4
+ data.tar.gz: 434f1ed0c6521fd8bcd2611326a2245377f8dd6d448feb8863b57e9c29f4806a
5
5
  SHA512:
6
- metadata.gz: 91231e0e941ff862440b77526641e55714c56b5b12a82c09a9a03c8ac2c85a03cfb0746e1f9485f649dff05cb6db3608f9ae769b76e561dd5ef75fa0327db154
7
- data.tar.gz: e45bccbd2a1bbe53009815a6fa429504ee412087539f5d09dec91ab13f9e55b375df41d21516093c964e644fda5eb4a9a2dd00efdcb126ac57d4bec3cf2053bb
6
+ metadata.gz: 134d13f84802ba1a167e5d1d5a540c56cadd9ebdcbaf2e63cbad6723b75ef2504b94b26311f0e4d75fa6456a09e33a9e34bb39cdf1930f01861dd38ea9f71d4a
7
+ data.tar.gz: 7512c0210dac0bdd1d6c6fd87817a11f6d9638ee4b648a731fb6a99a8351ab17f087f8b4c8091b88b2cfb15ca02edd0a8b84bcc1ff0cf4f219a4b004c4c49f43
@@ -1,2 +1 @@
1
- ��� TZP����&�:�]�7 wRj���~�l�������^5��Ԃ#;p@��e�O�#���T�1�c��2�d�$ 畩��Jn��.O�wf�s�{C'�����K �9ef̬�~\q Ņ-�W��8>\G�M4�o}C�2��{�%I����+�?
2
- �h��A6���k�ߢ��q��� �K"o����t������H��j y�v���g~ݓHұ��J 6�0�^*-�F���J��4��/D봉�ҠG��
1
+ 3���QD&I'�Oյ~$b�]�@n��"'�>�qr�A=OsQ}=9G&\|�ʻS��@
data.tar.gz.sig CHANGED
Binary file
@@ -5,7 +5,7 @@ module Milestoner
5
5
  module Identity
6
6
  NAME = "milestoner"
7
7
  LABEL = "Milestoner"
8
- VERSION = "11.1.0"
8
+ VERSION = "11.1.1"
9
9
  VERSION_LABEL = "#{LABEL} #{VERSION}"
10
10
  end
11
11
  end
@@ -37,8 +37,9 @@ module Milestoner
37
37
  # :reek:TooManyStatements
38
38
  def create version, sign: false
39
39
  version = Versionaire::Version version
40
- fail Errors::Git, "Unable to tag without commits." if repository.commits.empty?
41
- return if exists? version
40
+
41
+ return if local? version
42
+ fail Errors::Git, "Unable to tag without commits." if computed_commits.empty?
42
43
 
43
44
  content = message version
44
45
  sign ? repository.tag_sign(version, content) : repository.tag_unsign(version, content)
@@ -78,7 +79,7 @@ module Milestoner
78
79
  %(Version #{version}\n\n#{commit_list.join "\n"}\n\n)
79
80
  end
80
81
 
81
- def exists? version
82
+ def local? version
82
83
  return false unless repository.tag_local? version
83
84
 
84
85
  shell.say_status :warn, "Local tag exists: #{version}. Skipped.", :yellow
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: milestoner
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.1.0
4
+ version: 11.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
29
  QWc=
30
30
  -----END CERTIFICATE-----
31
- date: 2021-01-04 00:00:00.000000000 Z
31
+ date: 2021-01-05 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: git_plus
metadata.gz.sig CHANGED
Binary file