excel_rails 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/excel_rails.gemspec +3 -3
- data/lib/excel_rails.rb +1 -1
- metadata +19 -38
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/excel_rails.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "excel_rails"
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Aditya Sanghi"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-12-07"
|
13
13
|
s.description = "Allows you to program spreadsheets using .rxls views"
|
14
14
|
s.email = "asanghi@me.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
|
|
31
31
|
]
|
32
32
|
s.homepage = "http://github.com/asanghi/excel_rails"
|
33
33
|
s.require_paths = ["lib"]
|
34
|
-
s.rubygems_version = "1.8.
|
34
|
+
s.rubygems_version = "1.8.24"
|
35
35
|
s.summary = "Hook rxls to generate Excel documents in Rails 3"
|
36
36
|
|
37
37
|
if s.respond_to? :specification_version then
|
data/lib/excel_rails.rb
CHANGED
@@ -18,7 +18,7 @@ module Spreadsheet
|
|
18
18
|
def disposition(download, filename)
|
19
19
|
download = true if (filename && download == nil)
|
20
20
|
disposition = download ? "attachment;" : "inline;"
|
21
|
-
disposition += " filename
|
21
|
+
disposition += " filename=\"#{filename}\"" if filename
|
22
22
|
headers["Content-Disposition"] = disposition
|
23
23
|
end
|
24
24
|
end
|
metadata
CHANGED
@@ -1,33 +1,24 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: excel_rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
hash: 19
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 0
|
10
|
-
version: 0.3.0
|
5
|
+
version: 0.3.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Aditya Sanghi
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2012-01-27 00:00:00 Z
|
12
|
+
date: 2012-12-07 00:00:00.000000000 Z
|
19
13
|
dependencies: []
|
20
|
-
|
21
14
|
description: Allows you to program spreadsheets using .rxls views
|
22
15
|
email: asanghi@me.com
|
23
16
|
executables: []
|
24
|
-
|
25
17
|
extensions: []
|
26
|
-
|
27
|
-
extra_rdoc_files:
|
18
|
+
extra_rdoc_files:
|
28
19
|
- LICENSE
|
29
20
|
- README
|
30
|
-
files:
|
21
|
+
files:
|
31
22
|
- .document
|
32
23
|
- LICENSE
|
33
24
|
- README
|
@@ -41,36 +32,26 @@ files:
|
|
41
32
|
- test/test_excel_rails.rb
|
42
33
|
homepage: http://github.com/asanghi/excel_rails
|
43
34
|
licenses: []
|
44
|
-
|
45
35
|
post_install_message:
|
46
36
|
rdoc_options: []
|
47
|
-
|
48
|
-
require_paths:
|
37
|
+
require_paths:
|
49
38
|
- lib
|
50
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
39
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
51
44
|
none: false
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
- 0
|
58
|
-
version: "0"
|
59
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
45
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ! '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
60
50
|
none: false
|
61
|
-
requirements:
|
62
|
-
- - ">="
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
hash: 3
|
65
|
-
segments:
|
66
|
-
- 0
|
67
|
-
version: "0"
|
68
51
|
requirements: []
|
69
|
-
|
70
52
|
rubyforge_project:
|
71
|
-
rubygems_version: 1.8.
|
53
|
+
rubygems_version: 1.8.24
|
72
54
|
signing_key:
|
73
55
|
specification_version: 3
|
74
56
|
summary: Hook rxls to generate Excel documents in Rails 3
|
75
57
|
test_files: []
|
76
|
-
|