just_inform 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/just_inform/downloader.rb +5 -1
- data/lib/just_inform/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6732a6879d4fa07981dda1279cd5c6ca6ec56865
|
4
|
+
data.tar.gz: 03899e01bf0ccfcc3f243782034f87f3bf1f6250
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40a7e871fa737fdee87b2cc2b2aa656989f2178660f7ee734a7d8b6fcbfc9647395a4a3e956c5264bdf4f6586ea67c2c3317a3792139b9314d18ea8f8a854bf2
|
7
|
+
data.tar.gz: 42daa8e84137d644bf7327120c6ec1552ad69309df7c7fa544c4d5cd2b4a7ab4fc8a37bc045ad008ccd2bea18d91890ee62b130a96e2d4d598d5d37d14a29914
|
@@ -16,7 +16,11 @@ module JustInform
|
|
16
16
|
private
|
17
17
|
|
18
18
|
def self.current_file?
|
19
|
-
|
19
|
+
dir = 'data'
|
20
|
+
unless File.directory?(dir)
|
21
|
+
FileUtils.mkdir_p(dir)
|
22
|
+
end
|
23
|
+
true if File.exists?(File.join dir, self.current_filename)
|
20
24
|
end
|
21
25
|
|
22
26
|
def self.current_filename
|
data/lib/just_inform/version.rb
CHANGED