danger 5.8.2 → 5.9.0

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
- SHA1:
3
- metadata.gz: 5f6f81e5ab29e15e43c8c602738644bb85611521
4
- data.tar.gz: f7f7654aba76932f97f2d2a9c214f6baee760ca5
2
+ SHA256:
3
+ metadata.gz: 417deb58bf0637736449d1d279c945296345cfb667d24dce9203588314d5d5f0
4
+ data.tar.gz: 5856366cc279a0a350cc284cf5f27a8fd8fcb8fbbd23481e55b98b603ad5b9e3
5
5
  SHA512:
6
- metadata.gz: 0d4a27ed67c1e883c5836c318f6e8971e12aa8f8563da9b922242ad9c201578db26f58c698a21893c0a15dc596657f74ff9a89c9b007db06985259cac692f1fe
7
- data.tar.gz: 9c753c892e47f3116d382556bc13eefb18f6b4dfe6bd9823bbad9297f79ac42fb945db12dd1efe3bbbbe195b9c951989cc0b4edcc6e0db0e0e68bb882048e268
6
+ metadata.gz: 8c9006ca02858031137bb8906598b8e87bbf6bd9eb9f9e445755fb9ff687212247567dc65eebe6854f94d11f2875ee6049355a0c8e4542a266c5af14f031ee32
7
+ data.tar.gz: 9d8689f2c791907b47d4df5e73466e3bc4d53a5824347f2a54e9e0ee84c8a9e613f01892733e2764ed76fde56a70d2562ac6b236d6fd949d1c124c1d8096498d
@@ -146,5 +146,13 @@ module Danger
146
146
  after: diff.blob(:dst).contents
147
147
  }
148
148
  end
149
+
150
+ # @!group Git Metadata
151
+ # List of remote tags
152
+ # @return [String]
153
+ #
154
+ def tags
155
+ @git.tags.each_line
156
+ end
149
157
  end
150
158
  end
@@ -59,6 +59,10 @@ module Danger
59
59
  exec("rev-parse HEAD")
60
60
  end
61
61
 
62
+ def tags
63
+ exec("tag")
64
+ end
65
+
62
66
  def origins
63
67
  exec("remote show origin -n").lines.grep(/Fetch URL/)[0].split(": ", 2)[1].chomp
64
68
  end
@@ -1,4 +1,4 @@
1
1
  module Danger
2
- VERSION = "5.8.2".freeze
2
+ VERSION = "5.9.0".freeze
3
3
  DESCRIPTION = "Like Unit Tests, but for your Team Culture.".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.8.2
4
+ version: 5.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-11-20 00:00:00.000000000 Z
12
+ date: 2018-11-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: claide
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
298
  version: '0'
299
299
  requirements: []
300
300
  rubyforge_project:
301
- rubygems_version: 2.6.11
301
+ rubygems_version: 2.7.6
302
302
  signing_key:
303
303
  specification_version: 4
304
304
  summary: Like Unit Tests, but for your Team Culture.