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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 933c60d9aac4b48163f95855260d2a4ea1c4a7fe
4
- data.tar.gz: 5e1ca4a1d6b4d376aec9ec70bbcebe47df7997cc
3
+ metadata.gz: d86938c31365c9d39a344bcfbc5b623f24351559
4
+ data.tar.gz: 06846e191f1c2238711da50167a82e03cc314d84
5
5
  SHA512:
6
- metadata.gz: a3a6bb19df51a1951882782c93acdb25b2fccc7bd2a3c8138d1d95a97c12e6ce9f1cc0f93b4e55a3fd6035b0ffbafb87c3835fc2c30b7ffd591b14c2cef92c06
7
- data.tar.gz: adbdce79e62ac5bb94323db6a590d715673ea2974ad651be493a11c5cab12cad740e296cccd876baa3e46cfdbe0c6e26a1389061e0a1579e574aa4e7043079c2
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.load(base_dir)
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
- all_pages << file
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
@@ -1,4 +1,3 @@
1
- require 'pry'
2
1
  require_relative "string"
3
2
  require_relative "page"
4
3
  require_relative "element"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Deepak