spreadsheet_template 0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +4 -8
- data/Rakefile +28 -2
- data/lib/spreadsheet_template/railtie.rb +4 -10
- data/lib/spreadsheet_template.rb +50 -41
- data/spreadsheet_template.gemspec +103 -19
- metadata +268 -108
- data/lib/spreadsheet_template/version.rb +0 -3
data/README
CHANGED
@@ -1,23 +1,22 @@
|
|
1
1
|
SpreadsheetTemplate
|
2
2
|
==================
|
3
3
|
|
4
|
-
A Rails plugin to generate xls documents by using
|
4
|
+
A Rails plugin to generate xls documents by using templates.
|
5
5
|
|
6
|
-
Based on Spreadsheet on Rails (by Koen Van der Auwera)
|
6
|
+
Based on Spreadsheet on Rails (by Koen Van der Auwera) (http://github.com/10to1/spreadsheet_on_rails) and
|
7
|
+
CSV Builder (by Gabe da Silveira) (https://github.com/dasil003/csv_builder).
|
7
8
|
|
8
9
|
Dependencies
|
9
10
|
============
|
10
11
|
|
11
|
-
ruby-ole
|
12
12
|
spreadsheet
|
13
|
-
iconv
|
14
13
|
|
15
14
|
Example
|
16
15
|
=======
|
17
16
|
|
18
17
|
Example spreadsheet usage as found here: http://github.com/jacobat/ruby-spreadsheet
|
19
18
|
|
20
|
-
-- in the view "index.xls.
|
19
|
+
-- in the view "index.xls.xlsbuilder
|
21
20
|
|
22
21
|
sheet = workbook.create_worksheet
|
23
22
|
sheet.name = "What's in a name"
|
@@ -55,6 +54,3 @@ def index
|
|
55
54
|
format.xls { render :action => "index", :layout => false }
|
56
55
|
end
|
57
56
|
end
|
58
|
-
|
59
|
-
|
60
|
-
Copyright (c) 2009 10to1, released under the MIT license
|
data/Rakefile
CHANGED
@@ -1,2 +1,28 @@
|
|
1
|
-
require '
|
2
|
-
|
1
|
+
require 'rdoc/task'
|
2
|
+
require 'jeweler'
|
3
|
+
|
4
|
+
desc 'Generate documentation for the spreadsheet_template plugin.'
|
5
|
+
Rake::RDocTask.new(:rdoc) do |rdoc|
|
6
|
+
rdoc.rdoc_dir = 'rdoc'
|
7
|
+
rdoc.title = 'Spreadsheet Template'
|
8
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
9
|
+
rdoc.rdoc_files.include('README.rdoc')
|
10
|
+
rdoc.rdoc_files.include('CHANGELOG.rdoc')
|
11
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
12
|
+
end
|
13
|
+
|
14
|
+
Jeweler::Tasks.new do |gem|
|
15
|
+
gem.name = "spreadsheet_template"
|
16
|
+
gem.homepage = "http://github.com/cknoxrun/spreadsheet_template"
|
17
|
+
gem.license = "MIT"
|
18
|
+
gem.summary = %Q{Excel Spreadsheet template handler for Rails}
|
19
|
+
gem.description = %Q{Excel Spreadsheet template handler for Rails. Enables :format => 'xls' in controllers, with templates of the form report.xls.xlsbuilder.}
|
20
|
+
gem.email = "cknox@insiliflo.com"
|
21
|
+
gem.authors = ['Craig Knox', 'Koen Van der Auwera', 'Gabe da Silveira']
|
22
|
+
|
23
|
+
gem.add_dependency 'actionpack', '>=3.0.0'
|
24
|
+
gem.add_dependency 'spreadsheet', '>=0.6.5.9'
|
25
|
+
|
26
|
+
gem.add_development_dependency 'jeweler'
|
27
|
+
end
|
28
|
+
Jeweler::RubygemsDotOrgTasks.new
|
@@ -1,11 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
module SpreadsheetTemplate
|
5
|
-
class SpreadsheetTemplateRailtie < Rails::Railtie
|
6
|
-
initializer "spreadsheet_template_railtie.boot_spreadsheet_template" do
|
7
|
-
Mime::Type.register "application/excel", :xls
|
8
|
-
ActionView::Template.register_template_handler 'rxls', SpreadsheetTemplate::Handler
|
9
|
-
end
|
1
|
+
class SpreadsheetTemplate::Railtie < Rails::Railtie
|
2
|
+
initializer "spreadsheet_template.register_template_handler.action_view" do
|
3
|
+
ActionView::Template.register_template_handler 'xlsbuilder', SpreadsheetTemplate::TemplateHandler
|
10
4
|
end
|
11
|
-
end
|
5
|
+
end
|
data/lib/spreadsheet_template.rb
CHANGED
@@ -1,41 +1,50 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
end
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'action_view'
|
3
|
+
require 'iconv'
|
4
|
+
require 'spreadsheet_template/template_handler'
|
5
|
+
require 'spreadsheet_template/railtie'
|
6
|
+
#
|
7
|
+
#
|
8
|
+
# require 'spreadsheet_template/railtie.rb'
|
9
|
+
#
|
10
|
+
# module SpreadsheetTemplate
|
11
|
+
#
|
12
|
+
# class Handler
|
13
|
+
# # self.default_mime_type = 'application/vnd.ms-excel'
|
14
|
+
#
|
15
|
+
# def self.call(template)
|
16
|
+
# %Q{controller.response.content_type ||= Mime::XLS
|
17
|
+
# controller.headers["Content-Disposition"] = "attachment"
|
18
|
+
# SpreadsheetTemplate::Base.new { |workbook| #{template.source} }.process}
|
19
|
+
# end
|
20
|
+
# end
|
21
|
+
#
|
22
|
+
# class Base
|
23
|
+
# @@temp_file = nil
|
24
|
+
#
|
25
|
+
# def temp_file_path
|
26
|
+
# unless @@temp_file
|
27
|
+
# temp = Tempfile.new('spreadsheet-', File.join(Rails.root.to_s, 'tmp') )
|
28
|
+
# @@temp_file = temp.path
|
29
|
+
# temp.close
|
30
|
+
# end
|
31
|
+
# @@temp_file
|
32
|
+
# end
|
33
|
+
#
|
34
|
+
# def initialize
|
35
|
+
# yield workbook
|
36
|
+
# end
|
37
|
+
#
|
38
|
+
# #
|
39
|
+
# def workbook
|
40
|
+
# @workbook ||= Spreadsheet::Workbook.new
|
41
|
+
# end
|
42
|
+
#
|
43
|
+
# # Do the final processing once the work inside the view file has finished
|
44
|
+
# # We need to write the workbook to a temp dir because spreadsheet gem can't write to a string
|
45
|
+
# def process
|
46
|
+
# workbook.write(temp_file_path)
|
47
|
+
# File.open(temp_file_path, 'rb') { |file| file.read }
|
48
|
+
# end
|
49
|
+
# end
|
50
|
+
# end
|
@@ -1,26 +1,110 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
1
4
|
# -*- encoding: utf-8 -*-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "spreadsheet_template/version"
|
4
5
|
|
5
6
|
Gem::Specification.new do |s|
|
6
|
-
s.name
|
7
|
-
s.version
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Craig Knox"]
|
10
|
-
s.email = ["cknox@insiliflo.com"]
|
11
|
-
s.homepage = "http://rubygems.org/gems/spreadsheet_template"
|
12
|
-
s.summary = %q{Rails plugin to generate excel documents (xls) by using rxls templates.}
|
13
|
-
s.description = %q{Based on Spreadsheet on Rails (by Koen Van der Auwera), Spreadsheet Template is designed to work with Rails 3.0 and above.}
|
7
|
+
s.name = "spreadsheet_template"
|
8
|
+
s.version = "1.0.0"
|
14
9
|
|
15
|
-
s.
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Craig Knox", "Koen Van der Auwera", "Gabe da Silveira"]
|
12
|
+
s.date = "2011-10-31"
|
13
|
+
s.description = "Excel Spreadsheet template handler for Rails. Enables :format => 'xls' in controllers, with templates of the form report.xls.xlsbuilder."
|
14
|
+
s.email = "cknox@insiliflo.com"
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"README"
|
17
|
+
]
|
18
|
+
s.files = [
|
19
|
+
"Gemfile",
|
20
|
+
"MIT-LICENSE",
|
21
|
+
"README",
|
22
|
+
"Rakefile",
|
23
|
+
"lib/spreadsheet_template.rb",
|
24
|
+
"lib/spreadsheet_template/railtie.rb",
|
25
|
+
"spreadsheet_template.gemspec",
|
26
|
+
"test/spreadsheet_on_rails_test.rb",
|
27
|
+
"test/test_helper.rb"
|
28
|
+
]
|
29
|
+
s.homepage = "http://github.com/cknoxrun/spreadsheet_template"
|
30
|
+
s.licenses = ["MIT"]
|
31
|
+
s.require_paths = ["lib"]
|
32
|
+
s.rubygems_version = "1.8.10"
|
33
|
+
s.summary = "Excel Spreadsheet template handler for Rails"
|
16
34
|
|
17
|
-
s.
|
18
|
-
|
19
|
-
s.add_dependency('spreadsheet', '>= 0.6.4.1')
|
20
|
-
s.add_dependency('iconv', '>= 0.1')
|
35
|
+
if s.respond_to? :specification_version then
|
36
|
+
s.specification_version = 3
|
21
37
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
38
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
39
|
+
s.add_runtime_dependency(%q<spreadsheet_template>, [">= 0"])
|
40
|
+
s.add_development_dependency(%q<rails>, [">= 3.0.0"])
|
41
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.5"])
|
42
|
+
s.add_development_dependency(%q<rspec-rails>, ["~> 2.5"])
|
43
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
44
|
+
s.add_development_dependency(%q<rack>, [">= 0"])
|
45
|
+
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
46
|
+
s.add_development_dependency(%q<rails>, [">= 3.0.0"])
|
47
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.5"])
|
48
|
+
s.add_development_dependency(%q<rspec-rails>, ["~> 2.5"])
|
49
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
50
|
+
s.add_development_dependency(%q<rack>, [">= 0"])
|
51
|
+
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
52
|
+
s.add_development_dependency(%q<rails>, [">= 3.0.0"])
|
53
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.5"])
|
54
|
+
s.add_development_dependency(%q<rspec-rails>, ["~> 2.5"])
|
55
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
56
|
+
s.add_development_dependency(%q<rack>, [">= 0"])
|
57
|
+
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
58
|
+
s.add_runtime_dependency(%q<actionpack>, [">= 3.0.0"])
|
59
|
+
s.add_runtime_dependency(%q<spreadsheet>, [">= 0.6.5.9"])
|
60
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
61
|
+
else
|
62
|
+
s.add_dependency(%q<spreadsheet_template>, [">= 0"])
|
63
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
64
|
+
s.add_dependency(%q<rspec>, ["~> 2.5"])
|
65
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.5"])
|
66
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
67
|
+
s.add_dependency(%q<rack>, [">= 0"])
|
68
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
69
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
70
|
+
s.add_dependency(%q<rspec>, ["~> 2.5"])
|
71
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.5"])
|
72
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
73
|
+
s.add_dependency(%q<rack>, [">= 0"])
|
74
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
75
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
76
|
+
s.add_dependency(%q<rspec>, ["~> 2.5"])
|
77
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.5"])
|
78
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
79
|
+
s.add_dependency(%q<rack>, [">= 0"])
|
80
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
81
|
+
s.add_dependency(%q<actionpack>, [">= 3.0.0"])
|
82
|
+
s.add_dependency(%q<spreadsheet>, [">= 0.6.5.9"])
|
83
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
84
|
+
end
|
85
|
+
else
|
86
|
+
s.add_dependency(%q<spreadsheet_template>, [">= 0"])
|
87
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
88
|
+
s.add_dependency(%q<rspec>, ["~> 2.5"])
|
89
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.5"])
|
90
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
91
|
+
s.add_dependency(%q<rack>, [">= 0"])
|
92
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
93
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
94
|
+
s.add_dependency(%q<rspec>, ["~> 2.5"])
|
95
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.5"])
|
96
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
97
|
+
s.add_dependency(%q<rack>, [">= 0"])
|
98
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
99
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
100
|
+
s.add_dependency(%q<rspec>, ["~> 2.5"])
|
101
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.5"])
|
102
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
103
|
+
s.add_dependency(%q<rack>, [">= 0"])
|
104
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
105
|
+
s.add_dependency(%q<actionpack>, [">= 3.0.0"])
|
106
|
+
s.add_dependency(%q<spreadsheet>, [">= 0.6.5.9"])
|
107
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
108
|
+
end
|
26
109
|
end
|
110
|
+
|
metadata
CHANGED
@@ -1,140 +1,300 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreadsheet_template
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
version: "0.1"
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Craig Knox
|
9
|
+
- Koen Van der Auwera
|
10
|
+
- Gabe da Silveira
|
13
11
|
autorequire:
|
14
12
|
bindir: bin
|
15
13
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
14
|
+
date: 2011-10-31 00:00:00.000000000Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: spreadsheet_template
|
18
|
+
requirement: &70250642016160 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: *70250642016160
|
27
|
+
- !ruby/object:Gem::Dependency
|
21
28
|
name: rails
|
29
|
+
requirement: &70250642015400 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 3.0.0
|
35
|
+
type: :development
|
22
36
|
prerelease: false
|
23
|
-
|
37
|
+
version_requirements: *70250642015400
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: rspec
|
40
|
+
requirement: &70250642014320 !ruby/object:Gem::Requirement
|
24
41
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '2.5'
|
46
|
+
type: :development
|
47
|
+
prerelease: false
|
48
|
+
version_requirements: *70250642014320
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: rspec-rails
|
51
|
+
requirement: &70250642013640 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '2.5'
|
57
|
+
type: :development
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: *70250642013640
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: jeweler
|
62
|
+
requirement: &70250642012900 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: *70250642012900
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rack
|
73
|
+
requirement: &70250642011800 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
type: :development
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: *70250642011800
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: sqlite3
|
84
|
+
requirement: &70250642010400 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: *70250642010400
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: rails
|
95
|
+
requirement: &70250642008840 !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ! '>='
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 3.0.0
|
101
|
+
type: :development
|
102
|
+
prerelease: false
|
103
|
+
version_requirements: *70250642008840
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: rspec
|
106
|
+
requirement: &70250642008200 !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
108
|
+
requirements:
|
109
|
+
- - ~>
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '2.5'
|
112
|
+
type: :development
|
113
|
+
prerelease: false
|
114
|
+
version_requirements: *70250642008200
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: rspec-rails
|
117
|
+
requirement: &70250642007280 !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ~>
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '2.5'
|
123
|
+
type: :development
|
124
|
+
prerelease: false
|
125
|
+
version_requirements: *70250642007280
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: jeweler
|
128
|
+
requirement: &70250642005960 !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: *70250642005960
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: rack
|
139
|
+
requirement: &70250642004640 !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
141
|
+
requirements:
|
142
|
+
- - ! '>='
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
type: :development
|
146
|
+
prerelease: false
|
147
|
+
version_requirements: *70250642004640
|
148
|
+
- !ruby/object:Gem::Dependency
|
149
|
+
name: sqlite3
|
150
|
+
requirement: &70250642003600 !ruby/object:Gem::Requirement
|
151
|
+
none: false
|
152
|
+
requirements:
|
153
|
+
- - ! '>='
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '0'
|
156
|
+
type: :development
|
157
|
+
prerelease: false
|
158
|
+
version_requirements: *70250642003600
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: rails
|
161
|
+
requirement: &70250642002020 !ruby/object:Gem::Requirement
|
162
|
+
none: false
|
163
|
+
requirements:
|
164
|
+
- - ! '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 3.0.0
|
167
|
+
type: :development
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: *70250642002020
|
170
|
+
- !ruby/object:Gem::Dependency
|
171
|
+
name: rspec
|
172
|
+
requirement: &70250641999360 !ruby/object:Gem::Requirement
|
173
|
+
none: false
|
174
|
+
requirements:
|
175
|
+
- - ~>
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '2.5'
|
178
|
+
type: :development
|
179
|
+
prerelease: false
|
180
|
+
version_requirements: *70250641999360
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rspec-rails
|
183
|
+
requirement: &70250641998220 !ruby/object:Gem::Requirement
|
184
|
+
none: false
|
185
|
+
requirements:
|
186
|
+
- - ~>
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '2.5'
|
189
|
+
type: :development
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: *70250641998220
|
192
|
+
- !ruby/object:Gem::Dependency
|
193
|
+
name: jeweler
|
194
|
+
requirement: &70250641979540 !ruby/object:Gem::Requirement
|
195
|
+
none: false
|
196
|
+
requirements:
|
197
|
+
- - ! '>='
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: *70250641979540
|
203
|
+
- !ruby/object:Gem::Dependency
|
204
|
+
name: rack
|
205
|
+
requirement: &70250641978620 !ruby/object:Gem::Requirement
|
206
|
+
none: false
|
207
|
+
requirements:
|
208
|
+
- - ! '>='
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '0'
|
211
|
+
type: :development
|
212
|
+
prerelease: false
|
213
|
+
version_requirements: *70250641978620
|
214
|
+
- !ruby/object:Gem::Dependency
|
215
|
+
name: sqlite3
|
216
|
+
requirement: &70250641977620 !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
type: :development
|
54
223
|
prerelease: false
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
- 4
|
65
|
-
- 1
|
66
|
-
version: 0.6.4.1
|
224
|
+
version_requirements: *70250641977620
|
225
|
+
- !ruby/object:Gem::Dependency
|
226
|
+
name: actionpack
|
227
|
+
requirement: &70250641976800 !ruby/object:Gem::Requirement
|
228
|
+
none: false
|
229
|
+
requirements:
|
230
|
+
- - ! '>='
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
version: 3.0.0
|
67
233
|
type: :runtime
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
requirement: &
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- -
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
78
|
-
segments:
|
79
|
-
- 0
|
80
|
-
- 1
|
81
|
-
version: "0.1"
|
234
|
+
prerelease: false
|
235
|
+
version_requirements: *70250641976800
|
236
|
+
- !ruby/object:Gem::Dependency
|
237
|
+
name: spreadsheet
|
238
|
+
requirement: &70250641975800 !ruby/object:Gem::Requirement
|
239
|
+
none: false
|
240
|
+
requirements:
|
241
|
+
- - ! '>='
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: 0.6.5.9
|
82
244
|
type: :runtime
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: *70250641975800
|
247
|
+
- !ruby/object:Gem::Dependency
|
248
|
+
name: jeweler
|
249
|
+
requirement: &70250641974840 !ruby/object:Gem::Requirement
|
250
|
+
none: false
|
251
|
+
requirements:
|
252
|
+
- - ! '>='
|
253
|
+
- !ruby/object:Gem::Version
|
254
|
+
version: '0'
|
255
|
+
type: :development
|
256
|
+
prerelease: false
|
257
|
+
version_requirements: *70250641974840
|
258
|
+
description: Excel Spreadsheet template handler for Rails. Enables :format => 'xls'
|
259
|
+
in controllers, with templates of the form report.xls.xlsbuilder.
|
260
|
+
email: cknox@insiliflo.com
|
87
261
|
executables: []
|
88
|
-
|
89
262
|
extensions: []
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
files:
|
263
|
+
extra_rdoc_files:
|
264
|
+
- README
|
265
|
+
files:
|
94
266
|
- Gemfile
|
95
267
|
- MIT-LICENSE
|
96
268
|
- README
|
97
269
|
- Rakefile
|
98
270
|
- lib/spreadsheet_template.rb
|
99
271
|
- lib/spreadsheet_template/railtie.rb
|
100
|
-
- lib/spreadsheet_template/version.rb
|
101
272
|
- spreadsheet_template.gemspec
|
102
273
|
- test/spreadsheet_on_rails_test.rb
|
103
274
|
- test/test_helper.rb
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
275
|
+
homepage: http://github.com/cknoxrun/spreadsheet_template
|
276
|
+
licenses:
|
277
|
+
- MIT
|
108
278
|
post_install_message:
|
109
279
|
rdoc_options: []
|
110
|
-
|
111
|
-
require_paths:
|
280
|
+
require_paths:
|
112
281
|
- lib
|
113
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
282
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
114
283
|
none: false
|
115
|
-
requirements:
|
116
|
-
- -
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
|
119
|
-
|
120
|
-
- 0
|
121
|
-
version: "0"
|
122
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
284
|
+
requirements:
|
285
|
+
- - ! '>='
|
286
|
+
- !ruby/object:Gem::Version
|
287
|
+
version: '0'
|
288
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
289
|
none: false
|
124
|
-
requirements:
|
125
|
-
- -
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
|
128
|
-
segments:
|
129
|
-
- 0
|
130
|
-
version: "0"
|
290
|
+
requirements:
|
291
|
+
- - ! '>='
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: '0'
|
131
294
|
requirements: []
|
132
|
-
|
133
295
|
rubyforge_project:
|
134
|
-
rubygems_version: 1.
|
296
|
+
rubygems_version: 1.8.10
|
135
297
|
signing_key:
|
136
298
|
specification_version: 3
|
137
|
-
summary:
|
138
|
-
test_files:
|
139
|
-
- test/spreadsheet_on_rails_test.rb
|
140
|
-
- test/test_helper.rb
|
299
|
+
summary: Excel Spreadsheet template handler for Rails
|
300
|
+
test_files: []
|