pageify 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pageify.rb +4 -2
- data/lib/pageify/parse.rb +0 -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: d86938c31365c9d39a344bcfbc5b623f24351559
|
4
|
+
data.tar.gz: 06846e191f1c2238711da50167a82e03cc314d84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fff741e64b7bca73a0b5dff6e6ec3d03cf6010efaa98c5f0c5189dc35880f330dff24a80935d99a49de3c6f165326fe1b9505a7361f40885fbac90ff03a050bb
|
7
|
+
data.tar.gz: 5aafdd15b2b2439b198bc8878e63840edbfeebac3d1f5dc7a205bafe60437ecb5083bab206184677bf5b598bab84b67f49e942fd78e3fa9d411efd265e5990d8
|
data/lib/pageify.rb
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
require "pageify/parse"
|
2
2
|
|
3
3
|
class Pageify
|
4
|
-
def self.
|
4
|
+
def self.loadPages(base_dir)
|
5
5
|
base_dir.chomp! '/'
|
6
6
|
all_pages = []
|
7
7
|
Dir["#{base_dir}/**/"].each do |dir|
|
8
8
|
Dir["#{dir}/*.page"].each do |file|
|
9
|
-
|
9
|
+
p file
|
10
|
+
p "hi"
|
11
|
+
Parse.to_page_objects file
|
10
12
|
end
|
11
13
|
end
|
12
14
|
end
|
data/lib/pageify/parse.rb
CHANGED