ticketmaster-kanbanpad 0.1.0 → 0.1.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.1.0
1
+ 0.1.1
@@ -21,6 +21,30 @@ module TicketMaster::Provider
21
21
  self.project_slug
22
22
  end
23
23
 
24
+ def created_at
25
+ if self[:created_at].blank?
26
+ Time.now #kanbanpad used to not track the created_at
27
+ else
28
+ begin
29
+ Time.parse(self[:created_at])
30
+ rescue
31
+ self[:created_at]
32
+ end
33
+ end
34
+ end
35
+
36
+ def updated_at
37
+ if self[:updated_at].blank?
38
+ Time.now #kanbanpad used to not track the created_at
39
+ else
40
+ begin
41
+ Time.parse(self[:updated_at])
42
+ rescue
43
+ self[:updated_at]
44
+ end
45
+ end
46
+ end
47
+
24
48
  #TODO?
25
49
  def comments
26
50
  warn 'Kanbanpad does not have comments. Perhaps you should leave feedback to request it?'
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ticketmaster-kanbanpad}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.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"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticketmaster-kanbanpad
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - HybridGroup