From d7d20b4c23de7a30d4dcefb758a251cb8aaff4d3 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Wed, 26 Feb 2014 22:20:47 +0100 Subject: [PATCH] Added a license. --- LICENSE | 19 +++++++++++++++++++ README.md | 12 +++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..42cbf3a --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2014, Yorick Peterse + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index dca69f1..5b25133 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ From [Wikipedia][oga-wikipedia]: > Oga: A large two-person saw used for ripping large boards in the days before > power saws. One person stood on a raised platform, with the board below him, -> and the other person stood underneath them. +> and the other person stood underneath them. ## Planned Features @@ -50,7 +50,7 @@ Pull parsing: require 'oga' parser = Oga::Parser::Pull.new('

Hello

') - + parser.each do |node| puts node.text end @@ -99,11 +99,17 @@ Oga is an attempt at solving this problem. By writing it in pure Ruby the initial performance will probably not be as great. However, I feel this is a problem with individual Ruby implementations, not the language itself. Also, by writing it in Ruby we don't have to deal with all the crazy things of C/C++ or -even Java. +even Java. In theory it should also allow it to run on every Ruby implementation, be it JRuby, Rubinius, Topaz or even mruby. +## License + +All source code in this repository is licensed under the MIT license unless +specified otherwise. A copy of this license can be found in the file "LICENSE" +in the root directory of this repository. + [nokogiri]: https://github.com/sparklemotion/nokogiri [oga-wikipedia]: https://en.wikipedia.org/wiki/Japanese_saw#Other_Japanese_saws [ox]: https://github.com/ohler55/ox