witch_doctor 0.1.1.1 → 0.1.2
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 +4 -4
- data/app/controllers/witch_doctor/virus_scans_controller.rb +1 -1
- data/lib/witch_doctor/version.rb +1 -1
- data/lib/witch_doctor.rb +5 -1
- data/spec/dummy/log/development.log +2 -0
- data/spec/dummy/log/test.log +4109 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e488255c1787360c0530fa7db20210960c9e40d
|
|
4
|
+
data.tar.gz: 2fd9f892ad7f38f8af98d45aa6db85c33b44511d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0da25a445b251b6d7a648b8c5b4e3da8d31c4b1559047987e4a97c82a975abd316f2acf9bb0dc1df910bed73d08c9afa5ab0484dc93aece4a42f85d8c90a7bab
|
|
7
|
+
data.tar.gz: 2691da3d55694e2690127890c885547c8982c04ff5e7057ca69aa5bc287f6b295906bb2611d15056dceff4d027223f8d4c79d77fa1b8140541d86b92ea8aad38
|
data/lib/witch_doctor/version.rb
CHANGED
data/lib/witch_doctor.rb
CHANGED
|
@@ -4,10 +4,14 @@ require "witch_doctor/antivirus_concern"
|
|
|
4
4
|
|
|
5
5
|
module WitchDoctor
|
|
6
6
|
class << self
|
|
7
|
-
attr_writer :time_stamper
|
|
7
|
+
attr_writer :time_stamper, :virus_scan_limit
|
|
8
8
|
|
|
9
9
|
def time_stamper
|
|
10
10
|
@time_stamper ||= -> { Time.now }
|
|
11
11
|
end
|
|
12
|
+
|
|
13
|
+
def virus_scan_limit
|
|
14
|
+
@virus_scan_limit ||= 10
|
|
15
|
+
end
|
|
12
16
|
end
|
|
13
17
|
end
|
|
@@ -277,3 +277,5 @@ Migrating to CreateWitchDoctorVirusScans (20150209121818)
|
|
|
277
277
|
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
|
278
278
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
279
279
|
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
280
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
281
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|