taskmapper-kanbanpad 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.0
1
+ 0.8.1
@@ -31,7 +31,7 @@ module TaskMapper::Provider
31
31
  end
32
32
 
33
33
  def assignee
34
- self.assigned_to.blank? ? 'Nobody' : self.assigned_to.first
34
+ self[:assignee].first.blank? ? 'Nobody' : self[:assignee].first
35
35
  end
36
36
 
37
37
  def project_id
@@ -1 +1 @@
1
- {"assigned_to":[],"backlog":false,"comments_total":0,"created_at":"2011-05-05T21:53:16Z","finished":false,"id":"4cd428c496f0734eef000007","note":"","project_slug":"1c36637a4508065059b3","step_id":"4dc312f49bd0ff6c37000040","task_id":2,"title":"Task","updated_at":"2011-07-15T19:44:04Z","urgent":false,"wip":false}
1
+ {"assigned_to":["Rafael George"],"backlog":false,"comments_total":0,"created_at":"2011-05-05T21:53:16Z","finished":false,"id":"4cd428c496f0734eef000007","note":"","project_slug":"1c36637a4508065059b3","step_id":"4dc312f49bd0ff6c37000040","task_id":2,"title":"Task","updated_at":"2011-07-15T19:44:04Z","urgent":false,"wip":false}
@@ -64,16 +64,17 @@ describe TaskMapper::Provider::Kanbanpad::Ticket do
64
64
 
65
65
  context "when retrieving a ticket" do
66
66
  subject { project.ticket ticket_id }
67
- it { subject.id.should be_eql '4cd428c496f0734eef000007' }
68
- it { subject.status.should be_eql 'Finished' }
69
- it { subject.priority.should be_eql 'Not Urgent' }
70
- it { subject.resolution.should be_nil }
71
- it { subject.title.should be_eql 'Fix UI detail' }
72
- it { subject.created_at.should_not be_nil }
73
- it { subject.updated_at.should_not be_nil }
74
- it { subject.description.should be_nil }
75
- it { subject.requestor.should be_nil }
76
- it { subject.project_id.should be_eql 'be74b643b64e3dc79aa0' }
67
+ its(:id) { should be_eql '4cd428c496f0734eef000007' }
68
+ its(:status) { should be_eql 'Finished' }
69
+ its(:priority) { should be_eql 'Not Urgent' }
70
+ its(:resolution) { should be_nil }
71
+ its(:title) { should be_eql 'Fix UI detail' }
72
+ its(:created_at) { should_not be_nil }
73
+ its(:updated_at) { should_not be_nil }
74
+ its(:description) { should be_nil }
75
+ its(:requestor) { should be_nil }
76
+ its(:project_id) { should be_eql 'be74b643b64e3dc79aa0' }
77
+ its(:assignee) { should be_eql 'Rafael George' }
77
78
  end
78
79
  end
79
80
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "taskmapper-kanbanpad"
8
- s.version = "0.8.0"
8
+ s.version = "0.8.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["HybridGroup"]
12
- s.date = "2012-06-18"
12
+ s.date = "2012-08-08"
13
13
  s.description = "Allows taskmapper to interact with kanbanpad."
14
14
  s.email = "sonia@hybridgroup.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taskmapper-kanbanpad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-18 00:00:00.000000000 Z
12
+ date: 2012-08-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: taskmapper
@@ -172,7 +172,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  segments:
174
174
  - 0
175
- hash: 260360189
175
+ hash: 895713775
176
176
  required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  none: false
178
178
  requirements: