csv_rb 5.2.1 → 5.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb02cd37787e9e0ea952399331109f328530a688c41ed2c2e1300ad419b28583
4
- data.tar.gz: '09ad0cd11ce165a5f6e5b701385b4a1d8866a6738137de0df11f183f3501de7f'
3
+ metadata.gz: 7c60c49358c05932a1c10df405f647211f6b15baf31b2bc5d6cd1357c70845a7
4
+ data.tar.gz: cca5a2640ccbe35d39112d404325a118fa571f93859338b43810d24111d61b35
5
5
  SHA512:
6
- metadata.gz: 8544b4f13137d0c631792f8f904a6d2892962025411ed7d54ea2041015777bd77b41b431dc700d51ff8f0ac29313ad845287e6e1ad296c5e639ccc612e6b4378
7
- data.tar.gz: 5fcbb1e4a37041b974bcfb7e37d3d81bc308ae7b2d5023400a881f043a52e0b97526ebc283b25fda293382245aff9a5a3c5f6743fbd3c00b49cfe5f0907953f4
6
+ metadata.gz: 9923a666acaa90c8469d56bad8aa810385f576b1cd90cc4129a034968aa1a0bba1c4a5a78285834daa1219af45d76474a860b90b91c8a255dbb35f0ab228558d
7
+ data.tar.gz: ad2815d606d507f21f159699b62eed88559c1315f677e101af13cce274cde6a5ff4a7c701ec359dbb43b804a25c66344705302a8ba338d53492111e72ec996db
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- csv_rb (0.5.2)
5
- actionpack (>= 3.1)
4
+ csv_rb (5.2.2)
5
+ actionpack (~> 5.2)
6
6
  csv (>= 3.1.0)
7
7
 
8
8
  GEM
@@ -4,6 +4,10 @@ module CSVRb
4
4
  @value ||= "#{}"
5
5
  end
6
6
 
7
+ def set(value)
8
+ @value = value
9
+ end
10
+
7
11
  def stream(row)
8
12
  value << CSV.generate_line(row, force_quotes: true, encoding: 'utf-8')
9
13
  end
@@ -9,6 +9,10 @@ module CSVRb
9
9
  @enum
10
10
  end
11
11
 
12
+ def set(value)
13
+ y << value
14
+ end
15
+
12
16
  def stream(row)
13
17
  v = CSV.generate_line(row, force_quotes: true, encoding: 'utf-8')
14
18
  y << @deflator.deflate(v, Zlib::SYNC_FLUSH)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CSVRb
4
- VERSION = '5.2.1'
4
+ VERSION = '5.2.2'
5
5
  end
@@ -16,6 +16,13 @@ describe 'csvrb template handler' do
16
16
  VT.new(src, [])
17
17
  end
18
18
 
19
+ let( :set_template ) do
20
+ src = <<-RUBY
21
+ csv.set CSV.generate_line(['TEST', 'STUFF'], encoding: 'utf-8', force_quotes: true)
22
+ RUBY
23
+ VT.new(src, [])
24
+ end
25
+
19
26
  context "Rails #{Rails.version}" do
20
27
  # for testing if the author is set
21
28
  # before do
@@ -33,6 +40,13 @@ describe 'csvrb template handler' do
33
40
  expect(csv[0][0]).to eq('TEST')
34
41
  end
35
42
 
43
+ it "accepts a full CSV string" do
44
+ csv = nil
45
+ eval( AB.new.call set_template )
46
+ expect{ csv = CSV.parse(csv) }.to_not raise_error
47
+ expect(csv[0][0]).to eq('TEST')
48
+ end
49
+
36
50
  #TODO:
37
51
  # Test if author field is set - does roo parse that?
38
52
  end
Binary file
@@ -25569,3 +25569,239 @@ b25zIiwiIg0K
25569
25569
  Rendering text template
25570
25570
  Rendered text template (0.0ms)
25571
25571
  Completed 200 OK in 122ms (Views: 0.3ms | ActiveRecord: 0.1ms)
25572
+  (0.0ms) begin transaction
25573
+ User Create (0.4ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2019-06-07 16:31:18.602368"], ["updated_at", "2019-06-07 16:31:18.602368"]]
25574
+  (24.6ms) commit transaction
25575
+ Started GET "/users/511/send_instructions" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25576
+ Processing by UsersController#send_instructions as HTML
25577
+ Parameters: {"user_id"=>"511"}
25578
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 511], ["LIMIT", 1]]
25579
+ Rendering users/send_instructions.csv.csvrb
25580
+ Rendered users/send_instructions.csv.csvrb (0.7ms)
25581
+ Rendering notifier/instructions.html.erb
25582
+ Rendered notifier/instructions.html.erb (0.9ms)
25583
+ Notifier#instructions: processed outbound mail in 122.7ms
25584
+ Sent mail to elmer@fudd.com (7.1ms)
25585
+ Date: Fri, 07 Jun 2019 10:31:18 -0600
25586
+ From: noreply@company.com
25587
+ To: elmer@fudd.com
25588
+ Message-ID: <5cfa9156c2bc0_2efa2b08c188795416843@archlinux.mail>
25589
+ Subject: Instructions
25590
+ Mime-Version: 1.0
25591
+ Content-Type: multipart/mixed;
25592
+ boundary="--==_mimepart_5cfa9156c1c99_2efa2b08c1887954167f1";
25593
+ charset=UTF-8
25594
+ Content-Transfer-Encoding: 7bit
25595
+
25596
+
25597
+ ----==_mimepart_5cfa9156c1c99_2efa2b08c1887954167f1
25598
+ Content-Type: text/html;
25599
+ charset=UTF-8
25600
+ Content-Transfer-Encoding: 7bit
25601
+
25602
+ <!DOCTYPE html>
25603
+ <html>
25604
+ <head>
25605
+ <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
25606
+ </head>
25607
+ <body>
25608
+ <h1>Instructions</h1>
25609
+ <p>
25610
+ You have successfully signed up to example.com,
25611
+ your username is: elmer@fudd.com.<br/>
25612
+ </p>
25613
+ <p>Thanks for joining and have a great day!</p>
25614
+ </body>
25615
+ </html>
25616
+
25617
+ ----==_mimepart_5cfa9156c1c99_2efa2b08c1887954167f1
25618
+ Content-Type: text/csv;
25619
+ charset=UTF-8
25620
+ Content-Transfer-Encoding: base64
25621
+ Content-Disposition: attachment;
25622
+ filename=user_511.csv
25623
+ Content-ID: <5cfa9156c3413_2efa2b08c1887954169b7@archlinux.mail>
25624
+
25625
+ IjUxMSIsIkVsbWVyIiwiZWxtZXJAZnVkZC5jb20iDQoiIiwiSW5zdHJ1Y3Rp
25626
+ b25zIiwiIg0K
25627
+
25628
+ ----==_mimepart_5cfa9156c1c99_2efa2b08c1887954167f1--
25629
+
25630
+ Rendering text template
25631
+ Rendered text template (0.0ms)
25632
+ Completed 200 OK in 138ms (Views: 0.9ms | ActiveRecord: 0.2ms)
25633
+ Started GET "/withpartial.csv" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25634
+ Processing by HomeController#withpartial as CSV
25635
+ Rendering home/withpartial.csv.csvrb
25636
+ Rendered home/_cover_sheet.csv.csvrb (0.4ms)
25637
+ Rendered home/withpartial.csv.csvrb (3.0ms)
25638
+ Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.0ms)
25639
+ User Load (0.2ms) SELECT "users".* FROM "users"
25640
+  (0.0ms) begin transaction
25641
+ User Destroy (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 508]]
25642
+  (1.6ms) commit transaction
25643
+  (0.0ms) begin transaction
25644
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 509]]
25645
+  (1.7ms) commit transaction
25646
+  (0.0ms) begin transaction
25647
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 510]]
25648
+  (1.3ms) commit transaction
25649
+  (0.0ms) begin transaction
25650
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 511]]
25651
+  (1.2ms) commit transaction
25652
+  (0.0ms) begin transaction
25653
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2019-06-07 16:31:18.864953"], ["updated_at", "2019-06-07 16:31:18.864953"]]
25654
+  (2.3ms) commit transaction
25655
+  (0.0ms) begin transaction
25656
+ User Create (0.2ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2019-06-07 16:31:18.868340"], ["updated_at", "2019-06-07 16:31:18.868340"]]
25657
+  (1.8ms) commit transaction
25658
+ Started GET "/users/noaction.csv" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25659
+ Processing by UsersController#noaction as CSV
25660
+ Rendering users/noaction.csv.csvrb
25661
+ User Load (0.1ms) SELECT "users".* FROM "users"
25662
+ Rendered users/noaction.csv.csvrb (1.7ms)
25663
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)
25664
+ User Load (0.1ms) SELECT "users".* FROM "users"
25665
+  (0.8ms) begin transaction
25666
+ User Destroy (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 512]]
25667
+  (1.6ms) commit transaction
25668
+  (0.0ms) begin transaction
25669
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 513]]
25670
+  (1.6ms) commit transaction
25671
+  (0.0ms) begin transaction
25672
+ User Create (0.2ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2019-06-07 16:31:18.896375"], ["updated_at", "2019-06-07 16:31:18.896375"]]
25673
+  (1.5ms) commit transaction
25674
+  (0.0ms) begin transaction
25675
+ User Create (0.2ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2019-06-07 16:31:18.898971"], ["updated_at", "2019-06-07 16:31:18.898971"]]
25676
+  (1.4ms) commit transaction
25677
+ Started GET "/users.csv" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25678
+ Processing by UsersController#index as CSV
25679
+ Rendering users/index.csv.csvrb
25680
+ User Load (0.1ms) SELECT "users".* FROM "users"
25681
+ Rendered users/index.csv.csvrb (0.9ms)
25682
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
25683
+ Started GET "/useheader.csv" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25684
+ Processing by HomeController#useheader as CSV
25685
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
25686
+ Started GET "/useheader.csv?set_direct=true" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25687
+ Processing by HomeController#useheader as CSV
25688
+ Parameters: {"set_direct"=>"true"}
25689
+ Rendering home/useheader.csv.csvrb
25690
+ Rendered home/useheader.csv.csvrb (0.3ms)
25691
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
25692
+ User Load (0.1ms) SELECT "users".* FROM "users"
25693
+  (0.0ms) begin transaction
25694
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 514]]
25695
+  (1.4ms) commit transaction
25696
+  (0.0ms) begin transaction
25697
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 515]]
25698
+  (1.4ms) commit transaction
25699
+  (0.0ms) begin transaction
25700
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2019-06-07 16:31:18.916975"], ["updated_at", "2019-06-07 16:31:18.916975"]]
25701
+  (1.3ms) commit transaction
25702
+  (0.0ms) begin transaction
25703
+ Like Create (0.3ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Carrots"], ["user_id", 516], ["created_at", "2019-06-07 16:31:18.930788"], ["updated_at", "2019-06-07 16:31:18.930788"]]
25704
+  (1.2ms) commit transaction
25705
+  (0.0ms) begin transaction
25706
+ Like Create (0.1ms) INSERT INTO "likes" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Celery"], ["user_id", 516], ["created_at", "2019-06-07 16:31:18.933139"], ["updated_at", "2019-06-07 16:31:18.933139"]]
25707
+  (2.6ms) commit transaction
25708
+ Started GET "/users/516/likes.csv" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25709
+ Processing by LikesController#index as CSV
25710
+ Parameters: {"user_id"=>"516"}
25711
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 516], ["LIMIT", 1]]
25712
+ Rendering likes/index.csv.csvrb
25713
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = ? [["user_id", 516]]
25714
+ Rendered likes/index.csv.csvrb (1.1ms)
25715
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
25716
+  (0.0ms) begin transaction
25717
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Elmer"], ["last_name", "Fudd"], ["address", "1234 Somewhere, Over NY 11111"], ["email", "elmer@fudd.com"], ["created_at", "2019-06-07 16:31:18.941724"], ["updated_at", "2019-06-07 16:31:18.941724"]]
25718
+  (1.4ms) commit transaction
25719
+ Started GET "/" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25720
+ Processing by HomeController#index as HTML
25721
+ Rendering home/index.html.erb within layouts/application
25722
+ Rendered home/index.html.erb within layouts/application (0.3ms)
25723
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
25724
+ Started GET "/another.csv" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25725
+ Processing by HomeController#another as CSV
25726
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
25727
+ Started GET "/another" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25728
+ Processing by HomeController#another as HTML
25729
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
25730
+ Started GET "/another" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25731
+ Processing by HomeController#another as */*
25732
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
25733
+ Started GET "/home/only_html" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25734
+ Processing by HomeController#only_html as */*
25735
+ Rendering home/only_html.html.erb within layouts/application
25736
+ Rendered home/only_html.html.erb within layouts/application (0.1ms)
25737
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
25738
+ User Load (0.1ms) SELECT "users".* FROM "users"
25739
+  (0.0ms) begin transaction
25740
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 516]]
25741
+  (1.5ms) commit transaction
25742
+  (0.0ms) begin transaction
25743
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 517]]
25744
+  (1.3ms) commit transaction
25745
+  (0.0ms) begin transaction
25746
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Bugs"], ["last_name", "Bunny"], ["address", "1234 Left Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2019-06-07 16:31:18.958756"], ["updated_at", "2019-06-07 16:31:18.958756"]]
25747
+  (1.3ms) commit transaction
25748
+ Started GET "/users/518/render_elsewhere.csv" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25749
+ Processing by LikesController#render_elsewhere as CSV
25750
+ Parameters: {"user_id"=>"518"}
25751
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 518], ["LIMIT", 1]]
25752
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)
25753
+ User Load (0.1ms) SELECT "users".* FROM "users"
25754
+ Started GET "/home/render_elsewhere.csv?type=5" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25755
+ Processing by HomeController#render_elsewhere as CSV
25756
+ Parameters: {"type"=>"5"}
25757
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
25758
+ Started GET "/home/render_elsewhere.csv?type=4" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25759
+ Processing by HomeController#render_elsewhere as CSV
25760
+ Parameters: {"type"=>"4"}
25761
+ Rendering users/index.csv.csvrb
25762
+ User Load (0.1ms) SELECT "users".* FROM "users"
25763
+ Rendered users/index.csv.csvrb (0.4ms)
25764
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms)
25765
+ Started GET "/home/render_elsewhere.csv?type=3" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25766
+ Processing by HomeController#render_elsewhere as CSV
25767
+ Parameters: {"type"=>"3"}
25768
+ Rendering users/index.csv.csvrb
25769
+ User Load (0.0ms) SELECT "users".* FROM "users"
25770
+ Rendered users/index.csv.csvrb (0.3ms)
25771
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
25772
+ Started GET "/home/render_elsewhere.csv?type=1" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25773
+ Processing by HomeController#render_elsewhere as CSV
25774
+ Parameters: {"type"=>"1"}
25775
+ Completed 200 OK in 0ms (Views: 0.0ms | ActiveRecord: 0.0ms)
25776
+ User Load (0.0ms) SELECT "users".* FROM "users"
25777
+ Started GET "/home.csv" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25778
+ Processing by HomeController#index as CSV
25779
+ Rendering home/index.csv.csvrb
25780
+ Rendered home/index.csv.csvrb (0.2ms)
25781
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
25782
+ User Load (0.0ms) SELECT "users".* FROM "users"
25783
+  (0.0ms) begin transaction
25784
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 518]]
25785
+  (1.5ms) commit transaction
25786
+  (0.0ms) begin transaction
25787
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2019-06-07 16:31:18.973065"], ["updated_at", "2019-06-07 16:31:18.973065"]]
25788
+  (1.4ms) commit transaction
25789
+ Started GET "/users/export/519.csv" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25790
+ Processing by UsersController#export as CSV
25791
+ Parameters: {"id"=>"519"}
25792
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 519], ["LIMIT", 1]]
25793
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
25794
+ User Load (0.0ms) SELECT "users".* FROM "users"
25795
+  (0.0ms) begin transaction
25796
+ User Destroy (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 519]]
25797
+  (1.4ms) commit transaction
25798
+  (0.0ms) begin transaction
25799
+ User Create (0.1ms) INSERT INTO "users" ("name", "last_name", "address", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Responder"], ["last_name", "Bunny"], ["address", "1234 Right Turn, Albuquerque NM 22222"], ["email", "bugs@bunny.com"], ["created_at", "2019-06-07 16:31:18.979812"], ["updated_at", "2019-06-07 16:31:18.979812"]]
25800
+  (1.4ms) commit transaction
25801
+ Started GET "/users/520.csv" for 127.0.0.1 at 2019-06-07 10:31:18 -0600
25802
+ Processing by UsersController#show as CSV
25803
+ Parameters: {"id"=>"520"}
25804
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 520], ["LIMIT", 1]]
25805
+ Rendering users/respond_with.csv.csvrb
25806
+ Rendered users/respond_with.csv.csvrb (0.2ms)
25807
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.1ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.1
4
+ version: 5.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sampson Crowley
@@ -14,16 +14,16 @@ dependencies:
14
14
  name: actionpack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.1'
19
+ version: '5.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.1'
26
+ version: '5.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: csv
29
29
  requirement: !ruby/object:Gem::Requirement