trackinator 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
data/lib/trackinator.rb CHANGED
@@ -11,7 +11,7 @@ module Trackinator
11
11
 
12
12
  PRIORITY = /^low$|^normal$|^high$|^show-stopper$/
13
13
 
14
- SUBSYSTEM = /^android$|^backend$|^ios$|^web$/
14
+ SUBSYSTEM = /^android$|^backend$|^ios$|^web$|^roku$/
15
15
 
16
16
  GOOGLE_REQUIRED = %w{
17
17
  project
@@ -66,7 +66,7 @@ module Trackinator
66
66
  issues = []
67
67
 
68
68
  GOOGLE_REQUIRED.each do |req_field|
69
- unless ticket.keys.include?(req_field) || ticket["type"].downcase.eql?("story")
69
+ unless ticket.keys.include?(req_field) || (!ticket["type"].nil? && ticket["type"].downcase.eql?("story"))
70
70
  issues << "Validation Error: Ticket with ID: #{ticket["id"]} is missing required field '#{req_field}'"
71
71
  end
72
72
  end
@@ -1,3 +1,3 @@
1
1
  module Trackinator
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trackinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
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-09-20 00:00:00.000000000 Z
12
+ date: 2012-09-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gdata_19