rails_imager 0.0.27 → 0.0.28

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
  SHA1:
3
- metadata.gz: 8c8a6455d7b96173dfeb1ffa6bf62dab7416f7be
4
- data.tar.gz: 10bdb1605f37b3523278e8fe1a80284dbd0e8546
3
+ metadata.gz: 1ea1a92bb217a6904011807d394beb5e65ac2b7b
4
+ data.tar.gz: b8e4d70468ad7542d47234661e536a7189e826e4
5
5
  SHA512:
6
- metadata.gz: 20ed3fc36476df860e14f8e9ed74fa5be0ba73ffa6f48c884e30e283f1b6e7ba72f77cd9d0518e523d8b44208ac50f2baf2ca6561ed25773bcbb532536868aeb
7
- data.tar.gz: 41dd8d2185d018174a3f7ffa0a40eb14d3406d14c87f9d394241e602a0fafa3a4090bea8764f7ec42a58316321ee38e4cb529fb9a22514706a2daa3042147e2c
6
+ metadata.gz: fd6e31df3ff0625238204c5174d30fae4334ea7c0a8dd4b120da34ceb1544539a57525461729f77fa576d1d19b2e96d6670b0bacbd066b4986af917c325ce5c2
7
+ data.tar.gz: 52f3abddb654d531b817d30b4abdcc80224b710e6b7df23c22e4c926a595273570c189632c36258870a1cfa6350d93f495f1bffc1812a13fdbb82119b8e2766b
@@ -14,7 +14,7 @@ module RailsImager::ImagesHelper
14
14
 
15
15
  check_arguments(args)
16
16
 
17
- newpath << "/rails_imager/images/"
17
+ newpath << "#{RailsImager.config.path}/images/"
18
18
  newpath << path
19
19
 
20
20
  if args && args.any?
data/config/routes.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  RailsImager::Engine.routes.draw do
2
- resources :images, :constraints => { :id => /.*/ }, :only => :show
2
+ resources :images, constraints: {id: /.*/}, only: :show
3
3
  end
@@ -1,8 +1,11 @@
1
1
  class RailsImager::Config
2
2
  attr_reader :allowed_paths
3
+ attr_accessor :path
3
4
 
4
5
  def initialize
5
6
  @allowed_paths = []
6
7
  @allowed_paths << Rails.public_path.to_s if Rails.public_path.to_s.present?
8
+
9
+ @path = "/rails_imager"
7
10
  end
8
11
  end
@@ -1,3 +1,3 @@
1
1
  module RailsImager
2
- VERSION = "0.0.27"
2
+ VERSION = "0.0.28"
3
3
  end
@@ -11488,3 +11488,323 @@ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11488
11488
   (0.1ms) rollback transaction
11489
11489
   (0.0ms) begin transaction
11490
11490
   (0.0ms) rollback transaction
11491
+  (0.1ms) begin transaction
11492
+  (0.0ms) rollback transaction
11493
+  (0.0ms) begin transaction
11494
+ Processing by RailsImager::ImagesController#show as HTML
11495
+ Parameters: {"image"=>{"width"=>"640", "height"=>"480"}, "id"=>"test_æ_%C3%B8_å.png"}
11496
+ Sent file /tmp/rails-imager-cache/38575c34bde0655cda92b47d2763aec5.png (0.1ms)
11497
+ Completed 200 OK in 143ms (ActiveRecord: 0.0ms)
11498
+  (0.1ms) rollback transaction
11499
+  (0.0ms) begin transaction
11500
+ Processing by RailsImager::ImagesController#show as HTML
11501
+ Parameters: {"image"=>{"smartsize"=>"200"}, "id"=>"test.png"}
11502
+ Sent file /tmp/rails-imager-cache/cdb14e91faa664e5555fd4bf048f485b.png (0.1ms)
11503
+ Completed 200 OK in 29ms (ActiveRecord: 0.0ms)
11504
+  (0.1ms) rollback transaction
11505
+  (0.0ms) begin transaction
11506
+ Processing by RailsImager::ImagesController#show as HTML
11507
+ Parameters: {"image"=>{"smartsize"=>"200"}, "id"=>"/../config.ru"}
11508
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
11509
+  (0.0ms) rollback transaction
11510
+  (0.0ms) begin transaction
11511
+ Processing by RailsImager::ImagesController#show as HTML
11512
+ Parameters: {"image"=>{"smartsize"=>"200", "rounded_corners"=>"8"}, "id"=>"test.png"}
11513
+ Sent file /tmp/rails-imager-cache/68a968398cfa1d0cd84dd5a794089554.png (0.1ms)
11514
+ Completed 200 OK in 38ms (ActiveRecord: 0.0ms)
11515
+  (0.1ms) rollback transaction
11516
+  (0.0ms) begin transaction
11517
+ Processing by RailsImager::ImagesController#show as HTML
11518
+ Parameters: {"image"=>{"smartsize"=>"400"}, "id"=>"test.png"}
11519
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.1ms)
11520
+ Completed 200 OK in 79ms (ActiveRecord: 0.0ms)
11521
+  (0.1ms) rollback transaction
11522
+  (0.0ms) begin transaction
11523
+ Processing by RailsImager::ImagesController#show as HTML
11524
+ Parameters: {"image"=>{"maxheight"=>"200"}, "id"=>"test.png"}
11525
+ Sent file /tmp/rails-imager-cache/d21ceb31c3fa4da3d50efe25436e51fe.png (0.1ms)
11526
+ Completed 200 OK in 28ms (ActiveRecord: 0.0ms)
11527
+  (0.1ms) rollback transaction
11528
+  (0.0ms) begin transaction
11529
+ Processing by RailsImager::ImagesController#show as HTML
11530
+ Parameters: {"image"=>{"invalid_param"=>"kasper"}, "id"=>"test.png"}
11531
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
11532
+  (0.0ms) rollback transaction
11533
+  (0.0ms) begin transaction
11534
+ Processing by RailsImager::ImagesController#show as HTML
11535
+ Parameters: {"image"=>{"smartsize"=>"640", "rounded_corners"=>"15", "border"=>"1", "border_color"=>"black"}, "id"=>"test.png"}
11536
+ Sent file /tmp/rails-imager-cache/cf61b86225ee9b620f73b5fe0e6af0b4.png (0.1ms)
11537
+ Completed 200 OK in 209ms (ActiveRecord: 0.0ms)
11538
+  (0.1ms) rollback transaction
11539
+  (0.0ms) begin transaction
11540
+ Processing by RailsImager::ImagesController#show as HTML
11541
+ Parameters: {"image"=>{"maxwidth"=>"200"}, "id"=>"test.png"}
11542
+ Sent file /tmp/rails-imager-cache/98c9a4c721daf05bde343cdf5f8e2a83.png (0.1ms)
11543
+ Completed 200 OK in 27ms (ActiveRecord: 0.0ms)
11544
+  (0.1ms) rollback transaction
11545
+  (0.0ms) begin transaction
11546
+ Processing by RailsImager::ImagesController#show as HTML
11547
+ Parameters: {"image"=>{"width"=>"640", "height"=>"480"}, "id"=>"test.png"}
11548
+ Sent file /tmp/rails-imager-cache/3b24cae006ac63b391b4e16561d0c176.png (0.1ms)
11549
+ Completed 200 OK in 138ms (ActiveRecord: 0.0ms)
11550
+  (0.1ms) rollback transaction
11551
+  (0.0ms) begin transaction
11552
+ Processing by RailsImager::ImagesController#show as HTML
11553
+ Parameters: {"image"=>{"smartsize"=>"400", "force"=>true}, "id"=>"test.png"}
11554
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.1ms)
11555
+ Completed 200 OK in 75ms (ActiveRecord: 0.0ms)
11556
+ Processing by RailsImager::ImagesController#show as HTML
11557
+ Parameters: {"image"=>{"smartsize"=>"400"}, "id"=>"test.png"}
11558
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.0ms)
11559
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11560
+  (0.1ms) rollback transaction
11561
+  (0.0ms) begin transaction
11562
+ Processing by RailsImager::ImagesController#show as HTML
11563
+ Parameters: {"image"=>{"smartsize"=>"350"}, "id"=>"test.png"}
11564
+ Sent file /tmp/rails-imager-cache/3a04c3c926cd0bed2df232261ed539d0.png (0.1ms)
11565
+ Completed 200 OK in 61ms (ActiveRecord: 0.0ms)
11566
+ Processing by RailsImager::ImagesController#show as HTML
11567
+ Parameters: {"image"=>{"smartsize"=>"350"}, "id"=>"test.png"}
11568
+ Rendered text template (0.0ms)
11569
+ Completed 304 Not Modified in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
11570
+  (0.1ms) rollback transaction
11571
+  (0.1ms) begin transaction
11572
+ Processing by RailsImager::ImagesController#show as HTML
11573
+ Parameters: {"image"=>{"smartsize"=>"350"}, "id"=>"test.png"}
11574
+ Sent file /tmp/rails-imager-cache/3a04c3c926cd0bed2df232261ed539d0.png (0.1ms)
11575
+ Completed 200 OK in 5ms (ActiveRecord: 0.0ms)
11576
+ Processing by RailsImager::ImagesController#show as HTML
11577
+ Parameters: {"image"=>{"smartsize"=>"350"}, "id"=>"test.png"}
11578
+ Rendered text template (0.0ms)
11579
+ Completed 304 Not Modified in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
11580
+  (0.1ms) rollback transaction
11581
+  (0.1ms) begin transaction
11582
+ Processing by RailsImager::ImagesController#show as HTML
11583
+ Parameters: {"image"=>{"smartsize"=>"200", "rounded_corners"=>"8"}, "id"=>"test.png"}
11584
+ Sent file /tmp/rails-imager-cache/68a968398cfa1d0cd84dd5a794089554.png (0.0ms)
11585
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11586
+  (0.1ms) rollback transaction
11587
+  (0.1ms) begin transaction
11588
+ Processing by RailsImager::ImagesController#show as HTML
11589
+ Parameters: {"image"=>{"smartsize"=>"400"}, "id"=>"test.png"}
11590
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.0ms)
11591
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11592
+  (0.0ms) rollback transaction
11593
+  (0.0ms) begin transaction
11594
+ Processing by RailsImager::ImagesController#show as HTML
11595
+ Parameters: {"image"=>{"smartsize"=>"200"}, "id"=>"test.png"}
11596
+ Sent file /tmp/rails-imager-cache/cdb14e91faa664e5555fd4bf048f485b.png (0.0ms)
11597
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11598
+  (0.0ms) rollback transaction
11599
+  (0.0ms) begin transaction
11600
+ Processing by RailsImager::ImagesController#show as HTML
11601
+ Parameters: {"image"=>{"width"=>"640", "height"=>"480"}, "id"=>"test.png"}
11602
+ Sent file /tmp/rails-imager-cache/3b24cae006ac63b391b4e16561d0c176.png (0.0ms)
11603
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11604
+  (0.1ms) rollback transaction
11605
+  (0.0ms) begin transaction
11606
+ Processing by RailsImager::ImagesController#show as HTML
11607
+ Parameters: {"image"=>{"invalid_param"=>"kasper"}, "id"=>"test.png"}
11608
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
11609
+  (0.1ms) rollback transaction
11610
+  (0.1ms) begin transaction
11611
+ Processing by RailsImager::ImagesController#show as HTML
11612
+ Parameters: {"image"=>{"maxheight"=>"200"}, "id"=>"test.png"}
11613
+ Sent file /tmp/rails-imager-cache/d21ceb31c3fa4da3d50efe25436e51fe.png (0.0ms)
11614
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
11615
+  (0.1ms) rollback transaction
11616
+  (0.0ms) begin transaction
11617
+ Processing by RailsImager::ImagesController#show as HTML
11618
+ Parameters: {"image"=>{"width"=>"640", "height"=>"480"}, "id"=>"test_æ_%C3%B8_å.png"}
11619
+ Sent file /tmp/rails-imager-cache/38575c34bde0655cda92b47d2763aec5.png (0.0ms)
11620
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11621
+  (0.0ms) rollback transaction
11622
+  (0.0ms) begin transaction
11623
+ Processing by RailsImager::ImagesController#show as HTML
11624
+ Parameters: {"image"=>{"smartsize"=>"640", "rounded_corners"=>"15", "border"=>"1", "border_color"=>"black"}, "id"=>"test.png"}
11625
+ Sent file /tmp/rails-imager-cache/cf61b86225ee9b620f73b5fe0e6af0b4.png (0.0ms)
11626
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11627
+  (0.1ms) rollback transaction
11628
+  (0.0ms) begin transaction
11629
+ Processing by RailsImager::ImagesController#show as HTML
11630
+ Parameters: {"image"=>{"smartsize"=>"400", "force"=>true}, "id"=>"test.png"}
11631
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.1ms)
11632
+ Completed 200 OK in 78ms (ActiveRecord: 0.0ms)
11633
+ Processing by RailsImager::ImagesController#show as HTML
11634
+ Parameters: {"image"=>{"smartsize"=>"400"}, "id"=>"test.png"}
11635
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.0ms)
11636
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11637
+  (0.1ms) rollback transaction
11638
+  (0.0ms) begin transaction
11639
+ Processing by RailsImager::ImagesController#show as HTML
11640
+ Parameters: {"image"=>{"maxwidth"=>"200"}, "id"=>"test.png"}
11641
+ Sent file /tmp/rails-imager-cache/98c9a4c721daf05bde343cdf5f8e2a83.png (0.0ms)
11642
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11643
+  (0.0ms) rollback transaction
11644
+  (0.0ms) begin transaction
11645
+ Processing by RailsImager::ImagesController#show as HTML
11646
+ Parameters: {"image"=>{"smartsize"=>"200"}, "id"=>"/../config.ru"}
11647
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
11648
+  (0.0ms) rollback transaction
11649
+  (0.0ms) begin transaction
11650
+  (0.1ms) rollback transaction
11651
+  (0.1ms) begin transaction
11652
+ Processing by RailsImager::ImagesController#show as HTML
11653
+ Parameters: {"image"=>{"smartsize"=>"200"}, "id"=>"test.png"}
11654
+ Sent file /tmp/rails-imager-cache/cdb14e91faa664e5555fd4bf048f485b.png (0.0ms)
11655
+ Completed 200 OK in 5ms (ActiveRecord: 0.0ms)
11656
+  (0.1ms) rollback transaction
11657
+  (0.0ms) begin transaction
11658
+ Processing by RailsImager::ImagesController#show as HTML
11659
+ Parameters: {"image"=>{"smartsize"=>"400"}, "id"=>"test.png"}
11660
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.0ms)
11661
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11662
+  (0.0ms) rollback transaction
11663
+  (0.0ms) begin transaction
11664
+ Processing by RailsImager::ImagesController#show as HTML
11665
+ Parameters: {"image"=>{"smartsize"=>"200"}, "id"=>"/../config.ru"}
11666
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
11667
+  (0.0ms) rollback transaction
11668
+  (0.0ms) begin transaction
11669
+ Processing by RailsImager::ImagesController#show as HTML
11670
+ Parameters: {"image"=>{"smartsize"=>"200", "rounded_corners"=>"8"}, "id"=>"test.png"}
11671
+ Sent file /tmp/rails-imager-cache/68a968398cfa1d0cd84dd5a794089554.png (0.0ms)
11672
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11673
+  (0.0ms) rollback transaction
11674
+  (0.0ms) begin transaction
11675
+ Processing by RailsImager::ImagesController#show as HTML
11676
+ Parameters: {"image"=>{"maxwidth"=>"200"}, "id"=>"test.png"}
11677
+ Sent file /tmp/rails-imager-cache/98c9a4c721daf05bde343cdf5f8e2a83.png (0.0ms)
11678
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11679
+  (0.0ms) rollback transaction
11680
+  (0.0ms) begin transaction
11681
+ Processing by RailsImager::ImagesController#show as HTML
11682
+ Parameters: {"image"=>{"smartsize"=>"640", "rounded_corners"=>"15", "border"=>"1", "border_color"=>"black"}, "id"=>"test.png"}
11683
+ Sent file /tmp/rails-imager-cache/cf61b86225ee9b620f73b5fe0e6af0b4.png (0.0ms)
11684
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11685
+  (0.1ms) rollback transaction
11686
+  (0.0ms) begin transaction
11687
+ Processing by RailsImager::ImagesController#show as HTML
11688
+ Parameters: {"image"=>{"smartsize"=>"400", "force"=>true}, "id"=>"test.png"}
11689
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.1ms)
11690
+ Completed 200 OK in 78ms (ActiveRecord: 0.0ms)
11691
+ Processing by RailsImager::ImagesController#show as HTML
11692
+ Parameters: {"image"=>{"smartsize"=>"400"}, "id"=>"test.png"}
11693
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.0ms)
11694
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11695
+  (0.1ms) rollback transaction
11696
+  (0.0ms) begin transaction
11697
+ Processing by RailsImager::ImagesController#show as HTML
11698
+ Parameters: {"image"=>{"width"=>"640", "height"=>"480"}, "id"=>"test_æ_%C3%B8_å.png"}
11699
+ Sent file /tmp/rails-imager-cache/38575c34bde0655cda92b47d2763aec5.png (0.0ms)
11700
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11701
+  (0.1ms) rollback transaction
11702
+  (0.0ms) begin transaction
11703
+ Processing by RailsImager::ImagesController#show as HTML
11704
+ Parameters: {"image"=>{"smartsize"=>"350"}, "id"=>"test.png"}
11705
+ Sent file /tmp/rails-imager-cache/3a04c3c926cd0bed2df232261ed539d0.png (0.0ms)
11706
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11707
+ Processing by RailsImager::ImagesController#show as HTML
11708
+ Parameters: {"image"=>{"smartsize"=>"350"}, "id"=>"test.png"}
11709
+ Rendered text template (0.0ms)
11710
+ Completed 304 Not Modified in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
11711
+  (0.0ms) rollback transaction
11712
+  (0.0ms) begin transaction
11713
+ Processing by RailsImager::ImagesController#show as HTML
11714
+ Parameters: {"image"=>{"maxheight"=>"200"}, "id"=>"test.png"}
11715
+ Sent file /tmp/rails-imager-cache/d21ceb31c3fa4da3d50efe25436e51fe.png (0.0ms)
11716
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11717
+  (0.0ms) rollback transaction
11718
+  (0.0ms) begin transaction
11719
+ Processing by RailsImager::ImagesController#show as HTML
11720
+ Parameters: {"image"=>{"invalid_param"=>"kasper"}, "id"=>"test.png"}
11721
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
11722
+  (0.0ms) rollback transaction
11723
+  (0.0ms) begin transaction
11724
+ Processing by RailsImager::ImagesController#show as HTML
11725
+ Parameters: {"image"=>{"width"=>"640", "height"=>"480"}, "id"=>"test.png"}
11726
+ Sent file /tmp/rails-imager-cache/3b24cae006ac63b391b4e16561d0c176.png (0.0ms)
11727
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11728
+  (0.1ms) rollback transaction
11729
+  (0.0ms) begin transaction
11730
+  (0.0ms) rollback transaction
11731
+  (0.1ms) begin transaction
11732
+  (0.0ms) rollback transaction
11733
+  (0.0ms) begin transaction
11734
+ Processing by RailsImager::ImagesController#show as HTML
11735
+ Parameters: {"image"=>{"smartsize"=>"400", "force"=>true}, "id"=>"test.png"}
11736
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.1ms)
11737
+ Completed 200 OK in 89ms (ActiveRecord: 0.0ms)
11738
+ Processing by RailsImager::ImagesController#show as HTML
11739
+ Parameters: {"image"=>{"smartsize"=>"400"}, "id"=>"test.png"}
11740
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.0ms)
11741
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11742
+  (0.1ms) rollback transaction
11743
+  (0.0ms) begin transaction
11744
+ Processing by RailsImager::ImagesController#show as HTML
11745
+ Parameters: {"image"=>{"maxwidth"=>"200"}, "id"=>"test.png"}
11746
+ Sent file /tmp/rails-imager-cache/98c9a4c721daf05bde343cdf5f8e2a83.png (0.0ms)
11747
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11748
+  (0.0ms) rollback transaction
11749
+  (0.0ms) begin transaction
11750
+ Processing by RailsImager::ImagesController#show as HTML
11751
+ Parameters: {"image"=>{"smartsize"=>"200", "rounded_corners"=>"8"}, "id"=>"test.png"}
11752
+ Sent file /tmp/rails-imager-cache/68a968398cfa1d0cd84dd5a794089554.png (0.0ms)
11753
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11754
+  (0.0ms) rollback transaction
11755
+  (0.0ms) begin transaction
11756
+ Processing by RailsImager::ImagesController#show as HTML
11757
+ Parameters: {"image"=>{"smartsize"=>"350"}, "id"=>"test.png"}
11758
+ Sent file /tmp/rails-imager-cache/3a04c3c926cd0bed2df232261ed539d0.png (0.0ms)
11759
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11760
+ Processing by RailsImager::ImagesController#show as HTML
11761
+ Parameters: {"image"=>{"smartsize"=>"350"}, "id"=>"test.png"}
11762
+ Rendered text template (0.0ms)
11763
+ Completed 304 Not Modified in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
11764
+  (0.0ms) rollback transaction
11765
+  (0.0ms) begin transaction
11766
+ Processing by RailsImager::ImagesController#show as HTML
11767
+ Parameters: {"image"=>{"width"=>"640", "height"=>"480"}, "id"=>"test.png"}
11768
+ Sent file /tmp/rails-imager-cache/3b24cae006ac63b391b4e16561d0c176.png (0.0ms)
11769
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11770
+  (0.1ms) rollback transaction
11771
+  (0.0ms) begin transaction
11772
+ Processing by RailsImager::ImagesController#show as HTML
11773
+ Parameters: {"image"=>{"maxheight"=>"200"}, "id"=>"test.png"}
11774
+ Sent file /tmp/rails-imager-cache/d21ceb31c3fa4da3d50efe25436e51fe.png (0.0ms)
11775
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11776
+  (0.0ms) rollback transaction
11777
+  (0.0ms) begin transaction
11778
+ Processing by RailsImager::ImagesController#show as HTML
11779
+ Parameters: {"image"=>{"width"=>"640", "height"=>"480"}, "id"=>"test_æ_%C3%B8_å.png"}
11780
+ Sent file /tmp/rails-imager-cache/38575c34bde0655cda92b47d2763aec5.png (0.0ms)
11781
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
11782
+  (0.1ms) rollback transaction
11783
+  (0.0ms) begin transaction
11784
+ Processing by RailsImager::ImagesController#show as HTML
11785
+ Parameters: {"image"=>{"smartsize"=>"640", "rounded_corners"=>"15", "border"=>"1", "border_color"=>"black"}, "id"=>"test.png"}
11786
+ Sent file /tmp/rails-imager-cache/cf61b86225ee9b620f73b5fe0e6af0b4.png (0.0ms)
11787
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11788
+  (0.1ms) rollback transaction
11789
+  (0.0ms) begin transaction
11790
+ Processing by RailsImager::ImagesController#show as HTML
11791
+ Parameters: {"image"=>{"smartsize"=>"200"}, "id"=>"/../config.ru"}
11792
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
11793
+  (0.0ms) rollback transaction
11794
+  (0.0ms) begin transaction
11795
+ Processing by RailsImager::ImagesController#show as HTML
11796
+ Parameters: {"image"=>{"smartsize"=>"400"}, "id"=>"test.png"}
11797
+ Sent file /tmp/rails-imager-cache/a1d5e5791060350da8196efcf19e6d3c.png (0.0ms)
11798
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11799
+  (0.0ms) rollback transaction
11800
+  (0.0ms) begin transaction
11801
+ Processing by RailsImager::ImagesController#show as HTML
11802
+ Parameters: {"image"=>{"invalid_param"=>"kasper"}, "id"=>"test.png"}
11803
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
11804
+  (0.0ms) rollback transaction
11805
+  (0.0ms) begin transaction
11806
+ Processing by RailsImager::ImagesController#show as HTML
11807
+ Parameters: {"image"=>{"smartsize"=>"200"}, "id"=>"test.png"}
11808
+ Sent file /tmp/rails-imager-cache/cdb14e91faa664e5555fd4bf048f485b.png (0.0ms)
11809
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
11810
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_imager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - kaspernj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-22 00:00:00.000000000 Z
11
+ date: 2015-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails