vatsim_online 0.6.2 → 0.7.0

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.
@@ -1,3 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
+ - 2.0.0
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
+ ### v. 0.7.0 - 26 February 2013
6
+
7
+ * added Ruby 2.0 support
8
+
5
9
  ### v. 0.6.2 - 4 January 2013
6
10
 
7
11
  * updated gem dependencies
data/Guardfile CHANGED
@@ -1,5 +1,10 @@
1
- guard 'rspec', :version => 2 do
1
+ guard 'rspec' do
2
2
  watch(%r{^spec/.+_spec\.rb$})
3
+ watch('lib/vatsim_online/version.rb')
4
+ watch('lib/vatsim_online/station.rb')
5
+ watch('lib/vatsim_online/data_downloader.rb')
6
+ watch('lib/vatsim_online/station_parser.rb')
3
7
  watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
8
+ watch(%r{^lib/vatsim_online/(.+)\.rb$})
4
9
  watch('spec/spec_helper.rb') { "spec" }
5
10
  end
data/README.md CHANGED
@@ -7,12 +7,13 @@ returned as objects, exposing a rich set of attributes. Vatsim data is pulled
7
7
  on preset intervals and cached locally to avoid flooding the servers.
8
8
 
9
9
  [![Build Status](https://secure.travis-ci.org/tarakanbg/vatsim_online.png?branch=master)](http://travis-ci.org/tarakanbg/vatsim_online)
10
- [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/tarakanbg/vatsim_online)
11
10
  [![Gemnasium](https://gemnasium.com/tarakanbg/vatsim_online.png?travis)](https://gemnasium.com/tarakanbg/vatsim_online)
11
+ [![Gem Version](https://badge.fury.io/rb/vatsim_online.png)](http://badge.fury.io/rb/vatsim_online)
12
+ [![Code Climate](https://codeclimate.com/github/tarakanbg/vatsim_online.png)](https://codeclimate.com/github/tarakanbg/vatsim_online)
12
13
 
13
14
  ## Requirements
14
15
 
15
- [Ruby 1.9.3](http://www.ruby-lang.org/en/downloads/) or higher
16
+ [Ruby 1.9.3](http://www.ruby-lang.org/en/downloads/) or higher | **Supports Ruby 2.0!**
16
17
 
17
18
  ## Installation
18
19
 
@@ -141,8 +142,8 @@ Here's a complete list of the station object attributes that can be accessed:
141
142
  * `longitude`
142
143
  * `latitude_humanized` (e.g. N44.09780)
143
144
  * `longitude_humanized` (e.g. W58.41483)
144
- * `qnh_in` (set QNH in inches Hg)
145
- * `qnh_mb` (set QNH in milibars/hectopascals)
145
+ * `qnh_in` (indicated QNH in inches Hg)
146
+ * `qnh_mb` (indicated QNH in milibars/hectopascals)
146
147
  * `flight_type` (`I` for IFR, `V` for VFR, etc)
147
148
  * `gcmap` (returns a great circle map image url)
148
149
 
@@ -305,6 +306,10 @@ the same result.
305
306
 
306
307
  ## Changelog
307
308
 
309
+ ### v. 0.7.0 - 26 February 2013
310
+
311
+ * added Ruby 2.0 support
312
+
308
313
  ### v. 0.6.2 - 4 January 2013
309
314
 
310
315
  * updated gem dependencies
@@ -392,7 +397,7 @@ original Vatsim data is re-encoded
392
397
 
393
398
  ## Credits
394
399
 
395
- Copyright © 2012 [Svilen Vassilev](http://about.me/svilen)
400
+ Copyright © 2013 [Svilen Vassilev](http://svilen.rubystudio.net)
396
401
 
397
402
  *If you find my work useful or time-saving, you can endorse it or buy me a cup of coffee:*
398
403
 
@@ -10,7 +10,6 @@ module VatsimTools
10
10
  atis_message}
11
11
  attributes.each {|attribute| attr_accessor attribute.to_sym }
12
12
 
13
-
14
13
  def initialize(station, args = nil)
15
14
 
16
15
  @callsign, @cid, @name, @role, @frequency, @latitude, @longitude, @altitude, @groundspeed, @aircraft, @origin,
@@ -1,3 +1,3 @@
1
1
  module VatsimOnline
2
- VERSION = "0.6.2"
2
+ VERSION = "0.7.0"
3
3
  end
@@ -19,6 +19,7 @@ Gem::Specification.new do |gem|
19
19
  gem.add_development_dependency "rake"
20
20
  gem.add_development_dependency "guard"
21
21
  gem.add_development_dependency "libnotify"
22
+ gem.add_development_dependency "rb-inotify"
22
23
  gem.add_development_dependency "guard-rspec"
23
24
  gem.add_dependency "curb", "~> 0.8.3"
24
25
  gem.add_dependency "time_diff", "~> 0.3.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vatsim_online
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.0
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: 2013-01-04 00:00:00.000000000 Z
12
+ date: 2013-02-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -75,6 +75,22 @@ dependencies:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rb-inotify
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
78
94
  - !ruby/object:Gem::Dependency
79
95
  name: guard-rspec
80
96
  requirement: !ruby/object:Gem::Requirement
@@ -192,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
208
  version: '0'
193
209
  requirements: []
194
210
  rubyforge_project:
195
- rubygems_version: 1.8.24
211
+ rubygems_version: 1.8.25
196
212
  signing_key:
197
213
  specification_version: 3
198
214
  summary: Selectively pulls and parses Vatsim online stations data. Essentially it's