csv_rb 6.0.2.4 → 6.0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +65 -65
- data/lib/csv_rb/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +231 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f86f23f12fd21b0809508d1da0642f20f4c89684bdd8bddd35ecf83dc7aaeb72
|
4
|
+
data.tar.gz: ed23c0f5dc0be75206f59a61ba6aa42ce9d75125791d1202d971645eb00442ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '06485dddc7b678c90f4bdf61e743fa79e2afb3508670cc0f7b32005837f789c6c0711e2aa7dcba1468040a32469fc2698b1b2ba2405c14599b209d5db93f52b4'
|
7
|
+
data.tar.gz: 2a9fc36f21fbb5313c9b982ef7c987daa7d0cbad45f98553be8512e0c66c7105c4a3e41bf90c2d3b280451c6557e04038cdc0698cdd30d8e8d29d1d497e71f26
|
data/Gemfile
CHANGED
@@ -5,8 +5,8 @@ source "http://rubygems.org"
|
|
5
5
|
# development dependencies will be added by default to the :development group.
|
6
6
|
gemspec
|
7
7
|
|
8
|
-
ENV["RAILS_VERSION"] ||= '6.0.
|
9
|
-
gem 'rails',
|
8
|
+
ENV["RAILS_VERSION"] ||= '6.0.3'
|
9
|
+
gem 'rails', '~> 6.0.3', '>= 6.0.3.1'
|
10
10
|
gem 'responders', '~> 3.0'
|
11
11
|
|
12
12
|
# jquery-rails is used by the dummy application
|
data/Gemfile.lock
CHANGED
@@ -8,61 +8,61 @@ PATH
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actioncable (6.0.
|
12
|
-
actionpack (= 6.0.
|
11
|
+
actioncable (6.0.3.1)
|
12
|
+
actionpack (= 6.0.3.1)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
|
-
actionmailbox (6.0.
|
16
|
-
actionpack (= 6.0.
|
17
|
-
activejob (= 6.0.
|
18
|
-
activerecord (= 6.0.
|
19
|
-
activestorage (= 6.0.
|
20
|
-
activesupport (= 6.0.
|
15
|
+
actionmailbox (6.0.3.1)
|
16
|
+
actionpack (= 6.0.3.1)
|
17
|
+
activejob (= 6.0.3.1)
|
18
|
+
activerecord (= 6.0.3.1)
|
19
|
+
activestorage (= 6.0.3.1)
|
20
|
+
activesupport (= 6.0.3.1)
|
21
21
|
mail (>= 2.7.1)
|
22
|
-
actionmailer (6.0.
|
23
|
-
actionpack (= 6.0.
|
24
|
-
actionview (= 6.0.
|
25
|
-
activejob (= 6.0.
|
22
|
+
actionmailer (6.0.3.1)
|
23
|
+
actionpack (= 6.0.3.1)
|
24
|
+
actionview (= 6.0.3.1)
|
25
|
+
activejob (= 6.0.3.1)
|
26
26
|
mail (~> 2.5, >= 2.5.4)
|
27
27
|
rails-dom-testing (~> 2.0)
|
28
|
-
actionpack (6.0.
|
29
|
-
actionview (= 6.0.
|
30
|
-
activesupport (= 6.0.
|
28
|
+
actionpack (6.0.3.1)
|
29
|
+
actionview (= 6.0.3.1)
|
30
|
+
activesupport (= 6.0.3.1)
|
31
31
|
rack (~> 2.0, >= 2.0.8)
|
32
32
|
rack-test (>= 0.6.3)
|
33
33
|
rails-dom-testing (~> 2.0)
|
34
34
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
35
|
-
actiontext (6.0.
|
36
|
-
actionpack (= 6.0.
|
37
|
-
activerecord (= 6.0.
|
38
|
-
activestorage (= 6.0.
|
39
|
-
activesupport (= 6.0.
|
35
|
+
actiontext (6.0.3.1)
|
36
|
+
actionpack (= 6.0.3.1)
|
37
|
+
activerecord (= 6.0.3.1)
|
38
|
+
activestorage (= 6.0.3.1)
|
39
|
+
activesupport (= 6.0.3.1)
|
40
40
|
nokogiri (>= 1.8.5)
|
41
|
-
actionview (6.0.
|
42
|
-
activesupport (= 6.0.
|
41
|
+
actionview (6.0.3.1)
|
42
|
+
activesupport (= 6.0.3.1)
|
43
43
|
builder (~> 3.1)
|
44
44
|
erubi (~> 1.4)
|
45
45
|
rails-dom-testing (~> 2.0)
|
46
46
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
47
|
-
activejob (6.0.
|
48
|
-
activesupport (= 6.0.
|
47
|
+
activejob (6.0.3.1)
|
48
|
+
activesupport (= 6.0.3.1)
|
49
49
|
globalid (>= 0.3.6)
|
50
|
-
activemodel (6.0.
|
51
|
-
activesupport (= 6.0.
|
52
|
-
activerecord (6.0.
|
53
|
-
activemodel (= 6.0.
|
54
|
-
activesupport (= 6.0.
|
55
|
-
activestorage (6.0.
|
56
|
-
actionpack (= 6.0.
|
57
|
-
activejob (= 6.0.
|
58
|
-
activerecord (= 6.0.
|
50
|
+
activemodel (6.0.3.1)
|
51
|
+
activesupport (= 6.0.3.1)
|
52
|
+
activerecord (6.0.3.1)
|
53
|
+
activemodel (= 6.0.3.1)
|
54
|
+
activesupport (= 6.0.3.1)
|
55
|
+
activestorage (6.0.3.1)
|
56
|
+
actionpack (= 6.0.3.1)
|
57
|
+
activejob (= 6.0.3.1)
|
58
|
+
activerecord (= 6.0.3.1)
|
59
59
|
marcel (~> 0.3.1)
|
60
|
-
activesupport (6.0.
|
60
|
+
activesupport (6.0.3.1)
|
61
61
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
62
62
|
i18n (>= 0.7, < 2)
|
63
63
|
minitest (~> 5.1)
|
64
64
|
tzinfo (~> 1.1)
|
65
|
-
zeitwerk (~> 2.2)
|
65
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
66
66
|
addressable (2.7.0)
|
67
67
|
public_suffix (>= 2.0.2, < 5.0)
|
68
68
|
builder (3.2.4)
|
@@ -82,7 +82,7 @@ GEM
|
|
82
82
|
thor (>= 0.19.4, < 2.0)
|
83
83
|
tins (~> 1.6)
|
84
84
|
crass (1.0.6)
|
85
|
-
csv (3.1.
|
85
|
+
csv (3.1.5)
|
86
86
|
daemons (1.3.1)
|
87
87
|
diff-lcs (1.3)
|
88
88
|
docile (1.3.2)
|
@@ -109,7 +109,7 @@ GEM
|
|
109
109
|
rspec (>= 2.99.0, < 4.0)
|
110
110
|
i18n (1.8.2)
|
111
111
|
concurrent-ruby (~> 1.0)
|
112
|
-
jquery-rails (4.
|
112
|
+
jquery-rails (4.4.0)
|
113
113
|
rails-dom-testing (>= 1, < 3)
|
114
114
|
railties (>= 4.2.0)
|
115
115
|
thor (>= 0.14, < 2.0)
|
@@ -126,10 +126,10 @@ GEM
|
|
126
126
|
marcel (0.3.3)
|
127
127
|
mimemagic (~> 0.3.2)
|
128
128
|
method_source (0.9.2)
|
129
|
-
mimemagic (0.3.
|
129
|
+
mimemagic (0.3.5)
|
130
130
|
mini_mime (1.0.2)
|
131
131
|
mini_portile2 (2.4.0)
|
132
|
-
minitest (5.14.
|
132
|
+
minitest (5.14.1)
|
133
133
|
nenv (0.3.0)
|
134
134
|
nio4r (2.5.2)
|
135
135
|
nokogiri (1.10.9)
|
@@ -142,38 +142,38 @@ GEM
|
|
142
142
|
method_source (~> 0.9.0)
|
143
143
|
pry-nav (0.3.0)
|
144
144
|
pry (>= 0.9.10, < 0.13.0)
|
145
|
-
public_suffix (4.0.
|
145
|
+
public_suffix (4.0.5)
|
146
146
|
rack (2.2.2)
|
147
147
|
rack-test (1.1.0)
|
148
148
|
rack (>= 1.0, < 3)
|
149
|
-
rails (6.0.
|
150
|
-
actioncable (= 6.0.
|
151
|
-
actionmailbox (= 6.0.
|
152
|
-
actionmailer (= 6.0.
|
153
|
-
actionpack (= 6.0.
|
154
|
-
actiontext (= 6.0.
|
155
|
-
actionview (= 6.0.
|
156
|
-
activejob (= 6.0.
|
157
|
-
activemodel (= 6.0.
|
158
|
-
activerecord (= 6.0.
|
159
|
-
activestorage (= 6.0.
|
160
|
-
activesupport (= 6.0.
|
149
|
+
rails (6.0.3.1)
|
150
|
+
actioncable (= 6.0.3.1)
|
151
|
+
actionmailbox (= 6.0.3.1)
|
152
|
+
actionmailer (= 6.0.3.1)
|
153
|
+
actionpack (= 6.0.3.1)
|
154
|
+
actiontext (= 6.0.3.1)
|
155
|
+
actionview (= 6.0.3.1)
|
156
|
+
activejob (= 6.0.3.1)
|
157
|
+
activemodel (= 6.0.3.1)
|
158
|
+
activerecord (= 6.0.3.1)
|
159
|
+
activestorage (= 6.0.3.1)
|
160
|
+
activesupport (= 6.0.3.1)
|
161
161
|
bundler (>= 1.3.0)
|
162
|
-
railties (= 6.0.
|
162
|
+
railties (= 6.0.3.1)
|
163
163
|
sprockets-rails (>= 2.0.0)
|
164
164
|
rails-dom-testing (2.0.3)
|
165
165
|
activesupport (>= 4.2.0)
|
166
166
|
nokogiri (>= 1.6)
|
167
167
|
rails-html-sanitizer (1.3.0)
|
168
168
|
loofah (~> 2.3)
|
169
|
-
railties (6.0.
|
170
|
-
actionpack (= 6.0.
|
171
|
-
activesupport (= 6.0.
|
169
|
+
railties (6.0.3.1)
|
170
|
+
actionpack (= 6.0.3.1)
|
171
|
+
activesupport (= 6.0.3.1)
|
172
172
|
method_source
|
173
173
|
rake (>= 0.8.7)
|
174
174
|
thor (>= 0.20.3, < 2.0)
|
175
175
|
rake (13.0.1)
|
176
|
-
rb-fsevent (0.10.
|
176
|
+
rb-fsevent (0.10.4)
|
177
177
|
rb-inotify (0.10.1)
|
178
178
|
ffi (~> 1.0)
|
179
179
|
rdoc (6.2.1)
|
@@ -187,15 +187,15 @@ GEM
|
|
187
187
|
rspec-core (~> 3.9.0)
|
188
188
|
rspec-expectations (~> 3.9.0)
|
189
189
|
rspec-mocks (~> 3.9.0)
|
190
|
-
rspec-core (3.9.
|
191
|
-
rspec-support (~> 3.9.
|
192
|
-
rspec-expectations (3.9.
|
190
|
+
rspec-core (3.9.2)
|
191
|
+
rspec-support (~> 3.9.3)
|
192
|
+
rspec-expectations (3.9.2)
|
193
193
|
diff-lcs (>= 1.2.0, < 2.0)
|
194
194
|
rspec-support (~> 3.9.0)
|
195
195
|
rspec-mocks (3.9.1)
|
196
196
|
diff-lcs (>= 1.2.0, < 2.0)
|
197
197
|
rspec-support (~> 3.9.0)
|
198
|
-
rspec-rails (4.0.
|
198
|
+
rspec-rails (4.0.1)
|
199
199
|
actionpack (>= 4.2)
|
200
200
|
activesupport (>= 4.2)
|
201
201
|
railties (>= 4.2)
|
@@ -203,7 +203,7 @@ GEM
|
|
203
203
|
rspec-expectations (~> 3.9)
|
204
204
|
rspec-mocks (~> 3.9)
|
205
205
|
rspec-support (~> 3.9)
|
206
|
-
rspec-support (3.9.
|
206
|
+
rspec-support (3.9.3)
|
207
207
|
rubyzip (2.3.0)
|
208
208
|
shellany (0.0.1)
|
209
209
|
simplecov (0.16.1)
|
@@ -228,11 +228,11 @@ GEM
|
|
228
228
|
rack (>= 1, < 3)
|
229
229
|
thor (1.0.1)
|
230
230
|
thread_safe (0.3.6)
|
231
|
-
tins (1.
|
231
|
+
tins (1.25.0)
|
232
232
|
sync
|
233
233
|
tzinfo (1.2.7)
|
234
234
|
thread_safe (~> 0.1)
|
235
|
-
websocket-driver (0.7.
|
235
|
+
websocket-driver (0.7.2)
|
236
236
|
websocket-extensions (>= 0.1.0)
|
237
237
|
websocket-extensions (0.1.4)
|
238
238
|
xpath (3.2.0)
|
@@ -252,7 +252,7 @@ DEPENDENCIES
|
|
252
252
|
jquery-rails
|
253
253
|
pry
|
254
254
|
pry-nav
|
255
|
-
rails (~> 6.0)
|
255
|
+
rails (~> 6.0.3, >= 6.0.3.1)
|
256
256
|
rake
|
257
257
|
rb-fsevent
|
258
258
|
rdoc
|
data/lib/csv_rb/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -1315,3 +1315,234 @@ bnMiLCIiDQo=
|
|
1315
1315
|
Rendering text template
|
1316
1316
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1317
1317
|
Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 8207)
|
1318
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1319
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1320
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1321
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 49]]
|
1322
|
+
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
|
1323
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1324
|
+
[1m[36mUser Destroy (0.3ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 50]]
|
1325
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
1326
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1327
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-05-27 18:32:24.850099"], ["updated_at", "2020-05-27 18:32:24.850099"]]
|
1328
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1329
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1330
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:24.855099"], ["updated_at", "2020-05-27 18:32:24.855099"]]
|
1331
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
1332
|
+
Started GET "/users/noaction.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1333
|
+
Processing by UsersController#noaction as CSV
|
1334
|
+
Rendering users/noaction.csv.csvrb
|
1335
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1336
|
+
Rendered users/noaction.csv.csvrb (Duration: 1.4ms | Allocations: 691)
|
1337
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms | Allocations: 1838)
|
1338
|
+
Started GET "/withpartial.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1339
|
+
Processing by HomeController#withpartial as CSV
|
1340
|
+
Rendering home/withpartial.csv.csvrb
|
1341
|
+
Rendered home/_cover_sheet.csv.csvrb (Duration: 0.3ms | Allocations: 125)
|
1342
|
+
Rendered home/withpartial.csv.csvrb (Duration: 0.7ms | Allocations: 477)
|
1343
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms | Allocations: 1885)
|
1344
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1345
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1346
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 51]]
|
1347
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
1348
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1349
|
+
[1m[36mUser Destroy (0.3ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 52]]
|
1350
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
1351
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1352
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:24.893338"], ["updated_at", "2020-05-27 18:32:24.893338"]]
|
1353
|
+
[1m[35m (2.6ms)[0m [1m[36mcommit transaction[0m
|
1354
|
+
Started GET "/users/53/render_elsewhere.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1355
|
+
Processing by LikesController#render_elsewhere as CSV
|
1356
|
+
Parameters: {"user_id"=>"53"}
|
1357
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 53], ["LIMIT", 1]]
|
1358
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms | Allocations: 376)
|
1359
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1360
|
+
Started GET "/home/render_elsewhere.csv?type=5" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1361
|
+
Processing by HomeController#render_elsewhere as CSV
|
1362
|
+
Parameters: {"type"=>"5"}
|
1363
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 120)
|
1364
|
+
Started GET "/home/render_elsewhere.csv?type=4" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1365
|
+
Processing by HomeController#render_elsewhere as CSV
|
1366
|
+
Parameters: {"type"=>"4"}
|
1367
|
+
Rendering users/index.csv.csvrb
|
1368
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1369
|
+
Rendered users/index.csv.csvrb (Duration: 0.7ms | Allocations: 304)
|
1370
|
+
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.1ms | Allocations: 710)
|
1371
|
+
Started GET "/home/render_elsewhere.csv?type=3" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1372
|
+
Processing by HomeController#render_elsewhere as CSV
|
1373
|
+
Parameters: {"type"=>"3"}
|
1374
|
+
Rendering users/index.csv.csvrb
|
1375
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1376
|
+
Rendered users/index.csv.csvrb (Duration: 0.5ms | Allocations: 246)
|
1377
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.1ms | Allocations: 516)
|
1378
|
+
Started GET "/home/render_elsewhere.csv?type=1" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1379
|
+
Processing by HomeController#render_elsewhere as CSV
|
1380
|
+
Parameters: {"type"=>"1"}
|
1381
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 124)
|
1382
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1383
|
+
Started GET "/another" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1384
|
+
Processing by HomeController#another as */*
|
1385
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 111)
|
1386
|
+
Started GET "/home/only_html" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1387
|
+
Processing by HomeController#only_html as */*
|
1388
|
+
Rendering home/only_html.html.erb within layouts/application
|
1389
|
+
Rendered home/only_html.html.erb within layouts/application (Duration: 0.3ms | Allocations: 84)
|
1390
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms | Allocations: 1071)
|
1391
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1392
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1393
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 53]]
|
1394
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
1395
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1396
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:24.922627"], ["updated_at", "2020-05-27 18:32:24.922627"]]
|
1397
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1398
|
+
Started GET "/users/export/54.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1399
|
+
Processing by UsersController#export as CSV
|
1400
|
+
Parameters: {"id"=>"54"}
|
1401
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 54], ["LIMIT", 1]]
|
1402
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 257)
|
1403
|
+
Started GET "/another" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1404
|
+
Processing by HomeController#another as HTML
|
1405
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 108)
|
1406
|
+
Started GET "/another.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1407
|
+
Processing by HomeController#another as CSV
|
1408
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 108)
|
1409
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1410
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1411
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 54]]
|
1412
|
+
[1m[35m (2.7ms)[0m [1m[36mcommit transaction[0m
|
1413
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1414
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:24.935154"], ["updated_at", "2020-05-27 18:32:24.935154"]]
|
1415
|
+
[1m[35m (2.3ms)[0m [1m[36mcommit transaction[0m
|
1416
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1417
|
+
[1m[36mLike Create (0.2ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Carrots"], ["user_id", 55], ["created_at", "2020-05-27 18:32:24.953129"], ["updated_at", "2020-05-27 18:32:24.953129"]]
|
1418
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
1419
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1420
|
+
[1m[36mLike Create (0.1ms)[0m [1m[32mINSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Celery"], ["user_id", 55], ["created_at", "2020-05-27 18:32:24.957262"], ["updated_at", "2020-05-27 18:32:24.957262"]]
|
1421
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
1422
|
+
Started GET "/users/55/likes.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1423
|
+
Processing by LikesController#index as CSV
|
1424
|
+
Parameters: {"user_id"=>"55"}
|
1425
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 55], ["LIMIT", 1]]
|
1426
|
+
Rendering likes/index.csv.csvrb
|
1427
|
+
[1m[36mLike Load (0.1ms)[0m [1m[34mSELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ?[0m [["user_id", 55]]
|
1428
|
+
Rendered likes/index.csv.csvrb (Duration: 0.9ms | Allocations: 616)
|
1429
|
+
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.1ms | Allocations: 1478)
|
1430
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1431
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1432
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 55]]
|
1433
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
1434
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1435
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-05-27 18:32:24.967763"], ["updated_at", "2020-05-27 18:32:24.967763"]]
|
1436
|
+
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
|
1437
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1438
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:24.970840"], ["updated_at", "2020-05-27 18:32:24.970840"]]
|
1439
|
+
[1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
|
1440
|
+
Started GET "/users.csv" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1441
|
+
Processing by UsersController#index as CSV
|
1442
|
+
Rendering users/index.csv.csvrb
|
1443
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1444
|
+
Rendered users/index.csv.csvrb (Duration: 0.4ms | Allocations: 367)
|
1445
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 612)
|
1446
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1447
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-05-27 18:32:24.975803"], ["updated_at", "2020-05-27 18:32:24.975803"]]
|
1448
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
1449
|
+
Started GET "/" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1450
|
+
Processing by HomeController#index as HTML
|
1451
|
+
Rendering home/index.html.erb within layouts/application
|
1452
|
+
Rendered home/index.html.erb within layouts/application (Duration: 0.5ms | Allocations: 238)
|
1453
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 666)
|
1454
|
+
Started GET "/useheader.csv?set_direct=true" for 127.0.0.1 at 2020-05-27 12:32:24 -0600
|
1455
|
+
Processing by HomeController#useheader as CSV
|
1456
|
+
Parameters: {"set_direct"=>"true"}
|
1457
|
+
Rendering home/useheader.csv.csvrb
|
1458
|
+
Rendered home/useheader.csv.csvrb (Duration: 0.3ms | Allocations: 156)
|
1459
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 611)
|
1460
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
|
1461
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1462
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 56]]
|
1463
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
1464
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1465
|
+
[1m[36mUser Destroy (0.4ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 57]]
|
1466
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1467
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1468
|
+
[1m[36mUser Destroy (0.4ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 58]]
|
1469
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1470
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1471
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2020-05-27 18:32:25.001296"], ["updated_at", "2020-05-27 18:32:25.001296"]]
|
1472
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1473
|
+
Started GET "/users/59.csv" for 127.0.0.1 at 2020-05-27 12:32:25 -0600
|
1474
|
+
Processing by UsersController#show as CSV
|
1475
|
+
Parameters: {"id"=>"59"}
|
1476
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 59], ["LIMIT", 1]]
|
1477
|
+
Rendering users/respond_with.csv.csvrb
|
1478
|
+
Rendered users/respond_with.csv.csvrb (Duration: 0.3ms | Allocations: 156)
|
1479
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms | Allocations: 603)
|
1480
|
+
Started GET "/useheader.csv" for 127.0.0.1 at 2020-05-27 12:32:25 -0600
|
1481
|
+
Processing by HomeController#useheader as CSV
|
1482
|
+
Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms | Allocations: 154)
|
1483
|
+
Started GET "/home.csv" for 127.0.0.1 at 2020-05-27 12:32:25 -0600
|
1484
|
+
Processing by HomeController#index as CSV
|
1485
|
+
Rendering home/index.csv.csvrb
|
1486
|
+
Rendered home/index.csv.csvrb (Duration: 0.2ms | Allocations: 159)
|
1487
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 599)
|
1488
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1489
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2020-05-27 18:32:25.020463"], ["updated_at", "2020-05-27 18:32:25.020463"]]
|
1490
|
+
[1m[35m (2.5ms)[0m [1m[36mcommit transaction[0m
|
1491
|
+
Started GET "/users/60/send_instructions" for 127.0.0.1 at 2020-05-27 12:32:25 -0600
|
1492
|
+
Processing by UsersController#send_instructions as HTML
|
1493
|
+
Parameters: {"user_id"=>"60"}
|
1494
|
+
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 60], ["LIMIT", 1]]
|
1495
|
+
Rendering users/send_instructions.csv.csvrb
|
1496
|
+
Rendered users/send_instructions.csv.csvrb (Duration: 0.3ms | Allocations: 188)
|
1497
|
+
Rendering notifier/instructions.html.erb
|
1498
|
+
Rendered notifier/instructions.html.erb (Duration: 0.3ms | Allocations: 112)
|
1499
|
+
Notifier#instructions: processed outbound mail in 5.7ms
|
1500
|
+
Delivered mail 5eceb239808c_bbc616a837878@archlinux.mail (3.7ms)
|
1501
|
+
Date: Wed, 27 May 2020 12:32:25 -0600
|
1502
|
+
From: noreply@company.com
|
1503
|
+
To: elmer@fudd.com
|
1504
|
+
Message-ID: <5eceb239808c_bbc616a837878@archlinux.mail>
|
1505
|
+
Subject: Instructions
|
1506
|
+
Mime-Version: 1.0
|
1507
|
+
Content-Type: multipart/mixed;
|
1508
|
+
boundary="--==_mimepart_5eceb2397acd_bbc616a83776e";
|
1509
|
+
charset=UTF-8
|
1510
|
+
Content-Transfer-Encoding: 7bit
|
1511
|
+
|
1512
|
+
|
1513
|
+
----==_mimepart_5eceb2397acd_bbc616a83776e
|
1514
|
+
Content-Type: text/html;
|
1515
|
+
charset=UTF-8
|
1516
|
+
Content-Transfer-Encoding: 7bit
|
1517
|
+
|
1518
|
+
<!DOCTYPE html>
|
1519
|
+
<html>
|
1520
|
+
<head>
|
1521
|
+
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
|
1522
|
+
</head>
|
1523
|
+
<body>
|
1524
|
+
<h1>Instructions</h1>
|
1525
|
+
<p>
|
1526
|
+
You have successfully signed up to example.com,
|
1527
|
+
your username is: elmer@fudd.com.<br/>
|
1528
|
+
</p>
|
1529
|
+
<p>Thanks for joining and have a great day!</p>
|
1530
|
+
</body>
|
1531
|
+
</html>
|
1532
|
+
|
1533
|
+
----==_mimepart_5eceb2397acd_bbc616a83776e
|
1534
|
+
Content-Type: text/csv;
|
1535
|
+
charset=UTF-8
|
1536
|
+
Content-Transfer-Encoding: base64
|
1537
|
+
Content-Disposition: attachment;
|
1538
|
+
filename=user_60.csv
|
1539
|
+
Content-ID: <5eceb239857f_bbc616a83791@archlinux.mail>
|
1540
|
+
|
1541
|
+
IjYwIiwiRWxtZXIiLCJlbG1lckBmdWRkLmNvbSINCiIiLCJJbnN0cnVjdGlv
|
1542
|
+
bnMiLCIiDQo=
|
1543
|
+
|
1544
|
+
----==_mimepart_5eceb2397acd_bbc616a83776e--
|
1545
|
+
|
1546
|
+
Rendering text template
|
1547
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1548
|
+
Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 8201)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csv_rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sampson Crowley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -336,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
336
336
|
- !ruby/object:Gem::Version
|
337
337
|
version: '0'
|
338
338
|
requirements: []
|
339
|
-
rubygems_version: 3.1.
|
339
|
+
rubygems_version: 3.1.3
|
340
340
|
signing_key:
|
341
341
|
specification_version: 4
|
342
342
|
summary: A simple rails plugin to provide a streaming csv renderer using the csv gem.
|