vatsim_online 0.8 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aaa2f18f60a9b48067065d398a31713df9fb5417
4
- data.tar.gz: c074d77a202f76faf0d9626a7e42620e8d9e8c57
3
+ metadata.gz: 7502da83d6936a48cdcab261a4e7452f23db9bad
4
+ data.tar.gz: ac3cebe72cd1b59c6c12eb54b70425f378ceb32b
5
5
  SHA512:
6
- metadata.gz: 513e26e2992fcd07a6a9ba7997a92f7411275bc83217b375a503c89f2d6b04d2c21986682f7819da420cbe485ea21592436b8bfa0240bb11b945a8176854a464
7
- data.tar.gz: d4edd8ed2ab1534a855fbbbaf90546918f6ee09be4d8dff76497c75a43da2916ec1edcd4279dc4611f9d505156259a0ed28b0bd62bf9cd25720dafc1996d0060
6
+ metadata.gz: 058e431193b6c1dd8073544b82cedf9bd1ec94caa0475a67292995407dcd9a4373faaa9e35ece4d73807c2f65e6fcc1607593d45b0ccff12716bb304fe504243
7
+ data.tar.gz: e3c208cc1b1e06247f0882069aa69fa66c03b8a3ee50468c8582fc06123963c3cd2ab69bbb706cbe074910c267ca2d558ef52a499be5ace7727e653c9ba9d5f9
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
+ ### v. 0.8.1 - 5 October 2013
6
+
7
+ * Ignore prefile data
8
+
5
9
  ### v. 0.8 - 5 October 2013
6
10
 
7
11
  * search by callsign implemented
data/README.md CHANGED
@@ -332,6 +332,10 @@ the same result.
332
332
 
333
333
  ## Changelog
334
334
 
335
+ ### v. 0.8.1 - 5 October 2013
336
+
337
+ * Ignore prefile data
338
+
335
339
  ### v. 0.8 - 5 October 2013
336
340
 
337
341
  * search by callsign implemented
@@ -57,6 +57,7 @@ module VatsimTools
57
57
  data = Tempfile.new('vatsim_data', :encoding => 'utf-8')
58
58
  File.rename data.path, LOCAL_DATA
59
59
  data = curl.gsub(/["]/, '\s').encode!('UTF-16', 'UTF-8', :invalid => :replace, :replace => '').encode!('UTF-8', 'UTF-16')
60
+ data = data.slice(0..(data.index('!PREFILE:')))
60
61
  File.open(LOCAL_DATA, "w+") {|f| f.write(data)}
61
62
  File.chmod(0777, LOCAL_DATA)
62
63
  gem_data_file if curl.include? "<html><head>"
@@ -1,3 +1,3 @@
1
1
  module VatsimOnline
2
- VERSION = "0.8"
2
+ VERSION = "0.8.1"
3
3
  end
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.8'
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Svilen Vassilev