humans_rb 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31b3837efb29afc20a4f3aa6f39920fc898d3254
4
- data.tar.gz: 47a5f07517c293edefb26a7280b50214db3e40e6
3
+ metadata.gz: dde684101ac3814b2193f370849a1be9b2d34ed5
4
+ data.tar.gz: 8b4b31b761892b9527862976d412da7e72d0ca02
5
5
  SHA512:
6
- metadata.gz: e801c5cda34580bc115be26192166688840c103805b29912929cea5df0e3d815bdf66c6df8faebfdb6fb891f5376a76efa3ebd751300c3382b56507482e7ed08
7
- data.tar.gz: f0dd43a448f032183953f64f051e1ae7e4ffa9c55db698d28273937c92e16b0c24405cf1faeeeea980ec082791336db5c5b3d3227b54186b933b431653db62e7
6
+ metadata.gz: ac07ba55eccce60be6391ddcf4fb47f18d2ef5beff6edb013c72c93a1c189c61c254e77c67fe441706ebcef912cd2767341f44386eb1e3127d3bdfb71133d44a
7
+ data.tar.gz: 511be9d5b84d8d8eb9deed488af9d1e7b9d307e2eeebfe30b8d607fba18e2da6652258e4b1d93b786fc99bb574588246f875c817472ae0b4bb6d51453fd3443d
@@ -1,4 +1,5 @@
1
- class HumansRb::Parser < Parslet::Parser
1
+ class HumansRb
2
+ class Parser < Parslet::Parser
2
3
  rule(:space) { str(" ") }
3
4
  rule(:space?) { space.repeat }
4
5
  rule(:tab) { match("[\t]").repeat(1) }
@@ -28,4 +29,5 @@ class HumansRb::Parser < Parslet::Parser
28
29
  rule(:document) { section.repeat(1).as(:sections) }
29
30
 
30
31
  root :document
32
+ end
31
33
  end
@@ -1,3 +1,3 @@
1
1
  class HumansRb
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/humans_rb.rb CHANGED
@@ -1,7 +1,8 @@
1
1
  require 'typhoeus'
2
2
  require 'parslet'
3
- require "humans_rb/parser"
4
- require "humans_rb/transform"
3
+ require_relative "humans_rb/version"
4
+ require_relative "humans_rb/parser"
5
+ require_relative "humans_rb/transform"
5
6
 
6
7
  class HumansRb
7
8
  def initialize(url_or_string)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: humans_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter