formalizer 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: 94b90630cb3140399143eeefbeeee946382188fe
4
- data.tar.gz: df814abe6674add20dcd7a0b714e7467d86b9338
3
+ metadata.gz: bcbc66cafaa19b0696fc7bba7c9ac94fad842e75
4
+ data.tar.gz: 5cae13f1e247bf3fbf1de9f824afa549b14279b7
5
5
  SHA512:
6
- metadata.gz: d7484667ad6f4d7a8da81e311397a336c6911e7e88c78884cecfba91daf5146d3e58205ac06c89b7573f6ed78f7f6d2f2f77f2e2dc4f32cdedcf9f9e8b126dbf
7
- data.tar.gz: 6ec3c25163f40a963dc05ca2225fb203d4e756ffec4cac155191d4f0e3c578403e1a43760e5bc627a96c2c38f988932663edef25df532282344783c5b72a5901
6
+ metadata.gz: e4816019a1019563645aae10a9ef1615e9b9f13e01878eb1e70e07f21bfa571448d704a8103b0ff648ad40105822924b8fe293d39171b7ab20af77d983bc1ee9
7
+ data.tar.gz: ba0ed1a90fbb022e62b882e348f76233e6f8fbc1460e6a07f613ec6657df511c0c6f8e3cdcc1230c6f5472fee49ff79cabc6d08e4cc8ae7d22514a3e13d3faa1
@@ -1,6 +1,9 @@
1
1
  = Formalizer
2
2
 
3
- {<img src="https://badge.fury.io/gh/talyaniv%2Fformalizer.svg" alt="GitHub version" />}[https://badge.fury.io/gh/talyaniv%2Fformalizer]
3
+ {<img src="https://badge.fury.io/rb/formalizer.svg" alt="Gem Version" />}[https://badge.fury.io/rb/formalizer]
4
+ {<img src="https://travis-ci.org/talyaniv/formalizer.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/talyaniv/formalizer.svg?branch=master]
5
+ {<img src="https://gemnasium.com/talyaniv/formalizer.svg" alt="Dependency Status" />}[https://gemnasium.com/talyaniv/formalizer]
6
+
4
7
 
5
8
  {<img src="https://raw.githubusercontent.com/talyaniv/formalizer/master/test/dummy/app/assets/images/formalizer.png" alt="Formalizer flow scheme" />}[https://raw.githubusercontent.com/talyaniv/formalizer/master/test/dummy/app/assets/images/formalizer.png]
6
9
 
@@ -25,11 +28,7 @@ or add to your Gemfile:
25
28
 
26
29
  == Demo
27
30
 
28
- Clone this repo, edit the root Gemfile and uncomment the last two lines:
29
- gem 'wicked_pdf'
30
- gem 'wkhtmltopdf-binary'
31
-
32
- Start the demo:
31
+ Clone this repo and start the demo:
33
32
  $ cd test/dummy
34
33
  $ bundle install
35
34
  $ rails server
@@ -1,3 +1,3 @@
1
1
  class Formalizer
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -1,6 +1,14 @@
1
1
  require File.expand_path('../boot', __FILE__)
2
2
 
3
- require 'rails/all'
3
+ require 'rails'
4
+ # require "active_model/railtie"
5
+ # require "active_job/railtie"
6
+ # require "active_record/railtie"
7
+ require "action_controller/railtie"
8
+ # require "action_mailer/railtie"
9
+ require "action_view/railtie"
10
+ require "sprockets/railtie"
11
+ require "rails/test_unit/railtie"
4
12
 
5
13
  Bundler.require(*Rails.groups)
6
14
  require "formalizer"
@@ -20,7 +28,7 @@ module Dummy
20
28
  # config.i18n.default_locale = :de
21
29
 
22
30
  # Do not swallow errors in after_commit/after_rollback callbacks.
23
- config.active_record.raise_in_transactional_callbacks = true
31
+ # config.active_record.raise_in_transactional_callbacks = true
24
32
  end
25
33
  end
26
34
 
@@ -14,13 +14,13 @@ Rails.application.configure do
14
14
  config.action_controller.perform_caching = false
15
15
 
16
16
  # Don't care if the mailer can't send.
17
- config.action_mailer.raise_delivery_errors = false
17
+ # config.action_mailer.raise_delivery_errors = false
18
18
 
19
19
  # Print deprecation notices to the Rails logger.
20
20
  config.active_support.deprecation = :log
21
21
 
22
22
  # Raise an error on page load if there are pending migrations.
23
- config.active_record.migration_error = :page_load
23
+ # config.active_record.migration_error = :page_load
24
24
 
25
25
  # Debug mode disables concatenation and preprocessing of assets.
26
26
  # This option may cause significant delays in view rendering with a large
@@ -29,7 +29,7 @@ Rails.application.configure do
29
29
  # Tell Action Mailer not to deliver emails to the real world.
30
30
  # The :test delivery method accumulates sent emails in the
31
31
  # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
32
+ # config.action_mailer.delivery_method = :test
33
33
 
34
34
  # Randomize the order test cases are executed.
35
35
  config.active_support.test_order = :random
@@ -7105,3 +7105,25 @@ Processing by DemoController#index as HTML
7105
7105
  Rendered text template (0.0ms)
7106
7106
  Sent data demo.pdf (1.7ms)
7107
7107
  Completed 200 OK in 3750ms (Views: 1.4ms | ActiveRecord: 0.0ms)
7108
+
7109
+
7110
+ Started GET "/" for ::1 at 2015-11-18 09:21:48 +0200
7111
+ Processing by HomeController#show as HTML
7112
+ Rendered home/show.html.erb within layouts/application (196.6ms)
7113
+ Rendered shared/_navbar.html.erb (0.5ms)
7114
+ Completed 200 OK in 270ms (Views: 269.8ms)
7115
+
7116
+
7117
+ Started GET "/demo" for ::1 at 2015-11-18 09:22:46 +0200
7118
+ Processing by DemoController#index as HTML
7119
+ Rendered demo/index.html.erb within layouts/application (0.6ms)
7120
+ Rendered shared/_navbar.html.erb (0.2ms)
7121
+ Completed 200 OK in 129ms (Views: 25.4ms)
7122
+
7123
+
7124
+ Started POST "/demo" for ::1 at 2015-11-18 09:23:35 +0200
7125
+ Processing by DemoController#index as HTML
7126
+ Parameters: {"day"=>"23", "month"=>"0", "year"=>"1999", "recipient"=>"Tal Yaniv", "recipient_address"=>"10 Nelkin St", "recipient_title"=>"someone", "discloser"=>"Discloser Name", "discloser_address"=>"1 Infinity Drive", "discloser_title"=>"Mr", "confidential_information_subject"=>"Nuclear Bomb", "non_disclosure_purpose"=>"It explodes", "recipient_signed_date"=>"21.1.1999", "discloser_signed_date"=>"22.1.1999", "export_PDF"=>"Export as PDF", "authenticity_token"=>"XL4wcQ900mi49KxX7x8KLDFkrnvHwHSeExMrWwiX24Vo9JAnMQ6qqhcmbb7Ea1H5TUsiZSSt8J1KobPVTrYU9A=="}
7127
+ Rendered text template (0.0ms)
7128
+ Sent data demo.pdf (3.1ms)
7129
+ Completed 200 OK in 3964ms (Views: 2.8ms)
@@ -4828,3 +4828,651 @@ UtilsTest: test_file_not_found
4828
4828
  UtilsTest: test_final_path
4829
4829
  --------------------------
4830
4830
   (0.0ms) rollback transaction
4831
+ --------------------------------------------
4832
+ FormalizerFormFieldTest: test_add_form_field
4833
+ --------------------------------------------
4834
+ ----------------------------------------
4835
+ FormalizerFormTest: test_add_form_errors
4836
+ ----------------------------------------
4837
+ -----------------------------------------
4838
+ FormalizerConfigTest: test_invalid_config
4839
+ -----------------------------------------
4840
+ ---------------------------------------
4841
+ FormalizerConfigTest: test_valid_config
4842
+ ---------------------------------------
4843
+ -----------------------------------------------------
4844
+ FormTest: test_fill_form_with_missing_required_fields
4845
+ -----------------------------------------------------
4846
+ ---------------------------------
4847
+ FormTest: test_new_form_from_path
4848
+ ---------------------------------
4849
+ -------------------------------------
4850
+ FormTest: test_from_from_invalid_path
4851
+ -------------------------------------
4852
+ --------------------------------------------------
4853
+ FormTest: test_form_from_valid_path_but_wrong_html
4854
+ --------------------------------------------------
4855
+ ----------------------------
4856
+ FormTest: test_export_to_pdf
4857
+ ----------------------------
4858
+ ------------------------
4859
+ FormTest: test_fill_form
4860
+ ------------------------
4861
+ --------------------------------------------
4862
+ FormTest: test_form_from_invalid_direct_html
4863
+ --------------------------------------------
4864
+ -------------------------------------------
4865
+ FormTest: test_fill_form_with_missing_param
4866
+ -------------------------------------------
4867
+ ----------------------------------
4868
+ FormTest: test_form_invalid_params
4869
+ ----------------------------------
4870
+ ---------------------------------------------
4871
+ FormFieldTest: test_form_field_invalid_params
4872
+ ---------------------------------------------
4873
+ ----------------------------------------
4874
+ FormFieldTest: test_set_form_field_value
4875
+ ----------------------------------------
4876
+ -------------------------------------------
4877
+ FormFieldTest: test_form_field_valid_params
4878
+ -------------------------------------------
4879
+ -------------------------------
4880
+ FormFieldTest: test_html_render
4881
+ -------------------------------
4882
+ -------------------------
4883
+ FormalizerTest: test_tags
4884
+ -------------------------
4885
+ ----------------------------------------
4886
+ FormalizerTest: test_fill_and_export_pdf
4887
+ ----------------------------------------
4888
+ -------------------------------------------
4889
+ FormalizerTest: test_formalizer_fill_fields
4890
+ -------------------------------------------
4891
+ -----------------------------------------
4892
+ FormalizerTest: test_fill_and_export_html
4893
+ -----------------------------------------
4894
+ --------------------------
4895
+ UtilsTest: test_file_found
4896
+ --------------------------
4897
+ ------------------------------
4898
+ UtilsTest: test_file_not_found
4899
+ ------------------------------
4900
+ --------------------------
4901
+ UtilsTest: test_final_path
4902
+ --------------------------
4903
+ ---------------------------------------------
4904
+ FormFieldTest: test_form_field_invalid_params
4905
+ ---------------------------------------------
4906
+ -------------------------------
4907
+ FormFieldTest: test_html_render
4908
+ -------------------------------
4909
+ -------------------------------------------
4910
+ FormFieldTest: test_form_field_valid_params
4911
+ -------------------------------------------
4912
+ ----------------------------------------
4913
+ FormFieldTest: test_set_form_field_value
4914
+ ----------------------------------------
4915
+ ----------------------------------------
4916
+ FormalizerFormTest: test_add_form_errors
4917
+ ----------------------------------------
4918
+ -----------------------------------------
4919
+ FormalizerConfigTest: test_invalid_config
4920
+ -----------------------------------------
4921
+ ---------------------------------------
4922
+ FormalizerConfigTest: test_valid_config
4923
+ ---------------------------------------
4924
+ --------------------------
4925
+ UtilsTest: test_file_found
4926
+ --------------------------
4927
+ --------------------------
4928
+ UtilsTest: test_final_path
4929
+ --------------------------
4930
+ ------------------------------
4931
+ UtilsTest: test_file_not_found
4932
+ ------------------------------
4933
+ ---------------------------------
4934
+ FormTest: test_new_form_from_path
4935
+ ---------------------------------
4936
+ ----------------------------------
4937
+ FormTest: test_form_invalid_params
4938
+ ----------------------------------
4939
+ --------------------------------------------------
4940
+ FormTest: test_form_from_valid_path_but_wrong_html
4941
+ --------------------------------------------------
4942
+ --------------------------------------------
4943
+ FormTest: test_form_from_invalid_direct_html
4944
+ --------------------------------------------
4945
+ ----------------------------
4946
+ FormTest: test_export_to_pdf
4947
+ ----------------------------
4948
+ -------------------------------------------
4949
+ FormTest: test_fill_form_with_missing_param
4950
+ -------------------------------------------
4951
+ -----------------------------------------------------
4952
+ FormTest: test_fill_form_with_missing_required_fields
4953
+ -----------------------------------------------------
4954
+ ------------------------
4955
+ FormTest: test_fill_form
4956
+ ------------------------
4957
+ -------------------------------------
4958
+ FormTest: test_from_from_invalid_path
4959
+ -------------------------------------
4960
+ -----------------------------------------
4961
+ FormalizerTest: test_fill_and_export_html
4962
+ -----------------------------------------
4963
+ -------------------------
4964
+ FormalizerTest: test_tags
4965
+ -------------------------
4966
+ -------------------------------------------
4967
+ FormalizerTest: test_formalizer_fill_fields
4968
+ -------------------------------------------
4969
+ ----------------------------------------
4970
+ FormalizerTest: test_fill_and_export_pdf
4971
+ ----------------------------------------
4972
+ --------------------------------------------
4973
+ FormalizerFormFieldTest: test_add_form_field
4974
+ --------------------------------------------
4975
+ --------------------------------------------
4976
+ FormalizerFormFieldTest: test_add_form_field
4977
+ --------------------------------------------
4978
+ ---------------------------------------
4979
+ FormalizerConfigTest: test_valid_config
4980
+ ---------------------------------------
4981
+ -----------------------------------------
4982
+ FormalizerConfigTest: test_invalid_config
4983
+ -----------------------------------------
4984
+ -------------------------------------------
4985
+ FormFieldTest: test_form_field_valid_params
4986
+ -------------------------------------------
4987
+ ----------------------------------------
4988
+ FormFieldTest: test_set_form_field_value
4989
+ ----------------------------------------
4990
+ -------------------------------
4991
+ FormFieldTest: test_html_render
4992
+ -------------------------------
4993
+ ---------------------------------------------
4994
+ FormFieldTest: test_form_field_invalid_params
4995
+ ---------------------------------------------
4996
+ -----------------------------------------
4997
+ FormalizerTest: test_fill_and_export_html
4998
+ -----------------------------------------
4999
+ -------------------------
5000
+ FormalizerTest: test_tags
5001
+ -------------------------
5002
+ ----------------------------------------
5003
+ FormalizerTest: test_fill_and_export_pdf
5004
+ ----------------------------------------
5005
+ -------------------------------------------
5006
+ FormalizerTest: test_formalizer_fill_fields
5007
+ -------------------------------------------
5008
+ -----------------------------------------------------
5009
+ FormTest: test_fill_form_with_missing_required_fields
5010
+ -----------------------------------------------------
5011
+ ------------------------
5012
+ FormTest: test_fill_form
5013
+ ------------------------
5014
+ --------------------------------------------
5015
+ FormTest: test_form_from_invalid_direct_html
5016
+ --------------------------------------------
5017
+ --------------------------------------------------
5018
+ FormTest: test_form_from_valid_path_but_wrong_html
5019
+ --------------------------------------------------
5020
+ ---------------------------------
5021
+ FormTest: test_new_form_from_path
5022
+ ---------------------------------
5023
+ -------------------------------------------
5024
+ FormTest: test_fill_form_with_missing_param
5025
+ -------------------------------------------
5026
+ -------------------------------------
5027
+ FormTest: test_from_from_invalid_path
5028
+ -------------------------------------
5029
+ ----------------------------
5030
+ FormTest: test_export_to_pdf
5031
+ ----------------------------
5032
+ ----------------------------------
5033
+ FormTest: test_form_invalid_params
5034
+ ----------------------------------
5035
+ ----------------------------------------
5036
+ FormalizerFormTest: test_add_form_errors
5037
+ ----------------------------------------
5038
+ --------------------------
5039
+ UtilsTest: test_final_path
5040
+ --------------------------
5041
+ ------------------------------
5042
+ UtilsTest: test_file_not_found
5043
+ ------------------------------
5044
+ --------------------------
5045
+ UtilsTest: test_file_found
5046
+ --------------------------
5047
+ -----------------------------------------
5048
+ FormalizerConfigTest: test_invalid_config
5049
+ -----------------------------------------
5050
+ ---------------------------------------
5051
+ FormalizerConfigTest: test_valid_config
5052
+ ---------------------------------------
5053
+ ---------------------------------------------
5054
+ FormFieldTest: test_form_field_invalid_params
5055
+ ---------------------------------------------
5056
+ -------------------------------
5057
+ FormFieldTest: test_html_render
5058
+ -------------------------------
5059
+ ----------------------------------------
5060
+ FormFieldTest: test_set_form_field_value
5061
+ ----------------------------------------
5062
+ -------------------------------------------
5063
+ FormFieldTest: test_form_field_valid_params
5064
+ -------------------------------------------
5065
+ -----------------------------------------------------
5066
+ FormTest: test_fill_form_with_missing_required_fields
5067
+ -----------------------------------------------------
5068
+ ---------------------------------
5069
+ FormTest: test_new_form_from_path
5070
+ ---------------------------------
5071
+ -------------------------------------------
5072
+ FormTest: test_fill_form_with_missing_param
5073
+ -------------------------------------------
5074
+ ------------------------
5075
+ FormTest: test_fill_form
5076
+ ------------------------
5077
+ -------------------------------------
5078
+ FormTest: test_from_from_invalid_path
5079
+ -------------------------------------
5080
+ ----------------------------
5081
+ FormTest: test_export_to_pdf
5082
+ ----------------------------
5083
+ --------------------------------------------
5084
+ FormTest: test_form_from_invalid_direct_html
5085
+ --------------------------------------------
5086
+ --------------------------------------------------
5087
+ FormTest: test_form_from_valid_path_but_wrong_html
5088
+ --------------------------------------------------
5089
+ ----------------------------------
5090
+ FormTest: test_form_invalid_params
5091
+ ----------------------------------
5092
+ ------------------------------
5093
+ UtilsTest: test_file_not_found
5094
+ ------------------------------
5095
+ --------------------------
5096
+ UtilsTest: test_file_found
5097
+ --------------------------
5098
+ --------------------------
5099
+ UtilsTest: test_final_path
5100
+ --------------------------
5101
+ --------------------------------------------
5102
+ FormalizerFormFieldTest: test_add_form_field
5103
+ --------------------------------------------
5104
+ ----------------------------------------
5105
+ FormalizerFormTest: test_add_form_errors
5106
+ ----------------------------------------
5107
+ ----------------------------------------
5108
+ FormalizerTest: test_fill_and_export_pdf
5109
+ ----------------------------------------
5110
+ -------------------------------------------
5111
+ FormalizerTest: test_formalizer_fill_fields
5112
+ -------------------------------------------
5113
+ -----------------------------------------
5114
+ FormalizerTest: test_fill_and_export_html
5115
+ -----------------------------------------
5116
+ -------------------------
5117
+ FormalizerTest: test_tags
5118
+ -------------------------
5119
+ --------------------------
5120
+ UtilsTest: test_final_path
5121
+ --------------------------
5122
+ --------------------------
5123
+ UtilsTest: test_file_found
5124
+ --------------------------
5125
+ ------------------------------
5126
+ UtilsTest: test_file_not_found
5127
+ ------------------------------
5128
+ ----------------------------------
5129
+ FormTest: test_form_invalid_params
5130
+ ----------------------------------
5131
+ ------------------------
5132
+ FormTest: test_fill_form
5133
+ ------------------------
5134
+ ----------------------------
5135
+ FormTest: test_export_to_pdf
5136
+ ----------------------------
5137
+ --------------------------------------------------
5138
+ FormTest: test_form_from_valid_path_but_wrong_html
5139
+ --------------------------------------------------
5140
+ -------------------------------------
5141
+ FormTest: test_from_from_invalid_path
5142
+ -------------------------------------
5143
+ -------------------------------------------
5144
+ FormTest: test_fill_form_with_missing_param
5145
+ -------------------------------------------
5146
+ ---------------------------------
5147
+ FormTest: test_new_form_from_path
5148
+ ---------------------------------
5149
+ --------------------------------------------
5150
+ FormTest: test_form_from_invalid_direct_html
5151
+ --------------------------------------------
5152
+ -----------------------------------------------------
5153
+ FormTest: test_fill_form_with_missing_required_fields
5154
+ -----------------------------------------------------
5155
+ ----------------------------------------
5156
+ FormalizerFormTest: test_add_form_errors
5157
+ ----------------------------------------
5158
+ --------------------------------------------
5159
+ FormalizerFormFieldTest: test_add_form_field
5160
+ --------------------------------------------
5161
+ -----------------------------------------
5162
+ FormalizerConfigTest: test_invalid_config
5163
+ -----------------------------------------
5164
+ ---------------------------------------
5165
+ FormalizerConfigTest: test_valid_config
5166
+ ---------------------------------------
5167
+ ----------------------------------------
5168
+ FormFieldTest: test_set_form_field_value
5169
+ ----------------------------------------
5170
+ ---------------------------------------------
5171
+ FormFieldTest: test_form_field_invalid_params
5172
+ ---------------------------------------------
5173
+ -------------------------------------------
5174
+ FormFieldTest: test_form_field_valid_params
5175
+ -------------------------------------------
5176
+ -------------------------------
5177
+ FormFieldTest: test_html_render
5178
+ -------------------------------
5179
+ -------------------------------------------
5180
+ FormalizerTest: test_formalizer_fill_fields
5181
+ -------------------------------------------
5182
+ ----------------------------------------
5183
+ FormalizerTest: test_fill_and_export_pdf
5184
+ ----------------------------------------
5185
+ -----------------------------------------
5186
+ FormalizerTest: test_fill_and_export_html
5187
+ -----------------------------------------
5188
+ -------------------------
5189
+ FormalizerTest: test_tags
5190
+ -------------------------
5191
+ -------------------------------------------
5192
+ FormFieldTest: test_form_field_valid_params
5193
+ -------------------------------------------
5194
+ ---------------------------------------------
5195
+ FormFieldTest: test_form_field_invalid_params
5196
+ ---------------------------------------------
5197
+ -------------------------------
5198
+ FormFieldTest: test_html_render
5199
+ -------------------------------
5200
+ ----------------------------------------
5201
+ FormFieldTest: test_set_form_field_value
5202
+ ----------------------------------------
5203
+ -----------------------------------------
5204
+ FormalizerTest: test_fill_and_export_html
5205
+ -----------------------------------------
5206
+ ----------------------------------------
5207
+ FormalizerTest: test_fill_and_export_pdf
5208
+ ----------------------------------------
5209
+ -------------------------------------------
5210
+ FormalizerTest: test_formalizer_fill_fields
5211
+ -------------------------------------------
5212
+ -------------------------
5213
+ FormalizerTest: test_tags
5214
+ -------------------------
5215
+ ------------------------
5216
+ FormTest: test_fill_form
5217
+ ------------------------
5218
+ -------------------------------------
5219
+ FormTest: test_from_from_invalid_path
5220
+ -------------------------------------
5221
+ --------------------------------------------------
5222
+ FormTest: test_form_from_valid_path_but_wrong_html
5223
+ --------------------------------------------------
5224
+ ----------------------------------
5225
+ FormTest: test_form_invalid_params
5226
+ ----------------------------------
5227
+ ---------------------------------
5228
+ FormTest: test_new_form_from_path
5229
+ ---------------------------------
5230
+ ----------------------------
5231
+ FormTest: test_export_to_pdf
5232
+ ----------------------------
5233
+ -----------------------------------------------------
5234
+ FormTest: test_fill_form_with_missing_required_fields
5235
+ -----------------------------------------------------
5236
+ -------------------------------------------
5237
+ FormTest: test_fill_form_with_missing_param
5238
+ -------------------------------------------
5239
+ --------------------------------------------
5240
+ FormTest: test_form_from_invalid_direct_html
5241
+ --------------------------------------------
5242
+ --------------------------------------------
5243
+ FormalizerFormFieldTest: test_add_form_field
5244
+ --------------------------------------------
5245
+ ------------------------------
5246
+ UtilsTest: test_file_not_found
5247
+ ------------------------------
5248
+ --------------------------
5249
+ UtilsTest: test_final_path
5250
+ --------------------------
5251
+ --------------------------
5252
+ UtilsTest: test_file_found
5253
+ --------------------------
5254
+ ----------------------------------------
5255
+ FormalizerFormTest: test_add_form_errors
5256
+ ----------------------------------------
5257
+ ---------------------------------------
5258
+ FormalizerConfigTest: test_valid_config
5259
+ ---------------------------------------
5260
+ -----------------------------------------
5261
+ FormalizerConfigTest: test_invalid_config
5262
+ -----------------------------------------
5263
+ --------------------------------------------
5264
+ FormalizerFormFieldTest: test_add_form_field
5265
+ --------------------------------------------
5266
+ --------------------------
5267
+ UtilsTest: test_file_found
5268
+ --------------------------
5269
+ ------------------------------
5270
+ UtilsTest: test_file_not_found
5271
+ ------------------------------
5272
+ --------------------------
5273
+ UtilsTest: test_final_path
5274
+ --------------------------
5275
+ ---------------------------------------------
5276
+ FormFieldTest: test_form_field_invalid_params
5277
+ ---------------------------------------------
5278
+ -------------------------------------------
5279
+ FormFieldTest: test_form_field_valid_params
5280
+ -------------------------------------------
5281
+ -------------------------------
5282
+ FormFieldTest: test_html_render
5283
+ -------------------------------
5284
+ ----------------------------------------
5285
+ FormFieldTest: test_set_form_field_value
5286
+ ----------------------------------------
5287
+ -------------------------------------------
5288
+ FormTest: test_fill_form_with_missing_param
5289
+ -------------------------------------------
5290
+ --------------------------------------------------
5291
+ FormTest: test_form_from_valid_path_but_wrong_html
5292
+ --------------------------------------------------
5293
+ -----------------------------------------------------
5294
+ FormTest: test_fill_form_with_missing_required_fields
5295
+ -----------------------------------------------------
5296
+ ----------------------------
5297
+ FormTest: test_export_to_pdf
5298
+ ----------------------------
5299
+ -------------------------------------
5300
+ FormTest: test_from_from_invalid_path
5301
+ -------------------------------------
5302
+ ------------------------
5303
+ FormTest: test_fill_form
5304
+ ------------------------
5305
+ ----------------------------------
5306
+ FormTest: test_form_invalid_params
5307
+ ----------------------------------
5308
+ ---------------------------------
5309
+ FormTest: test_new_form_from_path
5310
+ ---------------------------------
5311
+ --------------------------------------------
5312
+ FormTest: test_form_from_invalid_direct_html
5313
+ --------------------------------------------
5314
+ -----------------------------------------
5315
+ FormalizerTest: test_fill_and_export_html
5316
+ -----------------------------------------
5317
+ -------------------------------------------
5318
+ FormalizerTest: test_formalizer_fill_fields
5319
+ -------------------------------------------
5320
+ ----------------------------------------
5321
+ FormalizerTest: test_fill_and_export_pdf
5322
+ ----------------------------------------
5323
+ -------------------------
5324
+ FormalizerTest: test_tags
5325
+ -------------------------
5326
+ ---------------------------------------
5327
+ FormalizerConfigTest: test_valid_config
5328
+ ---------------------------------------
5329
+ -----------------------------------------
5330
+ FormalizerConfigTest: test_invalid_config
5331
+ -----------------------------------------
5332
+ ----------------------------------------
5333
+ FormalizerFormTest: test_add_form_errors
5334
+ ----------------------------------------
5335
+ ------------------------------
5336
+ UtilsTest: test_file_not_found
5337
+ ------------------------------
5338
+ --------------------------
5339
+ UtilsTest: test_final_path
5340
+ --------------------------
5341
+ --------------------------
5342
+ UtilsTest: test_file_found
5343
+ --------------------------
5344
+ -----------------------------------------
5345
+ FormalizerTest: test_fill_and_export_html
5346
+ -----------------------------------------
5347
+ -------------------------------------------
5348
+ FormalizerTest: test_formalizer_fill_fields
5349
+ -------------------------------------------
5350
+ -------------------------
5351
+ FormalizerTest: test_tags
5352
+ -------------------------
5353
+ ----------------------------------------
5354
+ FormalizerTest: test_fill_and_export_pdf
5355
+ ----------------------------------------
5356
+ -------------------------------------------
5357
+ FormTest: test_fill_form_with_missing_param
5358
+ -------------------------------------------
5359
+ --------------------------------------------------
5360
+ FormTest: test_form_from_valid_path_but_wrong_html
5361
+ --------------------------------------------------
5362
+ ------------------------
5363
+ FormTest: test_fill_form
5364
+ ------------------------
5365
+ ---------------------------------
5366
+ FormTest: test_new_form_from_path
5367
+ ---------------------------------
5368
+ ----------------------------------
5369
+ FormTest: test_form_invalid_params
5370
+ ----------------------------------
5371
+ -----------------------------------------------------
5372
+ FormTest: test_fill_form_with_missing_required_fields
5373
+ -----------------------------------------------------
5374
+ --------------------------------------------
5375
+ FormTest: test_form_from_invalid_direct_html
5376
+ --------------------------------------------
5377
+ -------------------------------------
5378
+ FormTest: test_from_from_invalid_path
5379
+ -------------------------------------
5380
+ ----------------------------
5381
+ FormTest: test_export_to_pdf
5382
+ ----------------------------
5383
+ ----------------------------------------
5384
+ FormFieldTest: test_set_form_field_value
5385
+ ----------------------------------------
5386
+ -------------------------------
5387
+ FormFieldTest: test_html_render
5388
+ -------------------------------
5389
+ -------------------------------------------
5390
+ FormFieldTest: test_form_field_valid_params
5391
+ -------------------------------------------
5392
+ ---------------------------------------------
5393
+ FormFieldTest: test_form_field_invalid_params
5394
+ ---------------------------------------------
5395
+ --------------------------------------------
5396
+ FormalizerFormFieldTest: test_add_form_field
5397
+ --------------------------------------------
5398
+ ----------------------------------------
5399
+ FormalizerFormTest: test_add_form_errors
5400
+ ----------------------------------------
5401
+ -----------------------------------------
5402
+ FormalizerConfigTest: test_invalid_config
5403
+ -----------------------------------------
5404
+ ---------------------------------------
5405
+ FormalizerConfigTest: test_valid_config
5406
+ ---------------------------------------
5407
+ -------------------------
5408
+ FormalizerTest: test_tags
5409
+ -------------------------
5410
+ -----------------------------------------
5411
+ FormalizerTest: test_fill_and_export_html
5412
+ -----------------------------------------
5413
+ ----------------------------------------
5414
+ FormalizerTest: test_fill_and_export_pdf
5415
+ ----------------------------------------
5416
+ -------------------------------------------
5417
+ FormalizerTest: test_formalizer_fill_fields
5418
+ -------------------------------------------
5419
+ ----------------------------------------
5420
+ FormalizerFormTest: test_add_form_errors
5421
+ ----------------------------------------
5422
+ ---------------------------------------------
5423
+ FormFieldTest: test_form_field_invalid_params
5424
+ ---------------------------------------------
5425
+ -------------------------------------------
5426
+ FormFieldTest: test_form_field_valid_params
5427
+ -------------------------------------------
5428
+ ----------------------------------------
5429
+ FormFieldTest: test_set_form_field_value
5430
+ ----------------------------------------
5431
+ -------------------------------
5432
+ FormFieldTest: test_html_render
5433
+ -------------------------------
5434
+ -----------------------------------------------------
5435
+ FormTest: test_fill_form_with_missing_required_fields
5436
+ -----------------------------------------------------
5437
+ --------------------------------------------
5438
+ FormTest: test_form_from_invalid_direct_html
5439
+ --------------------------------------------
5440
+ ----------------------------
5441
+ FormTest: test_export_to_pdf
5442
+ ----------------------------
5443
+ ----------------------------------
5444
+ FormTest: test_form_invalid_params
5445
+ ----------------------------------
5446
+ -------------------------------------
5447
+ FormTest: test_from_from_invalid_path
5448
+ -------------------------------------
5449
+ ------------------------
5450
+ FormTest: test_fill_form
5451
+ ------------------------
5452
+ ---------------------------------
5453
+ FormTest: test_new_form_from_path
5454
+ ---------------------------------
5455
+ -------------------------------------------
5456
+ FormTest: test_fill_form_with_missing_param
5457
+ -------------------------------------------
5458
+ --------------------------------------------------
5459
+ FormTest: test_form_from_valid_path_but_wrong_html
5460
+ --------------------------------------------------
5461
+ ------------------------------
5462
+ UtilsTest: test_file_not_found
5463
+ ------------------------------
5464
+ --------------------------
5465
+ UtilsTest: test_file_found
5466
+ --------------------------
5467
+ --------------------------
5468
+ UtilsTest: test_final_path
5469
+ --------------------------
5470
+ --------------------------------------------
5471
+ FormalizerFormFieldTest: test_add_form_field
5472
+ --------------------------------------------
5473
+ ---------------------------------------
5474
+ FormalizerConfigTest: test_valid_config
5475
+ ---------------------------------------
5476
+ -----------------------------------------
5477
+ FormalizerConfigTest: test_invalid_config
5478
+ -----------------------------------------
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formalizer
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
  - Tal Yaniv, nrc2015
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-17 00:00:00.000000000 Z
11
+ date: 2015-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: wkhtmltopdf-binary
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,8 +66,9 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: |2
70
- Easily generate beautiful filled PDF documents from HTML forms. Create your forms in HTML, including style and pictures, then use param/value pairs to fill the forms and finally export everything to a nicely format PDF file.
69
+ description: " Easily generate filled PDF documents from HTML templates.\n Formalizer
70
+ takes HTML templates with styles and images, \n replaces blank targets with dynamic
71
+ user data and finally exports the filled forms\n into PDF or HTML.\n"
71
72
  email:
72
73
  - talyaniv@gmail.com
73
74
  executables: []
@@ -116,7 +117,6 @@ files:
116
117
  - test/dummy/bin/rake
117
118
  - test/dummy/bin/setup
118
119
  - test/dummy/config.ru
119
- - test/dummy/config/_formalizer.yml
120
120
  - test/dummy/config/alternative_invalid_config1.yml
121
121
  - test/dummy/config/alternative_invalid_config2.yml
122
122
  - test/dummy/config/alternative_valid_config.yml
@@ -128,6 +128,7 @@ files:
128
128
  - test/dummy/config/environments/production.rb
129
129
  - test/dummy/config/environments/test.rb
130
130
  - test/dummy/config/form1.html
131
+ - test/dummy/config/formalizer.yml
131
132
  - test/dummy/config/initializers/assets.rb
132
133
  - test/dummy/config/initializers/backtrace_silencers.rb
133
134
  - test/dummy/config/initializers/cookies_serializer.rb
@@ -575,7 +576,6 @@ test_files:
575
576
  - test/dummy/bin/rails
576
577
  - test/dummy/bin/rake
577
578
  - test/dummy/bin/setup
578
- - test/dummy/config/_formalizer.yml
579
579
  - test/dummy/config/alternative_invalid_config1.yml
580
580
  - test/dummy/config/alternative_invalid_config2.yml
581
581
  - test/dummy/config/alternative_valid_config.yml
@@ -587,6 +587,7 @@ test_files:
587
587
  - test/dummy/config/environments/production.rb
588
588
  - test/dummy/config/environments/test.rb
589
589
  - test/dummy/config/form1.html
590
+ - test/dummy/config/formalizer.yml
590
591
  - test/dummy/config/initializers/assets.rb
591
592
  - test/dummy/config/initializers/backtrace_silencers.rb
592
593
  - test/dummy/config/initializers/cookies_serializer.rb