letsencrypt_plugin 0.0.4 → 0.0.5

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: 8dfdc32f4ac554d04c98648ddbe50f6f3f04f459
4
- data.tar.gz: 2e5be29687e51ffdc5d439bbc148d1b02afcb1e7
3
+ metadata.gz: 584c41b766b2ed58efa0a578bf0e4ae5d7f444b1
4
+ data.tar.gz: a72b7addfbad5cfb0beabc220602a15402402532
5
5
  SHA512:
6
- metadata.gz: d220d498fcfd806f7dc98d50e793d05a508d4fa7302002c617bb36dededcbb9fb737822cc15deb28beb83b9998e331037cb3d2b3b978fc666af1cf43a0a06654
7
- data.tar.gz: 3b49eb1752ce1c6d7c65cf2c47221cad3c4d43d81e59075c309ce303676d916e229fca48ef43756c1375d06b004e2396f8388e79ff119b3b1c3df63c12bb118b
6
+ metadata.gz: ad38dde675c1b160059ba6a770c52405c8a4752d03dcd1643c699e11322d0a0a097f4f87d42a4d2ad0b9d6182ee04d18fb86a9ff2124df5300acd739c13b17c2
7
+ data.tar.gz: b59c01b788b1d4ac3c7e3328bd69f6194f9c05054debcec7f79e13b81073d9bc47ef43d67a87b34b1d09ff1138449cdc7fb8b610f5e2df25c85d270cf88214c4
@@ -1,3 +1,3 @@
1
1
  module LetsencryptPlugin
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  require 'openssl'
2
- require 'acme-client'
2
+ require 'acme/client'
3
3
 
4
4
  #Sets up logging - should only be called from other rake tasks
5
5
  task setup_logger: :environment do
Binary file
@@ -968,3 +968,108 @@ LetsencryptPluginTest: test_truth
968
968
  LetsencryptPluginTest: test_truth
969
969
  ---------------------------------
970
970
   (0.1ms) rollback transaction
971
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
972
+  (0.1ms) begin transaction
973
+ Fixture Delete (0.3ms) DELETE FROM "letsencrypt_plugin_challenges"
974
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-22 22:15:54', '2015-12-22 22:15:54', 980190962)
975
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-22 22:15:54', '2015-12-22 22:15:54', 298486374)
976
+  (186.2ms) commit transaction
977
+  (0.2ms) begin transaction
978
+ -----------------------------------------------------------------------------------------------------------------
979
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
980
+ -----------------------------------------------------------------------------------------------------------------
981
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
982
+ Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
983
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
984
+ Challenge failed - Request has invalid length!
985
+ Rendered text template (0.0ms)
986
+ Filter chain halted as :validate_length rendered or redirected
987
+ Completed 400 Bad Request in 31ms (Views: 27.1ms | ActiveRecord: 0.2ms)
988
+  (0.1ms) rollback transaction
989
+  (0.1ms) begin transaction
990
+ ----------------------------------------------------------------------------------------------------------------
991
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
992
+ ----------------------------------------------------------------------------------------------------------------
993
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
994
+ Parameters: {"challenge"=>"dG9rZW4="}
995
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
996
+ Challenge failed - Request has invalid length!
997
+ Rendered text template (0.0ms)
998
+ Filter chain halted as :validate_length rendered or redirected
999
+ Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1000
+  (0.1ms) rollback transaction
1001
+  (0.1ms) begin transaction
1002
+ ---------------------------------
1003
+ LetsencryptPluginTest: test_truth
1004
+ ---------------------------------
1005
+  (0.1ms) rollback transaction
1006
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1007
+  (0.1ms) begin transaction
1008
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
1009
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-22 22:18:52', '2015-12-22 22:18:52', 980190962)
1010
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-22 22:18:52', '2015-12-22 22:18:52', 298486374)
1011
+  (128.4ms) commit transaction
1012
+  (0.1ms) begin transaction
1013
+ -----------------------------------------------------------------------------------------------------------------
1014
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
1015
+ -----------------------------------------------------------------------------------------------------------------
1016
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
1017
+ Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
1018
+ LetsencryptPlugin::Challenge Load (0.2ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
1019
+ Challenge failed - Request has invalid length!
1020
+ Rendered text template (0.0ms)
1021
+ Filter chain halted as :validate_length rendered or redirected
1022
+ Completed 400 Bad Request in 8ms (Views: 4.1ms | ActiveRecord: 0.2ms)
1023
+  (0.1ms) rollback transaction
1024
+  (0.1ms) begin transaction
1025
+ ----------------------------------------------------------------------------------------------------------------
1026
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
1027
+ ----------------------------------------------------------------------------------------------------------------
1028
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
1029
+ Parameters: {"challenge"=>"dG9rZW4="}
1030
+ LetsencryptPlugin::Challenge Load (0.1ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
1031
+ Challenge failed - Request has invalid length!
1032
+ Rendered text template (0.0ms)
1033
+ Filter chain halted as :validate_length rendered or redirected
1034
+ Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1035
+  (0.1ms) rollback transaction
1036
+  (0.0ms) begin transaction
1037
+ ---------------------------------
1038
+ LetsencryptPluginTest: test_truth
1039
+ ---------------------------------
1040
+  (0.0ms) rollback transaction
1041
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1042
+  (0.1ms) begin transaction
1043
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
1044
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-22 22:32:36', '2015-12-22 22:32:36', 980190962)
1045
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-22 22:32:36', '2015-12-22 22:32:36', 298486374)
1046
+  (101.0ms) commit transaction
1047
+  (0.1ms) begin transaction
1048
+ ---------------------------------
1049
+ LetsencryptPluginTest: test_truth
1050
+ ---------------------------------
1051
+  (0.1ms) rollback transaction
1052
+  (0.1ms) begin transaction
1053
+ -----------------------------------------------------------------------------------------------------------------
1054
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
1055
+ -----------------------------------------------------------------------------------------------------------------
1056
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
1057
+ Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
1058
+ LetsencryptPlugin::Challenge Load (0.1ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
1059
+ Challenge failed - Request has invalid length!
1060
+ Rendered text template (0.0ms)
1061
+ Filter chain halted as :validate_length rendered or redirected
1062
+ Completed 400 Bad Request in 8ms (Views: 4.1ms | ActiveRecord: 0.1ms)
1063
+  (0.1ms) rollback transaction
1064
+  (0.0ms) begin transaction
1065
+ ----------------------------------------------------------------------------------------------------------------
1066
+ LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
1067
+ ----------------------------------------------------------------------------------------------------------------
1068
+ Processing by LetsencryptPlugin::ApplicationController#index as HTML
1069
+ Parameters: {"challenge"=>"dG9rZW4="}
1070
+ LetsencryptPlugin::Challenge Load (0.1ms) SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
1071
+ Challenge failed - Request has invalid length!
1072
+ Rendered text template (0.0ms)
1073
+ Filter chain halted as :validate_length rendered or redirected
1074
+ Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1075
+  (0.1ms) rollback transaction
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.4
4
+ version: 0.0.5
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-19 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.2
33
+ version: 0.2.4
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
- version: 0.2.2
40
+ version: 0.2.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement