jiraSOAP 0.8.5 → 0.8.6

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.8.6
2
+
3
+ * Add extra documentation about updating cascading fields (thanks Lucas)
4
+
1
5
  Version 0.8.5
2
6
 
3
7
  * Add missing alias for a predicate attribute (IssueProperty#sub_task?)
data/Rakefile CHANGED
@@ -52,6 +52,3 @@ end
52
52
 
53
53
 
54
54
  ### DOCUMENTATION
55
-
56
- require 'yard'
57
- YARD::Rake::YardocTask.new
@@ -38,3 +38,7 @@ See {file:docs/Examples.markdown} for more examples.
38
38
  To find out what APIs are available, check out the {JIRA::RemoteAPI}
39
39
  module, as well as the {JIRA::RemoteAPIAdditions} module for
40
40
  conveniences that `jiraSOAP` has added.
41
+
42
+ Some of the odder behaviours of the JIRA SOAP API are not documented
43
+ here, though an answer might be available from the
44
+ [JIRA FAQ](http://confluence.atlassian.com/display/JIRA/Frequently+Asked+RPC+Questions+and+Known+Issues).
@@ -37,14 +37,29 @@ module JIRA::RemoteAPI
37
37
  # to be given id values. You must use the name of the field you wish to
38
38
  # update.
39
39
  #
40
+ # Updating nested fields can be trickyfields
41
+ #
40
42
  # @example Usage With A Normal Field
41
- # summary = JIRA::FieldValue.new 'summary', 'My new summary'
43
+ #
44
+ # summary = JIRA::FieldValue.new 'summary', 'My new summary'
45
+ #
42
46
  # @example Usage With A Custom Field
43
- # custom_field = JIRA::FieldValue.new 'customfield_10060', '123456'
47
+ #
48
+ # custom_field = JIRA::FieldValue.new 'customfield_10060', '123456'
49
+ #
44
50
  # @example Setting a field to be blank/nil
45
- # description = JIRA::FieldValue.new 'description'
51
+ #
52
+ # description = JIRA::FieldValue.new 'description'
53
+ #
46
54
  # @example Calling the method to update an issue
47
- # jira_service_instance.update_issue 'PROJECT-1', description, custom_field
55
+ #
56
+ # jira_service_instance.update_issue 'PROJECT-1', description, custom_field
57
+ #
58
+ # @example Setting the value of a cascading select field
59
+ #
60
+ # part1 = JIRA::FieldValue.new 'customfield_10285', 'Main Detail'
61
+ # part2 = JIRA::FieldValue.new 'customfield_10285:1', 'First Subdetail'
62
+ # jira_service_instance.update_issue 'PROJECT-1', part1, part2
48
63
  #
49
64
  # @param [String] issue_key
50
65
  # @param [JIRA::FieldValue] *field_values
@@ -9,7 +9,7 @@ class JIRA::CustomFieldValue < JIRA::DynamicEntity
9
9
  # @return [String]
10
10
  add_attribute :id, 'customfieldId', :content
11
11
 
12
- # @return [String]
12
+ # @return [String] Used with cascading select fields
13
13
  add_attribute :key, 'key', :content
14
14
 
15
15
  # @return [Array<String>]
@@ -1,3 +1,3 @@
1
1
  module JIRA
2
- VERSION = '0.8.5'
2
+ VERSION = '0.8.6'
3
3
  end
metadata CHANGED
@@ -1,87 +1,85 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: jiraSOAP
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.6
4
5
  prerelease:
5
- version: 0.8.5
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Mark Rada
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-06-16 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-07-20 00:00:00.000000000 -04:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &70183021802840 !ruby/object:Gem::Requirement
19
18
  none: false
20
- requirements:
19
+ requirements:
21
20
  - - ~>
22
- - !ruby/object:Gem::Version
21
+ - !ruby/object:Gem::Version
23
22
  version: 1.4.4
24
23
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: handsoap
28
24
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *70183021802840
26
+ - !ruby/object:Gem::Dependency
27
+ name: handsoap
28
+ requirement: &70183021802320 !ruby/object:Gem::Requirement
30
29
  none: false
31
- requirements:
30
+ requirements:
32
31
  - - ~>
33
- - !ruby/object:Gem::Version
32
+ - !ruby/object:Gem::Version
34
33
  version: 1.1.8
35
34
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: yard
39
35
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
36
+ version_requirements: *70183021802320
37
+ - !ruby/object:Gem::Dependency
38
+ name: yard
39
+ requirement: &70183021801840 !ruby/object:Gem::Requirement
41
40
  none: false
42
- requirements:
41
+ requirements:
43
42
  - - ~>
44
- - !ruby/object:Gem::Version
43
+ - !ruby/object:Gem::Version
45
44
  version: 0.7.1
46
45
  type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: redcarpet
50
46
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
47
+ version_requirements: *70183021801840
48
+ - !ruby/object:Gem::Dependency
49
+ name: redcarpet
50
+ requirement: &70183021801360 !ruby/object:Gem::Requirement
52
51
  none: false
53
- requirements:
52
+ requirements:
54
53
  - - ~>
55
- - !ruby/object:Gem::Version
56
- version: "1.15"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.15'
57
56
  type: :development
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: minitest
61
57
  prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
58
+ version_requirements: *70183021801360
59
+ - !ruby/object:Gem::Dependency
60
+ name: minitest
61
+ requirement: &70183021800880 !ruby/object:Gem::Requirement
63
62
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
67
66
  version: 2.2.2
68
67
  type: :development
69
- version_requirements: *id005
68
+ prerelease: false
69
+ version_requirements: *70183021800880
70
70
  description: Written to run fast and work on Ruby 1.9 as well as MacRuby
71
- email:
71
+ email:
72
72
  - mrada@marketcircle.com
73
73
  executables: []
74
-
75
74
  extensions: []
76
-
77
- extra_rdoc_files:
75
+ extra_rdoc_files:
78
76
  - README.markdown
79
77
  - ChangeLog
80
78
  - LICENSE.txt
81
79
  - .yardopts
82
80
  - docs/GettingStarted.markdown
83
81
  - docs/Examples.markdown
84
- files:
82
+ files:
85
83
  - lib/jiraSOAP/api/additions.rb
86
84
  - lib/jiraSOAP/api/attachments.rb
87
85
  - lib/jiraSOAP/api/avatars.rb
@@ -149,34 +147,33 @@ files:
149
147
  - .yardopts
150
148
  - docs/GettingStarted.markdown
151
149
  - docs/Examples.markdown
150
+ has_rdoc: true
152
151
  homepage: http://github.com/Marketcircle/jiraSOAP
153
- licenses:
152
+ licenses:
154
153
  - MIT
155
154
  post_install_message:
156
155
  rdoc_options: []
157
-
158
- require_paths:
156
+ require_paths:
159
157
  - lib
160
- required_ruby_version: !ruby/object:Gem::Requirement
158
+ required_ruby_version: !ruby/object:Gem::Requirement
161
159
  none: false
162
- requirements:
163
- - - ">="
164
- - !ruby/object:Gem::Version
165
- version: "0"
166
- required_rubygems_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ! '>='
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
167
165
  none: false
168
- requirements:
169
- - - ">="
170
- - !ruby/object:Gem::Version
171
- version: "0"
166
+ requirements:
167
+ - - ! '>='
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
172
170
  requirements: []
173
-
174
171
  rubyforge_project:
175
- rubygems_version: 1.8.5
172
+ rubygems_version: 1.6.2
176
173
  signing_key:
177
174
  specification_version: 3
178
175
  summary: A Ruby client for the JIRA SOAP API
179
- test_files:
176
+ test_files:
180
177
  - test/jiraSOAP_test.rb
181
178
  - test/test_helper.rb
182
179
  - Rakefile