workbook_rails 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,13 @@
1
1
  require 'coveralls'
2
- Coveralls.wear!
2
+ require 'simplecov'
3
+ require 'simplecov_json_formatter'
4
+ SimpleCov.formatters = [
5
+ SimpleCov::Formatter::JSONFormatter,
6
+ Coveralls::SimpleCov::Formatter
7
+ ]
8
+ SimpleCov.start do
9
+ add_filter '/spec/'
10
+ end
3
11
 
4
12
  # This file is copied to spec/ when you run 'rails generate rspec:install'
5
13
  ENV["RAILS_ENV"] = 'test'
@@ -9,7 +17,6 @@ require 'bundler/setup'
9
17
  require 'rspec/rails'
10
18
  require 'capybara/rspec'
11
19
  require 'workbook_rails'
12
- require 'pry'
13
20
 
14
21
  Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
15
22
 
@@ -22,8 +22,8 @@ describe 'Workbook template handler' do
22
22
 
23
23
  it "compiles to an excel spreadsheet" do
24
24
  workbook, wb = nil
25
- lookup_context = double(rendered_format: :xlsx)
26
- eval TH.call(template)
25
+ lookup_context = double(formats: [:xlsx])
26
+ eval TH.call(template, template.source)
27
27
  workbook.write_to_xlsx('/tmp/wb_temp.xlsx')
28
28
  expect{ wb = Workbook::Book.open('/tmp/wb_temp.xlsx') }.to_not raise_error
29
29
  expect(wb.sheet.table[1][2]).to eq('c')
@@ -1,4 +1,4 @@
1
1
  export RAILS_ENV=test
2
- export BUNDLE_GEMFILE=$PWD/gemfiles/Gemfile-3.2
2
+ export BUNDLE_GEMFILE=$PWD/gemfiles/Gemfile-6.0
3
3
  rm -f spec/dummy/db/test.sqlite3
4
4
  spec/ci.rb
@@ -1,4 +1,4 @@
1
1
  export RAILS_ENV=test
2
- export BUNDLE_GEMFILE=$PWD/gemfiles/Gemfile-4.0
2
+ export BUNDLE_GEMFILE=$PWD/gemfiles/Gemfile-7.0
3
3
  rm -f spec/dummy/db/test.sqlite3
4
4
  spec/ci.rb
@@ -1,4 +1,4 @@
1
1
  export RAILS_ENV=test
2
- export BUNDLE_GEMFILE=$PWD/gemfiles/Gemfile-4.1
2
+ export BUNDLE_GEMFILE=$PWD/gemfiles/Gemfile-7.1
3
3
  rm -f spec/dummy/db/test.sqlite3
4
4
  spec/ci.rb
@@ -11,6 +11,6 @@ describe "Mailer", type: :request do
11
11
  expect(last_email.to).to eq([@user.email])
12
12
  expect(last_email.attachments.first).to be
13
13
  expect(last_email.attachments.first.body.to_s).not_to be_empty
14
- expect(last_email.attachments.first.content_type).to eq(Mime::XLSX.to_s + (Rails.version < '4.0' ? '; charset=UTF-8' : ''))
14
+ expect(last_email.attachments.first.content_type).to eq(Mime[:xlsx].to_s + (Rails.version < '4.0' ? '; charset=UTF-8' : ''))
15
15
  end
16
16
  end
@@ -8,21 +8,27 @@ describe 'Workbook renderer' do
8
8
  end
9
9
 
10
10
  it "has xlsx mime type" do
11
- expect(Mime::XLSX).to be
12
- expect(Mime::XLSX.to_sym).to eq(:xlsx)
13
- expect(Mime::XLSX.to_s).to eq("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
11
+ expect(get_mime(:xlsx)).to be
12
+ expect(get_mime(:xlsx).to_sym).to eq(:xlsx)
13
+ expect(get_mime(:xlsx).to_s).to eq("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")
14
14
  end
15
15
 
16
16
  it "has xls mime type" do
17
- expect(Mime::XLS).to be
18
- expect(Mime::XLS.to_sym).to eq(:xls)
19
- expect(Mime::XLS.to_s).to eq("application/vnd.ms-excel")
17
+ expect(get_mime(:xls)).to be
18
+ expect(get_mime(:xls).to_sym).to eq(:xls)
19
+ expect(get_mime(:xls).to_s).to eq("application/vnd.ms-excel")
20
20
  end
21
21
 
22
22
  it "has csv mime type" do
23
- expect(Mime::CSV).to be
24
- expect(Mime::CSV.to_sym).to eq(:csv)
25
- expect(Mime::CSV.to_s).to eq("text/csv")
23
+ expect(get_mime(:csv)).to be
24
+ expect(get_mime(:csv).to_sym).to eq(:csv)
25
+ expect(get_mime(:csv).to_s).to eq("text/csv")
26
26
  end
27
27
 
28
- end
28
+ protected
29
+
30
+ def get_mime(extension)
31
+ Mime[extension]
32
+ end
33
+
34
+ end
@@ -10,7 +10,7 @@ describe 'Workbook request', :type => :request do
10
10
  it "downloads an excel file from default respond_to" do
11
11
  visit '/home.xlsx'
12
12
 
13
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX.to_s + "; charset=utf-8")
13
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xlsx].to_s + "; charset=utf-8")
14
14
  wb = write_and_open_workbook(page)
15
15
  expect(wb.sheet.table[1][0]).to eq('Untie!')
16
16
  end
@@ -18,7 +18,7 @@ describe 'Workbook request', :type => :request do
18
18
  it "downloads an xls file from default respond_to" do
19
19
  visit '/home.xls'
20
20
 
21
- expect(page.response_headers['Content-Type']).to eq(Mime::XLS.to_s + "; charset=utf-8")
21
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xls].to_s + "; charset=utf-8")
22
22
  wb = write_and_open_workbook(page, 'xls')
23
23
  expect(wb.sheet.table[1][0]).to eq('Untie!')
24
24
  end
@@ -26,7 +26,7 @@ describe 'Workbook request', :type => :request do
26
26
  it "downloads an csv file from default respond_to" do
27
27
  visit '/home.csv'
28
28
 
29
- expect(page.response_headers['Content-Type']).to eq(Mime::CSV.to_s + "; charset=utf-8")
29
+ expect(page.response_headers['Content-Type']).to eq(Mime[:csv].to_s + "; charset=utf-8")
30
30
  wb = write_and_open_workbook(page, 'csv')
31
31
  expect(wb.sheet.table[1][0]).to eq('Untie!')
32
32
  end
@@ -34,7 +34,7 @@ describe 'Workbook request', :type => :request do
34
34
  it "downloads an excel file from params format" do
35
35
  visit '/home/generic.xlsx'
36
36
 
37
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX.to_s + "; charset=utf-8")
37
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xlsx].to_s + "; charset=utf-8")
38
38
  wb = write_and_open_workbook(page)
39
39
  expect(wb.sheet.table[1][0]).to eq('Untie!')
40
40
  end
@@ -42,7 +42,7 @@ describe 'Workbook request', :type => :request do
42
42
  it "downloads an xls file from params format" do
43
43
  visit '/home/generic.xls'
44
44
 
45
- expect(page.response_headers['Content-Type']).to eq(Mime::XLS.to_s + "; charset=utf-8")
45
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xls].to_s + "; charset=utf-8")
46
46
  wb = write_and_open_workbook(page, 'xls')
47
47
  expect(wb.sheet.table[1][0]).to eq('Untie!')
48
48
  end
@@ -50,7 +50,7 @@ describe 'Workbook request', :type => :request do
50
50
  it "downloads an csv file from params format" do
51
51
  visit '/home/generic.csv'
52
52
 
53
- expect(page.response_headers['Content-Type']).to eq(Mime::CSV.to_s + "; charset=utf-8")
53
+ expect(page.response_headers['Content-Type']).to eq(Mime[:csv].to_s + "; charset=utf-8")
54
54
  wb = write_and_open_workbook(page, 'csv')
55
55
  expect(wb.sheet.table[1][0]).to eq('Untie!')
56
56
  end
@@ -58,7 +58,7 @@ describe 'Workbook request', :type => :request do
58
58
  it "downloads an excel file from respond_to while specifying filename" do
59
59
  visit '/useheader.xlsx'
60
60
 
61
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX.to_s)
61
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xlsx].to_s)
62
62
  expect(page.response_headers['Content-Disposition']).to include("filename=\"filename_test.xlsx\"")
63
63
 
64
64
  wb = write_and_open_workbook(page)
@@ -68,7 +68,7 @@ describe 'Workbook request', :type => :request do
68
68
  it "downloads an excel file from respond_to while specifying filename in direct format" do
69
69
  visit '/useheader.xlsx?set_direct=true'
70
70
 
71
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX.to_s + "; charset=utf-8")
71
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xlsx].to_s + "; charset=utf-8")
72
72
  expect(page.response_headers['Content-Disposition']).to include("filename=\"filename_test.xlsx\"")
73
73
 
74
74
  wb = write_and_open_workbook(page)
@@ -78,7 +78,7 @@ describe 'Workbook request', :type => :request do
78
78
  it "downloads an excel file from render statement with filename" do
79
79
  visit '/another.xlsx'
80
80
 
81
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX)
81
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xlsx])
82
82
  expect(page.response_headers['Content-Disposition']).to include("filename=\"filename_test.xlsx\"")
83
83
 
84
84
  wb = write_and_open_workbook(page)
@@ -87,26 +87,19 @@ describe 'Workbook request', :type => :request do
87
87
 
88
88
  it "downloads an excel file with partial" do
89
89
  visit '/withpartial.xlsx'
90
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX.to_s + "; charset=utf-8")
90
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xlsx].to_s + "; charset=utf-8")
91
91
  wb = write_and_open_workbook(page)
92
92
  expect(wb.sheet.table[0][0]).to eq('Cover')
93
93
  expect(wb[1].table[1][0]).to eq("Untie!")
94
94
  end
95
95
 
96
- it "downloads an excel from render with file path" do
97
- visit '/render_file_path.xlsx'
98
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX.to_s)
99
- wb = write_and_open_workbook(page)
100
- expect(wb.sheet.table[1][0]).to eq('User!')
101
- end
102
-
103
96
  it "handles nested resources" do
104
97
  User.destroy_all
105
98
  @user = User.create name: 'Bugs', last_name: 'Bunny', address: '1234 Left Turn, Albuquerque NM 22222', email: 'bugs@bunny.com'
106
99
  @user.likes.create(:name => 'Carrots')
107
100
  @user.likes.create(:name => 'Celery')
108
101
  visit "/users/#{@user.id}/likes.xlsx"
109
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX.to_s + "; charset=utf-8")
102
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xlsx].to_s + "; charset=utf-8")
110
103
  wb = write_and_open_workbook(page)
111
104
  expect(wb.sheet.table[0][0]).to eq('Bugs')
112
105
  expect(wb.sheet.table[1][0]).to eq('Carrots')
@@ -117,13 +110,13 @@ describe 'Workbook request', :type => :request do
117
110
  User.destroy_all
118
111
  @user = User.create name: 'Bugs', last_name: 'Bunny', address: '1234 Left Turn, Albuquerque NM 22222', email: 'bugs@bunny.com'
119
112
  visit "/users/#{@user.id}/render_elsewhere.xlsx"
120
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX.to_s)
113
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xlsx].to_s)
121
114
  wb = write_and_open_workbook(page)
122
115
  expect(wb.sheet.table[1][0]).to eq('User!')
123
116
 
124
117
  [[1,false], [2,false], [3,true], [4,true], [5,false]].reverse.each do |s|
125
118
  visit "/home/render_elsewhere.xlsx?type=#{s[0]}"
126
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX.to_s +
119
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xlsx].to_s +
127
120
  (s[1] ? "; charset=utf-8" : ''))
128
121
  wb = write_and_open_workbook(page)
129
122
  expect(wb.sheet.table[1][0]).to eq(s[0] == 5 ? 'Untie!' : 'User!')
@@ -138,38 +131,35 @@ describe 'Workbook request', :type => :request do
138
131
  expect(wb.sheet.table[1][0]).to eq('User!')
139
132
  end
140
133
 
141
- unless Rails.version < '3.2'
142
- it "handles missing format with render :xlsx" do
143
- visit '/another'
134
+ it "handles missing format with render :xlsx" do
135
+ visit '/another.xlsx'
144
136
 
145
- expect(page.response_headers['Content-Type']).to eq(Mime::XLSX)
146
- expect(page.response_headers['Content-Disposition']).to include("filename=\"filename_test.xlsx\"")
137
+ expect(page.response_headers['Content-Type']).to eq(Mime[:xlsx])
138
+ expect(page.response_headers['Content-Disposition']).to include("filename=\"filename_test.xlsx\"")
147
139
 
148
- wb = write_and_open_workbook(page)
149
- expect(wb.sheet.table[1][0]).to eq('Untie!')
150
- end
140
+ wb = write_and_open_workbook(page)
141
+ expect(wb.sheet.table[1][0]).to eq('Untie!')
151
142
  end
152
143
 
153
- unless Rails.version < '4.0'
154
- Capybara.register_driver :mime_all do |app|
155
- Capybara::RackTest::Driver.new(app, headers: { 'HTTP_ACCEPT' => '*/*' })
156
- end
144
+ Capybara.register_driver :mime_all do |app|
145
+ Capybara::RackTest::Driver.new(app, headers: { 'HTTP_ACCEPT' => '*/*' })
146
+ end
157
147
 
158
- it "mime all with render :xlsx and then :html" do
159
- ActionView::Base.default_formats.delete :xlsx # see notes
160
- Capybara.current_driver = :mime_all
161
- visit '/another'
162
- expect{ visit '/home/only_html' }.to_not raise_error
148
+ it "mime all with render :xlsx and then :html" do
149
+ ActionView::Base.default_formats.delete :xlsx # see notes
150
+ Capybara.current_driver = :mime_all
151
+ visit '/another'
152
+ expect{ visit '/home/only_html' }.to_not raise_error
153
+ ActionView::Base.default_formats.push :xlsx
163
154
 
164
- # Output:
165
- # default formats before : [:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :xlsx]
166
- # default formats in my project : [:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip]
167
- # default formats after render xlsx with */* : [:xlsx, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip]
155
+ # Output:
156
+ # default formats before : [:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :xlsx]
157
+ # default formats in my project : [:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip]
158
+ # default formats after render xlsx with */* : [:xlsx, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip]
168
159
 
169
- # Failure/Error: visit '/home/only_html'
170
- # ActionView::MissingTemplate:
171
- # Missing template home/only_html, application/only_html with {:locale=>[:en], :formats=>[:xlsx, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :axlsx]}.
172
- end
160
+ # Failure/Error: visit '/home/only_html'
161
+ # ActionView::MissingTemplate:
162
+ # Missing template home/only_html, application/only_html with {:locale=>[:en], :formats=>[:xlsx, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :axlsx]}.
173
163
  end
174
164
 
175
165
  protected
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workbook_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noel Peden
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-20 00:00:00.000000000 Z
11
+ date: 2024-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -66,118 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
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: capybara
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: sqlite3
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: growl
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: rb-fsevent
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: coveralls
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: pry
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: pry-nav
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
69
  description: Workbook_Rails provides a Workbook renderer so you can move all your
182
70
  spreadsheet code from your controller into view files. Partials are supported so
183
71
  you can organize any code into reusable chunks (e.g. cover sheets, common styling,
@@ -202,6 +90,7 @@ files:
202
90
  - lib/workbook_rails/version.rb
203
91
  - spec/ci.rb
204
92
  - spec/dummy/Rakefile
93
+ - spec/dummy/app/assets/config/manifest.js
205
94
  - spec/dummy/app/assets/javascripts/application.js
206
95
  - spec/dummy/app/assets/stylesheets/application.css
207
96
  - spec/dummy/app/controllers/application_controller.rb
@@ -255,6 +144,7 @@ files:
255
144
  - spec/dummy/db/migrate/20121206210955_create_likes.rb
256
145
  - spec/dummy/db/schema.rb
257
146
  - spec/dummy/db/test.sqlite3
147
+ - spec/dummy/log/development.log
258
148
  - spec/dummy/log/test.log
259
149
  - spec/dummy/public/404.html
260
150
  - spec/dummy/public/422.html
@@ -262,10 +152,10 @@ files:
262
152
  - spec/dummy/public/favicon.ico
263
153
  - spec/spec_helper.rb
264
154
  - spec/template_handler_spec.rb
265
- - spec/test_3.2.sh
266
- - spec/test_4.0.sh
267
- - spec/test_4.1.sh
268
- - spec/test_4.2.sh
155
+ - spec/test_6.0.sh
156
+ - spec/test_6.1.sh
157
+ - spec/test_7.0.sh
158
+ - spec/test_7.1.sh
269
159
  - spec/test_all_rails.sh
270
160
  - spec/workbook_mailer_spec.rb
271
161
  - spec/workbook_renderer_spec.rb
@@ -273,7 +163,7 @@ files:
273
163
  homepage: https://github.com/Programatica/workbook_rails
274
164
  licenses: []
275
165
  metadata: {}
276
- post_install_message:
166
+ post_install_message:
277
167
  rdoc_options: []
278
168
  require_paths:
279
169
  - lib
@@ -288,17 +178,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
178
  - !ruby/object:Gem::Version
289
179
  version: '0'
290
180
  requirements: []
291
- rubyforge_project:
292
- rubygems_version: 2.4.8
293
- signing_key:
181
+ rubygems_version: 3.5.6
182
+ signing_key:
294
183
  specification_version: 4
295
184
  summary: A simple rails plugin to provide an spreadsheet renderer using the workbook
296
185
  gem.
297
186
  test_files:
298
- - spec/workbook_mailer_spec.rb
299
- - spec/workbook_request_spec.rb
187
+ - spec/ci.rb
300
188
  - spec/dummy/Rakefile
301
- - spec/dummy/log/test.log
189
+ - spec/dummy/app/assets/config/manifest.js
302
190
  - spec/dummy/app/assets/javascripts/application.js
303
191
  - spec/dummy/app/assets/stylesheets/application.css
304
192
  - spec/dummy/app/controllers/application_controller.rb
@@ -309,15 +197,15 @@ test_files:
309
197
  - spec/dummy/app/mailers/notifier.rb
310
198
  - spec/dummy/app/models/like.rb
311
199
  - spec/dummy/app/models/user.rb
312
- - spec/dummy/app/views/home/index.xls.wb
313
- - spec/dummy/app/views/home/index.html.erb
314
- - spec/dummy/app/views/home/generic.wb
315
- - spec/dummy/app/views/home/only_html.html.erb
316
- - spec/dummy/app/views/home/withpartial.xlsx.wb
317
200
  - spec/dummy/app/views/home/_cover_sheet.xlsx.wb
201
+ - spec/dummy/app/views/home/generic.wb
202
+ - spec/dummy/app/views/home/index.csv.wb
203
+ - spec/dummy/app/views/home/index.html.erb
204
+ - spec/dummy/app/views/home/index.xls.wb
318
205
  - spec/dummy/app/views/home/index.xlsx.wb
206
+ - spec/dummy/app/views/home/only_html.html.erb
319
207
  - spec/dummy/app/views/home/useheader.xlsx.wb
320
- - spec/dummy/app/views/home/index.csv.wb
208
+ - spec/dummy/app/views/home/withpartial.xlsx.wb
321
209
  - spec/dummy/app/views/layouts/application.html.erb
322
210
  - spec/dummy/app/views/likes/index.html.erb
323
211
  - spec/dummy/app/views/likes/index.xlsx.wb
@@ -329,7 +217,6 @@ test_files:
329
217
  - spec/dummy/bin/bundle
330
218
  - spec/dummy/bin/rails
331
219
  - spec/dummy/bin/rake
332
- - spec/dummy/config.ru
333
220
  - spec/dummy/config/application.rb
334
221
  - spec/dummy/config/boot.rb
335
222
  - spec/dummy/config/database.yml
@@ -348,20 +235,24 @@ test_files:
348
235
  - spec/dummy/config/locales/en.yml
349
236
  - spec/dummy/config/routes.rb
350
237
  - spec/dummy/config/secrets.yml
238
+ - spec/dummy/config.ru
351
239
  - spec/dummy/db/migrate/20120717192452_create_users.rb
352
240
  - spec/dummy/db/migrate/20121206210955_create_likes.rb
353
- - spec/dummy/db/test.sqlite3
354
241
  - spec/dummy/db/schema.rb
242
+ - spec/dummy/db/test.sqlite3
243
+ - spec/dummy/log/development.log
244
+ - spec/dummy/log/test.log
355
245
  - spec/dummy/public/404.html
356
246
  - spec/dummy/public/422.html
357
247
  - spec/dummy/public/500.html
358
248
  - spec/dummy/public/favicon.ico
359
- - spec/ci.rb
360
249
  - spec/spec_helper.rb
361
- - spec/test_3.2.sh
362
- - spec/test_4.0.sh
363
- - spec/test_4.1.sh
364
- - spec/test_4.2.sh
365
- - spec/test_all_rails.sh
366
250
  - spec/template_handler_spec.rb
251
+ - spec/test_6.0.sh
252
+ - spec/test_6.1.sh
253
+ - spec/test_7.0.sh
254
+ - spec/test_7.1.sh
255
+ - spec/test_all_rails.sh
256
+ - spec/workbook_mailer_spec.rb
367
257
  - spec/workbook_renderer_spec.rb
258
+ - spec/workbook_request_spec.rb
File without changes