axlsx_rails 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +7 -4
- data/Gemfile.lock +129 -121
- data/Gemfile.lock.4.2 +255 -0
- data/Gemfile.lock.5.0 +261 -0
- data/Gemfile.lock.5.1 +261 -0
- data/README.md +145 -11
- data/lib/axlsx_rails.rb +2 -3
- data/lib/axlsx_rails/action_controller.rb +21 -16
- data/lib/axlsx_rails/railtie.rb +16 -0
- data/lib/axlsx_rails/template_handler.rb +19 -15
- data/lib/axlsx_rails/version.rb +3 -1
- data/spec/axlsx_builder_spec.rb +3 -2
- data/spec/axlsx_renderer_spec.rb +1 -0
- data/spec/axlsx_request_spec.rb +12 -0
- data/spec/dummy_4/app/views/layouts/users.html.erb +12 -0
- data/spec/dummy_4/app/views/users/export.xlsx.axlsx +8 -0
- data/spec/dummy_4/config/routes.rb +1 -0
- data/spec/dummy_4/log/test.log +3143 -0
- data/spec/dummy_5/app/controllers/users_controller.rb +10 -0
- data/spec/dummy_5/app/views/layouts/users.html.erb +12 -0
- data/spec/dummy_5/app/views/users/export.xlsx.axlsx +8 -0
- data/spec/dummy_5/config/routes.rb +1 -0
- data/spec/dummy_5/db/schema.rb +6 -6
- data/spec/dummy_5/db/test.sqlite3 +0 -0
- data/spec/dummy_5/log/test.log +3640 -0
- data/spec/reset_gems.sh +2 -0
- data/spec/test_5.1.sh +16 -0
- metadata +21 -6
- data/Gemfile.lock.4.0 +0 -224
- data/spec/dummy_4/db/test.sqlite3 +0 -0
data/spec/reset_gems.sh
ADDED
data/spec/test_5.1.sh
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
export RAILS_ENV=test
|
2
|
+
|
3
|
+
for version in 5.1
|
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_4/db/test.sqlite3
|
13
|
+
export RAILS_VERSION=$version
|
14
|
+
spec/ci.rb
|
15
|
+
cp Gemfile.lock Gemfile.lock.$version
|
16
|
+
done
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: axlsx_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noel Peden
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -248,13 +248,16 @@ files:
|
|
248
248
|
- CHANGELOG.md
|
249
249
|
- Gemfile
|
250
250
|
- Gemfile.lock
|
251
|
-
- Gemfile.lock.4.
|
251
|
+
- Gemfile.lock.4.2
|
252
|
+
- Gemfile.lock.5.0
|
253
|
+
- Gemfile.lock.5.1
|
252
254
|
- Guardfile
|
253
255
|
- MIT-LICENSE
|
254
256
|
- README.md
|
255
257
|
- Rakefile
|
256
258
|
- lib/axlsx_rails.rb
|
257
259
|
- lib/axlsx_rails/action_controller.rb
|
260
|
+
- lib/axlsx_rails/railtie.rb
|
258
261
|
- lib/axlsx_rails/template_handler.rb
|
259
262
|
- lib/axlsx_rails/version.rb
|
260
263
|
- lib/tasks/axlsx_rails_tasks.rake
|
@@ -329,10 +332,12 @@ files:
|
|
329
332
|
- spec/dummy_4/app/views/home/useheader.xlsx.axlsx
|
330
333
|
- spec/dummy_4/app/views/home/withpartial.xlsx.axlsx
|
331
334
|
- spec/dummy_4/app/views/layouts/application.html.erb
|
335
|
+
- spec/dummy_4/app/views/layouts/users.html.erb
|
332
336
|
- spec/dummy_4/app/views/likes/index.html.erb
|
333
337
|
- spec/dummy_4/app/views/likes/index.xlsx.axlsx
|
334
338
|
- spec/dummy_4/app/views/notifier/instructions.html.erb
|
335
339
|
- spec/dummy_4/app/views/notifier/instructions.txt.erb
|
340
|
+
- spec/dummy_4/app/views/users/export.xlsx.axlsx
|
336
341
|
- spec/dummy_4/app/views/users/index.html.erb
|
337
342
|
- spec/dummy_4/app/views/users/index.xlsx.axlsx
|
338
343
|
- spec/dummy_4/app/views/users/noaction.xlsx.axlsx
|
@@ -363,7 +368,6 @@ files:
|
|
363
368
|
- spec/dummy_4/db/migrate/20120717192452_create_users.rb
|
364
369
|
- spec/dummy_4/db/migrate/20121206210955_create_likes.rb
|
365
370
|
- spec/dummy_4/db/schema.rb
|
366
|
-
- spec/dummy_4/db/test.sqlite3
|
367
371
|
- spec/dummy_4/log/test.log
|
368
372
|
- spec/dummy_4/public/404.html
|
369
373
|
- spec/dummy_4/public/422.html
|
@@ -387,10 +391,12 @@ files:
|
|
387
391
|
- spec/dummy_5/app/views/home/useheader.xlsx.axlsx
|
388
392
|
- spec/dummy_5/app/views/home/withpartial.xlsx.axlsx
|
389
393
|
- spec/dummy_5/app/views/layouts/application.html.erb
|
394
|
+
- spec/dummy_5/app/views/layouts/users.html.erb
|
390
395
|
- spec/dummy_5/app/views/likes/index.html.erb
|
391
396
|
- spec/dummy_5/app/views/likes/index.xlsx.axlsx
|
392
397
|
- spec/dummy_5/app/views/notifier/instructions.html.erb
|
393
398
|
- spec/dummy_5/app/views/notifier/instructions.txt.erb
|
399
|
+
- spec/dummy_5/app/views/users/export.xlsx.axlsx
|
394
400
|
- spec/dummy_5/app/views/users/index.html.erb
|
395
401
|
- spec/dummy_5/app/views/users/index.xlsx.axlsx
|
396
402
|
- spec/dummy_5/app/views/users/noaction.xlsx.axlsx
|
@@ -422,10 +428,12 @@ files:
|
|
422
428
|
- spec/dummy_5/db/migrate/20121206210955_create_likes.rb
|
423
429
|
- spec/dummy_5/db/schema.rb
|
424
430
|
- spec/dummy_5/db/test.sqlite3
|
431
|
+
- spec/dummy_5/log/test.log
|
425
432
|
- spec/dummy_5/public/404.html
|
426
433
|
- spec/dummy_5/public/422.html
|
427
434
|
- spec/dummy_5/public/500.html
|
428
435
|
- spec/dummy_5/public/favicon.ico
|
436
|
+
- spec/reset_gems.sh
|
429
437
|
- spec/spec_helper.rb
|
430
438
|
- spec/test_3.1.sh
|
431
439
|
- spec/test_3.2.sh
|
@@ -433,6 +441,7 @@ files:
|
|
433
441
|
- spec/test_4.1.sh
|
434
442
|
- spec/test_4.2.sh
|
435
443
|
- spec/test_5.0.sh
|
444
|
+
- spec/test_5.1.sh
|
436
445
|
- spec/test_all_rails.sh
|
437
446
|
- spec/test_revert.sh
|
438
447
|
homepage: https://github.com/straydogstudio/axlsx_rails
|
@@ -454,7 +463,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
454
463
|
version: '0'
|
455
464
|
requirements: []
|
456
465
|
rubyforge_project:
|
457
|
-
rubygems_version: 2.6.
|
466
|
+
rubygems_version: 2.6.12
|
458
467
|
signing_key:
|
459
468
|
specification_version: 4
|
460
469
|
summary: A simple rails plugin to provide an xlsx renderer using the axlsx gem.
|
@@ -529,10 +538,12 @@ test_files:
|
|
529
538
|
- spec/dummy_4/app/views/home/useheader.xlsx.axlsx
|
530
539
|
- spec/dummy_4/app/views/home/withpartial.xlsx.axlsx
|
531
540
|
- spec/dummy_4/app/views/layouts/application.html.erb
|
541
|
+
- spec/dummy_4/app/views/layouts/users.html.erb
|
532
542
|
- spec/dummy_4/app/views/likes/index.html.erb
|
533
543
|
- spec/dummy_4/app/views/likes/index.xlsx.axlsx
|
534
544
|
- spec/dummy_4/app/views/notifier/instructions.html.erb
|
535
545
|
- spec/dummy_4/app/views/notifier/instructions.txt.erb
|
546
|
+
- spec/dummy_4/app/views/users/export.xlsx.axlsx
|
536
547
|
- spec/dummy_4/app/views/users/index.html.erb
|
537
548
|
- spec/dummy_4/app/views/users/index.xlsx.axlsx
|
538
549
|
- spec/dummy_4/app/views/users/noaction.xlsx.axlsx
|
@@ -563,7 +574,6 @@ test_files:
|
|
563
574
|
- spec/dummy_4/db/migrate/20120717192452_create_users.rb
|
564
575
|
- spec/dummy_4/db/migrate/20121206210955_create_likes.rb
|
565
576
|
- spec/dummy_4/db/schema.rb
|
566
|
-
- spec/dummy_4/db/test.sqlite3
|
567
577
|
- spec/dummy_4/log/test.log
|
568
578
|
- spec/dummy_4/public/404.html
|
569
579
|
- spec/dummy_4/public/422.html
|
@@ -587,10 +597,12 @@ test_files:
|
|
587
597
|
- spec/dummy_5/app/views/home/useheader.xlsx.axlsx
|
588
598
|
- spec/dummy_5/app/views/home/withpartial.xlsx.axlsx
|
589
599
|
- spec/dummy_5/app/views/layouts/application.html.erb
|
600
|
+
- spec/dummy_5/app/views/layouts/users.html.erb
|
590
601
|
- spec/dummy_5/app/views/likes/index.html.erb
|
591
602
|
- spec/dummy_5/app/views/likes/index.xlsx.axlsx
|
592
603
|
- spec/dummy_5/app/views/notifier/instructions.html.erb
|
593
604
|
- spec/dummy_5/app/views/notifier/instructions.txt.erb
|
605
|
+
- spec/dummy_5/app/views/users/export.xlsx.axlsx
|
594
606
|
- spec/dummy_5/app/views/users/index.html.erb
|
595
607
|
- spec/dummy_5/app/views/users/index.xlsx.axlsx
|
596
608
|
- spec/dummy_5/app/views/users/noaction.xlsx.axlsx
|
@@ -622,11 +634,13 @@ test_files:
|
|
622
634
|
- spec/dummy_5/db/migrate/20121206210955_create_likes.rb
|
623
635
|
- spec/dummy_5/db/schema.rb
|
624
636
|
- spec/dummy_5/db/test.sqlite3
|
637
|
+
- spec/dummy_5/log/test.log
|
625
638
|
- spec/dummy_5/public/404.html
|
626
639
|
- spec/dummy_5/public/422.html
|
627
640
|
- spec/dummy_5/public/500.html
|
628
641
|
- spec/dummy_5/public/favicon.ico
|
629
642
|
- spec/dummy_5/Rakefile
|
643
|
+
- spec/reset_gems.sh
|
630
644
|
- spec/spec_helper.rb
|
631
645
|
- spec/test_3.1.sh
|
632
646
|
- spec/test_3.2.sh
|
@@ -634,6 +648,7 @@ test_files:
|
|
634
648
|
- spec/test_4.1.sh
|
635
649
|
- spec/test_4.2.sh
|
636
650
|
- spec/test_5.0.sh
|
651
|
+
- spec/test_5.1.sh
|
637
652
|
- spec/test_all_rails.sh
|
638
653
|
- spec/test_revert.sh
|
639
654
|
- Guardfile
|
data/Gemfile.lock.4.0
DELETED
@@ -1,224 +0,0 @@
|
|
1
|
-
GIT
|
2
|
-
remote: git://github.com/straydogstudio/acts_as_xlsx.git
|
3
|
-
revision: 94fc6aa730bb8f252e75c9debdcf64903d33fede
|
4
|
-
specs:
|
5
|
-
acts_as_xlsx (1.0.6)
|
6
|
-
activerecord (>= 2.3.9)
|
7
|
-
axlsx (>= 1.0.13)
|
8
|
-
i18n (>= 0.4.1)
|
9
|
-
|
10
|
-
PATH
|
11
|
-
remote: .
|
12
|
-
specs:
|
13
|
-
axlsx_rails (0.5.0)
|
14
|
-
actionpack (>= 3.1)
|
15
|
-
axlsx (>= 2.0.1)
|
16
|
-
|
17
|
-
GEM
|
18
|
-
remote: http://rubygems.org/
|
19
|
-
specs:
|
20
|
-
actionmailer (4.0.13)
|
21
|
-
actionpack (= 4.0.13)
|
22
|
-
mail (~> 2.5, >= 2.5.4)
|
23
|
-
actionpack (4.0.13)
|
24
|
-
activesupport (= 4.0.13)
|
25
|
-
builder (~> 3.1.0)
|
26
|
-
erubis (~> 2.7.0)
|
27
|
-
rack (~> 1.5.2)
|
28
|
-
rack-test (~> 0.6.2)
|
29
|
-
activemodel (4.0.13)
|
30
|
-
activesupport (= 4.0.13)
|
31
|
-
builder (~> 3.1.0)
|
32
|
-
activerecord (4.0.13)
|
33
|
-
activemodel (= 4.0.13)
|
34
|
-
activerecord-deprecated_finders (~> 1.0.2)
|
35
|
-
activesupport (= 4.0.13)
|
36
|
-
arel (~> 4.0.0)
|
37
|
-
activerecord-deprecated_finders (1.0.4)
|
38
|
-
activesupport (4.0.13)
|
39
|
-
i18n (~> 0.6, >= 0.6.9)
|
40
|
-
minitest (~> 4.2)
|
41
|
-
multi_json (~> 1.3)
|
42
|
-
thread_safe (~> 0.1)
|
43
|
-
tzinfo (~> 0.3.37)
|
44
|
-
addressable (2.5.1)
|
45
|
-
public_suffix (~> 2.0, >= 2.0.2)
|
46
|
-
arel (4.0.2)
|
47
|
-
axlsx (2.0.1)
|
48
|
-
htmlentities (~> 4.3.1)
|
49
|
-
nokogiri (>= 1.4.1)
|
50
|
-
rubyzip (~> 1.0.0)
|
51
|
-
builder (3.1.4)
|
52
|
-
capybara (2.13.0)
|
53
|
-
addressable
|
54
|
-
mime-types (>= 1.16)
|
55
|
-
nokogiri (>= 1.3.3)
|
56
|
-
rack (>= 1.0.0)
|
57
|
-
rack-test (>= 0.5.4)
|
58
|
-
xpath (~> 2.0)
|
59
|
-
coderay (1.1.1)
|
60
|
-
concurrent-ruby (1.0.5)
|
61
|
-
coveralls (0.8.19)
|
62
|
-
json (>= 1.8, < 3)
|
63
|
-
simplecov (~> 0.12.0)
|
64
|
-
term-ansicolor (~> 1.3)
|
65
|
-
thor (~> 0.19.1)
|
66
|
-
tins (~> 1.6)
|
67
|
-
daemons (1.2.4)
|
68
|
-
diff-lcs (1.3)
|
69
|
-
docile (1.1.5)
|
70
|
-
erubis (2.7.0)
|
71
|
-
eventmachine (1.2.3)
|
72
|
-
ffi (1.9.18)
|
73
|
-
formatador (0.2.5)
|
74
|
-
growl (1.0.3)
|
75
|
-
guard (2.14.1)
|
76
|
-
formatador (>= 0.2.4)
|
77
|
-
listen (>= 2.7, < 4.0)
|
78
|
-
lumberjack (~> 1.0)
|
79
|
-
nenv (~> 0.1)
|
80
|
-
notiffany (~> 0.0)
|
81
|
-
pry (>= 0.9.12)
|
82
|
-
shellany (~> 0.0)
|
83
|
-
thor (>= 0.18.1)
|
84
|
-
guard-compat (1.2.1)
|
85
|
-
guard-rspec (4.7.3)
|
86
|
-
guard (~> 2.1)
|
87
|
-
guard-compat (~> 1.1)
|
88
|
-
rspec (>= 2.99.0, < 4.0)
|
89
|
-
htmlentities (4.3.4)
|
90
|
-
i18n (0.8.1)
|
91
|
-
jquery-rails (3.1.4)
|
92
|
-
railties (>= 3.0, < 5.0)
|
93
|
-
thor (>= 0.14, < 2.0)
|
94
|
-
json (2.0.3)
|
95
|
-
listen (3.1.5)
|
96
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
97
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
98
|
-
ruby_dep (~> 1.2)
|
99
|
-
lumberjack (1.0.11)
|
100
|
-
mail (2.6.4)
|
101
|
-
mime-types (>= 1.16, < 4)
|
102
|
-
method_source (0.8.2)
|
103
|
-
mime-types (3.1)
|
104
|
-
mime-types-data (~> 3.2015)
|
105
|
-
mime-types-data (3.2016.0521)
|
106
|
-
mini_portile2 (2.1.0)
|
107
|
-
minitest (4.7.5)
|
108
|
-
multi_json (1.12.1)
|
109
|
-
nenv (0.3.0)
|
110
|
-
nokogiri (1.7.1)
|
111
|
-
mini_portile2 (~> 2.1.0)
|
112
|
-
notiffany (0.1.1)
|
113
|
-
nenv (~> 0.1)
|
114
|
-
shellany (~> 0.0)
|
115
|
-
pry (0.10.4)
|
116
|
-
coderay (~> 1.1.0)
|
117
|
-
method_source (~> 0.8.1)
|
118
|
-
slop (~> 3.4)
|
119
|
-
pry-nav (0.2.4)
|
120
|
-
pry (>= 0.9.10, < 0.11.0)
|
121
|
-
public_suffix (2.0.5)
|
122
|
-
rack (1.5.5)
|
123
|
-
rack-test (0.6.3)
|
124
|
-
rack (>= 1.0)
|
125
|
-
rails (4.0.13)
|
126
|
-
actionmailer (= 4.0.13)
|
127
|
-
actionpack (= 4.0.13)
|
128
|
-
activerecord (= 4.0.13)
|
129
|
-
activesupport (= 4.0.13)
|
130
|
-
bundler (>= 1.3.0, < 2.0)
|
131
|
-
railties (= 4.0.13)
|
132
|
-
sprockets-rails (~> 2.0)
|
133
|
-
railties (4.0.13)
|
134
|
-
actionpack (= 4.0.13)
|
135
|
-
activesupport (= 4.0.13)
|
136
|
-
rake (>= 0.8.7)
|
137
|
-
thor (>= 0.18.1, < 2.0)
|
138
|
-
rake (12.0.0)
|
139
|
-
rb-fsevent (0.9.8)
|
140
|
-
rb-inotify (0.9.8)
|
141
|
-
ffi (>= 0.5.0)
|
142
|
-
roo (1.13.2)
|
143
|
-
nokogiri
|
144
|
-
rubyzip
|
145
|
-
spreadsheet (> 0.6.4)
|
146
|
-
rspec (3.5.0)
|
147
|
-
rspec-core (~> 3.5.0)
|
148
|
-
rspec-expectations (~> 3.5.0)
|
149
|
-
rspec-mocks (~> 3.5.0)
|
150
|
-
rspec-core (3.5.4)
|
151
|
-
rspec-support (~> 3.5.0)
|
152
|
-
rspec-expectations (3.5.0)
|
153
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
154
|
-
rspec-support (~> 3.5.0)
|
155
|
-
rspec-mocks (3.5.0)
|
156
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
157
|
-
rspec-support (~> 3.5.0)
|
158
|
-
rspec-rails (3.5.2)
|
159
|
-
actionpack (>= 3.0)
|
160
|
-
activesupport (>= 3.0)
|
161
|
-
railties (>= 3.0)
|
162
|
-
rspec-core (~> 3.5.0)
|
163
|
-
rspec-expectations (~> 3.5.0)
|
164
|
-
rspec-mocks (~> 3.5.0)
|
165
|
-
rspec-support (~> 3.5.0)
|
166
|
-
rspec-support (3.5.0)
|
167
|
-
ruby-ole (1.2.12.1)
|
168
|
-
ruby_dep (1.5.0)
|
169
|
-
rubyzip (1.0.0)
|
170
|
-
shellany (0.0.1)
|
171
|
-
simplecov (0.12.0)
|
172
|
-
docile (~> 1.1.0)
|
173
|
-
json (>= 1.8, < 3)
|
174
|
-
simplecov-html (~> 0.10.0)
|
175
|
-
simplecov-html (0.10.0)
|
176
|
-
slop (3.6.0)
|
177
|
-
spreadsheet (1.1.4)
|
178
|
-
ruby-ole (>= 1.0)
|
179
|
-
sprockets (3.7.1)
|
180
|
-
concurrent-ruby (~> 1.0)
|
181
|
-
rack (> 1, < 3)
|
182
|
-
sprockets-rails (2.3.3)
|
183
|
-
actionpack (>= 3.0)
|
184
|
-
activesupport (>= 3.0)
|
185
|
-
sprockets (>= 2.8, < 4.0)
|
186
|
-
sqlite3 (1.3.13)
|
187
|
-
term-ansicolor (1.5.0)
|
188
|
-
tins (~> 1.0)
|
189
|
-
thin (1.7.0)
|
190
|
-
daemons (~> 1.0, >= 1.0.9)
|
191
|
-
eventmachine (~> 1.0, >= 1.0.4)
|
192
|
-
rack (>= 1, < 3)
|
193
|
-
thor (0.19.4)
|
194
|
-
thread_safe (0.3.6)
|
195
|
-
tins (1.13.2)
|
196
|
-
tzinfo (0.3.53)
|
197
|
-
xpath (2.0.0)
|
198
|
-
nokogiri (~> 1.3)
|
199
|
-
|
200
|
-
PLATFORMS
|
201
|
-
ruby
|
202
|
-
|
203
|
-
DEPENDENCIES
|
204
|
-
acts_as_xlsx!
|
205
|
-
axlsx_rails!
|
206
|
-
bundler
|
207
|
-
capybara (~> 2.1)
|
208
|
-
coveralls
|
209
|
-
growl
|
210
|
-
guard-rspec
|
211
|
-
jquery-rails
|
212
|
-
pry
|
213
|
-
pry-nav
|
214
|
-
rails (~> 4.0.0)
|
215
|
-
rake
|
216
|
-
rb-fsevent
|
217
|
-
roo
|
218
|
-
rspec-rails
|
219
|
-
rubyzip
|
220
|
-
sqlite3
|
221
|
-
thin
|
222
|
-
|
223
|
-
BUNDLED WITH
|
224
|
-
1.14.6
|
File without changes
|