jiraSOAP 0.10.6 → 0.10.7

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Version 0.10.7
2
+
3
+ * Add RemoteAPI#issue_with_parent (thanks @softwarealliesadmin)
4
+
1
5
  Version 0.10.6
2
6
 
3
7
  * Add JIRAService.instance_with_token
@@ -100,6 +100,14 @@ module JIRA::RemoteAPI
100
100
  def create_issue_with_issue issue
101
101
  JIRA::Issue.new_with_xml jira_call( 'createIssue', issue )
102
102
  end
103
+
104
+ # @param [JIRA::Issue] issue
105
+ # @param [String] parent id
106
+ # @return [JIRA:Issue]
107
+
108
+ def create_issue_with_parent issue, parent
109
+ JIRA::Issue.new_with_xml jira_call('createIssueWithParent', issue, parent)
110
+ end
103
111
 
104
112
  # @param [String] issue_key
105
113
  # @return [JIRA::Issue]
@@ -1,4 +1,4 @@
1
1
  module JIRA
2
2
  # @return [String]
3
- VERSION = '0.10.6'
3
+ VERSION = '0.10.7'
4
4
  end
data/test/service_test.rb CHANGED
@@ -5,9 +5,9 @@ class TestJIRAService < MiniTest::Unit::TestCase
5
5
 
6
6
  def test_token_constructor
7
7
  inst = JIRA::JIRAService.instance_with_token 'url', 'user', 'token'
8
- assert_equal 'url', inst.instance_variable_get(:@endpoint_url)
9
- assert_equal 'user', inst.instance_variable_get(:@user)
10
- assert_equal 'token', inst.instance_variable_get(:@auth_token)
8
+ assert_equal 'url', inst.endpoint_url
9
+ assert_equal 'user', inst.user
10
+ assert_equal 'token', inst.auth_token
11
11
  end
12
12
 
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jiraSOAP
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.6
4
+ version: 0.10.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-14 00:00:00.000000000 Z
12
+ date: 2012-01-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &70267091730660 !ruby/object:Gem::Requirement
16
+ requirement: &70271604451240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.5.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70267091730660
24
+ version_requirements: *70271604451240
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: handsoap
27
- requirement: &70267091730180 !ruby/object:Gem::Requirement
27
+ requirement: &70271604450760 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.1.8
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70267091730180
35
+ version_requirements: *70271604450760
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: yard
38
- requirement: &70267091729720 !ruby/object:Gem::Requirement
38
+ requirement: &70271587500940 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.7.4
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70267091729720
46
+ version_requirements: *70271587500940
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: redcarpet
49
- requirement: &70267091768640 !ruby/object:Gem::Requirement
49
+ requirement: &70271604489240 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,18 +54,18 @@ dependencies:
54
54
  version: '1.17'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70267091768640
57
+ version_requirements: *70271604489240
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: minitest
60
- requirement: &70267091768180 !ruby/object:Gem::Requirement
60
+ requirement: &70271604488780 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
64
64
  - !ruby/object:Gem::Version
65
- version: '2.9'
65
+ version: '2.10'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70267091768180
68
+ version_requirements: *70271604488780
69
69
  description: Written to run fast and work on Ruby 1.9 as well as MacRuby
70
70
  email:
71
71
  - markrada26@gmail.com