multisax 0.0.4 → 0.0.4.1

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: 3f164d0aee6e3ddfd210daa0986a1544bf643e69
4
- data.tar.gz: 2d70d700e08f2ee4a1908a2dd02c2c34efc2c25d
3
+ metadata.gz: 7611e8d5521d4f19bdf5274033a09d60e8d271e0
4
+ data.tar.gz: bcb18b8567d73dc8983b1074bfba49e67accbbb9
5
5
  SHA512:
6
- metadata.gz: 57646607e1686e980ad616d5e39672d66a7e092903f54b5166ec14ed80f5f206786ee8749bf87464a5463c1bee4588510f24ad322ff7fb7cfcaf99bc54c4dbef
7
- data.tar.gz: f587175f36daa320b3c24f06ce98edb72bbb7be01d53f4400d2ef11d9d7a2e89fc75ced8755a10723d635d887b7a0637c1fd1709095d45f7b15dd0892d99c0fc
6
+ metadata.gz: 6ab464a8c60c52dde5f989e6f89e09dd23ad1edc036748985b3edf189da6ea00e7d17a7da491a8d9f71e270815f3d0e9dca48655168ea67e6c4bf57b56cf5fa0
7
+ data.tar.gz: 5b8038852bc1f40975c9b33114f92ca56101716da0092c05ed59cbd120c2807951a8fa400a2101816d65e06f975c83d93ea182b89c00ec76be6ac0df7fec000b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # ChangeLog
2
2
 
3
+ ## 0.0.4.1 (2014 Jan 14)
4
+ - Fixed small stuff.
5
+
3
6
  ## 0.0.4 (2014 Jan 13)
4
7
  - Integrated travis. Now Ruby/Rubinius/jruby supports are assured.
5
8
  - Added xmlparser (expat bindings) gem support.
data/LICENSE.txt CHANGED
@@ -20,19 +20,10 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
20
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
21
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
22
 
23
- - A part of Nokogiri source code is cited to convert Nokogiri::XML::SAX::Document into module.
24
-
25
- - Copyright © 2008 - 2012: Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada
26
-
27
- 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:
28
-
29
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
30
-
31
- 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.
32
-
33
23
  Note: MultiSAX shouldn't load any copyleft libraries.
34
24
 
35
25
  - Ruby (REXML): 2-clause BSD License (or Artistic License)
36
26
  - Nokogiri: MIT License
37
27
  - libxml-ruby: MIT License
38
28
  - Ox: 3-clause BSD License
29
+ - xmlparser: MIT License
data/README.md CHANGED
@@ -32,7 +32,7 @@ A module which allows multiple SAX library transparently.
32
32
  * gem install xmlparser
33
33
  * to treat cdata, I recommend expat 2.x.
34
34
  * For example, OSX MacPorts users should:
35
- * gem install xmlparser --with-expat-include=/opt/local/include --with-expat-lib=/opt/local/lib
35
+ * gem install xmlparser -- --with-expat-include=/opt/local/include --with-expat-lib=/opt/local/lib
36
36
 
37
37
  ## Usage
38
38
  * Please check spec/multisax.spec as an example.
data/lib/multisax.rb CHANGED
@@ -8,14 +8,14 @@
8
8
 
9
9
  module MultiSAX
10
10
  # VERSION string
11
- VERSION='0.0.4'
11
+ VERSION='0.0.4.1'
12
12
 
13
13
  # The class to handle XML libraries.
14
14
  class SAX
15
- # constructor
16
- def initialize(*list)
15
+ # constructor.
16
+ # list cannot be passed directly, since you should the retval of open().
17
+ def initialize
17
18
  @parser=nil
18
- open(*list)
19
19
  end
20
20
  # Library loader.
21
21
  # Arguments are list (or Array) of libraries.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multisax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - cielavenir