vatsim_online 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -292,6 +292,10 @@ current algorithm does not evaluate enroute flights.
292
292
 
293
293
  ## Changelog
294
294
 
295
+ ### v. 0.5.2 - 29 September 2012
296
+
297
+ * fixed permissions bug on UNIX systems
298
+
295
299
  ### v. 0.5.1 - 23 September 2012
296
300
 
297
301
  * bugfixes
@@ -16,6 +16,7 @@ module VatsimTools
16
16
  status = Tempfile.new('vatsim_status')
17
17
  File.rename status.path, LOCAL_STATUS
18
18
  File.open(LOCAL_STATUS, "w+") {|f| f.write(Curl::Easy.perform(STATUS_URL).body_str) }
19
+ File.chmod(0777, LOCAL_STATUS)
19
20
  end
20
21
 
21
22
  def read_status_tempfile
@@ -40,6 +41,7 @@ module VatsimTools
40
41
  File.rename data.path, LOCAL_DATA
41
42
  data = Curl::Easy.perform(servers.sample).body_str.gsub(/["]/, '\s').encode!('UTF-16', 'UTF-8', :invalid => :replace, :replace => '').encode!('UTF-8', 'UTF-16')
42
43
  File.open(LOCAL_DATA, "w+") {|f| f.write(data)}
44
+ File.chmod(0777, LOCAL_DATA)
43
45
  end
44
46
 
45
47
  def read_local_datafile
@@ -1,3 +1,3 @@
1
1
  module VatsimOnline
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
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.5.1
4
+ version: 0.5.2
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-09-23 00:00:00.000000000 Z
12
+ date: 2012-09-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec