jiraSOAP 0.10.7 → 0.10.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ Version 0.10.8
2
+
3
+ * Fix RemoteAPI#add_worklog_and_auto_adjust_remaining_estimate (thanks @justfalter)
4
+ * Make JIRA::Worklog#start_date return a Time object instead of a DateTime object (thanks @justfalter)
5
+
1
6
  Version 0.10.7
2
7
 
3
8
  * Add RemoteAPI#issue_with_parent (thanks @softwarealliesadmin)
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2011 Marketcircle Inc.
1
+ Copyright (c) 2010-2012 Marketcircle Inc.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -72,6 +72,6 @@ provide a database backup in the near future if the licensing works out.
72
72
 
73
73
  ## License
74
74
 
75
- Copyright: [Marketcircle Inc.](http://www.marketcircle.com/), 2010-2011
75
+ Copyright: [Marketcircle Inc.](http://www.marketcircle.com/), 2010-2012
76
76
 
77
77
  See LICENSE.txt for details.
data/Rakefile CHANGED
@@ -13,13 +13,13 @@ end
13
13
 
14
14
  ### GEM STUFF
15
15
 
16
- require 'rake/gempackagetask'
16
+ require 'rubygems/package_task'
17
17
  spec = Gem::Specification.load 'jiraSOAP.gemspec'
18
- Rake::GemPackageTask.new(spec) { }
18
+ Gem::PackageTask.new(spec) { }
19
19
 
20
- require 'rubygems/dependency_installer'
21
20
  desc 'Build the gem and install it'
22
21
  task :install => :gem do
22
+ require 'rubygems/dependency_installer'
23
23
  Gem::DependencyInstaller.new.install "pkg/#{spec.file_name}"
24
24
  end
25
25
 
@@ -3,13 +3,13 @@ module JIRA::RemoteAPI
3
3
  # @group Issues
4
4
 
5
5
  ##
6
- # This method is the equivalent of making an advanced search from the
7
- # web interface.
6
+ # @note During my own testing, I found that HTTP requests could timeout
7
+ # for really large requests (~2500 results) if you are not on the
8
+ # same network. So I set a more reasonable upper limit; feel free
9
+ # to override it, but be aware of the potential issues.
8
10
  #
9
- # During my own testing, I found that HTTP requests could timeout for really
10
- # large requests (~2500 results) if you are not on the same network. So I set
11
- # a more reasonable upper limit; feel free to override it, but be aware of
12
- # the potential issues.
11
+ # This method is the equivalent of making an advanced search from the web
12
+ # interface.
13
13
  #
14
14
  # The {JIRA::Issue} structure does not include any comments or attachments.
15
15
  #
@@ -100,14 +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
-
103
+
104
104
  # @param [JIRA::Issue] issue
105
- # @param [String] parent id
105
+ # @param [String] parent_id
106
106
  # @return [JIRA:Issue]
107
-
108
- def create_issue_with_parent issue, parent
109
- JIRA::Issue.new_with_xml jira_call('createIssueWithParent', issue, parent)
107
+ def create_issue_with_issue_and_parent issue, parent_id
108
+ JIRA::Issue.new_with_xml jira_call('createIssueWithParent', issue, parent_id)
110
109
  end
110
+ alias_method :create_issue_with_parent, :create_issue_with_issue_and_parent
111
111
 
112
112
  # @param [String] issue_key
113
113
  # @return [JIRA::Issue]
@@ -8,7 +8,6 @@ module JIRA::RemoteAPI
8
8
  # @param [String] issue_key
9
9
  # @param [JIRA::Worklog] worklog
10
10
  def add_worklog_and_auto_adjust_remaining_estimate issue_key, worklog
11
- JIRA::Worklog.new_with_xml call( 'addWorklogAndAutoAdjustRemainingEstimate', issue_key, worklog ).first
11
+ JIRA::Worklog.new_with_xml jira_call( 'addWorklogAndAutoAdjustRemainingEstimate', issue_key, worklog )
12
12
  end
13
-
14
13
  end
@@ -5,14 +5,8 @@ class JIRA::Worklog < JIRA::DescribedEntity
5
5
  # @return [String]
6
6
  add_attribute :comment, 'comment', :content
7
7
 
8
- ##
9
- # @todo Why does this need to be a DateTime? It should be a Time object
10
- # so that it can be compatible with Cocoa's NSDate on MacRuby.
11
- #
12
- # Needs to be a DateTime.
13
- #
14
- # @return [DateTime]
15
- add_attribute :start_date, 'startDate', :to_date
8
+ # @return [Time]
9
+ add_attribute :start_date, 'startDate', :to_iso_date
16
10
 
17
11
  # @return [String]
18
12
  add_attribute :time_spent, 'timeSpent', :content
@@ -1,4 +1,4 @@
1
1
  module JIRA
2
2
  # @return [String]
3
- VERSION = '0.10.7'
3
+ VERSION = '0.10.8'
4
4
  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.7
4
+ version: 0.10.8
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-18 00:00:00.000000000 Z
12
+ date: 2012-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &70271604451240 !ruby/object:Gem::Requirement
16
+ requirement: &70120735890500 !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: *70271604451240
24
+ version_requirements: *70120735890500
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: handsoap
27
- requirement: &70271604450760 !ruby/object:Gem::Requirement
27
+ requirement: &70120735890020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,21 +32,21 @@ dependencies:
32
32
  version: 1.1.8
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70271604450760
35
+ version_requirements: *70120735890020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: yard
38
- requirement: &70271587500940 !ruby/object:Gem::Requirement
38
+ requirement: &70120735926680 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: 0.7.4
43
+ version: 0.7.5
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70271587500940
46
+ version_requirements: *70120735926680
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: redcarpet
49
- requirement: &70271604489240 !ruby/object:Gem::Requirement
49
+ requirement: &70120735926220 !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: *70271604489240
57
+ version_requirements: *70120735926220
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: minitest
60
- requirement: &70271604488780 !ruby/object:Gem::Requirement
60
+ requirement: &70120735925760 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
- - - ! '>='
63
+ - - ~>
64
64
  - !ruby/object:Gem::Version
65
- version: '2.10'
65
+ version: '2.11'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70271604488780
68
+ version_requirements: *70120735925760
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
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  requirements: []
175
175
  rubyforge_project:
176
- rubygems_version: 1.8.10
176
+ rubygems_version: 1.8.15
177
177
  signing_key:
178
178
  specification_version: 3
179
179
  summary: A Ruby client for the JIRA SOAP API