csv_rb 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +24 -0
- data/Gemfile.lock +250 -0
- data/Guardfile +16 -0
- data/MIT-LICENSE +20 -0
- data/README.md +510 -0
- data/Rakefile +29 -0
- data/lib/csv_rb/action_controller.rb +66 -0
- data/lib/csv_rb/plain_builder.rb +27 -0
- data/lib/csv_rb/railtie.rb +16 -0
- data/lib/csv_rb/stream_csv_deflator.rb +25 -0
- data/lib/csv_rb/template_handler.rb +31 -0
- data/lib/csv_rb/version.rb +5 -0
- data/lib/csv_rb.rb +6 -0
- data/lib/tasks/csv_rb_tasks.rake +4 -0
- data/spec/ci.rb +4 -0
- data/spec/csv_rb_builder_spec.rb +39 -0
- data/spec/csv_rb_mailer_spec.rb +17 -0
- data/spec/csv_rb_renderer_spec.rb +18 -0
- data/spec/csv_rb_request_spec.rb +220 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +7 -0
- data/spec/dummy/app/controllers/home_controller.rb +58 -0
- data/spec/dummy/app/controllers/likes_controller.rb +20 -0
- data/spec/dummy/app/controllers/users_controller.rb +39 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/notifier.rb +14 -0
- data/spec/dummy/app/models/like.rb +3 -0
- data/spec/dummy/app/models/user.rb +24 -0
- data/spec/dummy/app/views/home/_cover_sheet.csv.csvrb +1 -0
- data/spec/dummy/app/views/home/index.csv.csvrb +2 -0
- data/spec/dummy/app/views/home/index.html.erb +4 -0
- data/spec/dummy/app/views/home/only_html.html.erb +2 -0
- data/spec/dummy/app/views/home/useheader.csv.csvrb +1 -0
- data/spec/dummy/app/views/home/withpartial.csv.csvrb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +12 -0
- data/spec/dummy/app/views/layouts/users.html.erb +12 -0
- data/spec/dummy/app/views/likes/index.csv.csvrb +4 -0
- data/spec/dummy/app/views/likes/index.html.erb +17 -0
- data/spec/dummy/app/views/notifier/instructions.html.erb +14 -0
- data/spec/dummy/app/views/notifier/instructions.txt.erb +6 -0
- data/spec/dummy/app/views/users/export.csv.csvrb +1 -0
- data/spec/dummy/app/views/users/index.csv.csvrb +1 -0
- data/spec/dummy/app/views/users/index.html.erb +23 -0
- data/spec/dummy/app/views/users/noaction.csv.csvrb +1 -0
- data/spec/dummy/app/views/users/respond_with.csv.csvrb +1 -0
- data/spec/dummy/app/views/users/send_instructions.csv.csvrb +2 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +22 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +83 -0
- data/spec/dummy/config/environments/test.rb +40 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/secret_token.rb +2 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +17 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20120717192452_create_users.rb +12 -0
- data/spec/dummy/db/migrate/20121206210955_create_likes.rb +10 -0
- data/spec/dummy/db/schema.rb +31 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +257 -0
- data/spec/dummy/log/test.log +25347 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/reset_gems.sh +2 -0
- data/spec/spec_helper.rb +39 -0
- data/spec/test_5.2.sh +16 -0
- data/spec/test_all_rails.sh +4 -0
- data/spec/test_revert.sh +3 -0
- metadata +413 -0
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
data/spec/reset_gems.sh
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'coveralls'
|
4
|
+
Coveralls.wear!
|
5
|
+
|
6
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
7
|
+
ENV["RAILS_ENV"] = 'test'
|
8
|
+
|
9
|
+
puts "Testing Rails 5"
|
10
|
+
require File.expand_path("../dummy/config/environment", __FILE__)
|
11
|
+
|
12
|
+
require 'bundler'
|
13
|
+
require 'bundler/setup'
|
14
|
+
require 'rspec/rails'
|
15
|
+
require 'capybara/rspec'
|
16
|
+
require 'csv_rb'
|
17
|
+
require 'roo'
|
18
|
+
require 'pry'
|
19
|
+
|
20
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
21
|
+
|
22
|
+
RSpec.configure do |config|
|
23
|
+
config.color = true
|
24
|
+
config.formatter = 'documentation'
|
25
|
+
config.use_transactional_fixtures = false
|
26
|
+
config.infer_base_class_for_anonymous_controllers = false
|
27
|
+
config.order = "random"
|
28
|
+
end
|
29
|
+
|
30
|
+
module ::RSpec::Core
|
31
|
+
class ExampleGroup
|
32
|
+
include Capybara::DSL
|
33
|
+
include Capybara::RSpecMatchers
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def mime_type
|
38
|
+
Mime[:csv]
|
39
|
+
end
|
data/spec/test_5.2.sh
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
export RAILS_ENV=test
|
2
|
+
|
3
|
+
for version in 5.2
|
4
|
+
do
|
5
|
+
echo "Testing Rails version " $version
|
6
|
+
rm Gemfile.lock
|
7
|
+
if [ -f Gemfile.lock.$version ];
|
8
|
+
then
|
9
|
+
echo Reusing Gemfile.lock.$version
|
10
|
+
cp Gemfile.lock.$version Gemfile.lock
|
11
|
+
fi
|
12
|
+
rm spec/dummy/db/test.sqlite3
|
13
|
+
export RAILS_VERSION=$version
|
14
|
+
spec/ci.rb
|
15
|
+
cp Gemfile.lock Gemfile.lock.$version
|
16
|
+
done
|
data/spec/test_revert.sh
ADDED
metadata
ADDED
@@ -0,0 +1,413 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: csv_rb
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sampson Crowley
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-06-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: actionpack
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: csv
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.1.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard-rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: capybara
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: roo
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rdoc
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: sqlite3
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: growl
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rb-fsevent
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: coveralls
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: pry
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: pry-nav
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
description: csv_rb provides an csv renderer so you can move all your spreadsheet
|
224
|
+
code from your controller into view files. Now you can keep your controllers thin!
|
225
|
+
email:
|
226
|
+
- sampsonsprojects@gmail.com
|
227
|
+
executables: []
|
228
|
+
extensions: []
|
229
|
+
extra_rdoc_files: []
|
230
|
+
files:
|
231
|
+
- CHANGELOG.md
|
232
|
+
- Gemfile
|
233
|
+
- Gemfile.lock
|
234
|
+
- Guardfile
|
235
|
+
- MIT-LICENSE
|
236
|
+
- README.md
|
237
|
+
- Rakefile
|
238
|
+
- lib/csv_rb.rb
|
239
|
+
- lib/csv_rb/action_controller.rb
|
240
|
+
- lib/csv_rb/plain_builder.rb
|
241
|
+
- lib/csv_rb/railtie.rb
|
242
|
+
- lib/csv_rb/stream_csv_deflator.rb
|
243
|
+
- lib/csv_rb/template_handler.rb
|
244
|
+
- lib/csv_rb/version.rb
|
245
|
+
- lib/tasks/csv_rb_tasks.rake
|
246
|
+
- spec/ci.rb
|
247
|
+
- spec/csv_rb_builder_spec.rb
|
248
|
+
- spec/csv_rb_mailer_spec.rb
|
249
|
+
- spec/csv_rb_renderer_spec.rb
|
250
|
+
- spec/csv_rb_request_spec.rb
|
251
|
+
- spec/dummy/Rakefile
|
252
|
+
- spec/dummy/app/assets/javascripts/application.js
|
253
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
254
|
+
- spec/dummy/app/controllers/application_controller.rb
|
255
|
+
- spec/dummy/app/controllers/home_controller.rb
|
256
|
+
- spec/dummy/app/controllers/likes_controller.rb
|
257
|
+
- spec/dummy/app/controllers/users_controller.rb
|
258
|
+
- spec/dummy/app/helpers/application_helper.rb
|
259
|
+
- spec/dummy/app/mailers/notifier.rb
|
260
|
+
- spec/dummy/app/models/like.rb
|
261
|
+
- spec/dummy/app/models/user.rb
|
262
|
+
- spec/dummy/app/views/home/_cover_sheet.csv.csvrb
|
263
|
+
- spec/dummy/app/views/home/index.csv.csvrb
|
264
|
+
- spec/dummy/app/views/home/index.html.erb
|
265
|
+
- spec/dummy/app/views/home/only_html.html.erb
|
266
|
+
- spec/dummy/app/views/home/useheader.csv.csvrb
|
267
|
+
- spec/dummy/app/views/home/withpartial.csv.csvrb
|
268
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
269
|
+
- spec/dummy/app/views/layouts/users.html.erb
|
270
|
+
- spec/dummy/app/views/likes/index.csv.csvrb
|
271
|
+
- spec/dummy/app/views/likes/index.html.erb
|
272
|
+
- spec/dummy/app/views/notifier/instructions.html.erb
|
273
|
+
- spec/dummy/app/views/notifier/instructions.txt.erb
|
274
|
+
- spec/dummy/app/views/users/export.csv.csvrb
|
275
|
+
- spec/dummy/app/views/users/index.csv.csvrb
|
276
|
+
- spec/dummy/app/views/users/index.html.erb
|
277
|
+
- spec/dummy/app/views/users/noaction.csv.csvrb
|
278
|
+
- spec/dummy/app/views/users/respond_with.csv.csvrb
|
279
|
+
- spec/dummy/app/views/users/send_instructions.csv.csvrb
|
280
|
+
- spec/dummy/bin/bundle
|
281
|
+
- spec/dummy/bin/rails
|
282
|
+
- spec/dummy/bin/rake
|
283
|
+
- spec/dummy/config.ru
|
284
|
+
- spec/dummy/config/application.rb
|
285
|
+
- spec/dummy/config/boot.rb
|
286
|
+
- spec/dummy/config/database.yml
|
287
|
+
- spec/dummy/config/environment.rb
|
288
|
+
- spec/dummy/config/environments/development.rb
|
289
|
+
- spec/dummy/config/environments/production.rb
|
290
|
+
- spec/dummy/config/environments/test.rb
|
291
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
292
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
293
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
294
|
+
- spec/dummy/config/initializers/inflections.rb
|
295
|
+
- spec/dummy/config/initializers/mime_types.rb
|
296
|
+
- spec/dummy/config/initializers/secret_token.rb
|
297
|
+
- spec/dummy/config/initializers/session_store.rb
|
298
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
299
|
+
- spec/dummy/config/locales/en.yml
|
300
|
+
- spec/dummy/config/routes.rb
|
301
|
+
- spec/dummy/config/secrets.yml
|
302
|
+
- spec/dummy/db/development.sqlite3
|
303
|
+
- spec/dummy/db/migrate/20120717192452_create_users.rb
|
304
|
+
- spec/dummy/db/migrate/20121206210955_create_likes.rb
|
305
|
+
- spec/dummy/db/schema.rb
|
306
|
+
- spec/dummy/db/test.sqlite3
|
307
|
+
- spec/dummy/log/development.log
|
308
|
+
- spec/dummy/log/test.log
|
309
|
+
- spec/dummy/public/404.html
|
310
|
+
- spec/dummy/public/422.html
|
311
|
+
- spec/dummy/public/500.html
|
312
|
+
- spec/dummy/public/favicon.ico
|
313
|
+
- spec/reset_gems.sh
|
314
|
+
- spec/spec_helper.rb
|
315
|
+
- spec/test_5.2.sh
|
316
|
+
- spec/test_all_rails.sh
|
317
|
+
- spec/test_revert.sh
|
318
|
+
homepage: https://github.com/SampsonCrowley/csv_rb
|
319
|
+
licenses: []
|
320
|
+
metadata: {}
|
321
|
+
post_install_message:
|
322
|
+
rdoc_options: []
|
323
|
+
require_paths:
|
324
|
+
- lib
|
325
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
326
|
+
requirements:
|
327
|
+
- - ">="
|
328
|
+
- !ruby/object:Gem::Version
|
329
|
+
version: '0'
|
330
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - ">="
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: '0'
|
335
|
+
requirements: []
|
336
|
+
rubygems_version: 3.0.3
|
337
|
+
signing_key:
|
338
|
+
specification_version: 4
|
339
|
+
summary: A simple rails plugin to provide a streaming csv renderer using the csv gem.
|
340
|
+
test_files:
|
341
|
+
- spec/test_all_rails.sh
|
342
|
+
- spec/reset_gems.sh
|
343
|
+
- spec/ci.rb
|
344
|
+
- spec/csv_rb_renderer_spec.rb
|
345
|
+
- spec/test_5.2.sh
|
346
|
+
- spec/csv_rb_mailer_spec.rb
|
347
|
+
- spec/test_revert.sh
|
348
|
+
- spec/csv_rb_request_spec.rb
|
349
|
+
- spec/spec_helper.rb
|
350
|
+
- spec/dummy/public/404.html
|
351
|
+
- spec/dummy/public/422.html
|
352
|
+
- spec/dummy/public/500.html
|
353
|
+
- spec/dummy/public/favicon.ico
|
354
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
355
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
356
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
357
|
+
- spec/dummy/config/initializers/secret_token.rb
|
358
|
+
- spec/dummy/config/initializers/session_store.rb
|
359
|
+
- spec/dummy/config/initializers/mime_types.rb
|
360
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
361
|
+
- spec/dummy/config/initializers/inflections.rb
|
362
|
+
- spec/dummy/config/database.yml
|
363
|
+
- spec/dummy/config/environment.rb
|
364
|
+
- spec/dummy/config/boot.rb
|
365
|
+
- spec/dummy/config/application.rb
|
366
|
+
- spec/dummy/config/environments/development.rb
|
367
|
+
- spec/dummy/config/environments/production.rb
|
368
|
+
- spec/dummy/config/environments/test.rb
|
369
|
+
- spec/dummy/config/locales/en.yml
|
370
|
+
- spec/dummy/config/routes.rb
|
371
|
+
- spec/dummy/config/secrets.yml
|
372
|
+
- spec/dummy/Rakefile
|
373
|
+
- spec/dummy/log/test.log
|
374
|
+
- spec/dummy/log/development.log
|
375
|
+
- spec/dummy/bin/rake
|
376
|
+
- spec/dummy/bin/rails
|
377
|
+
- spec/dummy/bin/bundle
|
378
|
+
- spec/dummy/db/development.sqlite3
|
379
|
+
- spec/dummy/db/schema.rb
|
380
|
+
- spec/dummy/db/migrate/20121206210955_create_likes.rb
|
381
|
+
- spec/dummy/db/migrate/20120717192452_create_users.rb
|
382
|
+
- spec/dummy/db/test.sqlite3
|
383
|
+
- spec/dummy/app/controllers/application_controller.rb
|
384
|
+
- spec/dummy/app/controllers/likes_controller.rb
|
385
|
+
- spec/dummy/app/controllers/home_controller.rb
|
386
|
+
- spec/dummy/app/controllers/users_controller.rb
|
387
|
+
- spec/dummy/app/models/like.rb
|
388
|
+
- spec/dummy/app/models/user.rb
|
389
|
+
- spec/dummy/app/mailers/notifier.rb
|
390
|
+
- spec/dummy/app/helpers/application_helper.rb
|
391
|
+
- spec/dummy/app/assets/javascripts/application.js
|
392
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
393
|
+
- spec/dummy/app/views/likes/index.csv.csvrb
|
394
|
+
- spec/dummy/app/views/likes/index.html.erb
|
395
|
+
- spec/dummy/app/views/home/useheader.csv.csvrb
|
396
|
+
- spec/dummy/app/views/home/only_html.html.erb
|
397
|
+
- spec/dummy/app/views/home/index.csv.csvrb
|
398
|
+
- spec/dummy/app/views/home/index.html.erb
|
399
|
+
- spec/dummy/app/views/home/_cover_sheet.csv.csvrb
|
400
|
+
- spec/dummy/app/views/home/withpartial.csv.csvrb
|
401
|
+
- spec/dummy/app/views/notifier/instructions.txt.erb
|
402
|
+
- spec/dummy/app/views/notifier/instructions.html.erb
|
403
|
+
- spec/dummy/app/views/users/send_instructions.csv.csvrb
|
404
|
+
- spec/dummy/app/views/users/index.csv.csvrb
|
405
|
+
- spec/dummy/app/views/users/index.html.erb
|
406
|
+
- spec/dummy/app/views/users/noaction.csv.csvrb
|
407
|
+
- spec/dummy/app/views/users/export.csv.csvrb
|
408
|
+
- spec/dummy/app/views/users/respond_with.csv.csvrb
|
409
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
410
|
+
- spec/dummy/app/views/layouts/users.html.erb
|
411
|
+
- spec/dummy/config.ru
|
412
|
+
- spec/csv_rb_builder_spec.rb
|
413
|
+
- Guardfile
|