pdfcraft 1.0.0 → 1.0.1

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: 908efd36036ca8684484cd9e61f88161537c46df
4
- data.tar.gz: 77ddf2df5ff08dece86a44c792de187588074b01
3
+ metadata.gz: 5faffc95fd88fcb1f62b39fe05b4cd939212cc6e
4
+ data.tar.gz: ba604e65ab1bd4139820bb85a56d6521490f9baa
5
5
  SHA512:
6
- metadata.gz: c9e1802b85658629d3d77067db52051895226f9d8e4e3b3f3fd36bb377ae4262a07d0b0d141a3594a3860487502d2709890ff24d78afc3a3c1e6362f0630a8e0
7
- data.tar.gz: 10c82348af6a30005447cadc89a00d3ecf4f84b2c739981f07aece4bce09a7119c2f94af1d6f3f3b612a5637a4dab34dea4e9f61df2bde7ab0c70a7e14ae667c
6
+ metadata.gz: 35e8930a25f6b51246dc727a28d80a535f5885401891ac3adcee131201e70c42398c8990e6d8a25be41805e8c5763521f8438538fe707b434ea659adb2e78ad4
7
+ data.tar.gz: c3aca927ed814718404d6778afb4f5be97714fc259fbac456943ff61c3dceacd8883156f24bdb78ccedf971b6599d178b2d1c7a20c88e33d0e004fae8de2afdf
@@ -1,3 +1,6 @@
1
+ == 1.0.1
2
+ * Changed rails dependency to include Rail 4.*
3
+
1
4
  == 1.0.0
2
5
  * Replaced pdf ivar (@pdf) in views with configurable variable.
3
6
 
@@ -1,5 +1,4 @@
1
- = Pdfcraft {<img src="https://travis-ci.org/kofno/pdfcraft.png?branch=master" />}[https://travis-ci.org/kofno/pdfcraft]
2
-
1
+ = Pdfcraft {<img src="https://travis-ci.org/kofno/pdfcraft.png?branch=master" />}[https://travis-ci.org/kofno/pdfcraft] {<img src="https://badge.fury.io/rb/pdfcraft.png" alt="Gem Version" />}[http://badge.fury.io/rb/pdfcraft]
3
2
  A little Rails plugin for rendering PDFs from templates.
4
3
 
5
4
  == Install
@@ -34,7 +33,7 @@ named 'pdf'.
34
33
  pdf.text "This will be rendered in a PDF"
35
34
 
36
35
  Since Pdfcraft is built on Rails' templating and rendering, this means that
37
- partials, layouts, and helpers are all at yout disposal.
36
+ partials, layouts, and helpers are all at your disposal.
38
37
 
39
38
  pdf.text "This is a template"
40
39
 
@@ -65,7 +64,7 @@ want.
65
64
  Create an initializer and set the Pdfcraft#varibale_name value:
66
65
 
67
66
  # config/initializers/pdfcraft.rb
68
- Pdfcraft.varibale_name = 'gummi_bears'
67
+ Pdfcraft.variable_name = 'gummi_bears'
69
68
 
70
69
  Then you can refernce your pdf document from your views using this variable
71
70
  name instead:
@@ -1,3 +1,3 @@
1
1
  module Pdfcraft
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -6751,3 +6751,443 @@ Completed 200 OK in 4ms (Views: 3.9ms)
6751
6751
  ------------------------
6752
6752
  PdfcraftTest: test_truth
6753
6753
  ------------------------
6754
+ ----------------------------------------------------------------
6755
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
6756
+ ----------------------------------------------------------------
6757
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2014-02-28 16:15:58 -0500
6758
+ Processing by HomeController#renamed_var as PDF
6759
+ Rendered home/renamed_var.pdf.pdfcraft (52.4ms)
6760
+ Rendered text template (0.0ms)
6761
+ Sent data contents.pdf (1.5ms)
6762
+ Completed 200 OK in 80ms (Views: 79.7ms)
6763
+ ----------------------------------------------------------------------
6764
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
6765
+ ----------------------------------------------------------------------
6766
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-02-28 16:15:58 -0500
6767
+ Processing by HomeController#pdf_layout as PDF
6768
+ Sent data contents.pdf (0.3ms)
6769
+ Completed 200 OK in 7ms (Views: 7.1ms)
6770
+ ----------------------------------------------------
6771
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
6772
+ ----------------------------------------------------
6773
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-02-28 16:15:58 -0500
6774
+ Processing by HomeController#pdf_layout as PDF
6775
+ Sent data contents.pdf (0.2ms)
6776
+ Completed 200 OK in 5ms (Views: 4.6ms)
6777
+ ---------------------------------------------------------------
6778
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
6779
+ ---------------------------------------------------------------
6780
+ Started GET "/another.pdf" for 127.0.0.1 at 2014-02-28 16:15:58 -0500
6781
+ Processing by HomeController#another as PDF
6782
+ Sent data contents.pdf (0.3ms)
6783
+ Completed 200 OK in 6ms (Views: 5.4ms)
6784
+ -------------------------------------------------------
6785
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
6786
+ -------------------------------------------------------
6787
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2014-02-28 16:15:58 -0500
6788
+ Processing by HomeController#helpers as PDF
6789
+ Sent data contents.pdf (0.3ms)
6790
+ Completed 200 OK in 5ms (Views: 5.2ms)
6791
+ -----------------------------------------------------
6792
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
6793
+ -----------------------------------------------------
6794
+ Started GET "/partials.pdf" for 127.0.0.1 at 2014-02-28 16:15:58 -0500
6795
+ Processing by HomeController#partials as PDF
6796
+ Rendered home/_the_partial.pdf.pdfcraft (1.8ms)
6797
+ Sent data contents.pdf (0.3ms)
6798
+ Completed 200 OK in 11ms (Views: 10.4ms)
6799
+ --------------------------------------------------------
6800
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
6801
+ --------------------------------------------------------
6802
+ Started GET "/home.pdf" for 127.0.0.1 at 2014-02-28 16:15:58 -0500
6803
+ Processing by HomeController#index as PDF
6804
+ Sent data contents.pdf (0.3ms)
6805
+ Completed 200 OK in 5ms (Views: 4.6ms)
6806
+ ------------------------
6807
+ PdfcraftTest: test_truth
6808
+ ------------------------
6809
+ ----------------------------------------------------------------
6810
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
6811
+ ----------------------------------------------------------------
6812
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2014-02-28 21:24:06 -0500
6813
+ Processing by HomeController#renamed_var as PDF
6814
+ Rendered home/renamed_var.pdf.pdfcraft (36.8ms)
6815
+ Rendered text template (0.0ms)
6816
+ Sent data contents.pdf (1.6ms)
6817
+ Completed 200 OK in 46ms (Views: 45.5ms)
6818
+ ----------------------------------------------------------------------
6819
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
6820
+ ----------------------------------------------------------------------
6821
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-02-28 21:24:06 -0500
6822
+ Processing by HomeController#pdf_layout as PDF
6823
+ Sent data contents.pdf (0.2ms)
6824
+ Completed 200 OK in 7ms (Views: 6.9ms)
6825
+ ----------------------------------------------------
6826
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
6827
+ ----------------------------------------------------
6828
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-02-28 21:24:06 -0500
6829
+ Processing by HomeController#pdf_layout as PDF
6830
+ Sent data contents.pdf (0.2ms)
6831
+ Completed 200 OK in 4ms (Views: 4.4ms)
6832
+ ---------------------------------------------------------------
6833
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
6834
+ ---------------------------------------------------------------
6835
+ Started GET "/another.pdf" for 127.0.0.1 at 2014-02-28 21:24:06 -0500
6836
+ Processing by HomeController#another as PDF
6837
+ Sent data contents.pdf (0.2ms)
6838
+ Completed 200 OK in 6ms (Views: 5.9ms)
6839
+ -------------------------------------------------------
6840
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
6841
+ -------------------------------------------------------
6842
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2014-02-28 21:24:06 -0500
6843
+ Processing by HomeController#helpers as PDF
6844
+ Sent data contents.pdf (0.2ms)
6845
+ Completed 200 OK in 5ms (Views: 5.3ms)
6846
+ -----------------------------------------------------
6847
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
6848
+ -----------------------------------------------------
6849
+ Started GET "/partials.pdf" for 127.0.0.1 at 2014-02-28 21:24:06 -0500
6850
+ Processing by HomeController#partials as PDF
6851
+ Rendered home/_the_partial.pdf.pdfcraft (3.7ms)
6852
+ Sent data contents.pdf (0.2ms)
6853
+ Completed 200 OK in 15ms (Views: 14.7ms)
6854
+ --------------------------------------------------------
6855
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
6856
+ --------------------------------------------------------
6857
+ Started GET "/home.pdf" for 127.0.0.1 at 2014-02-28 21:24:06 -0500
6858
+ Processing by HomeController#index as PDF
6859
+ Sent data contents.pdf (0.2ms)
6860
+ Completed 200 OK in 6ms (Views: 5.5ms)
6861
+ ------------------------
6862
+ PdfcraftTest: test_truth
6863
+ ------------------------
6864
+ ----------------------------------------------------------------
6865
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
6866
+ ----------------------------------------------------------------
6867
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2014-02-28 21:24:15 -0500
6868
+ Processing by HomeController#renamed_var as PDF
6869
+ Rendered home/renamed_var.pdf.pdfcraft (34.7ms)
6870
+ Rendered text template (0.0ms)
6871
+ Sent data contents.pdf (0.9ms)
6872
+ Completed 200 OK in 40ms (Views: 39.8ms)
6873
+ ----------------------------------------------------------------------
6874
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
6875
+ ----------------------------------------------------------------------
6876
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-02-28 21:24:16 -0500
6877
+ Processing by HomeController#pdf_layout as PDF
6878
+ Sent data contents.pdf (0.2ms)
6879
+ Completed 200 OK in 6ms (Views: 6.0ms)
6880
+ ----------------------------------------------------
6881
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
6882
+ ----------------------------------------------------
6883
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-02-28 21:24:16 -0500
6884
+ Processing by HomeController#pdf_layout as PDF
6885
+ Sent data contents.pdf (0.2ms)
6886
+ Completed 200 OK in 4ms (Views: 4.1ms)
6887
+ ---------------------------------------------------------------
6888
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
6889
+ ---------------------------------------------------------------
6890
+ Started GET "/another.pdf" for 127.0.0.1 at 2014-02-28 21:24:16 -0500
6891
+ Processing by HomeController#another as PDF
6892
+ Sent data contents.pdf (0.2ms)
6893
+ Completed 200 OK in 5ms (Views: 5.1ms)
6894
+ -------------------------------------------------------
6895
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
6896
+ -------------------------------------------------------
6897
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2014-02-28 21:24:16 -0500
6898
+ Processing by HomeController#helpers as PDF
6899
+ Sent data contents.pdf (0.2ms)
6900
+ Completed 200 OK in 5ms (Views: 4.7ms)
6901
+ -----------------------------------------------------
6902
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
6903
+ -----------------------------------------------------
6904
+ Started GET "/partials.pdf" for 127.0.0.1 at 2014-02-28 21:24:16 -0500
6905
+ Processing by HomeController#partials as PDF
6906
+ Rendered home/_the_partial.pdf.pdfcraft (1.8ms)
6907
+ Sent data contents.pdf (0.2ms)
6908
+ Completed 200 OK in 11ms (Views: 10.9ms)
6909
+ --------------------------------------------------------
6910
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
6911
+ --------------------------------------------------------
6912
+ Started GET "/home.pdf" for 127.0.0.1 at 2014-02-28 21:24:16 -0500
6913
+ Processing by HomeController#index as PDF
6914
+ Sent data contents.pdf (0.2ms)
6915
+ Completed 200 OK in 5ms (Views: 4.7ms)
6916
+ ------------------------
6917
+ PdfcraftTest: test_truth
6918
+ ------------------------
6919
+ ----------------------------------------------------------------
6920
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
6921
+ ----------------------------------------------------------------
6922
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2014-02-28 21:27:03 -0500
6923
+ Processing by HomeController#renamed_var as PDF
6924
+ Rendered home/renamed_var.pdf.pdfcraft (31.8ms)
6925
+ Rendered text template (0.0ms)
6926
+ Sent data contents.pdf (1.1ms)
6927
+ Completed 200 OK in 37ms (Views: 37.0ms)
6928
+ ----------------------------------------------------------------------
6929
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
6930
+ ----------------------------------------------------------------------
6931
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-02-28 21:27:03 -0500
6932
+ Processing by HomeController#pdf_layout as PDF
6933
+ Sent data contents.pdf (0.2ms)
6934
+ Completed 200 OK in 6ms (Views: 6.0ms)
6935
+ ----------------------------------------------------
6936
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
6937
+ ----------------------------------------------------
6938
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-02-28 21:27:03 -0500
6939
+ Processing by HomeController#pdf_layout as PDF
6940
+ Sent data contents.pdf (0.2ms)
6941
+ Completed 200 OK in 5ms (Views: 4.5ms)
6942
+ ---------------------------------------------------------------
6943
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
6944
+ ---------------------------------------------------------------
6945
+ Started GET "/another.pdf" for 127.0.0.1 at 2014-02-28 21:27:03 -0500
6946
+ Processing by HomeController#another as PDF
6947
+ Sent data contents.pdf (0.2ms)
6948
+ Completed 200 OK in 5ms (Views: 4.9ms)
6949
+ -------------------------------------------------------
6950
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
6951
+ -------------------------------------------------------
6952
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2014-02-28 21:27:03 -0500
6953
+ Processing by HomeController#helpers as PDF
6954
+ Sent data contents.pdf (0.2ms)
6955
+ Completed 200 OK in 5ms (Views: 4.5ms)
6956
+ -----------------------------------------------------
6957
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
6958
+ -----------------------------------------------------
6959
+ Started GET "/partials.pdf" for 127.0.0.1 at 2014-02-28 21:27:03 -0500
6960
+ Processing by HomeController#partials as PDF
6961
+ Rendered home/_the_partial.pdf.pdfcraft (1.8ms)
6962
+ Sent data contents.pdf (0.3ms)
6963
+ Completed 200 OK in 11ms (Views: 11.0ms)
6964
+ --------------------------------------------------------
6965
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
6966
+ --------------------------------------------------------
6967
+ Started GET "/home.pdf" for 127.0.0.1 at 2014-02-28 21:27:03 -0500
6968
+ Processing by HomeController#index as PDF
6969
+ Sent data contents.pdf (0.2ms)
6970
+ Completed 200 OK in 4ms (Views: 4.3ms)
6971
+ ------------------------
6972
+ PdfcraftTest: test_truth
6973
+ ------------------------
6974
+ ----------------------------------------------------------------
6975
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
6976
+ ----------------------------------------------------------------
6977
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2014-03-01 09:04:30 -0500
6978
+ Processing by HomeController#renamed_var as PDF
6979
+ Rendered home/renamed_var.pdf.pdfcraft (35.7ms)
6980
+ Rendered text template (0.0ms)
6981
+ Sent data contents.pdf (1.3ms)
6982
+ Completed 200 OK in 43ms (Views: 43.0ms)
6983
+ ----------------------------------------------------------------------
6984
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
6985
+ ----------------------------------------------------------------------
6986
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-03-01 09:04:30 -0500
6987
+ Processing by HomeController#pdf_layout as PDF
6988
+ Sent data contents.pdf (0.2ms)
6989
+ Completed 200 OK in 7ms (Views: 6.6ms)
6990
+ ----------------------------------------------------
6991
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
6992
+ ----------------------------------------------------
6993
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-03-01 09:04:30 -0500
6994
+ Processing by HomeController#pdf_layout as PDF
6995
+ Sent data contents.pdf (0.1ms)
6996
+ Completed 200 OK in 4ms (Views: 3.9ms)
6997
+ ---------------------------------------------------------------
6998
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
6999
+ ---------------------------------------------------------------
7000
+ Started GET "/another.pdf" for 127.0.0.1 at 2014-03-01 09:04:30 -0500
7001
+ Processing by HomeController#another as PDF
7002
+ Sent data contents.pdf (0.2ms)
7003
+ Completed 200 OK in 5ms (Views: 4.7ms)
7004
+ -------------------------------------------------------
7005
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
7006
+ -------------------------------------------------------
7007
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2014-03-01 09:04:30 -0500
7008
+ Processing by HomeController#helpers as PDF
7009
+ Sent data contents.pdf (0.2ms)
7010
+ Completed 200 OK in 12ms (Views: 12.1ms)
7011
+ -----------------------------------------------------
7012
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
7013
+ -----------------------------------------------------
7014
+ Started GET "/partials.pdf" for 127.0.0.1 at 2014-03-01 09:04:30 -0500
7015
+ Processing by HomeController#partials as PDF
7016
+ Rendered home/_the_partial.pdf.pdfcraft (2.0ms)
7017
+ Sent data contents.pdf (0.2ms)
7018
+ Completed 200 OK in 11ms (Views: 10.7ms)
7019
+ --------------------------------------------------------
7020
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
7021
+ --------------------------------------------------------
7022
+ Started GET "/home.pdf" for 127.0.0.1 at 2014-03-01 09:04:30 -0500
7023
+ Processing by HomeController#index as PDF
7024
+ Sent data contents.pdf (0.2ms)
7025
+ Completed 200 OK in 4ms (Views: 3.8ms)
7026
+ ------------------------
7027
+ PdfcraftTest: test_truth
7028
+ ------------------------
7029
+ ----------------------------------------------------------------
7030
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
7031
+ ----------------------------------------------------------------
7032
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2014-04-22 21:23:06 -0400
7033
+ Processing by HomeController#renamed_var as PDF
7034
+ Rendered home/renamed_var.pdf.pdfcraft (46.4ms)
7035
+ Rendered text template (0.0ms)
7036
+ Sent data contents.pdf (1.7ms)
7037
+ Completed 200 OK in 56ms (Views: 55.3ms)
7038
+ ----------------------------------------------------------------------
7039
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
7040
+ ----------------------------------------------------------------------
7041
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-04-22 21:23:06 -0400
7042
+ Processing by HomeController#pdf_layout as PDF
7043
+ Sent data contents.pdf (0.3ms)
7044
+ Completed 200 OK in 7ms (Views: 6.9ms)
7045
+ ----------------------------------------------------
7046
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
7047
+ ----------------------------------------------------
7048
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-04-22 21:23:06 -0400
7049
+ Processing by HomeController#pdf_layout as PDF
7050
+ Sent data contents.pdf (0.2ms)
7051
+ Completed 200 OK in 5ms (Views: 4.5ms)
7052
+ ---------------------------------------------------------------
7053
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
7054
+ ---------------------------------------------------------------
7055
+ Started GET "/another.pdf" for 127.0.0.1 at 2014-04-22 21:23:06 -0400
7056
+ Processing by HomeController#another as PDF
7057
+ Sent data contents.pdf (0.2ms)
7058
+ Completed 200 OK in 6ms (Views: 5.6ms)
7059
+ -------------------------------------------------------
7060
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
7061
+ -------------------------------------------------------
7062
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2014-04-22 21:23:06 -0400
7063
+ Processing by HomeController#helpers as PDF
7064
+ Sent data contents.pdf (0.4ms)
7065
+ Completed 200 OK in 13ms (Views: 12.6ms)
7066
+ -----------------------------------------------------
7067
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
7068
+ -----------------------------------------------------
7069
+ Started GET "/partials.pdf" for 127.0.0.1 at 2014-04-22 21:23:06 -0400
7070
+ Processing by HomeController#partials as PDF
7071
+ Rendered home/_the_partial.pdf.pdfcraft (1.9ms)
7072
+ Sent data contents.pdf (0.3ms)
7073
+ Completed 200 OK in 11ms (Views: 10.9ms)
7074
+ --------------------------------------------------------
7075
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
7076
+ --------------------------------------------------------
7077
+ Started GET "/home.pdf" for 127.0.0.1 at 2014-04-22 21:23:06 -0400
7078
+ Processing by HomeController#index as PDF
7079
+ Sent data contents.pdf (0.2ms)
7080
+ Completed 200 OK in 4ms (Views: 4.4ms)
7081
+ ------------------------
7082
+ PdfcraftTest: test_truth
7083
+ ------------------------
7084
+ ----------------------------------------------------------------
7085
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
7086
+ ----------------------------------------------------------------
7087
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2014-04-22 21:44:43 -0400
7088
+ Processing by HomeController#renamed_var as PDF
7089
+ Rendered home/renamed_var.pdf.pdfcraft (67.5ms)
7090
+ Rendered text template (0.0ms)
7091
+ Sent data contents.pdf (1.0ms)
7092
+ Completed 200 OK in 77ms (Views: 77.0ms)
7093
+ ----------------------------------------------------------------------
7094
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
7095
+ ----------------------------------------------------------------------
7096
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-04-22 21:44:43 -0400
7097
+ Processing by HomeController#pdf_layout as PDF
7098
+ Sent data contents.pdf (0.4ms)
7099
+ Completed 200 OK in 16ms (Views: 15.4ms)
7100
+ ----------------------------------------------------
7101
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
7102
+ ----------------------------------------------------
7103
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-04-22 21:44:43 -0400
7104
+ Processing by HomeController#pdf_layout as PDF
7105
+ Sent data contents.pdf (0.3ms)
7106
+ Completed 200 OK in 8ms (Views: 7.8ms)
7107
+ ---------------------------------------------------------------
7108
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
7109
+ ---------------------------------------------------------------
7110
+ Started GET "/another.pdf" for 127.0.0.1 at 2014-04-22 21:44:43 -0400
7111
+ Processing by HomeController#another as PDF
7112
+ Sent data contents.pdf (0.3ms)
7113
+ Completed 200 OK in 8ms (Views: 7.7ms)
7114
+ -------------------------------------------------------
7115
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
7116
+ -------------------------------------------------------
7117
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2014-04-22 21:44:43 -0400
7118
+ Processing by HomeController#helpers as PDF
7119
+ Sent data contents.pdf (0.3ms)
7120
+ Completed 200 OK in 10ms (Views: 10.3ms)
7121
+ -----------------------------------------------------
7122
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
7123
+ -----------------------------------------------------
7124
+ Started GET "/partials.pdf" for 127.0.0.1 at 2014-04-22 21:44:43 -0400
7125
+ Processing by HomeController#partials as PDF
7126
+ Rendered home/_the_partial.pdf.pdfcraft (5.7ms)
7127
+ Sent data contents.pdf (0.9ms)
7128
+ Completed 200 OK in 28ms (Views: 28.0ms)
7129
+ --------------------------------------------------------
7130
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
7131
+ --------------------------------------------------------
7132
+ Started GET "/home.pdf" for 127.0.0.1 at 2014-04-22 21:44:43 -0400
7133
+ Processing by HomeController#index as PDF
7134
+ Sent data contents.pdf (0.3ms)
7135
+ Completed 200 OK in 6ms (Views: 6.1ms)
7136
+ ------------------------
7137
+ PdfcraftTest: test_truth
7138
+ ------------------------
7139
+ ----------------------------------------------------------------
7140
+ ConfigurationTest: test_rendering_with_a_configured_pdf_variable
7141
+ ----------------------------------------------------------------
7142
+ Started GET "/renamed_var.pdf" for 127.0.0.1 at 2014-04-22 21:48:01 -0400
7143
+ Processing by HomeController#renamed_var as PDF
7144
+ Rendered home/renamed_var.pdf.pdfcraft (35.9ms)
7145
+ Rendered text template (0.0ms)
7146
+ Sent data contents.pdf (1.3ms)
7147
+ Completed 200 OK in 69ms (Views: 69.0ms)
7148
+ ----------------------------------------------------------------------
7149
+ PdfRenderingTest: test_pdf_can_use_rails_layouts_for_header_and_footer
7150
+ ----------------------------------------------------------------------
7151
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-04-22 21:48:01 -0400
7152
+ Processing by HomeController#pdf_layout as PDF
7153
+ Sent data contents.pdf (0.4ms)
7154
+ Completed 200 OK in 15ms (Views: 14.7ms)
7155
+ ----------------------------------------------------
7156
+ PdfRenderingTest: test_pdf_layout_can_be_set_in_view
7157
+ ----------------------------------------------------
7158
+ Started GET "/pdf_layout.pdf" for 127.0.0.1 at 2014-04-22 21:48:01 -0400
7159
+ Processing by HomeController#pdf_layout as PDF
7160
+ Sent data contents.pdf (0.2ms)
7161
+ Completed 200 OK in 17ms (Views: 16.9ms)
7162
+ ---------------------------------------------------------------
7163
+ PdfRenderingTest: test_pdf_renderer_uses_the_specified_template
7164
+ ---------------------------------------------------------------
7165
+ Started GET "/another.pdf" for 127.0.0.1 at 2014-04-22 21:48:01 -0400
7166
+ Processing by HomeController#another as PDF
7167
+ Sent data contents.pdf (0.2ms)
7168
+ Completed 200 OK in 14ms (Views: 13.8ms)
7169
+ -------------------------------------------------------
7170
+ PdfRenderingTest: test_pdf_rendering_can_access_helpers
7171
+ -------------------------------------------------------
7172
+ Started GET "/helpers.pdf" for 127.0.0.1 at 2014-04-22 21:48:01 -0400
7173
+ Processing by HomeController#helpers as PDF
7174
+ Sent data contents.pdf (0.3ms)
7175
+ Completed 200 OK in 16ms (Views: 16.1ms)
7176
+ -----------------------------------------------------
7177
+ PdfRenderingTest: test_pdf_rendering_can_use_partials
7178
+ -----------------------------------------------------
7179
+ Started GET "/partials.pdf" for 127.0.0.1 at 2014-04-22 21:48:01 -0400
7180
+ Processing by HomeController#partials as PDF
7181
+ Rendered home/_the_partial.pdf.pdfcraft (2.0ms)
7182
+ Sent data contents.pdf (0.2ms)
7183
+ Completed 200 OK in 17ms (Views: 17.0ms)
7184
+ --------------------------------------------------------
7185
+ PdfRenderingTest: test_pdf_request_sends_a_pdf_as_a_file
7186
+ --------------------------------------------------------
7187
+ Started GET "/home.pdf" for 127.0.0.1 at 2014-04-22 21:48:01 -0400
7188
+ Processing by HomeController#index as PDF
7189
+ Sent data contents.pdf (0.3ms)
7190
+ Completed 200 OK in 16ms (Views: 15.4ms)
7191
+ ------------------------
7192
+ PdfcraftTest: test_truth
7193
+ ------------------------
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdfcraft
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan L. Bell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-01 00:00:00.000000000 Z
11
+ date: 2014-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,26 +16,26 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.0
19
+ version: '4.0'
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: 4.0.0
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: prawn
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.13'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - '='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.13'
41
41
  - !ruby/object:Gem::Dependency
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.2.0
150
+ rubygems_version: 2.2.2
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: Templated PDF generation for Rails