gcmapper 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -113,14 +113,16 @@ Finally, here's an example of how to use the gem in a Rails application:
113
113
 
114
114
  ## Changelog
115
115
 
116
+ ### v. 0.3 August 27th 2012
117
+
118
+ * Updated for [vatsim_online](https://rubygems.org/gems/vatsim_online) compatibility
119
+
116
120
  ### v. 0.2 July 2nd 2012
117
121
 
118
122
  * [Enhancement] Maps now show the user input code (ICAO or IATA) instead of ICAO only
119
123
  * [Feature] New hash option `:city` to toggle city labels on or off (see [Usage](#usage))
120
124
  * [Feature] New hash option `:airport_name` to toggle airport name labels on or off (see [Usage](#usage))
121
125
 
122
-
123
-
124
126
  ## Contributing
125
127
 
126
128
  1. Fork it
@@ -128,3 +130,16 @@ Finally, here's an example of how to use the gem in a Rails application:
128
130
  3. Commit your changes (`git commit -am 'Added some feature'`)
129
131
  4. Push to the branch (`git push origin my-new-feature`)
130
132
  5. Create new Pull Request
133
+
134
+ ## Credits
135
+
136
+ Copyright © 2012 [Svilen Vassilev](http://about.me/svilen)
137
+
138
+ *If you find my work useful or time-saving, you can endorse it or buy me a beer:*
139
+
140
+ [![endorse](http://api.coderwall.com/svilenv/endorse.png)](http://coderwall.com/svilenv)
141
+ [![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5FR7AQA4PLD8A)
142
+
143
+ Released under the [MIT LICENSE](https://github.com/tarakanbg/airdata/blob/master/LICENSE)
144
+
145
+ Maps generated by the [Great Circle Mapper](http://www.gcmap.com/), copyright Karl L. Swartz
@@ -15,7 +15,6 @@ module Gcmapper
15
15
  url = "http://www.gcmap.com/map?P=#{route}%0d%0a&MS=#{tr}&MR=120&MX=#{width}x#{height}&PM=#{style}"
16
16
  end
17
17
 
18
- private
19
18
  # disc + user code b:disc7%2b%25U
20
19
  # disc + user_code + city b:disc7%2b\"%25U%25+%28N\"
21
20
  # disc + airport_name b:disc7+%A
@@ -24,7 +23,7 @@ private
24
23
  style = 'b:disc7%2b' #basic
25
24
  args[:city] == false ? style += '%25U' : style += '"%25U%25+%28N"'
26
25
  style = 'b:disc7+%A' if args[:airport_name] == true
27
- return style
26
+ style
28
27
  end
29
28
  end
30
29
 
@@ -1,3 +1,3 @@
1
1
  module Gcmapper
2
- VERSION = "0.2"
2
+ VERSION = "0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gcmapper
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
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-07-02 00:00:00.000000000 Z
12
+ date: 2012-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec