vatsim_metar 0.0.1 → 0.1.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.
- data/.travis.yml +2 -1
- data/CONTRIBUTING.md +8 -0
- data/LICENSE +1 -1
- data/README.md +30 -3
- data/lib/vatsim_metar/version.rb +1 -1
- data/vatsim_metar.gemspec +2 -2
- metadata +9 -8
data/.travis.yml
CHANGED
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
# Contributing to vatsim_metar
|
2
|
+
|
3
|
+
1. Fork it
|
4
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
5
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
6
|
+
4. Make sure all tests pass!
|
7
|
+
5. Push to the branch (`git push origin my-new-feature`)
|
8
|
+
6. Create new Pull Request
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,16 @@
|
|
1
|
-
# Vatsim Metar
|
1
|
+
# Vatsim Metar
|
2
2
|
|
3
3
|
A Ruby gem which pulls and displays the latest VATSIM metar for a particular station (ICAO code).
|
4
4
|
|
5
|
+
[](http://travis-ci.org/tarakanbg/vatsim_metar)
|
6
|
+
[](https://gemnasium.com/tarakanbg/vatsim_metar)
|
7
|
+
[](http://badge.fury.io/rb/vatsim_metar)
|
8
|
+
[](https://codeclimate.com/github/tarakanbg/vatsim_metar)
|
9
|
+
|
10
|
+
## Compatibility
|
11
|
+
|
12
|
+
[Ruby 1.9.3](http://www.ruby-lang.org/en/downloads/) or higher | **Supports Ruby 2.0!**
|
13
|
+
|
5
14
|
## Installation
|
6
15
|
|
7
16
|
Add this line to your application's Gemfile:
|
@@ -39,10 +48,28 @@ airport.metar # => "KJFK 291751Z 24016KT 10SM FEW180 SCT250 32/21 A2968 RMK AO2
|
|
39
48
|
|
40
49
|
This library augments the default Ruby `String` class with a method named `.metar`. It returns a string, containing the latest Vatsim METAR. The data is obtained via `curl` from Vatsim's web API, hence the `curb` dependency.
|
41
50
|
|
51
|
+
## Changelog
|
52
|
+
|
53
|
+
### v. 0.1.0 - 26 February 2013
|
54
|
+
|
55
|
+
* added Ruby 2.0 support
|
56
|
+
|
42
57
|
## Contributing
|
43
58
|
|
44
59
|
1. Fork it
|
45
60
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
46
61
|
3. Commit your changes (`git commit -am 'Added some feature'`)
|
47
|
-
4.
|
48
|
-
5.
|
62
|
+
4. Make sure all tests pass!
|
63
|
+
5. Push to the branch (`git push origin my-new-feature`)
|
64
|
+
6. Create new Pull Request
|
65
|
+
|
66
|
+
## Credits
|
67
|
+
|
68
|
+
Copyright © 2013 [Svilen Vassilev](http://svilen.rubystudio.net)
|
69
|
+
|
70
|
+
*If you find my work useful or time-saving, you can endorse it or buy me a cup of coffee:*
|
71
|
+
|
72
|
+
[](http://coderwall.com/svilenv)
|
73
|
+
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5FR7AQA4PLD8A)
|
74
|
+
|
75
|
+
Released under the [MIT LICENSE](https://github.com/tarakanbg/vatsim_metar/blob/master/LICENSE)
|
data/lib/vatsim_metar/version.rb
CHANGED
data/vatsim_metar.gemspec
CHANGED
@@ -4,7 +4,7 @@ require File.expand_path('../lib/vatsim_metar/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Svilen Vassilev"]
|
6
6
|
gem.email = ["svilen@rubystudio.net"]
|
7
|
-
gem.description = %q{Pulls and returns as a
|
7
|
+
gem.description = %q{Pulls and returns as a string the latest VATSIM metar for a particular station (ICAO code).}
|
8
8
|
gem.summary = %q{Pulls the latest VATSIM metar for particular station}
|
9
9
|
gem.homepage = "https://github.com/tarakanbg/vatsim_metar"
|
10
10
|
|
@@ -17,5 +17,5 @@ Gem::Specification.new do |gem|
|
|
17
17
|
|
18
18
|
gem.add_development_dependency "rspec"
|
19
19
|
gem.add_development_dependency "rake"
|
20
|
-
gem.add_dependency "curb"
|
20
|
+
gem.add_dependency "curb", "~> 0.8.3"
|
21
21
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vatsim_metar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.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:
|
12
|
+
date: 2013-02-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -48,18 +48,18 @@ dependencies:
|
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: 0.8.3
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
none: false
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
-
description: Pulls and returns as a
|
61
|
+
version: 0.8.3
|
62
|
+
description: Pulls and returns as a string the latest VATSIM metar for a particular
|
63
63
|
station (ICAO code).
|
64
64
|
email:
|
65
65
|
- svilen@rubystudio.net
|
@@ -69,6 +69,7 @@ extra_rdoc_files: []
|
|
69
69
|
files:
|
70
70
|
- .gitignore
|
71
71
|
- .travis.yml
|
72
|
+
- CONTRIBUTING.md
|
72
73
|
- Gemfile
|
73
74
|
- LICENSE
|
74
75
|
- README.md
|
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
99
|
version: '0'
|
99
100
|
requirements: []
|
100
101
|
rubyforge_project:
|
101
|
-
rubygems_version: 1.8.
|
102
|
+
rubygems_version: 1.8.25
|
102
103
|
signing_key:
|
103
104
|
specification_version: 3
|
104
105
|
summary: Pulls the latest VATSIM metar for particular station
|