pasco 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/pasco.rb +4 -4
- data/pasco.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
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
|
19
|
+
result =`#{command}`
|
20
20
|
else #FOR Windows Not tested yet
|
21
|
-
pasco_path = File.expand_path(File.
|
21
|
+
pasco_path = File.expand_path(File.dirname(__FILE__),"pasco.exe")
|
22
22
|
command = "#{pasco_path} #{file_name}"
|
23
|
-
result =
|
23
|
+
result = `#{command}`
|
24
24
|
end
|
25
25
|
@ie_histories = self.process_history(result)
|
26
26
|
else
|
data/pasco.gemspec
CHANGED
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:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 5
|
10
|
+
version: 1.2.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- amardaxini
|