letsencrypt_plugin 0.0.2 → 0.0.3

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: 108dfbd0e792c1bacf5f3e34cd23a0f6c91f0ce2
4
- data.tar.gz: c4c828959d1f7c7774d56c089afc551694fb8449
3
+ metadata.gz: a251fd7d42edb3a4d2801e6abe7771442f381962
4
+ data.tar.gz: 6f0977d71dd42b808ddc1383d52c6b27f97d80de
5
5
  SHA512:
6
- metadata.gz: d038926e551cf7a9bea240c97feb17fd5d99e0c2f695cd642fd6f52478e06ba444b5318f8cb55b73182b70bc8b3b46ef5b34ab1e0541094e87c04663f81fb5eb
7
- data.tar.gz: 60ad86e901086d6cf528cf1d3c4e78482f1fd5798b667400aa287a67d2e02f040c90d04835d6cbbcf5d88a0a0febf1767d05746c3fdf07167280093f097b4cd8
6
+ metadata.gz: 49e265faad5634b40ade7dffc40c9e10eea7790b62f5343a70a26048219ed831f852ebd43743193581bacbd03d3502da0bfbc3c23dc02d3b06f26db8b6700edf
7
+ data.tar.gz: 72bbf82f77f808996cf1dbf65b5a115fdbbdbfcb80c5af7e4fa44666a41c2cdc071ab87fa1c09c6f5db07db8bdc44542727127ecf3ac7035170bd06b7ac0b0e0
@@ -5,8 +5,12 @@ module LetsencryptPlugin
5
5
  def index
6
6
  # There is only one item in DB with challenge response from our task
7
7
  # we will use it to render plain text response
8
- @response = Challenge.first
9
- render plain: @response.response
8
+ response = Challenge.first
9
+ if !response.nil?
10
+ render plain: response.response
11
+ else
12
+ challenge_failed
13
+ end
10
14
  end
11
15
 
12
16
  private
@@ -1,3 +1,3 @@
1
1
  module LetsencryptPlugin
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -14,7 +14,7 @@ task :letsencrypt_plugin => :setup_logger do
14
14
  client ||= Acme::Client.new(private_key: load_private_key, endpoint: CONFIG[:endpoint])
15
15
  Rails.logger.info("Trying to register at Let's Encrypt service...")
16
16
  begin
17
- registration = client.register(contact: 'mailto:#{CONFIG[:email]}')
17
+ registration = client.register(contact: "mailto:#{CONFIG[:email]}")
18
18
  registration.agree_terms
19
19
  Rails.logger.info("Registration succeed.")
20
20
  rescue
@@ -35,12 +35,12 @@ task :letsencrypt_plugin => :setup_logger do
35
35
  certificate_private_key = OpenSSL::PKey::RSA.new(2048)
36
36
  csr = create_csr(certificate_private_key)
37
37
  # We can now request a certificate
38
- certificate = client.new_certificate(csr) # => #<Acme::Certificate ....>
38
+ certificate = client.new_certificate(csr)
39
39
  save_certificate(certificate, certificate_private_key)
40
40
 
41
41
  Rails.logger.info("Certificate has been generated.")
42
42
  else
43
- Rails.logger.error("Challenge verification failed!")
43
+ Rails.logger.error("Challenge verification failed! Error: #{challenge.error['type']}: #{challenge.error['detail']}")
44
44
  end
45
45
  end
46
46
 
@@ -58,7 +58,7 @@ task :letsencrypt_plugin => :setup_logger do
58
58
  else
59
59
  ch.update(:response => challenge.file_content)
60
60
  end
61
- sleep(1)
61
+ sleep(2)
62
62
  end
63
63
 
64
64
  def wait_for_status(challenge)
@@ -72,13 +72,7 @@ task :letsencrypt_plugin => :setup_logger do
72
72
 
73
73
  def create_csr(certificate_private_key)
74
74
  Rails.logger.info("Creating CSR...")
75
- csr = OpenSSL::X509::Request.new
76
- csr.subject = OpenSSL::X509::Name.new([
77
- ['CN', CONFIG[:domain], OpenSSL::ASN1::UTF8STRING]
78
- ])
79
- csr.public_key = certificate_private_key.public_key
80
- csr.sign(certificate_private_key, OpenSSL::Digest::SHA256.new)
81
- csr
75
+ Acme::CertificateRequest.new(names: [ CONFIG[:domain] ])
82
76
  end
83
77
 
84
78
  # Save the certificate and key
@@ -1,4 +1,4 @@
1
1
  Rails.application.routes.draw do
2
2
 
3
- mount LetsencryptPlugin::Engine => "/letsencrypt_plugin"
3
+ mount LetsencryptPlugin::Engine => "/"
4
4
  end
Binary file
@@ -0,0 +1,518 @@
1
+  (97.1ms) CREATE TABLE "letsencrypt_plugin_challenges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "response" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2
+  (78.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
3
+  (0.2ms) select sqlite_version(*)
4
+  (65.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.2ms) SELECT version FROM "schema_migrations"
6
+  (61.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151206135029')
7
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
+  (0.1ms) begin transaction
9
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
10
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 21:38:35', '2015-12-08 21:38:35', 980190962)
11
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 21:38:35', '2015-12-08 21:38:35', 298486374)
12
+  (62.7ms) commit transaction
13
+  (0.2ms) begin transaction
14
+ ------------------------------------------------------------
15
+ LetsencryptPlugin::ApplicationControllerTest: test_the_truth
16
+ ------------------------------------------------------------
17
+  (0.1ms) rollback transaction
18
+  (0.1ms) begin transaction
19
+ ---------------------------------
20
+ LetsencryptPluginTest: test_truth
21
+ ---------------------------------
22
+  (0.1ms) rollback transaction
23
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24
+  (0.1ms) begin transaction
25
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
26
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 21:41:06', '2015-12-08 21:41:06', 980190962)
27
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 21:41:06', '2015-12-08 21:41:06', 298486374)
28
+  (111.4ms) commit transaction
29
+  (0.1ms) begin transaction
30
+ -----------------------------------------------------------------------------------------
31
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
32
+ -----------------------------------------------------------------------------------------
33
+  (0.1ms) rollback transaction
34
+  (0.1ms) begin transaction
35
+ ---------------------------------
36
+ LetsencryptPluginTest: test_truth
37
+ ---------------------------------
38
+  (0.1ms) rollback transaction
39
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
40
+  (0.1ms) begin transaction
41
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
42
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 21:57:22', '2015-12-08 21:57:22', 980190962)
43
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 21:57:22', '2015-12-08 21:57:22', 298486374)
44
+  (76.7ms) commit transaction
45
+  (0.2ms) begin transaction
46
+ ---------------------------------
47
+ LetsencryptPluginTest: test_truth
48
+ ---------------------------------
49
+  (0.1ms) rollback transaction
50
+  (0.1ms) begin transaction
51
+ -----------------------------------------------------------------------------------------
52
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
53
+ -----------------------------------------------------------------------------------------
54
+  (0.1ms) rollback transaction
55
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
56
+  (0.1ms) begin transaction
57
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
58
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 22:18:57', '2015-12-08 22:18:57', 980190962)
59
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 22:18:57', '2015-12-08 22:18:57', 298486374)
60
+  (61.8ms) commit transaction
61
+  (0.2ms) begin transaction
62
+ -----------------------------------------------------------------------------------------
63
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
64
+ -----------------------------------------------------------------------------------------
65
+  (0.1ms) rollback transaction
66
+  (0.1ms) begin transaction
67
+ ---------------------------------
68
+ LetsencryptPluginTest: test_truth
69
+ ---------------------------------
70
+  (0.0ms) rollback transaction
71
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
72
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
73
+  (0.1ms) begin transaction
74
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
75
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 22:33:54', '2015-12-08 22:33:54', 980190962)
76
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 22:33:54', '2015-12-08 22:33:54', 298486374)
77
+  (351.5ms) commit transaction
78
+  (0.3ms) begin transaction
79
+ -----------------------------------------------------------------------------------------
80
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
81
+ -----------------------------------------------------------------------------------------
82
+  (0.2ms) rollback transaction
83
+  (0.1ms) begin transaction
84
+ ---------------------------------
85
+ LetsencryptPluginTest: test_truth
86
+ ---------------------------------
87
+  (0.1ms) rollback transaction
88
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
89
+  (0.1ms) begin transaction
90
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
91
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 22:38:36', '2015-12-08 22:38:36', 980190962)
92
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 22:38:36', '2015-12-08 22:38:36', 298486374)
93
+  (111.9ms) commit transaction
94
+  (0.1ms) begin transaction
95
+ -----------------------------------------------------------------------------------------
96
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
97
+ -----------------------------------------------------------------------------------------
98
+  (0.1ms) rollback transaction
99
+  (0.1ms) begin transaction
100
+ ---------------------------------
101
+ LetsencryptPluginTest: test_truth
102
+ ---------------------------------
103
+  (0.1ms) rollback transaction
104
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
105
+  (0.1ms) begin transaction
106
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
107
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 22:40:18', '2015-12-08 22:40:18', 980190962)
108
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-08 22:40:18', '2015-12-08 22:40:18', 298486374)
109
+  (103.7ms) commit transaction
110
+  (0.1ms) begin transaction
111
+ ---------------------------------
112
+ LetsencryptPluginTest: test_truth
113
+ ---------------------------------
114
+  (0.1ms) rollback transaction
115
+  (0.1ms) begin transaction
116
+ -----------------------------------------------------------------------------------------
117
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
118
+ -----------------------------------------------------------------------------------------
119
+  (0.2ms) rollback transaction
120
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
121
+  (0.2ms) begin transaction
122
+ Fixture Delete (0.3ms) DELETE FROM "letsencrypt_plugin_challenges"
123
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:23:31', '2015-12-09 21:23:31', 980190962)
124
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:23:31', '2015-12-09 21:23:31', 298486374)
125
+  (63.6ms) commit transaction
126
+  (0.1ms) begin transaction
127
+ -----------------------------------------------------------------------------------------
128
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
129
+ -----------------------------------------------------------------------------------------
130
+  (0.1ms) rollback transaction
131
+  (0.1ms) begin transaction
132
+ ---------------------------------
133
+ LetsencryptPluginTest: test_truth
134
+ ---------------------------------
135
+  (0.1ms) rollback transaction
136
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
137
+  (0.1ms) begin transaction
138
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
139
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:24:05', '2015-12-09 21:24:05', 980190962)
140
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:24:05', '2015-12-09 21:24:05', 298486374)
141
+  (109.0ms) commit transaction
142
+  (0.1ms) begin transaction
143
+ ---------------------------------
144
+ LetsencryptPluginTest: test_truth
145
+ ---------------------------------
146
+  (0.1ms) rollback transaction
147
+  (0.1ms) begin transaction
148
+ -----------------------------------------------------------------------------------------
149
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
150
+ -----------------------------------------------------------------------------------------
151
+  (0.1ms) rollback transaction
152
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
153
+  (0.1ms) begin transaction
154
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
155
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:29:55', '2015-12-09 21:29:55', 980190962)
156
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:29:55', '2015-12-09 21:29:55', 298486374)
157
+  (114.5ms) commit transaction
158
+  (0.1ms) begin transaction
159
+ -----------------------------------------------------------------------------------------
160
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
161
+ -----------------------------------------------------------------------------------------
162
+  (0.1ms) rollback transaction
163
+  (0.1ms) begin transaction
164
+ ---------------------------------
165
+ LetsencryptPluginTest: test_truth
166
+ ---------------------------------
167
+  (0.1ms) rollback transaction
168
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
169
+  (0.1ms) begin transaction
170
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
171
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:30:57', '2015-12-09 21:30:57', 980190962)
172
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:30:57', '2015-12-09 21:30:57', 298486374)
173
+  (65.6ms) commit transaction
174
+  (0.1ms) begin transaction
175
+ -----------------------------------------------------------------------------------------
176
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
177
+ -----------------------------------------------------------------------------------------
178
+  (0.1ms) rollback transaction
179
+  (0.1ms) begin transaction
180
+ ---------------------------------
181
+ LetsencryptPluginTest: test_truth
182
+ ---------------------------------
183
+  (0.1ms) rollback transaction
184
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
185
+  (0.1ms) begin transaction
186
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
187
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:33:14', '2015-12-09 21:33:14', 980190962)
188
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:33:14', '2015-12-09 21:33:14', 298486374)
189
+  (112.2ms) commit transaction
190
+  (0.1ms) begin transaction
191
+ ---------------------------------
192
+ LetsencryptPluginTest: test_truth
193
+ ---------------------------------
194
+  (0.1ms) rollback transaction
195
+  (0.1ms) begin transaction
196
+ -----------------------------------------------------------------------------------------
197
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
198
+ -----------------------------------------------------------------------------------------
199
+  (0.1ms) rollback transaction
200
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
201
+  (0.1ms) begin transaction
202
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
203
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:34:41', '2015-12-09 21:34:41', 980190962)
204
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:34:41', '2015-12-09 21:34:41', 298486374)
205
+  (34.2ms) commit transaction
206
+  (0.1ms) begin transaction
207
+ -----------------------------------------------------------------------------------------
208
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
209
+ -----------------------------------------------------------------------------------------
210
+  (0.1ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+ ---------------------------------
213
+ LetsencryptPluginTest: test_truth
214
+ ---------------------------------
215
+  (0.0ms) rollback transaction
216
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
217
+  (0.1ms) begin transaction
218
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
219
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:49:19', '2015-12-09 21:49:19', 980190962)
220
+ Fixture Insert (0.0ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:49:19', '2015-12-09 21:49:19', 298486374)
221
+  (125.5ms) commit transaction
222
+  (0.1ms) begin transaction
223
+ -----------------------------------------------------------------------------------------
224
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
225
+ -----------------------------------------------------------------------------------------
226
+  (0.1ms) rollback transaction
227
+  (0.1ms) begin transaction
228
+ ---------------------------------
229
+ LetsencryptPluginTest: test_truth
230
+ ---------------------------------
231
+  (0.1ms) rollback transaction
232
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
233
+  (0.1ms) begin transaction
234
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
235
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:50:09', '2015-12-09 21:50:09', 980190962)
236
+ Fixture Insert (0.0ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:50:09', '2015-12-09 21:50:09', 298486374)
237
+  (128.1ms) commit transaction
238
+  (0.3ms) begin transaction
239
+ ---------------------------------
240
+ LetsencryptPluginTest: test_truth
241
+ ---------------------------------
242
+  (0.1ms) rollback transaction
243
+  (0.1ms) begin transaction
244
+ -----------------------------------------------------------------------------------------
245
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
246
+ -----------------------------------------------------------------------------------------
247
+  (0.1ms) rollback transaction
248
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
249
+  (0.1ms) begin transaction
250
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
251
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:53:29', '2015-12-09 21:53:29', 980190962)
252
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:53:29', '2015-12-09 21:53:29', 298486374)
253
+  (114.6ms) commit transaction
254
+  (0.1ms) begin transaction
255
+ -----------------------------------------------------------------------------------------
256
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
257
+ -----------------------------------------------------------------------------------------
258
+  (0.1ms) rollback transaction
259
+  (0.1ms) begin transaction
260
+ ---------------------------------
261
+ LetsencryptPluginTest: test_truth
262
+ ---------------------------------
263
+  (0.1ms) rollback transaction
264
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
265
+  (0.1ms) begin transaction
266
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
267
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:59:59', '2015-12-09 21:59:59', 980190962)
268
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 21:59:59', '2015-12-09 21:59:59', 298486374)
269
+  (112.4ms) commit transaction
270
+  (0.1ms) begin transaction
271
+ ---------------------------------
272
+ LetsencryptPluginTest: test_truth
273
+ ---------------------------------
274
+  (0.1ms) rollback transaction
275
+  (0.1ms) begin transaction
276
+ -----------------------------------------------------------------------------------------
277
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
278
+ -----------------------------------------------------------------------------------------
279
+  (0.1ms) rollback transaction
280
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
281
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
282
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
283
+  (0.1ms) begin transaction
284
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
285
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:10:48', '2015-12-09 22:10:48', 980190962)
286
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:10:48', '2015-12-09 22:10:48', 298486374)
287
+  (75.7ms) commit transaction
288
+  (0.1ms) begin transaction
289
+ -----------------------------------------------------------------------------------------
290
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
291
+ -----------------------------------------------------------------------------------------
292
+  (0.1ms) rollback transaction
293
+  (0.1ms) begin transaction
294
+ ---------------------------------
295
+ LetsencryptPluginTest: test_truth
296
+ ---------------------------------
297
+  (0.1ms) rollback transaction
298
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
299
+  (0.1ms) begin transaction
300
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
301
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:11:15', '2015-12-09 22:11:15', 980190962)
302
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:11:15', '2015-12-09 22:11:15', 298486374)
303
+  (33.2ms) commit transaction
304
+  (0.1ms) begin transaction
305
+ ---------------------------------
306
+ LetsencryptPluginTest: test_truth
307
+ ---------------------------------
308
+  (0.1ms) rollback transaction
309
+  (0.1ms) begin transaction
310
+ -----------------------------------------------------------------------------------------
311
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
312
+ -----------------------------------------------------------------------------------------
313
+  (0.1ms) rollback transaction
314
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
315
+  (0.1ms) begin transaction
316
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
317
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:17:52', '2015-12-09 22:17:52', 980190962)
318
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:17:52', '2015-12-09 22:17:52', 298486374)
319
+  (100.4ms) commit transaction
320
+  (0.1ms) begin transaction
321
+ -----------------------------------------------------------------------------------------
322
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
323
+ -----------------------------------------------------------------------------------------
324
+  (0.1ms) rollback transaction
325
+  (0.1ms) begin transaction
326
+ ---------------------------------
327
+ LetsencryptPluginTest: test_truth
328
+ ---------------------------------
329
+  (0.0ms) rollback transaction
330
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
331
+  (0.1ms) begin transaction
332
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
333
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:18:08', '2015-12-09 22:18:08', 980190962)
334
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:18:08', '2015-12-09 22:18:08', 298486374)
335
+  (99.9ms) commit transaction
336
+  (0.1ms) begin transaction
337
+ ---------------------------------
338
+ LetsencryptPluginTest: test_truth
339
+ ---------------------------------
340
+  (0.1ms) rollback transaction
341
+  (0.1ms) begin transaction
342
+ -----------------------------------------------------------------------------------------
343
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
344
+ -----------------------------------------------------------------------------------------
345
+  (0.1ms) rollback transaction
346
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
347
+  (0.1ms) begin transaction
348
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
349
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:18:29', '2015-12-09 22:18:29', 980190962)
350
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:18:29', '2015-12-09 22:18:29', 298486374)
351
+  (142.5ms) commit transaction
352
+  (0.1ms) begin transaction
353
+ -----------------------------------------------------------------------------------------
354
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
355
+ -----------------------------------------------------------------------------------------
356
+ Started GET "/.well-known/acme-challenge?use_route=letsencrypt_plugin&challenge=" for 127.0.0.1 at 2015-12-09 23:18:29 +0100
357
+  (0.1ms) rollback transaction
358
+  (0.1ms) begin transaction
359
+ ---------------------------------
360
+ LetsencryptPluginTest: test_truth
361
+ ---------------------------------
362
+  (0.1ms) rollback transaction
363
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
364
+  (0.2ms) begin transaction
365
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
366
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:19:34', '2015-12-09 22:19:34', 980190962)
367
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:19:34', '2015-12-09 22:19:34', 298486374)
368
+  (47.5ms) commit transaction
369
+  (0.1ms) begin transaction
370
+ -----------------------------------------------------------------------------------------
371
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
372
+ -----------------------------------------------------------------------------------------
373
+ Started GET "/.well-known/acme-challenge/?challenge=" for 127.0.0.1 at 2015-12-09 23:19:34 +0100
374
+  (0.1ms) rollback transaction
375
+  (0.1ms) begin transaction
376
+ ---------------------------------
377
+ LetsencryptPluginTest: test_truth
378
+ ---------------------------------
379
+  (0.0ms) rollback transaction
380
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
381
+  (0.1ms) begin transaction
382
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
383
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:20:06', '2015-12-09 22:20:06', 980190962)
384
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:20:06', '2015-12-09 22:20:06', 298486374)
385
+  (118.7ms) commit transaction
386
+  (0.1ms) begin transaction
387
+ -----------------------------------------------------------------------------------------
388
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
389
+ -----------------------------------------------------------------------------------------
390
+  (0.1ms) rollback transaction
391
+  (0.1ms) begin transaction
392
+ ---------------------------------
393
+ LetsencryptPluginTest: test_truth
394
+ ---------------------------------
395
+  (0.1ms) rollback transaction
396
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
397
+  (0.1ms) begin transaction
398
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
399
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:20:25', '2015-12-09 22:20:25', 980190962)
400
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:20:25', '2015-12-09 22:20:25', 298486374)
401
+  (105.3ms) commit transaction
402
+  (0.1ms) begin transaction
403
+ -----------------------------------------------------------------------------------------
404
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
405
+ -----------------------------------------------------------------------------------------
406
+  (0.1ms) rollback transaction
407
+  (0.1ms) begin transaction
408
+ ---------------------------------
409
+ LetsencryptPluginTest: test_truth
410
+ ---------------------------------
411
+  (0.1ms) rollback transaction
412
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
413
+  (0.1ms) begin transaction
414
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
415
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:20:52', '2015-12-09 22:20:52', 980190962)
416
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:20:52', '2015-12-09 22:20:52', 298486374)
417
+  (110.3ms) commit transaction
418
+  (0.1ms) begin transaction
419
+ ---------------------------------
420
+ LetsencryptPluginTest: test_truth
421
+ ---------------------------------
422
+  (0.1ms) rollback transaction
423
+  (0.1ms) begin transaction
424
+ -----------------------------------------------------------------------------------------
425
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
426
+ -----------------------------------------------------------------------------------------
427
+ Started GET "/?challenge=" for 127.0.0.1 at 2015-12-09 23:20:52 +0100
428
+  (0.1ms) rollback transaction
429
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
430
+  (0.1ms) begin transaction
431
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
432
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:21:37', '2015-12-09 22:21:37', 980190962)
433
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:21:37', '2015-12-09 22:21:37', 298486374)
434
+  (85.0ms) commit transaction
435
+  (0.1ms) begin transaction
436
+ ---------------------------------
437
+ LetsencryptPluginTest: test_truth
438
+ ---------------------------------
439
+  (0.1ms) rollback transaction
440
+  (0.2ms) begin transaction
441
+ -----------------------------------------------------------------------------------------
442
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
443
+ -----------------------------------------------------------------------------------------
444
+ Started GET "/.well-known/acme-challenge/?challenge=" for 127.0.0.1 at 2015-12-09 23:21:37 +0100
445
+  (0.1ms) rollback transaction
446
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
447
+  (0.1ms) begin transaction
448
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
449
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:24:08', '2015-12-09 22:24:08', 980190962)
450
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:24:08', '2015-12-09 22:24:08', 298486374)
451
+  (62.0ms) commit transaction
452
+  (0.1ms) begin transaction
453
+ -----------------------------------------------------------------------------------------
454
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
455
+ -----------------------------------------------------------------------------------------
456
+ Started GET "/.well-known/acme-challenge/?challenge=" for 127.0.0.1 at 2015-12-09 23:24:08 +0100
457
+  (0.1ms) rollback transaction
458
+  (0.1ms) begin transaction
459
+ ---------------------------------
460
+ LetsencryptPluginTest: test_truth
461
+ ---------------------------------
462
+  (0.1ms) rollback transaction
463
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
464
+  (0.1ms) begin transaction
465
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
466
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:27:35', '2015-12-09 22:27:35', 980190962)
467
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-09 22:27:35', '2015-12-09 22:27:35', 298486374)
468
+  (90.3ms) commit transaction
469
+  (0.1ms) begin transaction
470
+ -----------------------------------------------------------------------------------------
471
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
472
+ -----------------------------------------------------------------------------------------
473
+ Started GET "/.well-known/acme-challenge/?challenge=&controller=letsencrypt_plugin%2Fapplication&action=index" for 127.0.0.1 at 2015-12-09 23:27:35 +0100
474
+  (0.1ms) rollback transaction
475
+  (0.1ms) begin transaction
476
+ ---------------------------------
477
+ LetsencryptPluginTest: test_truth
478
+ ---------------------------------
479
+  (0.1ms) rollback transaction
480
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
481
+  (0.2ms) begin transaction
482
+ Fixture Delete (0.2ms) DELETE FROM "letsencrypt_plugin_challenges"
483
+ Fixture Insert (0.2ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-16 20:06:39', '2015-12-16 20:06:39', 980190962)
484
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-16 20:06:39', '2015-12-16 20:06:39', 298486374)
485
+  (63.4ms) commit transaction
486
+  (0.1ms) begin transaction
487
+ ---------------------------------
488
+ LetsencryptPluginTest: test_truth
489
+ ---------------------------------
490
+  (0.1ms) rollback transaction
491
+  (0.1ms) begin transaction
492
+ -----------------------------------------------------------------------------------------
493
+ LetsencryptPlugin::ApplicationControllerTest: test_if_empty_challenge_will_return_HTTP404
494
+ -----------------------------------------------------------------------------------------
495
+ Started GET "/.well-known/acme-challenge/?challenge=&controller=letsencrypt_plugin%2Fapplication&action=index" for 127.0.0.1 at 2015-12-16 21:06:39 +0100
496
+  (0.1ms) rollback transaction
497
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
498
+  (0.1ms) begin transaction
499
+ Fixture Delete (0.1ms) DELETE FROM "letsencrypt_plugin_challenges"
500
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-16 20:08:01', '2015-12-16 20:08:01', 980190962)
501
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-16 20:08:01', '2015-12-16 20:08:01', 298486374)
502
+  (97.6ms) commit transaction
503
+  (0.2ms) begin transaction
504
+ ---------------------------------
505
+ LetsencryptPluginTest: test_truth
506
+ ---------------------------------
507
+  (0.1ms) rollback transaction
508
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
509
+  (0.3ms) begin transaction
510
+ Fixture Delete (0.4ms) DELETE FROM "letsencrypt_plugin_challenges"
511
+ Fixture Insert (0.3ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-17 22:46:02', '2015-12-17 22:46:02', 980190962)
512
+ Fixture Insert (0.1ms) INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2015-12-17 22:46:02', '2015-12-17 22:46:02', 298486374)
513
+  (50.7ms) commit transaction
514
+  (0.2ms) begin transaction
515
+ ---------------------------------
516
+ LetsencryptPluginTest: test_truth
517
+ ---------------------------------
518
+  (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.2
4
+ version: 0.0.3
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-06 00:00:00.000000000 Z
11
+ date: 2015-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -28,24 +28,24 @@ dependencies:
28
28
  name: acme-client
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.2.2
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'
40
+ version: 0.2.2
41
41
  - !ruby/object:Gem::Dependency
42
- name: sqlite3
42
+ name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
- type: :runtime
48
+ type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: minitest
56
+ name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -66,7 +66,11 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description:
69
+ description: letsencrypt-plugin is a Ruby on Rails helper for Let's Encrypt service
70
+ for retrieving SSL certificates (without using sudo, like original letsencrypt client
71
+ does). It uses acme-client gem for communication with Let's Encrypt server. ** This
72
+ gem requires database for storing challenge response - it could be any DB supported
73
+ by Ruby on Rails **
70
74
  email:
71
75
  - lgromanowski@gmail.com
72
76
  executables: []
@@ -120,6 +124,8 @@ files:
120
124
  - test/dummy/config/routes.rb
121
125
  - test/dummy/config/secrets.yml
122
126
  - test/dummy/db/schema.rb
127
+ - test/dummy/db/test.sqlite3
128
+ - test/dummy/log/test.log
123
129
  - test/dummy/public/404.html
124
130
  - test/dummy/public/422.html
125
131
  - test/dummy/public/500.html
@@ -157,6 +163,7 @@ test_files:
157
163
  - test/letsencrypt_plugin_test.rb
158
164
  - test/models/letsencrypt_plugin/challenge_test.rb
159
165
  - test/fixtures/letsencrypt_plugin/challenges.yml
166
+ - test/dummy/db/test.sqlite3
160
167
  - test/dummy/db/schema.rb
161
168
  - test/dummy/Rakefile
162
169
  - test/dummy/app/controllers/application_controller.rb
@@ -191,5 +198,6 @@ test_files:
191
198
  - test/dummy/config/environment.rb
192
199
  - test/dummy/config/locales/en.yml
193
200
  - test/dummy/config/routes.rb
201
+ - test/dummy/log/test.log
194
202
  - test/dummy/config.ru
195
203
  - test/dummy/README.rdoc