jira-ruby 1.4.1 → 1.4.2

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: e3dba12b300beb17d9fa96eedccd1d7d12f89d79
4
- data.tar.gz: '09dbc7b324844b080c211098ec939b61f6c07389'
3
+ metadata.gz: 4467699ce51082f52be9437f0431a4682cb387e1
4
+ data.tar.gz: 41e4f59116e89aa989bb0d57b129b22f4e3cf695
5
5
  SHA512:
6
- metadata.gz: 3a28d13eef6768243696eaba28218c45d5ba0018b7f0537bbb91c3ef0b0c4d16dc9245b239dfde587215130a9cbf59a20dba60408f9907d9b4ecc92c546a9f69
7
- data.tar.gz: 2025610542803cd4934cc415dd5902f47c739cdf3493ee7eafc60f4d842cf38dbdc6afdcc247c66e09d148d204b8c08c73d8502cd10605b49b0f6b7e63c79069
6
+ metadata.gz: 8954b2ff3718ef61ea530ff7f888007ccdd12efadfd40486a5d91f02dfa4316a4870f9a88c5489ada4f8c144ee31c9de23bb9bdade1ec2fb48be133a58482fef
7
+ data.tar.gz: c796f03ce81a1888c0f3de2412ae3e7c516b82cb7799329d81b1523b7a66af76d4c7cb459df5b4ef010d899ed2306b53f0947ad101f542da36b142fc6ddbcf03
@@ -4,6 +4,7 @@ module JIRA
4
4
  module Resource
5
5
 
6
6
  class AttachmentFactory < JIRA::BaseFactory # :nodoc:
7
+ delegate_to_target_class :meta
7
8
  end
8
9
 
9
10
  class Attachment < JIRA::Base
data/lib/jira/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module JIRA
2
- VERSION = '1.4.1'
2
+ VERSION = '1.4.2'
3
3
  end
@@ -42,6 +42,12 @@ describe JIRA::Resource::Attachment do
42
42
  expect(client).to receive(:get).with('/jira/rest/api/2/attachment/meta').and_return(response)
43
43
  JIRA::Resource::Attachment.meta(client)
44
44
  end
45
+
46
+ subject { JIRA::Resource::AttachmentFactory.new(client) }
47
+
48
+ it 'delegates #meta to to target class' do
49
+ expect(subject).to respond_to(:meta)
50
+ end
45
51
  end
46
52
 
47
53
  describe '#save!' do
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.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - SUMO Heavy Industries
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-16 00:00:00.000000000 Z
12
+ date: 2017-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oauth