Added a license.
This commit is contained in:
parent
91f416f035
commit
d7d20b4c23
|
@ -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.
|
12
README.md
12
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('<p>Hello</p>')
|
||||
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue