pasco 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/pasco.rb +4 -4
  3. data/pasco.gemspec +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.4
1
+ 1.2.5
data/lib/pasco.rb CHANGED
@@ -14,13 +14,13 @@ def initialize(url="",modified_time="",access_time="",file_name="",directory="",
14
14
  def self.get_history(file_name)
15
15
  if !file_name.nil? && File.extname(file_name) == ".dat"
16
16
  if RUBY_PLATFORM=~ /linux/ || RUBY_PLATFORM =~ /darwin/
17
- pasco_path = File.expand_path(File.join("pasco"))
17
+ pasco_path = File.expand_path(File.join(File.dirname(__FILE__),"pasco"))
18
18
  command = "#{pasco_path} #{file_name}"
19
- result =system(command)
19
+ result =`#{command}`
20
20
  else #FOR Windows Not tested yet
21
- pasco_path = File.expand_path(File.join("pasco.exe"))
21
+ pasco_path = File.expand_path(File.dirname(__FILE__),"pasco.exe")
22
22
  command = "#{pasco_path} #{file_name}"
23
- result =system(command)
23
+ result = `#{command}`
24
24
  end
25
25
  @ie_histories = self.process_history(result)
26
26
  else
data/pasco.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pasco}
8
- s.version = "1.2.4"
8
+ s.version = "1.2.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["amardaxini"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pasco
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 4
10
- version: 1.2.4
9
+ - 5
10
+ version: 1.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - amardaxini