remote_table 0.2.27 → 0.2.28
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/remote_table/request.rb +3 -3
- data/remote_table.gemspec +2 -2
- data/test/test_helper.rb +1 -0
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.28
|
data/lib/remote_table/request.rb
CHANGED
@@ -16,10 +16,10 @@ class RemoteTable
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def download
|
19
|
+
path = ::File.join staging_dir_path, 'REMOTE_TABLE_PACKAGE'
|
19
20
|
if parsed_url.scheme == 'file'
|
20
|
-
parsed_url.path
|
21
|
+
::FileUtils.cp parsed_url.path, path
|
21
22
|
else
|
22
|
-
path = ::File.join staging_dir_path, 'REMOTE_TABLE_PACKAGE'
|
23
23
|
RemoteTable.backtick_with_reporting %{
|
24
24
|
curl
|
25
25
|
--header "Expect: "
|
@@ -29,8 +29,8 @@ class RemoteTable
|
|
29
29
|
--output #{Escape.shell_single_word path}
|
30
30
|
2>&1
|
31
31
|
}
|
32
|
-
path
|
33
32
|
end
|
33
|
+
path
|
34
34
|
end
|
35
35
|
|
36
36
|
def staging_dir_path
|
data/remote_table.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{remote_table}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.28"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Seamus Abshere", "Andy Rossmeissl"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-09-08}
|
13
13
|
s.description = %q{Remotely open and parse Excel XLS, ODS, CSV and fixed-width tables.}
|
14
14
|
s.email = %q{seamus@abshere.net}
|
15
15
|
s.extra_rdoc_files = [
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remote_table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 47
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 28
|
10
|
+
version: 0.2.28
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Seamus Abshere
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-09-08 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|