letsencrypt_plugin 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a251fd7d42edb3a4d2801e6abe7771442f381962
4
- data.tar.gz: 6f0977d71dd42b808ddc1383d52c6b27f97d80de
3
+ metadata.gz: 8dfdc32f4ac554d04c98648ddbe50f6f3f04f459
4
+ data.tar.gz: 2e5be29687e51ffdc5d439bbc148d1b02afcb1e7
5
5
  SHA512:
6
- metadata.gz: 49e265faad5634b40ade7dffc40c9e10eea7790b62f5343a70a26048219ed831f852ebd43743193581bacbd03d3502da0bfbc3c23dc02d3b06f26db8b6700edf
7
- data.tar.gz: 72bbf82f77f808996cf1dbf65b5a115fdbbdbfcb80c5af7e4fa44666a41c2cdc071ab87fa1c09c6f5db07db8bdc44542727127ecf3ac7035170bd06b7ac0b0e0
6
+ metadata.gz: d220d498fcfd806f7dc98d50e793d05a508d4fa7302002c617bb36dededcbb9fb737822cc15deb28beb83b9998e331037cb3d2b3b978fc666af1cf43a0a06654
7
+ data.tar.gz: 3b49eb1752ce1c6d7c65cf2c47221cad3c4d43d81e59075c309ce303676d916e229fca48ef43756c1375d06b004e2396f8388e79ff119b3b1c3df63c12bb118b
@@ -1,26 +1,28 @@
1
1
  module LetsencryptPlugin
2
2
  class ApplicationController < ActionController::Base
3
+ before_action :get_challenge_response, only: [:index]
3
4
  before_action :validate_length, only: [:index]
4
5
 
5
6
  def index
6
7
  # There is only one item in DB with challenge response from our task
7
8
  # we will use it to render plain text response
8
- response = Challenge.first
9
- if !response.nil?
10
- render plain: response.response
11
- else
12
- challenge_failed
13
- end
9
+ render plain: @response.response, status: :ok
14
10
  end
15
11
 
16
12
  private
17
13
  def validate_length
18
14
  # Challenge request should have at least 128bit
19
- challenge_failed if params[:challenge].nil? || params[:challenge].length < 16 || params[:challenge].length > 256
15
+ challenge_failed('Challenge failed - Request has invalid length!') if params[:challenge].nil? || params[:challenge].length < 16 || params[:challenge].length > 256
16
+ end
17
+
18
+ def get_challenge_response
19
+ @response = Challenge.first
20
+ challenge_failed('Challenge failed - Can not get response from database!') if @response.nil?
20
21
  end
21
-
22
- def challenge_failed
23
- raise ActionController::RoutingError.new('Challenge failed - invalid request.')
22
+
23
+ def challenge_failed(msg)
24
+ Rails.logger.error(msg)
25
+ render plain: msg, status: :bad_request
24
26
  end
25
27
  end
26
28
  end
@@ -1,3 +1,3 @@
1
1
  module LetsencryptPlugin
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -32,11 +32,9 @@ task :letsencrypt_plugin => :setup_logger do
32
32
  wait_for_status(challenge)
33
33
 
34
34
  if challenge.verify_status == 'valid'
35
- certificate_private_key = OpenSSL::PKey::RSA.new(2048)
36
- csr = create_csr(certificate_private_key)
37
35
  # We can now request a certificate
38
- certificate = client.new_certificate(csr)
39
- save_certificate(certificate, certificate_private_key)
36
+ certificate = client.new_certificate(create_csr)
37
+ save_certificate(certificate)
40
38
 
41
39
  Rails.logger.info("Certificate has been generated.")
42
40
  else
@@ -70,17 +68,17 @@ task :letsencrypt_plugin => :setup_logger do
70
68
  end
71
69
  end
72
70
 
73
- def create_csr(certificate_private_key)
71
+ def create_csr
74
72
  Rails.logger.info("Creating CSR...")
75
73
  Acme::CertificateRequest.new(names: [ CONFIG[:domain] ])
76
74
  end
77
75
 
78
76
  # Save the certificate and key
79
- def save_certificate(certificate, certificate_private_key)
77
+ def save_certificate(certificate)
80
78
  if !certificate.nil?
81
79
  Rails.logger.info("Saving certificates and key...")
82
80
  File.write(File.join(CONFIG[:output_cert_dir], "#{CONFIG[:domain]}-cert.pem"), certificate.to_pem)
83
- File.write(File.join(CONFIG[:output_cert_dir], "#{CONFIG[:domain]}-key.pem"), certificate_private_key.to_pem)
81
+ File.write(File.join(CONFIG[:output_cert_dir], "#{CONFIG[:domain]}-key.pem"), certificate.request.private_key.to_pem)
84
82
  File.write(File.join(CONFIG[:output_cert_dir], "#{CONFIG[:domain]}-chain.pem"), certificate.chain_to_pem)
85
83
  File.write(File.join(CONFIG[:output_cert_dir], "#{CONFIG[:domain]}-fullchain.pem"), certificate.fullchain_to_pem)
86
84
  end
@@ -0,0 +1,21 @@
1
+ require 'test_helper'
2
+
3
+ module LetsencryptPlugin
4
+ class ApplicationControllerTest < ActionController::TestCase
5
+ setup do
6
+ @routes = LetsencryptPlugin::Engine.routes
7
+ end
8
+
9
+ test "if challenge request is invalid when is smaller than 128 bits" do
10
+ get :index, challenge: 'dG9rZW4='
11
+ assert_response :bad_request
12
+ assert_match('Challenge failed - Request has invalid length!', response.body)
13
+ end
14
+
15
+ test "if challenge request is invalid if it is larger than 256 bytes" do
16
+ get :index, challenge: "a" * 257
17
+ assert_response :bad_request
18
+ assert_match('Challenge failed - Request has invalid length!', response.body)
19
+ end
20
+ end
21
+ end
Binary file
File without changes
@@ -514,5 +514,457 @@ LetsencryptPluginTest: test_truth
514
514
   (0.2ms) begin transaction
515
515
  ---------------------------------
516
516
  LetsencryptPluginTest: test_truth
517
+ ---------------------------------
518
+  (0.1ms) rollback transaction
519
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
520
+  (0.1ms) begin transaction
521
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
522
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:43:29', '2015-12-19 15:43:29', 980190962)
523
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:43:29', '2015-12-19 15:43:29', 298486374)
524
+  (73.5ms) commit transaction
525
+  (0.1ms) begin transaction
526
+ ---------------------------------
527
+ LetsencryptPluginTest: test_truth
528
+ ---------------------------------
529
+  (0.1ms) rollback transaction
530
+  (0.1ms) begin transaction
531
+ ----------------------------------------------------------------------------------------------------------
532
+ LetsencryptPlugin::ApplicationControllerTest: test_matching_challenge_token_returns_the_challenge_response
533
+ ----------------------------------------------------------------------------------------------------------
534
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
535
+ Parameters: {"challenge"=>"58u1GLEGwgSbK-3LnTYUDwZySN3FmTxE4CuqAf8IpAU"}
536
+ LetsencryptPlugin::Challenge Load (0.3ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
537
+ Rendered text template (0.1ms)
538
+ Completed 200 OK in 45ms (Views: 35.9ms | ActiveRecord: 0.3ms)
539
+  (0.2ms) rollback transaction
540
+  (0.1ms) begin transaction
541
+ -------------------------------------------------------------------------------------
542
+ LetsencryptPlugin::ApplicationControllerTest: test_token_must_be_longer_than_128_bits
543
+ -------------------------------------------------------------------------------------
544
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
545
+ Parameters: {"challenge"=>"58u1GLEG"}
546
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
547
+  (0.1ms) rollback transaction
548
+  (0.1ms) begin transaction
549
+ -------------------------------------------------------------------
550
+ LetsencryptPlugin::ApplicationControllerTest: test_token_must_match
551
+ -------------------------------------------------------------------
552
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
553
+ Parameters: {"challenge"=>"58u1GLEGwgSbK-3LnTYUDwZySN3FmTxE4CuqAf8IpAU_wrong_token"}
554
+ LetsencryptPlugin::Challenge Load (0.3ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
555
+ Rendered text template (0.0ms)
556
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
557
+  (0.2ms) rollback transaction
558
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
559
+  (0.1ms) begin transaction
560
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
561
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:49:40', '2015-12-19 15:49:40', 980190962)
562
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:49:40', '2015-12-19 15:49:40', 298486374)
563
+  (82.6ms) commit transaction
564
+  (0.2ms) begin transaction
565
+ ---------------------------------
566
+ LetsencryptPluginTest: test_truth
567
+ ---------------------------------
568
+  (0.1ms) rollback transaction
569
+  (0.1ms) begin transaction
570
+ -------------------------------------------------------------------------------------------
571
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
572
+ -------------------------------------------------------------------------------------------
573
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
574
+ Parameters: {"challenge"=>"Y2hhbGxlbmdlIHRva2Vu"}
575
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
576
+ Rendered text template (0.0ms)
577
+ Completed 200 OK in 11ms (Views: 5.6ms | ActiveRecord: 0.2ms)
578
+  (0.1ms) rollback transaction
579
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
580
+  (0.1ms) begin transaction
581
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
582
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:56:41', '2015-12-19 15:56:41', 980190962)
583
+ Fixture Insert (0.0ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:56:41', '2015-12-19 15:56:41', 298486374)
584
+  (85.9ms) commit transaction
585
+  (0.1ms) begin transaction
586
+ -------------------------------------------------------------------------------------------
587
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
588
+ -------------------------------------------------------------------------------------------
589
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
590
+ Parameters: {"challenge"=>"Y2hhbGxlbmdlIHRva2Vu"}
591
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
592
+ Rendered text template (0.0ms)
593
+ Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.2ms)
594
+  (0.1ms) rollback transaction
595
+  (0.0ms) begin transaction
596
+ ---------------------------------
597
+ LetsencryptPluginTest: test_truth
598
+ ---------------------------------
599
+  (0.0ms) rollback transaction
600
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
601
+  (0.1ms) begin transaction
602
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
603
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:58:29', '2015-12-19 15:58:29', 980190962)
604
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:58:29', '2015-12-19 15:58:29', 298486374)
605
+  (57.5ms) commit transaction
606
+  (0.1ms) begin transaction
607
+ -------------------------------------------------------------------------------------------
608
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
609
+ -------------------------------------------------------------------------------------------
610
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
611
+ Parameters: {"challenge"=>"Y2hhbGxlbmdlIHRva2Vu"}
612
+ LetsencryptPlugin::Challenge Load (0.1ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
613
+ Rendered text template (0.0ms)
614
+ Completed 200 OK in 10ms (Views: 5.4ms | ActiveRecord: 0.1ms)
615
+  (0.1ms) rollback transaction
616
+  (0.0ms) begin transaction
617
+ ---------------------------------
618
+ LetsencryptPluginTest: test_truth
619
+ ---------------------------------
620
+  (0.0ms) rollback transaction
621
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
622
+  (0.1ms) begin transaction
623
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
624
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:59:24', '2015-12-19 15:59:24', 980190962)
625
+ Fixture Insert (0.0ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:59:24', '2015-12-19 15:59:24', 298486374)
626
+  (82.4ms) commit transaction
627
+  (0.1ms) begin transaction
628
+ ---------------------------------
629
+ LetsencryptPluginTest: test_truth
630
+ ---------------------------------
631
+  (0.1ms) rollback transaction
632
+  (0.1ms) begin transaction
633
+ -------------------------------------------------------------------------------------------
634
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
635
+ -------------------------------------------------------------------------------------------
636
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
637
+ Parameters: {"challenge"=>"Y2hhbGxlbmdlIHRva2Vu"}
638
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
639
+ Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.2ms)
640
+  (0.1ms) rollback transaction
641
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
642
+  (0.1ms) begin transaction
643
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
644
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:59:37', '2015-12-19 15:59:37', 980190962)
645
+ Fixture Insert (0.0ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 15:59:37', '2015-12-19 15:59:37', 298486374)
646
+  (55.2ms) commit transaction
647
+  (0.1ms) begin transaction
648
+ -------------------------------------------------------------------------------------------
649
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
650
+ -------------------------------------------------------------------------------------------
651
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
652
+ Parameters: {"challenge"=>"Y2hhbGxlbmdlIHRva2Vu"}
653
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
654
+ Rendered text template (0.0ms)
655
+ Completed 200 OK in 12ms (Views: 6.5ms | ActiveRecord: 0.2ms)
656
+  (0.1ms) rollback transaction
657
+  (0.1ms) begin transaction
658
+ ---------------------------------
659
+ LetsencryptPluginTest: test_truth
660
+ ---------------------------------
661
+  (0.0ms) rollback transaction
662
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
663
+  (0.1ms) begin transaction
664
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
665
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 16:00:38', '2015-12-19 16:00:38', 980190962)
666
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 16:00:38', '2015-12-19 16:00:38', 298486374)
667
+  (78.7ms) commit transaction
668
+  (0.1ms) begin transaction
669
+ ---------------------------------
670
+ LetsencryptPluginTest: test_truth
671
+ ---------------------------------
672
+  (0.1ms) rollback transaction
673
+  (0.1ms) begin transaction
674
+ -------------------------------------------------------------------------------------------
675
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
676
+ -------------------------------------------------------------------------------------------
677
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
678
+ Parameters: {"challenge"=>"Y2hhbGxlbmdlIHRva2Vu"}
679
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
680
+ Rendered text template (0.0ms)
681
+ Completed 200 OK in 11ms (Views: 6.3ms | ActiveRecord: 0.2ms)
682
+  (0.1ms) rollback transaction
683
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
684
+  (0.1ms) begin transaction
685
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
686
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:24:07', '2015-12-19 21:24:07', 980190962)
687
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:24:07', '2015-12-19 21:24:07', 298486374)
688
+  (88.9ms) commit transaction
689
+  (0.1ms) begin transaction
690
+ -------------------------------------------------------------------------------------------
691
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
692
+ -------------------------------------------------------------------------------------------
693
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
694
+ Parameters: {"challenge"=>"Y2hhbGxlbmdlIHRva2Vu"}
695
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
696
+ Rendered text template (0.0ms)
697
+ Completed 200 OK in 12ms (Views: 6.7ms | ActiveRecord: 0.2ms)
698
+  (0.1ms) rollback transaction
699
+  (0.1ms) begin transaction
700
+ ---------------------------------
701
+ LetsencryptPluginTest: test_truth
702
+ ---------------------------------
703
+  (0.0ms) rollback transaction
704
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
705
+  (0.1ms) begin transaction
706
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
707
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:25:44', '2015-12-19 21:25:44', 980190962)
708
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:25:44', '2015-12-19 21:25:44', 298486374)
709
+  (87.0ms) commit transaction
710
+  (0.2ms) begin transaction
711
+ -------------------------------------------------------------------------------------------
712
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
713
+ -------------------------------------------------------------------------------------------
714
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
715
+ Parameters: {"challenge"=>"Y2hhbGxlbmdlIHRva2Vu"}
716
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
717
+ Rendered text template (0.0ms)
718
+ Completed 200 OK in 14ms (Views: 7.8ms | ActiveRecord: 0.2ms)
719
+  (0.1ms) rollback transaction
720
+  (0.1ms) begin transaction
721
+ ---------------------------------
722
+ LetsencryptPluginTest: test_truth
723
+ ---------------------------------
724
+  (0.1ms) rollback transaction
725
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
726
+  (0.1ms) begin transaction
727
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
728
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:27:35', '2015-12-19 21:27:35', 980190962)
729
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:27:35', '2015-12-19 21:27:35', 298486374)
730
+  (54.4ms) commit transaction
731
+  (0.1ms) begin transaction
732
+ ---------------------------------
733
+ LetsencryptPluginTest: test_truth
734
+ ---------------------------------
735
+  (0.1ms) rollback transaction
736
+  (0.1ms) begin transaction
737
+ -------------------------------------------------------------------------------------------
738
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
739
+ -------------------------------------------------------------------------------------------
740
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
741
+ Parameters: {"challenge"=>"dG9rZW4="}
742
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
743
+ Challenge failed - invalid request.
744
+ Completed 404 Not Found in 5ms (ActiveRecord: 0.2ms)
745
+  (0.1ms) rollback transaction
746
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
747
+  (0.1ms) begin transaction
748
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
749
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:29:31', '2015-12-19 21:29:31', 980190962)
750
+ Fixture Insert (0.0ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:29:31', '2015-12-19 21:29:31', 298486374)
751
+  (56.1ms) commit transaction
752
+  (0.2ms) begin transaction
753
+ ---------------------------------
754
+ LetsencryptPluginTest: test_truth
755
+ ---------------------------------
756
+  (0.1ms) rollback transaction
757
+  (0.1ms) begin transaction
758
+ -------------------------------------------------------------------------------------------
759
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
760
+ -------------------------------------------------------------------------------------------
761
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
762
+ Parameters: {"challenge"=>"dG9rZW4="}
763
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
764
+ Challenge failed - invalid request.
765
+ Completed 404 Not Found in 5ms (ActiveRecord: 0.2ms)
766
+  (0.1ms) rollback transaction
767
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
768
+  (0.1ms) begin transaction
769
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
770
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:29:50', '2015-12-19 21:29:50', 980190962)
771
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:29:50', '2015-12-19 21:29:50', 298486374)
772
+  (62.1ms) commit transaction
773
+  (0.1ms) begin transaction
774
+ -------------------------------------------------------------------------------------------
775
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
776
+ -------------------------------------------------------------------------------------------
777
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
778
+ Parameters: {"challenge"=>"dG9rZW4="}
779
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
780
+ Challenge failed - invalid request.
781
+ Rendered text template (0.0ms)
782
+ Filter chain halted as :validate_length rendered or redirected
783
+ Completed 400 Bad Request in 11ms (Views: 6.2ms | ActiveRecord: 0.2ms)
784
+  (0.1ms) rollback transaction
785
+  (0.1ms) begin transaction
786
+ ---------------------------------
787
+ LetsencryptPluginTest: test_truth
788
+ ---------------------------------
789
+  (0.0ms) rollback transaction
790
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
791
+  (0.1ms) begin transaction
792
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
793
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:30:31', '2015-12-19 21:30:31', 980190962)
794
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:30:31', '2015-12-19 21:30:31', 298486374)
795
+  (109.5ms) commit transaction
796
+  (0.1ms) begin transaction
797
+ ---------------------------------
798
+ LetsencryptPluginTest: test_truth
799
+ ---------------------------------
800
+  (0.1ms) rollback transaction
801
+  (0.1ms) begin transaction
802
+ -------------------------------------------------------------------------------------------
803
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
804
+ -------------------------------------------------------------------------------------------
805
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
806
+ Parameters: {"challenge"=>"dG9rZW4="}
807
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
808
+ Challenge failed - invalid request.
809
+ Rendered text template (0.0ms)
810
+ Filter chain halted as :validate_length rendered or redirected
811
+ Completed 400 Bad Request in 10ms (Views: 5.8ms | ActiveRecord: 0.2ms)
812
+  (0.1ms) rollback transaction
813
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
814
+  (0.1ms) begin transaction
815
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
816
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:31:00', '2015-12-19 21:31:00', 980190962)
817
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:31:00', '2015-12-19 21:31:00', 298486374)
818
+  (104.2ms) commit transaction
819
+  (0.2ms) begin transaction
820
+ -------------------------------------------------------------------------------------------
821
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
822
+ -------------------------------------------------------------------------------------------
823
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
824
+ Parameters: {"challenge"=>"dG9rZW4="}
825
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
826
+ Challenge failed - invalid request.
827
+ Rendered text template (0.0ms)
828
+ Filter chain halted as :validate_length rendered or redirected
829
+ Completed 400 Bad Request in 14ms (Views: 7.9ms | ActiveRecord: 0.2ms)
830
+  (0.1ms) rollback transaction
831
+  (0.1ms) begin transaction
832
+ ---------------------------------
833
+ LetsencryptPluginTest: test_truth
834
+ ---------------------------------
835
+  (0.1ms) rollback transaction
836
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
837
+  (0.1ms) begin transaction
838
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
839
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:39:49', '2015-12-19 21:39:49', 980190962)
840
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:39:49', '2015-12-19 21:39:49', 298486374)
841
+  (82.3ms) commit transaction
842
+  (0.1ms) begin transaction
843
+ ---------------------------------
844
+ LetsencryptPluginTest: test_truth
845
+ ---------------------------------
846
+  (0.1ms) rollback transaction
847
+  (0.1ms) begin transaction
848
+ -------------------------------------------------------------------------------------------
849
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_at_least_128bits
850
+ -------------------------------------------------------------------------------------------
851
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
852
+ Parameters: {"challenge"=>"dG9rZW4="}
853
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
854
+ Challenge failed - Request has invalid length!
855
+ Rendered text template (0.0ms)
856
+ Filter chain halted as :validate_length rendered or redirected
857
+ Completed 400 Bad Request in 11ms (Views: 6.3ms | ActiveRecord: 0.2ms)
858
+  (0.1ms) rollback transaction
859
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
860
+  (0.1ms) begin transaction
861
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
862
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:47:34', '2015-12-19 21:47:34', 980190962)
863
+ Fixture Insert (0.0ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:47:34', '2015-12-19 21:47:34', 298486374)
864
+  (66.9ms) commit transaction
865
+  (0.1ms) begin transaction
866
+ ---------------------------------
867
+ LetsencryptPluginTest: test_truth
868
+ ---------------------------------
869
+  (0.2ms) rollback transaction
870
+  (0.1ms) begin transaction
871
+ ----------------------------------------------------------------------------------------------------------------
872
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
873
+ ----------------------------------------------------------------------------------------------------------------
874
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
875
+ Parameters: {"challenge"=>"dG9rZW4="}
876
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
877
+ Challenge failed - Request has invalid length!
878
+ Rendered text template (0.0ms)
879
+ Filter chain halted as :validate_length rendered or redirected
880
+ Completed 400 Bad Request in 11ms (Views: 6.3ms | ActiveRecord: 0.2ms)
881
+  (0.1ms) rollback transaction
882
+  (0.0ms) begin transaction
883
+ -----------------------------------------------------------------------------------------------------------------
884
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
885
+ -----------------------------------------------------------------------------------------------------------------
886
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
887
+ Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
888
+ LetsencryptPlugin::Challenge Load (0.1ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
889
+ Rendered text template (0.0ms)
890
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
891
+  (0.1ms) rollback transaction
892
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
893
+  (0.1ms) begin transaction
894
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
895
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:47:58', '2015-12-19 21:47:58', 980190962)
896
+ Fixture Insert (0.0ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:47:58', '2015-12-19 21:47:58', 298486374)
897
+  (79.8ms) commit transaction
898
+  (0.1ms) begin transaction
899
+ -----------------------------------------------------------------------------------------------------------------
900
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
901
+ -----------------------------------------------------------------------------------------------------------------
902
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
903
+ Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
904
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
905
+ Rendered text template (0.0ms)
906
+ Completed 200 OK in 11ms (Views: 6.5ms | ActiveRecord: 0.2ms)
907
+  (0.1ms) rollback transaction
908
+  (0.0ms) begin transaction
909
+ ----------------------------------------------------------------------------------------------------------------
910
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
911
+ ----------------------------------------------------------------------------------------------------------------
912
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
913
+ Parameters: {"challenge"=>"dG9rZW4="}
914
+ LetsencryptPlugin::Challenge Load (0.1ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
915
+ Challenge failed - Request has invalid length!
916
+ Rendered text template (0.0ms)
917
+ Filter chain halted as :validate_length rendered or redirected
918
+ Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
919
+  (0.1ms) rollback transaction
920
+  (0.1ms) begin transaction
921
+ ---------------------------------
922
+ LetsencryptPluginTest: test_truth
923
+ ---------------------------------
924
+  (0.0ms) rollback transaction
925
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
926
+  (0.1ms) begin transaction
927
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
928
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:48:59', '2015-12-19 21:48:59', 980190962)
929
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 21:48:59', '2015-12-19 21:48:59', 298486374)
930
+  (59.7ms) commit transaction
931
+  (0.1ms) begin transaction
932
+ ----------------------------------------------------------------------------------------------------------------
933
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
934
+ ----------------------------------------------------------------------------------------------------------------
935
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
936
+ Parameters: {"challenge"=>"dG9rZW4="}
937
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
938
+ Challenge failed - Request has invalid length!
939
+ Rendered text template (0.0ms)
940
+ Filter chain halted as :validate_length rendered or redirected
941
+ Completed 400 Bad Request in 12ms (Views: 6.5ms | ActiveRecord: 0.2ms)
942
+  (0.1ms) rollback transaction
943
+  (0.1ms) begin transaction
944
+ -----------------------------------------------------------------------------------------------------------------
945
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
946
+ -----------------------------------------------------------------------------------------------------------------
947
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
948
+ Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
949
+ LetsencryptPlugin::Challenge Load (0.1ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
950
+ Challenge failed - Request has invalid length!
951
+ Rendered text template (0.0ms)
952
+ Filter chain halted as :validate_length rendered or redirected
953
+ Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
954
+  (0.1ms) rollback transaction
955
+  (0.1ms) begin transaction
956
+ ---------------------------------
957
+ LetsencryptPluginTest: test_truth
958
+ ---------------------------------
959
+  (0.0ms) rollback transaction
960
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
961
+  (0.1ms) begin transaction
962
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
963
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 22:08:45', '2015-12-19 22:08:45', 980190962)
964
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-19 22:08:45', '2015-12-19 22:08:45', 298486374)
965
+  (83.2ms) commit transaction
966
+  (0.1ms) begin transaction
967
+ ---------------------------------
968
+ LetsencryptPluginTest: test_truth
517
969
  ---------------------------------
518
970
   (0.1ms) rollback transaction
data/test/test_helper.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require "codeclimate-test-reporter"
2
+ CodeClimate::TestReporter.start
3
+
1
4
  # Configure Rails Environment
2
5
  ENV["RAILS_ENV"] = "test"
3
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: letsencrypt_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukasz Gromanowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-17 00:00:00.000000000 Z
11
+ date: 2015-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: codeclimate-test-reporter
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description: letsencrypt-plugin is a Ruby on Rails helper for Let's Encrypt service
70
84
  for retrieving SSL certificates (without using sudo, like original letsencrypt client
71
85
  does). It uses acme-client gem for communication with Let's Encrypt server. ** This
@@ -92,6 +106,7 @@ files:
92
106
  - lib/letsencrypt_plugin/engine.rb
93
107
  - lib/letsencrypt_plugin/version.rb
94
108
  - lib/tasks/letsencrypt_plugin_tasks.rake
109
+ - test/controllers/application_controller_test.rb
95
110
  - test/dummy/README.rdoc
96
111
  - test/dummy/Rakefile
97
112
  - test/dummy/app/assets/javascripts/application.js
@@ -125,6 +140,7 @@ files:
125
140
  - test/dummy/config/secrets.yml
126
141
  - test/dummy/db/schema.rb
127
142
  - test/dummy/db/test.sqlite3
143
+ - test/dummy/log/development.log
128
144
  - test/dummy/log/test.log
129
145
  - test/dummy/public/404.html
130
146
  - test/dummy/public/422.html
@@ -159,6 +175,7 @@ signing_key:
159
175
  specification_version: 4
160
176
  summary: Let's encrypt plugin for Ruby on Rails applications
161
177
  test_files:
178
+ - test/controllers/application_controller_test.rb
162
179
  - test/test_helper.rb
163
180
  - test/letsencrypt_plugin_test.rb
164
181
  - test/models/letsencrypt_plugin/challenge_test.rb
@@ -199,5 +216,6 @@ test_files:
199
216
  - test/dummy/config/locales/en.yml
200
217
  - test/dummy/config/routes.rb
201
218
  - test/dummy/log/test.log
219
+ - test/dummy/log/development.log
202
220
  - test/dummy/config.ru
203
221
  - test/dummy/README.rdoc