hyaslide 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hyaslide/slide_loader.rb +1 -1
- data/lib/hyaslide/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: ca30fbabfc61e2080245db691aeb3dd0b4ec08ee
|
4
|
+
data.tar.gz: f593ddf1926e1d2ac304b36c7c72fce47cec602f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 642d6287458ebe19f5c12331ffb66d22dd33195c92be1763b1b7206f1ac46400bc6da651f29afc8fcd1ab236b18837a2419d0ac64e05f1f3a2dbb39f5d028ea9
|
7
|
+
data.tar.gz: 811916584b8eb1117663083b686a880fdbe5ff1c4262e346fe3d5fe0a4cd63af7ce275b129197116a29b912a94f638ba7c8384bbde171731b0600eccac9118b6
|
@@ -15,7 +15,7 @@ module Hyaslide
|
|
15
15
|
|
16
16
|
def self.load_slide(name)
|
17
17
|
Dir.mkdir('app/slides') unless Dir.exist?('app/slides')
|
18
|
-
Dir.mkdir(src_path(
|
18
|
+
Dir.mkdir(src_path(name)) unless Dir.exist?(src_path(name))
|
19
19
|
|
20
20
|
File.open("#{src_path(name)}/pages.rb", "w+") do |f|
|
21
21
|
data = File.read("data/#{name}/slide.md")
|
data/lib/hyaslide/version.rb
CHANGED