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 +1 -1
- data/lib/provider/ticket.rb +24 -0
- data/ticketmaster-kanbanpad.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/provider/ticket.rb
CHANGED
@@ -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?'
|
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:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- HybridGroup
|