Sha256: 175c0e0d3c5f2ca3220a179c44d0c66f9717e08a5e2a0754d52820e739fb2858

Contents?: true

Size: 996 Bytes

Versions: 6

Compression:

Stored size: 996 Bytes

Contents

# Humans.rb

A Ruby gem for parsing humans.txt files

[![Build Status](https://travis-ci.org/benbalter/humans.rb.svg)](https://travis-ci.org/benbalter/humans.rb)

## Installation

1. Add `gem 'humans-rb'` to your project's Gemfile
2. `bundle install`

## Usage

```ruby
# Passing a domain (defaults to domain/humans.txt)
> HumansRb.new("http://ben.balter.com").parse
=> {
    :site=> {
      :"last updated"=>"2015/03/12",
      :standards=>"HTML5, CSS3",
      :components=> "jekyll, jekyll-coffeescript, jekyll-sass-converter, kramdown, maruku, rdiscount, redcarpet, RedCloth, liquid, pygments.rb, jemoji, jekyll-mentions, jekyll-redirect-from, jekyll-sitemap, github-pages, ruby"
    },
    :team=> {
      :name=>"benbalter", :site=>"https://github.com/benbalter"},
      :name=>"balterbot", :site=>"https://github.com/balterbot"}
    }
  }

# Passing a URL
> HumansRb.new("http://ben.balter.com/humans.txt").parse
=> {:site=>..}

# Passing a string
> HumansRb.new("/* SITE */...").parse
```

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
humans_rb-0.0.6 README.md
humans_rb-0.0.5 README.md
humans_rb-0.0.4 README.md
humans_rb-0.0.3 README.md
humans_rb-0.0.2 README.md
humans_rb-0.0.1 README.md