jira-ruby 1.4.2 → 1.4.3

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
  SHA1:
3
- metadata.gz: 4467699ce51082f52be9437f0431a4682cb387e1
4
- data.tar.gz: 41e4f59116e89aa989bb0d57b129b22f4e3cf695
3
+ metadata.gz: b066da05cd7aa4ef9d974970eeeaecff4934c1d5
4
+ data.tar.gz: 25cad58db8476f90d18437d0508e2a1f6b9fb5a9
5
5
  SHA512:
6
- metadata.gz: 8954b2ff3718ef61ea530ff7f888007ccdd12efadfd40486a5d91f02dfa4316a4870f9a88c5489ada4f8c144ee31c9de23bb9bdade1ec2fb48be133a58482fef
7
- data.tar.gz: c796f03ce81a1888c0f3de2412ae3e7c516b82cb7799329d81b1523b7a66af76d4c7cb459df5b4ef010d899ed2306b53f0947ad101f542da36b142fc6ddbcf03
6
+ metadata.gz: 1847cdcd17d471c02628540c313ed61d14cd260cd7217f79228b7ddead56ff0e5425afaf983cca7d08763dddf6544d60348f27f03a7377fb35a5ccae25c48383
7
+ data.tar.gz: 041a206f7eaf3c564150d85bb330a3b2e8e9a6d4f1362c5da982c7e11d30da4e2b0d285081762b3e37ae06330ad8476728dd1bde70352d4b2f60cb523164e427
@@ -11,6 +11,10 @@ module JIRA
11
11
  belongs_to :issue
12
12
  has_one :author, :class => JIRA::Resource::User
13
13
 
14
+ def self.endpoint_name
15
+ 'attachments'
16
+ end
17
+
14
18
  def self.meta(client)
15
19
  response = client.get(client.options[:rest_base_path] + '/attachment/meta')
16
20
  parse_json(response.body)
@@ -1,3 +1,3 @@
1
1
  module JIRA
2
- VERSION = '1.4.2'
2
+ VERSION = '1.4.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jira-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SUMO Heavy Industries
@@ -299,7 +299,7 @@ files:
299
299
  - spec/mock_responses/issue/10002.invalid.put.json
300
300
  - spec/mock_responses/issue/10002.json
301
301
  - spec/mock_responses/issue/10002.put.missing_field_update.json
302
- - spec/mock_responses/issue/10002/attachment/10000.json
302
+ - spec/mock_responses/issue/10002/attachments/10000.json
303
303
  - spec/mock_responses/issue/10002/comment.json
304
304
  - spec/mock_responses/issue/10002/comment.post.json
305
305
  - spec/mock_responses/issue/10002/comment/10000.json
@@ -420,7 +420,7 @@ test_files:
420
420
  - spec/mock_responses/issue/10002.invalid.put.json
421
421
  - spec/mock_responses/issue/10002.json
422
422
  - spec/mock_responses/issue/10002.put.missing_field_update.json
423
- - spec/mock_responses/issue/10002/attachment/10000.json
423
+ - spec/mock_responses/issue/10002/attachments/10000.json
424
424
  - spec/mock_responses/issue/10002/comment.json
425
425
  - spec/mock_responses/issue/10002/comment.post.json
426
426
  - spec/mock_responses/issue/10002/comment/10000.json