ait_connect 0.0.6 → 0.0.7

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.
@@ -28,6 +28,7 @@ module ActiveInTime
28
28
  end
29
29
 
30
30
  def facility_type
31
+ return nil if !@json['facility_type']
31
32
  ActiveInTime::FacilityType.new(@active_in_time, @json['facility_type'])
32
33
  end
33
34
 
@@ -20,7 +20,8 @@ module ActiveInTime
20
20
  end
21
21
 
22
22
  def facility_type_category
23
- ActiveInTime::FacilityTypeCategory.new(@active_in_time, @json)
23
+ return nil if !@json["facility_type_category"]
24
+ ActiveInTime::FacilityTypeCategory.new(@active_in_time, @json["facility_type_category"])
24
25
  end
25
26
 
26
27
  end
@@ -60,6 +60,7 @@ module ActiveInTime
60
60
  @json["timetable_id"]
61
61
  end
62
62
 
63
+ #not sure what this is.
63
64
  def name
64
65
  @json["name"]
65
66
  end
@@ -1,3 +1,3 @@
1
1
  module AITConnect
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ait_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
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-04-25 00:00:00.000000000Z
12
+ date: 2012-05-11 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: typhoeus
16
- requirement: &70097647504840 !ruby/object:Gem::Requirement
16
+ requirement: &70174814478920 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70097647504840
24
+ version_requirements: *70174814478920
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json
27
- requirement: &70097647504320 !ruby/object:Gem::Requirement
27
+ requirement: &70174814478400 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70097647504320
35
+ version_requirements: *70174814478400
36
36
  description: Write a gem description
37
37
  email:
38
38
  - danmorgz@googlemail.com