ekuseru 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +4 -3
- data/Rakefile +1 -39
- data/ekuseru.gemspec +15 -45
- data/test/test_helper.rb +0 -1
- metadata +67 -50
data/.gitignore
ADDED
data/Gemfile
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
source
|
2
|
-
|
3
|
-
gem
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in bootstrap_helpers.gemspec
|
4
|
+
gemspec
|
data/Rakefile
CHANGED
@@ -1,39 +1 @@
|
|
1
|
-
require
|
2
|
-
require 'rake/testtask'
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
|
5
|
-
desc 'Default: run unit tests.'
|
6
|
-
task :default => :test
|
7
|
-
|
8
|
-
desc 'Test the ekuseru plugin.'
|
9
|
-
Rake::TestTask.new(:test) do |t|
|
10
|
-
t.libs << 'lib'
|
11
|
-
t.libs << 'test'
|
12
|
-
t.pattern = 'test/**/*_test.rb'
|
13
|
-
t.verbose = true
|
14
|
-
end
|
15
|
-
|
16
|
-
desc 'Generate documentation for the ekuseru plugin.'
|
17
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
18
|
-
rdoc.rdoc_dir = 'rdoc'
|
19
|
-
rdoc.title = 'ekuseru'
|
20
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
21
|
-
rdoc.rdoc_files.include('README')
|
22
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
23
|
-
end
|
24
|
-
|
25
|
-
begin
|
26
|
-
require 'jeweler'
|
27
|
-
Jeweler::Tasks.new do |gemspec|
|
28
|
-
gemspec.name = "ekuseru"
|
29
|
-
gemspec.summary = "Export excel documents from Rails"
|
30
|
-
gemspec.description = "Ekuseru is a gem to generate Microsoft Excel documents with Rails." +
|
31
|
-
" This plugin provides templating abilities to create excel documents using Spreadsheet gem."
|
32
|
-
gemspec.email = "xinuc@xinuc.org"
|
33
|
-
gemspec.homepage = "http://github.com/xinuc/ekuseru"
|
34
|
-
gemspec.authors = ["Nugroho Herucahyono", "Jacob Rothstein"]
|
35
|
-
gemspec.add_dependency('spreadsheet', ">=0.6")
|
36
|
-
end
|
37
|
-
rescue LoadError
|
38
|
-
puts "Jeweler not available. Install it with: gem install jeweler"
|
39
|
-
end
|
1
|
+
require "bundler/gem_tasks"
|
data/ekuseru.gemspec
CHANGED
@@ -1,57 +1,27 @@
|
|
1
|
-
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
-
# -*- encoding: utf-8 -*-
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
5
2
|
|
6
3
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.3.
|
4
|
+
s.name = %q{ekuseru}
|
5
|
+
s.version = "0.3.10"
|
9
6
|
|
10
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
8
|
s.authors = ["Nugroho Herucahyono", "Jacob Rothstein"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
9
|
+
s.date = %q{2011-11-21}
|
10
|
+
s.description = %q{Ekuseru is a gem to generate Microsoft Excel documents with Rails. This plugin provides templating abilities to create excel documents using Spreadsheet gem.}
|
11
|
+
s.email = %q{xinuc@xinuc.org}
|
15
12
|
s.extra_rdoc_files = [
|
16
13
|
"README.rdoc"
|
17
14
|
]
|
18
|
-
s.files
|
19
|
-
"
|
20
|
-
|
21
|
-
"README.rdoc",
|
22
|
-
"Rakefile",
|
23
|
-
"VERSION",
|
24
|
-
"ekuseru.gemspec",
|
25
|
-
"install.rb",
|
26
|
-
"lib/ekuseru.rb",
|
27
|
-
"lib/template_handler/eku.rb",
|
28
|
-
"lib/template_handler/options.rb",
|
29
|
-
"test/ekuseru_controller_test.rb",
|
30
|
-
"test/fixtures/ekuseru/index.xls.eku",
|
31
|
-
"test/test.log",
|
32
|
-
"test/test_helper.rb"
|
33
|
-
]
|
34
|
-
s.homepage = "http://github.com/xinuc/ekuseru"
|
15
|
+
s.files = `git ls-files`.split("\n")
|
16
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
35
18
|
s.require_paths = ["lib"]
|
36
|
-
s.
|
37
|
-
s.
|
38
|
-
|
39
|
-
|
40
|
-
|
19
|
+
s.homepage = %q{http://github.com/xinuc/ekuseru}
|
20
|
+
s.rubygems_version = %q{1.5.3}
|
21
|
+
s.summary = %q{Export excel documents from Rails}
|
22
|
+
|
23
|
+
s.add_dependency 'rails', '>=3.0'
|
24
|
+
s.add_dependency 'spreadsheet', '>=0.6'
|
41
25
|
|
42
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
43
|
-
s.add_runtime_dependency(%q<rails>, ["< 3.0"])
|
44
|
-
s.add_runtime_dependency(%q<spreadsheet>, [">= 0"])
|
45
|
-
s.add_runtime_dependency(%q<spreadsheet>, [">= 0.6"])
|
46
|
-
else
|
47
|
-
s.add_dependency(%q<rails>, ["< 3.0"])
|
48
|
-
s.add_dependency(%q<spreadsheet>, [">= 0"])
|
49
|
-
s.add_dependency(%q<spreadsheet>, [">= 0.6"])
|
50
|
-
end
|
51
|
-
else
|
52
|
-
s.add_dependency(%q<rails>, ["< 3.0"])
|
53
|
-
s.add_dependency(%q<spreadsheet>, [">= 0"])
|
54
|
-
s.add_dependency(%q<spreadsheet>, [">= 0.6"])
|
55
|
-
end
|
56
26
|
end
|
57
27
|
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,60 +1,66 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ekuseru
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 3
|
9
|
+
- 10
|
10
|
+
version: 0.3.10
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Nugroho Herucahyono
|
9
14
|
- Jacob Rothstein
|
10
15
|
autorequire:
|
11
16
|
bindir: bin
|
12
17
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
none: false
|
19
|
-
requirements:
|
20
|
-
- - <
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '3.0'
|
18
|
+
|
19
|
+
date: 2011-11-21 00:00:00 +02:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: spreadsheet
|
28
|
-
requirement: &17067980 !ruby/object:Gem::Requirement
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
29
26
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 7
|
31
|
+
segments:
|
32
|
+
- 3
|
33
|
+
- 0
|
34
|
+
version: "3.0"
|
35
|
+
version_requirements: *id001
|
36
|
+
name: rails
|
37
|
+
- !ruby/object:Gem::Dependency
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
|
-
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: spreadsheet
|
39
|
-
requirement: &17067500 !ruby/object:Gem::Requirement
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
41
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 7
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
- 6
|
49
|
+
version: "0.6"
|
50
|
+
version_requirements: *id002
|
51
|
+
name: spreadsheet
|
52
|
+
description: Ekuseru is a gem to generate Microsoft Excel documents with Rails. This plugin provides templating abilities to create excel documents using Spreadsheet gem.
|
51
53
|
email: xinuc@xinuc.org
|
52
54
|
executables: []
|
55
|
+
|
53
56
|
extensions: []
|
54
|
-
|
57
|
+
|
58
|
+
extra_rdoc_files:
|
55
59
|
- README.rdoc
|
56
|
-
files:
|
60
|
+
files:
|
61
|
+
- .gitignore
|
57
62
|
- Gemfile
|
63
|
+
- Gemfile.lock
|
58
64
|
- MIT-LICENSE
|
59
65
|
- README.rdoc
|
60
66
|
- Rakefile
|
@@ -68,28 +74,39 @@ files:
|
|
68
74
|
- test/fixtures/ekuseru/index.xls.eku
|
69
75
|
- test/test.log
|
70
76
|
- test/test_helper.rb
|
77
|
+
has_rdoc: true
|
71
78
|
homepage: http://github.com/xinuc/ekuseru
|
72
79
|
licenses: []
|
80
|
+
|
73
81
|
post_install_message:
|
74
82
|
rdoc_options: []
|
75
|
-
|
83
|
+
|
84
|
+
require_paths:
|
76
85
|
- lib
|
77
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
87
|
none: false
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
|
83
|
-
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
hash: 3
|
92
|
+
segments:
|
93
|
+
- 0
|
94
|
+
version: "0"
|
95
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
96
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
hash: 3
|
101
|
+
segments:
|
102
|
+
- 0
|
103
|
+
version: "0"
|
89
104
|
requirements: []
|
105
|
+
|
90
106
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.
|
107
|
+
rubygems_version: 1.5.3
|
92
108
|
signing_key:
|
93
109
|
specification_version: 3
|
94
110
|
summary: Export excel documents from Rails
|
95
111
|
test_files: []
|
112
|
+
|