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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -0
- data/lib/vatsim_online/data_downloader.rb +1 -0
- data/lib/vatsim_online/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7502da83d6936a48cdcab261a4e7452f23db9bad
|
4
|
+
data.tar.gz: ac3cebe72cd1b59c6c12eb54b70425f378ceb32b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 058e431193b6c1dd8073544b82cedf9bd1ec94caa0475a67292995407dcd9a4373faaa9e35ece4d73807c2f65e6fcc1607593d45b0ccff12716bb304fe504243
|
7
|
+
data.tar.gz: e3c208cc1b1e06247f0882069aa69fa66c03b8a3ee50468c8582fc06123963c3cd2ab69bbb706cbe074910c267ca2d558ef52a499be5ace7727e653c9ba9d5f9
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -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>"
|