video_chat_get 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/file_operats/file_operat_chatdata.rb +11 -9
- data/lib/requests/request.rb +7 -5
- data/lib/site_list/mildom_analyze.rb +16 -18
- data/lib/site_list/openrec_analyze.rb +19 -18
- data/lib/site_list/twitcasting_analyze.rb +33 -25
- data/lib/site_list/whowatch_analyze.rb +5 -7
- data/lib/site_list/youtubelive_analyze.rb +26 -35
- data/lib/video_chat_get/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/bin/htmldiff +1 -1
- data/vendor/bundle/ruby/2.5.0/bin/ldiff +1 -1
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/json/ext/generator.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/json/ext/parser.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/mkmf.log +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/specifications/diff-lcs-1.3.gemspec +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/httpclient-2.8.3.gemspec +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/mini_portile2-2.4.0.gemspec +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/rake-10.5.0.gemspec +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.9.0.gemspec +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.9.2.gemspec +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.9.2.gemspec +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.9.1.gemspec +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.9.3.gemspec +2 -2
- metadata +2 -492
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.3.0/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.3.0/gem_make.out +0 -13
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.3.0/json/ext/generator.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.3.0/json/ext/parser.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/json-2.3.0/mkmf.log +0 -60
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/nokogiri-1.10.9/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/nokogiri-1.10.9/gem_make.out +0 -155
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/nokogiri-1.10.9/mkmf.log +0 -542
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-16/2.5.0/nokogiri-1.10.9/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/gem 2.build_complete b/data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/gem → 2.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/gem_make 2.out +0 -13
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/json/ext/generator 2.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/json/ext/parser 2.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/json-2.3.0/mkmf 2.log +0 -60
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/gem 2.build_complete b/data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/gem → 2.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/gem_make 2.out +0 -155
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/mkmf 2.log +0 -542
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9/nokogiri/nokogiri 2.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/diagrams/.keep 2 b/data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/diagrams/.keep → 2 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/Makefile 2 +0 -199
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/fbuffer/fbuffer 2.h +0 -187
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/.sitearchdir.-.json.-.ext 2.time b/data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/.sitearchdir.-.json.-.ext → 2.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/Makefile 2 +0 -265
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/depend 2 +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/extconf 2.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/generator 2.c +0 -1499
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/generator/generator 2.h +0 -171
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/.sitearchdir.-.json.-.ext 2.time b/data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/.sitearchdir.-.json.-.ext → 2.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/Makefile 2 +0 -265
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/depend 2 +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/extconf 2.rb +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/parser 2.c +0 -2136
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/parser 2.h +0 -91
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/ext/parser/parser 2.rl +0 -896
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/ext/json/extconf 2.rb +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/install 2.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/ByteListTranscoder 2.java +0 -166
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Generator 2.java +0 -466
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/GeneratorMethods 2.java +0 -231
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/GeneratorService 2.java +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/GeneratorState 2.java +0 -490
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/OptionsReader 2.java +0 -113
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Parser 2.java +0 -2362
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Parser 2.rl +0 -893
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/ParserService 2.java +0 -34
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/RuntimeInfo 2.java +0 -116
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/StringDecoder 2.java +0 -166
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/StringEncoder 2.java +0 -111
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/java/src/json/ext/Utils 2.java +0 -88
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/json 2.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/json-java 2.gemspec +0 -37
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/json_pure 2.gemspec +0 -38
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json 2.rb +0 -63
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/bigdecimal 2.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/complex 2.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/core 2.rb +0 -12
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/date 2.rb +0 -34
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/date_time 2.rb +0 -50
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/exception 2.rb +0 -31
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/ostruct 2.rb +0 -31
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/range 2.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/rational 2.rb +0 -28
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/regexp 2.rb +0 -30
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/set 2.rb +0 -29
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/struct 2.rb +0 -30
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/symbol 2.rb +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/add/time 2.rb +0 -38
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/common 2.rb +0 -456
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/ext 2.rb +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/ext/.keep 2 b/data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/ext/.keep → 2 +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/generic_object 2.rb +0 -71
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/pure 2.rb +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/pure/generator 2.rb +0 -459
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/pure/parser 2.rb +0 -319
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/lib/json/version 2.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/references/rfc7159 2.txt +0 -899
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail10 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail11 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail12 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail13 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail14 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail18 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail19 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail2 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail20 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail21 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail22 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail23 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail24 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail25 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail27 2.json +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail28 2.json +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail3 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail4 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail5 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail6 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail7 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail8 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/fail9 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/obsolete_fail1 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass1 2.json +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass15 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass16 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass17 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass2 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass26 2.json +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/fixtures/pass3 2.json +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_addition_test 2.rb +0 -203
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_common_interface_test 2.rb +0 -126
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_encoding_test 2.rb +0 -107
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_ext_parser_test 2.rb +0 -15
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_fixtures_test 2.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_generator_test 2.rb +0 -421
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_generic_object_test 2.rb +0 -82
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_parser_test 2.rb +0 -472
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/json_string_matching_test 2.rb +0 -38
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tests/test_helper 2.rb +0 -17
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tools/diff 2.sh +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tools/fuzz 2.rb +0 -131
- data/vendor/bundle/ruby/2.5.0/gems/json-2.3.0/tools/server 2.rb +0 -62
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/LICENSE 2.md +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/LICENSE-DEPENDENCIES 2.md +0 -1614
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/README 2.md +0 -198
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/bin/nokogiri 2 +0 -118
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/dependencies 2.yml +0 -74
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/.sitearchdir.-.nokogiri 2.time b/data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/.sitearchdir.-.nokogiri → 2.time +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/Makefile 2 +0 -626
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/depend 2 +0 -358
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/extconf 2.rb +0 -686
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_document 2.c +0 -170
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_document 2.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_document 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_element_description 2.c +0 -279
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_element_description 2.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_element_description 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_entity_lookup 2.c +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_entity_lookup 2.h +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_entity_lookup 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_parser_context 2.c +0 -116
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_parser_context 2.h +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_parser_context 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_push_parser 2.c +0 -87
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_push_parser 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/html_sax_push_parser 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri 2.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri 2.c +0 -141
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri 2.h +0 -121
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/nokogiri 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attr 2.c +0 -103
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attr 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attr 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attribute_decl 2.c +0 -70
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attribute_decl 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_attribute_decl 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_cdata 2.c +0 -62
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_cdata 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_cdata 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_comment 2.c +0 -69
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_comment 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_comment 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document 2.c +0 -608
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document 2.h +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document_fragment 2.c +0 -48
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document_fragment 2.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_document_fragment 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_dtd 2.c +0 -202
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_dtd 2.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_dtd 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_content 2.c +0 -123
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_content 2.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_content 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_decl 2.c +0 -69
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_decl 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_decl 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_element_decl 3.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler 2.c +0 -79
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler 2.h +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler 3.c +0 -79
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler 3.h +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_encoding_handler 3.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl 2.c +0 -110
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl 2.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl 3.c +0 -110
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_decl 3.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference 2.c +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference 3.c +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_entity_reference 3.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io 2.c +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io 2.h +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io 3.c +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_io 3.h +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks 2.c +0 -112
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks 2.h +0 -12
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks 3.c +0 -112
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks 3.h +0 -12
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_libxml2_hacks 3.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace 2.c +0 -111
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace 2.h +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace 3.c +0 -111
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace 3.h +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_namespace 3.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node 2.c +0 -1753
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node 2.h +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node 3.h +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set 2.c +0 -486
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set 2.h +0 -12
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set 3.c +0 -486
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_node_set 3.h +0 -12
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction 2.c +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction 3.c +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_processing_instruction 3.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader 2.c +0 -668
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader 2.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader 3.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_reader 3.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng 2.c +0 -161
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng 3.c +0 -161
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_relax_ng 3.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser 2.c +0 -310
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser 2.h +0 -39
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser 3.c +0 -310
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser 3.h +0 -39
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context 2.c +0 -262
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context 2.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context 3.c +0 -262
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context 3.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_parser_context 3.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser 2.c +0 -159
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser 3.c +0 -159
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_sax_push_parser 3.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema 2.c +0 -234
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema 3.c +0 -234
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_schema 3.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error 2.c +0 -64
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error 2.h +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error 3.c +0 -64
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error 3.h +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_syntax_error 3.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text 2.c +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text 2.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text 3.c +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_text 3.h +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context 2.c +0 -298
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context 2.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context 3.h +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xml_xpath_context 3.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet 2.c +0 -270
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet 2.h +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet 2.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet 3.c +0 -270
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet 3.h +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/ext/nokogiri/xslt_stylesheet 3.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri 2.rb +0 -144
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri 3.rb +0 -144
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css 2.rb +0 -27
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css 3.rb +0 -27
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/node 2.rb +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/node 3.rb +0 -52
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser 2.rb +0 -750
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser 2.y +0 -272
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser 3.rb +0 -750
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser 3.y +0 -272
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser_extras 2.rb +0 -91
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/parser_extras 3.rb +0 -91
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/syntax_error 2.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/syntax_error 3.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/tokenizer 2.rb +0 -153
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/tokenizer 2.rex +0 -55
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/tokenizer 3.rb +0 -153
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/tokenizer 3.rex +0 -55
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/xpath_visitor 2.rb +0 -230
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/css/xpath_visitor 3.rb +0 -230
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/decorators/slop 2.rb +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/decorators/slop 3.rb +0 -42
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html 2.rb +0 -37
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html 3.rb +0 -37
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/builder 2.rb +0 -35
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/builder 3.rb +0 -35
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/document 2.rb +0 -335
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/document 3.rb +0 -335
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/document_fragment 2.rb +0 -49
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/document_fragment 3.rb +0 -49
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/element_description 2.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/element_description 3.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/element_description_defaults 2.rb +0 -671
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/element_description_defaults 3.rb +0 -671
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/entity_lookup 2.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/entity_lookup 3.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/parser 2.rb +0 -62
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/parser 3.rb +0 -62
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/parser_context 2.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/parser_context 3.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/push_parser 2.rb +0 -36
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/html/sax/push_parser 3.rb +0 -36
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/nokogiri 2.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/nokogiri 3.bundle +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/syntax_error 2.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/syntax_error 3.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/version 2.rb +0 -109
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/version 3.rb +0 -109
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml 2.rb +0 -75
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml 3.rb +0 -75
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/attr 2.rb +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/attr 3.rb +0 -14
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/attribute_decl 2.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/attribute_decl 3.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/builder 2.rb +0 -446
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/builder 3.rb +0 -446
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/cdata 2.rb +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/cdata 3.rb +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/character_data 2.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/character_data 3.rb +0 -7
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/document 2.rb +0 -285
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/document 3.rb +0 -285
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/document_fragment 2.rb +0 -160
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/document_fragment 3.rb +0 -160
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/dtd 2.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/dtd 3.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/element_content 2.rb +0 -36
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/element_content 3.rb +0 -36
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/element_decl 2.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/element_decl 3.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/entity_decl 2.rb +0 -19
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/entity_decl 3.rb +0 -19
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/entity_reference 2.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/entity_reference 3.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/namespace 2.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/namespace 3.rb +0 -13
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node 2.rb +0 -902
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node 3.rb +0 -902
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node/save_options 2.rb +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node/save_options 3.rb +0 -61
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node_set 2.rb +0 -371
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/node_set 3.rb +0 -371
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/notation 2.rb +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/notation 3.rb +0 -6
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/parse_options 2.rb +0 -120
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/parse_options 3.rb +0 -120
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp 2.rb +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp 3.rb +0 -2
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp/character_data 2.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp/character_data 3.rb +0 -18
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp/node 2.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/pp/node 3.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/processing_instruction 2.rb +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/processing_instruction 3.rb +0 -8
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/reader 2.rb +0 -112
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/reader 3.rb +0 -112
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/relax_ng 2.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/relax_ng 3.rb +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax 2.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax 3.rb +0 -4
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/document 2.rb +0 -171
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/document 3.rb +0 -171
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/parser 2.rb +0 -122
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/parser 3.rb +0 -122
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/parser_context 2.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/parser_context 3.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/push_parser 2.rb +0 -60
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/sax/push_parser 3.rb +0 -60
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/schema 2.rb +0 -63
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/schema 3.rb +0 -63
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/searchable 2.rb +0 -230
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/searchable 3.rb +0 -230
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/syntax_error 2.rb +0 -70
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/syntax_error 3.rb +0 -70
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/text 2.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/text 3.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath 2.rb +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath 3.rb +0 -10
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath/syntax_error 2.rb +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath/syntax_error 3.rb +0 -11
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath_context 2.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xml/xpath_context 3.rb +0 -16
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xslt 2.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xslt 3.rb +0 -56
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xslt/stylesheet 2.rb +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/nokogiri/xslt/stylesheet 3.rb +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/xsd/xmlparser/nokogiri 2.rb +0 -102
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/lib/xsd/xmlparser/nokogiri 3.rb +0 -102
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes 2.patch +0 -78
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes 3.patch +0 -78
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0002-Remove-script-macro-support 2.patch +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0002-Remove-script-macro-support 3.patch +0 -40
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi 2.patch +0 -44
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi 3.patch +0 -44
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0004-libxml2.la-is-in-top_builddir 2.patch +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0004-libxml2.la-is-in-top_builddir 3.patch +0 -25
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities 2.patch +0 -32
- data/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.9/patches/libxml2/0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities 3.patch +0 -32
@@ -1,122 +0,0 @@
|
|
1
|
-
module Nokogiri
|
2
|
-
module XML
|
3
|
-
module SAX
|
4
|
-
###
|
5
|
-
# This parser is a SAX style parser that reads it's input as it
|
6
|
-
# deems necessary. The parser takes a Nokogiri::XML::SAX::Document,
|
7
|
-
# an optional encoding, then given an XML input, sends messages to
|
8
|
-
# the Nokogiri::XML::SAX::Document.
|
9
|
-
#
|
10
|
-
# Here is an example of using this parser:
|
11
|
-
#
|
12
|
-
# # Create a subclass of Nokogiri::XML::SAX::Document and implement
|
13
|
-
# # the events we care about:
|
14
|
-
# class MyDoc < Nokogiri::XML::SAX::Document
|
15
|
-
# def start_element name, attrs = []
|
16
|
-
# puts "starting: #{name}"
|
17
|
-
# end
|
18
|
-
#
|
19
|
-
# def end_element name
|
20
|
-
# puts "ending: #{name}"
|
21
|
-
# end
|
22
|
-
# end
|
23
|
-
#
|
24
|
-
# # Create our parser
|
25
|
-
# parser = Nokogiri::XML::SAX::Parser.new(MyDoc.new)
|
26
|
-
#
|
27
|
-
# # Send some XML to the parser
|
28
|
-
# parser.parse(File.open(ARGV[0]))
|
29
|
-
#
|
30
|
-
# For more information about SAX parsers, see Nokogiri::XML::SAX. Also
|
31
|
-
# see Nokogiri::XML::SAX::Document for the available events.
|
32
|
-
class Parser
|
33
|
-
class Attribute < Struct.new(:localname, :prefix, :uri, :value)
|
34
|
-
end
|
35
|
-
|
36
|
-
# Encodinds this parser supports
|
37
|
-
ENCODINGS = {
|
38
|
-
'NONE' => 0, # No char encoding detected
|
39
|
-
'UTF-8' => 1, # UTF-8
|
40
|
-
'UTF16LE' => 2, # UTF-16 little endian
|
41
|
-
'UTF16BE' => 3, # UTF-16 big endian
|
42
|
-
'UCS4LE' => 4, # UCS-4 little endian
|
43
|
-
'UCS4BE' => 5, # UCS-4 big endian
|
44
|
-
'EBCDIC' => 6, # EBCDIC uh!
|
45
|
-
'UCS4-2143' => 7, # UCS-4 unusual ordering
|
46
|
-
'UCS4-3412' => 8, # UCS-4 unusual ordering
|
47
|
-
'UCS2' => 9, # UCS-2
|
48
|
-
'ISO-8859-1' => 10, # ISO-8859-1 ISO Latin 1
|
49
|
-
'ISO-8859-2' => 11, # ISO-8859-2 ISO Latin 2
|
50
|
-
'ISO-8859-3' => 12, # ISO-8859-3
|
51
|
-
'ISO-8859-4' => 13, # ISO-8859-4
|
52
|
-
'ISO-8859-5' => 14, # ISO-8859-5
|
53
|
-
'ISO-8859-6' => 15, # ISO-8859-6
|
54
|
-
'ISO-8859-7' => 16, # ISO-8859-7
|
55
|
-
'ISO-8859-8' => 17, # ISO-8859-8
|
56
|
-
'ISO-8859-9' => 18, # ISO-8859-9
|
57
|
-
'ISO-2022-JP' => 19, # ISO-2022-JP
|
58
|
-
'SHIFT-JIS' => 20, # Shift_JIS
|
59
|
-
'EUC-JP' => 21, # EUC-JP
|
60
|
-
'ASCII' => 22, # pure ASCII
|
61
|
-
}
|
62
|
-
|
63
|
-
# The Nokogiri::XML::SAX::Document where events will be sent.
|
64
|
-
attr_accessor :document
|
65
|
-
|
66
|
-
# The encoding beings used for this document.
|
67
|
-
attr_accessor :encoding
|
68
|
-
|
69
|
-
# Create a new Parser with +doc+ and +encoding+
|
70
|
-
def initialize doc = Nokogiri::XML::SAX::Document.new, encoding = 'UTF-8'
|
71
|
-
@encoding = check_encoding(encoding)
|
72
|
-
@document = doc
|
73
|
-
@warned = false
|
74
|
-
end
|
75
|
-
|
76
|
-
###
|
77
|
-
# Parse given +thing+ which may be a string containing xml, or an
|
78
|
-
# IO object.
|
79
|
-
def parse thing, &block
|
80
|
-
if thing.respond_to?(:read) && thing.respond_to?(:close)
|
81
|
-
parse_io(thing, &block)
|
82
|
-
else
|
83
|
-
parse_memory(thing, &block)
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
###
|
88
|
-
# Parse given +io+
|
89
|
-
def parse_io io, encoding = 'ASCII'
|
90
|
-
@encoding = check_encoding(encoding)
|
91
|
-
ctx = ParserContext.io(io, ENCODINGS[@encoding])
|
92
|
-
yield ctx if block_given?
|
93
|
-
ctx.parse_with self
|
94
|
-
end
|
95
|
-
|
96
|
-
###
|
97
|
-
# Parse a file with +filename+
|
98
|
-
def parse_file filename
|
99
|
-
raise ArgumentError unless filename
|
100
|
-
raise Errno::ENOENT unless File.exist?(filename)
|
101
|
-
raise Errno::EISDIR if File.directory?(filename)
|
102
|
-
ctx = ParserContext.file filename
|
103
|
-
yield ctx if block_given?
|
104
|
-
ctx.parse_with self
|
105
|
-
end
|
106
|
-
|
107
|
-
def parse_memory data
|
108
|
-
ctx = ParserContext.memory data
|
109
|
-
yield ctx if block_given?
|
110
|
-
ctx.parse_with self
|
111
|
-
end
|
112
|
-
|
113
|
-
private
|
114
|
-
def check_encoding(encoding)
|
115
|
-
encoding.upcase.tap do |enc|
|
116
|
-
raise ArgumentError.new("'#{enc}' is not a valid encoding") unless ENCODINGS[enc]
|
117
|
-
end
|
118
|
-
end
|
119
|
-
end
|
120
|
-
end
|
121
|
-
end
|
122
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
module Nokogiri
|
2
|
-
module XML
|
3
|
-
module SAX
|
4
|
-
###
|
5
|
-
# Context for XML SAX parsers. This class is usually not instantiated
|
6
|
-
# by the user. Instead, you should be looking at
|
7
|
-
# Nokogiri::XML::SAX::Parser
|
8
|
-
class ParserContext
|
9
|
-
def self.new thing, encoding = 'UTF-8'
|
10
|
-
[:read, :close].all? { |x| thing.respond_to?(x) } ?
|
11
|
-
io(thing, Parser::ENCODINGS[encoding]) : memory(thing)
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
module Nokogiri
|
2
|
-
module XML
|
3
|
-
module SAX
|
4
|
-
###
|
5
|
-
# Context for XML SAX parsers. This class is usually not instantiated
|
6
|
-
# by the user. Instead, you should be looking at
|
7
|
-
# Nokogiri::XML::SAX::Parser
|
8
|
-
class ParserContext
|
9
|
-
def self.new thing, encoding = 'UTF-8'
|
10
|
-
[:read, :close].all? { |x| thing.respond_to?(x) } ?
|
11
|
-
io(thing, Parser::ENCODINGS[encoding]) : memory(thing)
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
@@ -1,60 +0,0 @@
|
|
1
|
-
module Nokogiri
|
2
|
-
module XML
|
3
|
-
module SAX
|
4
|
-
###
|
5
|
-
# PushParser can parse a document that is fed to it manually. It
|
6
|
-
# must be given a SAX::Document object which will be called with
|
7
|
-
# SAX events as the document is being parsed.
|
8
|
-
#
|
9
|
-
# Calling PushParser#<< writes XML to the parser, calling any SAX
|
10
|
-
# callbacks it can.
|
11
|
-
#
|
12
|
-
# PushParser#finish tells the parser that the document is finished
|
13
|
-
# and calls the end_document SAX method.
|
14
|
-
#
|
15
|
-
# Example:
|
16
|
-
#
|
17
|
-
# parser = PushParser.new(Class.new(XML::SAX::Document) {
|
18
|
-
# def start_document
|
19
|
-
# puts "start document called"
|
20
|
-
# end
|
21
|
-
# }.new)
|
22
|
-
# parser << "<div>hello<"
|
23
|
-
# parser << "/div>"
|
24
|
-
# parser.finish
|
25
|
-
class PushParser
|
26
|
-
|
27
|
-
# The Nokogiri::XML::SAX::Document on which the PushParser will be
|
28
|
-
# operating
|
29
|
-
attr_accessor :document
|
30
|
-
|
31
|
-
###
|
32
|
-
# Create a new PushParser with +doc+ as the SAX Document, providing
|
33
|
-
# an optional +file_name+ and +encoding+
|
34
|
-
def initialize(doc = XML::SAX::Document.new, file_name = nil, encoding = 'UTF-8')
|
35
|
-
@document = doc
|
36
|
-
@encoding = encoding
|
37
|
-
@sax_parser = XML::SAX::Parser.new(doc)
|
38
|
-
|
39
|
-
## Create our push parser context
|
40
|
-
initialize_native(@sax_parser, file_name)
|
41
|
-
end
|
42
|
-
|
43
|
-
###
|
44
|
-
# Write a +chunk+ of XML to the PushParser. Any callback methods
|
45
|
-
# that can be called will be called immediately.
|
46
|
-
def write chunk, last_chunk = false
|
47
|
-
native_write(chunk, last_chunk)
|
48
|
-
end
|
49
|
-
alias :<< :write
|
50
|
-
|
51
|
-
###
|
52
|
-
# Finish the parsing. This method is only necessary for
|
53
|
-
# Nokogiri::XML::SAX::Document#end_document to be called.
|
54
|
-
def finish
|
55
|
-
write '', true
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
@@ -1,60 +0,0 @@
|
|
1
|
-
module Nokogiri
|
2
|
-
module XML
|
3
|
-
module SAX
|
4
|
-
###
|
5
|
-
# PushParser can parse a document that is fed to it manually. It
|
6
|
-
# must be given a SAX::Document object which will be called with
|
7
|
-
# SAX events as the document is being parsed.
|
8
|
-
#
|
9
|
-
# Calling PushParser#<< writes XML to the parser, calling any SAX
|
10
|
-
# callbacks it can.
|
11
|
-
#
|
12
|
-
# PushParser#finish tells the parser that the document is finished
|
13
|
-
# and calls the end_document SAX method.
|
14
|
-
#
|
15
|
-
# Example:
|
16
|
-
#
|
17
|
-
# parser = PushParser.new(Class.new(XML::SAX::Document) {
|
18
|
-
# def start_document
|
19
|
-
# puts "start document called"
|
20
|
-
# end
|
21
|
-
# }.new)
|
22
|
-
# parser << "<div>hello<"
|
23
|
-
# parser << "/div>"
|
24
|
-
# parser.finish
|
25
|
-
class PushParser
|
26
|
-
|
27
|
-
# The Nokogiri::XML::SAX::Document on which the PushParser will be
|
28
|
-
# operating
|
29
|
-
attr_accessor :document
|
30
|
-
|
31
|
-
###
|
32
|
-
# Create a new PushParser with +doc+ as the SAX Document, providing
|
33
|
-
# an optional +file_name+ and +encoding+
|
34
|
-
def initialize(doc = XML::SAX::Document.new, file_name = nil, encoding = 'UTF-8')
|
35
|
-
@document = doc
|
36
|
-
@encoding = encoding
|
37
|
-
@sax_parser = XML::SAX::Parser.new(doc)
|
38
|
-
|
39
|
-
## Create our push parser context
|
40
|
-
initialize_native(@sax_parser, file_name)
|
41
|
-
end
|
42
|
-
|
43
|
-
###
|
44
|
-
# Write a +chunk+ of XML to the PushParser. Any callback methods
|
45
|
-
# that can be called will be called immediately.
|
46
|
-
def write chunk, last_chunk = false
|
47
|
-
native_write(chunk, last_chunk)
|
48
|
-
end
|
49
|
-
alias :<< :write
|
50
|
-
|
51
|
-
###
|
52
|
-
# Finish the parsing. This method is only necessary for
|
53
|
-
# Nokogiri::XML::SAX::Document#end_document to be called.
|
54
|
-
def finish
|
55
|
-
write '', true
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
@@ -1,63 +0,0 @@
|
|
1
|
-
module Nokogiri
|
2
|
-
module XML
|
3
|
-
class << self
|
4
|
-
###
|
5
|
-
# Create a new Nokogiri::XML::Schema object using a +string_or_io+
|
6
|
-
# object.
|
7
|
-
def Schema string_or_io
|
8
|
-
Schema.new(string_or_io)
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
###
|
13
|
-
# Nokogiri::XML::Schema is used for validating XML against a schema
|
14
|
-
# (usually from an xsd file).
|
15
|
-
#
|
16
|
-
# == Synopsis
|
17
|
-
#
|
18
|
-
# Validate an XML document against a Schema. Loop over the errors that
|
19
|
-
# are returned and print them out:
|
20
|
-
#
|
21
|
-
# xsd = Nokogiri::XML::Schema(File.read(PO_SCHEMA_FILE))
|
22
|
-
# doc = Nokogiri::XML(File.read(PO_XML_FILE))
|
23
|
-
#
|
24
|
-
# xsd.validate(doc).each do |error|
|
25
|
-
# puts error.message
|
26
|
-
# end
|
27
|
-
#
|
28
|
-
# The list of errors are Nokogiri::XML::SyntaxError objects.
|
29
|
-
class Schema
|
30
|
-
# Errors while parsing the schema file
|
31
|
-
attr_accessor :errors
|
32
|
-
|
33
|
-
###
|
34
|
-
# Create a new Nokogiri::XML::Schema object using a +string_or_io+
|
35
|
-
# object.
|
36
|
-
def self.new string_or_io
|
37
|
-
from_document Nokogiri::XML(string_or_io)
|
38
|
-
end
|
39
|
-
|
40
|
-
###
|
41
|
-
# Validate +thing+ against this schema. +thing+ can be a
|
42
|
-
# Nokogiri::XML::Document object, or a filename. An Array of
|
43
|
-
# Nokogiri::XML::SyntaxError objects found while validating the
|
44
|
-
# +thing+ is returned.
|
45
|
-
def validate thing
|
46
|
-
if thing.is_a?(Nokogiri::XML::Document)
|
47
|
-
validate_document(thing)
|
48
|
-
elsif File.file?(thing)
|
49
|
-
validate_file(thing)
|
50
|
-
else
|
51
|
-
raise ArgumentError, "Must provide Nokogiri::Xml::Document or the name of an existing file"
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
###
|
56
|
-
# Returns true if +thing+ is a valid Nokogiri::XML::Document or
|
57
|
-
# file.
|
58
|
-
def valid? thing
|
59
|
-
validate(thing).length == 0
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
@@ -1,63 +0,0 @@
|
|
1
|
-
module Nokogiri
|
2
|
-
module XML
|
3
|
-
class << self
|
4
|
-
###
|
5
|
-
# Create a new Nokogiri::XML::Schema object using a +string_or_io+
|
6
|
-
# object.
|
7
|
-
def Schema string_or_io
|
8
|
-
Schema.new(string_or_io)
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
###
|
13
|
-
# Nokogiri::XML::Schema is used for validating XML against a schema
|
14
|
-
# (usually from an xsd file).
|
15
|
-
#
|
16
|
-
# == Synopsis
|
17
|
-
#
|
18
|
-
# Validate an XML document against a Schema. Loop over the errors that
|
19
|
-
# are returned and print them out:
|
20
|
-
#
|
21
|
-
# xsd = Nokogiri::XML::Schema(File.read(PO_SCHEMA_FILE))
|
22
|
-
# doc = Nokogiri::XML(File.read(PO_XML_FILE))
|
23
|
-
#
|
24
|
-
# xsd.validate(doc).each do |error|
|
25
|
-
# puts error.message
|
26
|
-
# end
|
27
|
-
#
|
28
|
-
# The list of errors are Nokogiri::XML::SyntaxError objects.
|
29
|
-
class Schema
|
30
|
-
# Errors while parsing the schema file
|
31
|
-
attr_accessor :errors
|
32
|
-
|
33
|
-
###
|
34
|
-
# Create a new Nokogiri::XML::Schema object using a +string_or_io+
|
35
|
-
# object.
|
36
|
-
def self.new string_or_io
|
37
|
-
from_document Nokogiri::XML(string_or_io)
|
38
|
-
end
|
39
|
-
|
40
|
-
###
|
41
|
-
# Validate +thing+ against this schema. +thing+ can be a
|
42
|
-
# Nokogiri::XML::Document object, or a filename. An Array of
|
43
|
-
# Nokogiri::XML::SyntaxError objects found while validating the
|
44
|
-
# +thing+ is returned.
|
45
|
-
def validate thing
|
46
|
-
if thing.is_a?(Nokogiri::XML::Document)
|
47
|
-
validate_document(thing)
|
48
|
-
elsif File.file?(thing)
|
49
|
-
validate_file(thing)
|
50
|
-
else
|
51
|
-
raise ArgumentError, "Must provide Nokogiri::Xml::Document or the name of an existing file"
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
###
|
56
|
-
# Returns true if +thing+ is a valid Nokogiri::XML::Document or
|
57
|
-
# file.
|
58
|
-
def valid? thing
|
59
|
-
validate(thing).length == 0
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
@@ -1,230 +0,0 @@
|
|
1
|
-
module Nokogiri
|
2
|
-
module XML
|
3
|
-
#
|
4
|
-
# The Searchable module declares the interface used for searching your DOM.
|
5
|
-
#
|
6
|
-
# It implements the public methods `search`, `css`, and `xpath`,
|
7
|
-
# as well as allowing specific implementations to specialize some
|
8
|
-
# of the important behaviors.
|
9
|
-
#
|
10
|
-
module Searchable
|
11
|
-
# Regular expression used by Searchable#search to determine if a query
|
12
|
-
# string is CSS or XPath
|
13
|
-
LOOKS_LIKE_XPATH = /^(\.\/|\/|\.\.|\.$)/
|
14
|
-
|
15
|
-
###
|
16
|
-
# call-seq: search *paths, [namespace-bindings, xpath-variable-bindings, custom-handler-class]
|
17
|
-
#
|
18
|
-
# Search this object for +paths+. +paths+ must be one or more XPath or CSS queries:
|
19
|
-
#
|
20
|
-
# node.search("div.employee", ".//title")
|
21
|
-
#
|
22
|
-
# A hash of namespace bindings may be appended:
|
23
|
-
#
|
24
|
-
# node.search('.//bike:tire', {'bike' => 'http://schwinn.com/'})
|
25
|
-
# node.search('bike|tire', {'bike' => 'http://schwinn.com/'})
|
26
|
-
#
|
27
|
-
# For XPath queries, a hash of variable bindings may also be
|
28
|
-
# appended to the namespace bindings. For example:
|
29
|
-
#
|
30
|
-
# node.search('.//address[@domestic=$value]', nil, {:value => 'Yes'})
|
31
|
-
#
|
32
|
-
# Custom XPath functions and CSS pseudo-selectors may also be
|
33
|
-
# defined. To define custom functions create a class and
|
34
|
-
# implement the function you want to define. The first argument
|
35
|
-
# to the method will be the current matching NodeSet. Any other
|
36
|
-
# arguments are ones that you pass in. Note that this class may
|
37
|
-
# appear anywhere in the argument list. For example:
|
38
|
-
#
|
39
|
-
# node.search('.//title[regex(., "\w+")]', 'div.employee:regex("[0-9]+")'
|
40
|
-
# Class.new {
|
41
|
-
# def regex node_set, regex
|
42
|
-
# node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
|
43
|
-
# end
|
44
|
-
# }.new
|
45
|
-
# )
|
46
|
-
#
|
47
|
-
# See Searchable#xpath and Searchable#css for further usage help.
|
48
|
-
def search *args
|
49
|
-
paths, handler, ns, binds = extract_params(args)
|
50
|
-
|
51
|
-
xpaths = paths.map(&:to_s).map do |path|
|
52
|
-
(path =~ LOOKS_LIKE_XPATH) ? path : xpath_query_from_css_rule(path, ns)
|
53
|
-
end.flatten.uniq
|
54
|
-
|
55
|
-
xpath(*(xpaths + [ns, handler, binds].compact))
|
56
|
-
end
|
57
|
-
alias :/ :search
|
58
|
-
|
59
|
-
###
|
60
|
-
# call-seq: search *paths, [namespace-bindings, xpath-variable-bindings, custom-handler-class]
|
61
|
-
#
|
62
|
-
# Search this object for +paths+, and return only the first
|
63
|
-
# result. +paths+ must be one or more XPath or CSS queries.
|
64
|
-
#
|
65
|
-
# See Searchable#search for more information.
|
66
|
-
def at *args
|
67
|
-
search(*args).first
|
68
|
-
end
|
69
|
-
alias :% :at
|
70
|
-
|
71
|
-
###
|
72
|
-
# call-seq: css *rules, [namespace-bindings, custom-pseudo-class]
|
73
|
-
#
|
74
|
-
# Search this object for CSS +rules+. +rules+ must be one or more CSS
|
75
|
-
# selectors. For example:
|
76
|
-
#
|
77
|
-
# node.css('title')
|
78
|
-
# node.css('body h1.bold')
|
79
|
-
# node.css('div + p.green', 'div#one')
|
80
|
-
#
|
81
|
-
# A hash of namespace bindings may be appended. For example:
|
82
|
-
#
|
83
|
-
# node.css('bike|tire', {'bike' => 'http://schwinn.com/'})
|
84
|
-
#
|
85
|
-
# Custom CSS pseudo classes may also be defined. To define
|
86
|
-
# custom pseudo classes, create a class and implement the custom
|
87
|
-
# pseudo class you want defined. The first argument to the
|
88
|
-
# method will be the current matching NodeSet. Any other
|
89
|
-
# arguments are ones that you pass in. For example:
|
90
|
-
#
|
91
|
-
# node.css('title:regex("\w+")', Class.new {
|
92
|
-
# def regex node_set, regex
|
93
|
-
# node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
|
94
|
-
# end
|
95
|
-
# }.new)
|
96
|
-
#
|
97
|
-
# Note that the CSS query string is case-sensitive with regards
|
98
|
-
# to your document type. That is, if you're looking for "H1" in
|
99
|
-
# an HTML document, you'll never find anything, since HTML tags
|
100
|
-
# will match only lowercase CSS queries. However, "H1" might be
|
101
|
-
# found in an XML document, where tags names are case-sensitive
|
102
|
-
# (e.g., "H1" is distinct from "h1").
|
103
|
-
#
|
104
|
-
def css *args
|
105
|
-
rules, handler, ns, _ = extract_params(args)
|
106
|
-
|
107
|
-
css_internal self, rules, handler, ns
|
108
|
-
end
|
109
|
-
|
110
|
-
##
|
111
|
-
# call-seq: css *rules, [namespace-bindings, custom-pseudo-class]
|
112
|
-
#
|
113
|
-
# Search this object for CSS +rules+, and return only the first
|
114
|
-
# match. +rules+ must be one or more CSS selectors.
|
115
|
-
#
|
116
|
-
# See Searchable#css for more information.
|
117
|
-
def at_css *args
|
118
|
-
css(*args).first
|
119
|
-
end
|
120
|
-
|
121
|
-
###
|
122
|
-
# call-seq: xpath *paths, [namespace-bindings, variable-bindings, custom-handler-class]
|
123
|
-
#
|
124
|
-
# Search this node for XPath +paths+. +paths+ must be one or more XPath
|
125
|
-
# queries.
|
126
|
-
#
|
127
|
-
# node.xpath('.//title')
|
128
|
-
#
|
129
|
-
# A hash of namespace bindings may be appended. For example:
|
130
|
-
#
|
131
|
-
# node.xpath('.//foo:name', {'foo' => 'http://example.org/'})
|
132
|
-
# node.xpath('.//xmlns:name', node.root.namespaces)
|
133
|
-
#
|
134
|
-
# A hash of variable bindings may also be appended to the namespace bindings. For example:
|
135
|
-
#
|
136
|
-
# node.xpath('.//address[@domestic=$value]', nil, {:value => 'Yes'})
|
137
|
-
#
|
138
|
-
# Custom XPath functions may also be defined. To define custom
|
139
|
-
# functions create a class and implement the function you want
|
140
|
-
# to define. The first argument to the method will be the
|
141
|
-
# current matching NodeSet. Any other arguments are ones that
|
142
|
-
# you pass in. Note that this class may appear anywhere in the
|
143
|
-
# argument list. For example:
|
144
|
-
#
|
145
|
-
# node.xpath('.//title[regex(., "\w+")]', Class.new {
|
146
|
-
# def regex node_set, regex
|
147
|
-
# node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
|
148
|
-
# end
|
149
|
-
# }.new)
|
150
|
-
#
|
151
|
-
def xpath *args
|
152
|
-
paths, handler, ns, binds = extract_params(args)
|
153
|
-
|
154
|
-
xpath_internal self, paths, handler, ns, binds
|
155
|
-
end
|
156
|
-
|
157
|
-
##
|
158
|
-
# call-seq: xpath *paths, [namespace-bindings, variable-bindings, custom-handler-class]
|
159
|
-
#
|
160
|
-
# Search this node for XPath +paths+, and return only the first
|
161
|
-
# match. +paths+ must be one or more XPath queries.
|
162
|
-
#
|
163
|
-
# See Searchable#xpath for more information.
|
164
|
-
def at_xpath *args
|
165
|
-
xpath(*args).first
|
166
|
-
end
|
167
|
-
|
168
|
-
private
|
169
|
-
|
170
|
-
def css_internal node, rules, handler, ns
|
171
|
-
xpath_internal node, css_rules_to_xpath(rules, ns), handler, ns, nil
|
172
|
-
end
|
173
|
-
|
174
|
-
def xpath_internal node, paths, handler, ns, binds
|
175
|
-
document = node.document
|
176
|
-
return NodeSet.new(document) unless document
|
177
|
-
|
178
|
-
if paths.length == 1
|
179
|
-
return xpath_impl(node, paths.first, handler, ns, binds)
|
180
|
-
end
|
181
|
-
|
182
|
-
NodeSet.new(document) do |combined|
|
183
|
-
paths.each do |path|
|
184
|
-
xpath_impl(node, path, handler, ns, binds).each { |set| combined << set }
|
185
|
-
end
|
186
|
-
end
|
187
|
-
end
|
188
|
-
|
189
|
-
def xpath_impl node, path, handler, ns, binds
|
190
|
-
ctx = XPathContext.new(node)
|
191
|
-
ctx.register_namespaces(ns)
|
192
|
-
path = path.gsub(/xmlns:/, ' :') unless Nokogiri.uses_libxml?
|
193
|
-
|
194
|
-
binds.each do |key,value|
|
195
|
-
ctx.register_variable key.to_s, value
|
196
|
-
end if binds
|
197
|
-
|
198
|
-
ctx.evaluate(path, handler)
|
199
|
-
end
|
200
|
-
|
201
|
-
def css_rules_to_xpath(rules, ns)
|
202
|
-
rules.map { |rule| xpath_query_from_css_rule(rule, ns) }
|
203
|
-
end
|
204
|
-
|
205
|
-
def xpath_query_from_css_rule rule, ns
|
206
|
-
self.class::IMPLIED_XPATH_CONTEXTS.map do |implied_xpath_context|
|
207
|
-
CSS.xpath_for(rule.to_s, :prefix => implied_xpath_context, :ns => ns)
|
208
|
-
end.join(' | ')
|
209
|
-
end
|
210
|
-
|
211
|
-
def extract_params params # :nodoc:
|
212
|
-
handler = params.find do |param|
|
213
|
-
![Hash, String, Symbol].include?(param.class)
|
214
|
-
end
|
215
|
-
params -= [handler] if handler
|
216
|
-
|
217
|
-
hashes = []
|
218
|
-
while Hash === params.last || params.last.nil?
|
219
|
-
hashes << params.pop
|
220
|
-
break if params.empty?
|
221
|
-
end
|
222
|
-
ns, binds = hashes.reverse
|
223
|
-
|
224
|
-
ns ||= document.root ? document.root.namespaces : {}
|
225
|
-
|
226
|
-
[params, handler, ns, binds]
|
227
|
-
end
|
228
|
-
end
|
229
|
-
end
|
230
|
-
end
|