mack-notifier 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gems.rb +13 -0
- data/lib/gems/tmail-1.2.3.1/ext/Makefile +20 -0
- data/lib/gems/tmail-1.2.3.1/ext/tmailscanner/tmail/MANIFEST +4 -0
- data/lib/gems/tmail-1.2.3.1/ext/tmailscanner/tmail/depend +1 -0
- data/lib/gems/tmail-1.2.3.1/ext/tmailscanner/tmail/extconf.rb +33 -0
- data/lib/gems/tmail-1.2.3.1/ext/tmailscanner/tmail/tmailscanner.c +583 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail.rb +5 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/Makefile +18 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/address.rb +426 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/attachments.rb +46 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/base64.rb +46 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/compat.rb +41 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/config.rb +67 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/core_extensions.rb +63 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/encode.rb +581 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/header.rb +960 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/index.rb +9 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/interface.rb +1125 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/loader.rb +3 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/mail.rb +578 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/mailbox.rb +495 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/main.rb +6 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/mbox.rb +3 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/net.rb +248 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/obsolete.rb +132 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/parser.rb +1476 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/parser.y +381 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/port.rb +379 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/quoting.rb +118 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/require_arch.rb +58 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/scanner.rb +49 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/scanner_r.rb +261 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/stringio.rb +280 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/utils.rb +337 -0
- data/lib/gems/tmail-1.2.3.1/lib/tmail/version.rb +39 -0
- data/lib/gems/tmail-1.2.3.1/meta/MANIFEST +128 -0
- data/lib/gems/tmail-1.2.3.1/meta/VERSION +1 -0
- data/lib/gems/tmail-1.2.3.1/meta/project.yaml +30 -0
- data/lib/gems/tmail-1.2.3.1/meta/unixname +1 -0
- data/lib/gems/validatable-1.6.7/README +118 -0
- data/lib/gems/validatable-1.6.7/lib/child_validation.rb +15 -0
- data/lib/gems/validatable-1.6.7/lib/errors.rb +74 -0
- data/lib/gems/validatable-1.6.7/lib/included_validation.rb +9 -0
- data/lib/gems/validatable-1.6.7/lib/macros.rb +283 -0
- data/lib/gems/validatable-1.6.7/lib/object_extension.rb +21 -0
- data/lib/gems/validatable-1.6.7/lib/requireable.rb +26 -0
- data/lib/gems/validatable-1.6.7/lib/understandable.rb +31 -0
- data/lib/gems/validatable-1.6.7/lib/validatable.rb +19 -0
- data/lib/gems/validatable-1.6.7/lib/validatable_class_methods.rb +85 -0
- data/lib/gems/validatable-1.6.7/lib/validatable_instance_methods.rb +106 -0
- data/lib/gems/validatable-1.6.7/lib/validations/validates_acceptance_of.rb +11 -0
- data/lib/gems/validatable-1.6.7/lib/validations/validates_confirmation_of.rb +15 -0
- data/lib/gems/validatable-1.6.7/lib/validations/validates_each.rb +14 -0
- data/lib/gems/validatable-1.6.7/lib/validations/validates_format_of.rb +13 -0
- data/lib/gems/validatable-1.6.7/lib/validations/validates_length_of.rb +25 -0
- data/lib/gems/validatable-1.6.7/lib/validations/validates_numericality_of.rb +16 -0
- data/lib/gems/validatable-1.6.7/lib/validations/validates_presence_of.rb +13 -0
- data/lib/gems/validatable-1.6.7/lib/validations/validates_true_for.rb +13 -0
- data/lib/gems/validatable-1.6.7/lib/validations/validation_base.rb +88 -0
- data/lib/gems/validatable-1.6.7/rakefile.rb +50 -0
- data/lib/gems/validatable-1.6.7/test/all_tests.rb +1 -0
- data/lib/gems/validatable-1.6.7/test/functional/validatable_test.rb +437 -0
- data/lib/gems/validatable-1.6.7/test/functional/validates_acceptance_of_test.rb +16 -0
- data/lib/gems/validatable-1.6.7/test/functional/validates_confirmation_of_test.rb +56 -0
- data/lib/gems/validatable-1.6.7/test/functional/validates_each_test.rb +14 -0
- data/lib/gems/validatable-1.6.7/test/functional/validates_format_of_test.rb +34 -0
- data/lib/gems/validatable-1.6.7/test/functional/validates_length_of_test.rb +64 -0
- data/lib/gems/validatable-1.6.7/test/functional/validates_numericality_of_test.rb +57 -0
- data/lib/gems/validatable-1.6.7/test/functional/validates_presence_of_test.rb +16 -0
- data/lib/gems/validatable-1.6.7/test/functional/validates_true_for_test.rb +27 -0
- data/lib/gems/validatable-1.6.7/test/test_helper.rb +33 -0
- data/lib/gems/validatable-1.6.7/test/unit/errors_test.rb +64 -0
- data/lib/gems/validatable-1.6.7/test/unit/understandable_test.rb +19 -0
- data/lib/gems/validatable-1.6.7/test/unit/validatable_test.rb +38 -0
- data/lib/gems/validatable-1.6.7/test/unit/validates_acceptance_of_test.rb +21 -0
- data/lib/gems/validatable-1.6.7/test/unit/validates_confirmation_of_test.rb +64 -0
- data/lib/gems/validatable-1.6.7/test/unit/validates_format_of_test.rb +34 -0
- data/lib/gems/validatable-1.6.7/test/unit/validates_length_of_test.rb +75 -0
- data/lib/gems/validatable-1.6.7/test/unit/validates_numericality_of_test.rb +52 -0
- data/lib/gems/validatable-1.6.7/test/unit/validates_presence_of_test.rb +25 -0
- data/lib/gems/validatable-1.6.7/test/unit/validates_true_for_test.rb +29 -0
- data/lib/gems/validatable-1.6.7/test/unit/validation_base_test.rb +52 -0
- data/lib/gems/xmpp4r-0.4/CHANGELOG +83 -0
- data/lib/gems/xmpp4r-0.4/COPYING +340 -0
- data/lib/gems/xmpp4r-0.4/LICENSE +59 -0
- data/lib/gems/xmpp4r-0.4/README.rdoc +110 -0
- data/lib/gems/xmpp4r-0.4/README_ruby19.txt +43 -0
- data/lib/gems/xmpp4r-0.4/Rakefile +262 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/adventure/README +56 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/adventure/adventure.rb +23 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/adventure/adventuremuc.rb +136 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/adventure/cube.xml +15 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/adventure/tower.xml +69 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/adventure/world.rb +424 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/fileserve.conf +11 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/fileserve.rb +346 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/getonline.rb +56 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/gtkmucclient.rb +315 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/migrate.rb +88 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/minimuc.rb +266 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/pep-aggregator/index.xsl +235 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/pep-aggregator/pep-aggregator.rb +147 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/recvfile.rb +84 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/rosterdiscovery.rb +129 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/sendfile.conf +10 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/sendfile.rb +72 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/shellmgr/shellmgr.rb +51 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/shellmgr/shellmgr_jabber.rb +43 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/shellmgr/shellmgr_test.rb +10 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/versionpoll.rb +90 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/xmpping.rb +146 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/advanced/xmppingrc.sample +14 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/change_password.rb +41 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/client.rb +70 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/component.rb +11 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/echo.rb +37 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/jabbersend.rb +41 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/mass_sender.rb +68 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/muc_owner_config.rb +12 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/mucinfo.rb +41 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/mucsimplebot.rb +82 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/register.rb +42 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/remove_registration.rb +18 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/roster.rb +44 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/rosterprint.rb +50 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/rosterrename.rb +34 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/rosterwatch.rb +171 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/send_vcard.rb +67 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/tune_client.rb +56 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/tune_server.rb +58 -0
- data/lib/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic/versionbot.rb +75 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r.rb +116 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/base64.rb +32 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams.rb +15 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/helper/filetransfer.rb +319 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/helper/ibb/base.rb +257 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/helper/ibb/initiator.rb +31 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/helper/ibb/target.rb +47 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/helper/socks5bytestreams/base.rb +152 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/helper/socks5bytestreams/initiator.rb +86 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/helper/socks5bytestreams/server.rb +198 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/helper/socks5bytestreams/socks5.rb +65 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/helper/socks5bytestreams/target.rb +73 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/helper/socks5bytestreams/target.rb.orig +62 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/iq/bytestreams.rb +170 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/bytestreams/iq/si.rb +206 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/callbacks.rb +124 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/caps.rb +1 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/caps/c.rb +53 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/caps/helper/generator.rb +160 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/caps/helper/helper.rb +87 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/client.rb +317 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/command/helper/responder.rb +53 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/command/iq/command.rb +154 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/component.rb +103 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/connection.rb +219 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/dataforms.rb +5 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/dataforms/x/data.rb +297 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/debuglog.rb +42 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/delay.rb +5 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/delay/x/delay.rb +99 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/discovery.rb +7 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/discovery/helper/responder.rb +165 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/discovery/iq/discoinfo.rb +211 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/discovery/iq/discoitems.rb +147 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/errors.rb +281 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/feature_negotiation.rb +5 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/feature_negotiation/iq/feature.rb +28 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/framework/base.rb +55 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/framework/bot.rb +148 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/httpbinding.rb +5 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/httpbinding/client.rb +285 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/idgenerator.rb +37 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/iq.rb +221 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/jid.rb +167 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/message.rb +148 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc.rb +14 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/helper/mucbrowser.rb +92 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/helper/mucclient.rb +462 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/helper/simplemucclient.rb +332 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/iq/mucadmin.rb +23 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/iq/mucadminitem.rb +20 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/iq/mucowner.rb +15 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/item.rb +143 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/x/muc.rb +70 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/x/mucuserinvite.rb +60 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/muc/x/mucuseritem.rb +36 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/presence.rb +232 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub.rb +8 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/configuration.rb +86 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/event.rb +49 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/item.rb +35 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/items.rb +44 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/node_config.rb +48 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/publish.rb +24 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/subscription.rb +62 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/subscription_config.rb +67 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/unsubscribe.rb +48 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/helper/nodebrowser.rb +130 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/helper/nodehelper.rb +156 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/helper/servicehelper.rb +417 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/iq/pubsub.rb +19 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/query.rb +15 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/rexmladdons.rb +151 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/roster.rb +7 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/roster/helper/roster.rb +519 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/roster/iq/roster.rb +215 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/roster/x/roster.rb +138 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/rpc.rb +2 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/rpc/helper/client.rb +123 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/rpc/helper/server.rb +74 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/rpc/helper/xmlrpcaddons.rb +67 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/rpc/iq/rpc.rb +23 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/sasl.rb +237 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/semaphore.rb +38 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/stream.rb +497 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/streamparser.rb +77 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/tune.rb +2 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/tune/helper/helper.rb +58 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/tune/tune.rb +113 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/vcard.rb +6 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/vcard/helper/vcard.rb +84 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/vcard/iq/vcard.rb +109 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/version.rb +7 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/version/helper/responder.rb +72 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/version/helper/simpleresponder.rb +44 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/version/iq/version.rb +105 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/x.rb +37 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/xhtml.rb +1 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/xhtml/html.rb +115 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/xmpp4r.rb +18 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/xmppelement.rb +168 -0
- data/lib/gems/xmpp4r-0.4/lib/xmpp4r/xmppstanza.rb +162 -0
- data/lib/gems/xmpp4r-0.4/setup.rb +1586 -0
- data/lib/gems/xmpp4r-0.4/test/bytestreams/tc_ibb.rb +186 -0
- data/lib/gems/xmpp4r-0.4/test/bytestreams/tc_socks5bytestreams.rb +113 -0
- data/lib/gems/xmpp4r-0.4/test/caps/tc_helper.rb +156 -0
- data/lib/gems/xmpp4r-0.4/test/dataforms/tc_data.rb +81 -0
- data/lib/gems/xmpp4r-0.4/test/delay/tc_xdelay.rb +51 -0
- data/lib/gems/xmpp4r-0.4/test/discovery/tc_responder.rb +91 -0
- data/lib/gems/xmpp4r-0.4/test/lib/assert_equal_xml.rb +14 -0
- data/lib/gems/xmpp4r-0.4/test/lib/clienttester.rb +120 -0
- data/lib/gems/xmpp4r-0.4/test/muc/tc_muc_mucclient.rb +830 -0
- data/lib/gems/xmpp4r-0.4/test/muc/tc_muc_simplemucclient.rb +114 -0
- data/lib/gems/xmpp4r-0.4/test/muc/tc_mucowner.rb +50 -0
- data/lib/gems/xmpp4r-0.4/test/pubsub/tc_helper.rb +662 -0
- data/lib/gems/xmpp4r-0.4/test/pubsub/tc_nodeconfig.rb +54 -0
- data/lib/gems/xmpp4r-0.4/test/pubsub/tc_subscriptionconfig.rb +41 -0
- data/lib/gems/xmpp4r-0.4/test/roster/tc_helper.rb +514 -0
- data/lib/gems/xmpp4r-0.4/test/roster/tc_iqqueryroster.rb +173 -0
- data/lib/gems/xmpp4r-0.4/test/roster/tc_xroster.rb +73 -0
- data/lib/gems/xmpp4r-0.4/test/rpc/tc_helper.rb +96 -0
- data/lib/gems/xmpp4r-0.4/test/tc_callbacks.rb +129 -0
- data/lib/gems/xmpp4r-0.4/test/tc_class_names.rb +146 -0
- data/lib/gems/xmpp4r-0.4/test/tc_client.rb +30 -0
- data/lib/gems/xmpp4r-0.4/test/tc_errors.rb +146 -0
- data/lib/gems/xmpp4r-0.4/test/tc_idgenerator.rb +30 -0
- data/lib/gems/xmpp4r-0.4/test/tc_iq.rb +113 -0
- data/lib/gems/xmpp4r-0.4/test/tc_iqquery.rb +31 -0
- data/lib/gems/xmpp4r-0.4/test/tc_jid.rb +204 -0
- data/lib/gems/xmpp4r-0.4/test/tc_message.rb +116 -0
- data/lib/gems/xmpp4r-0.4/test/tc_presence.rb +150 -0
- data/lib/gems/xmpp4r-0.4/test/tc_rexml.rb +139 -0
- data/lib/gems/xmpp4r-0.4/test/tc_stream.rb +229 -0
- data/lib/gems/xmpp4r-0.4/test/tc_streamComponent.rb +95 -0
- data/lib/gems/xmpp4r-0.4/test/tc_streamError.rb +131 -0
- data/lib/gems/xmpp4r-0.4/test/tc_streamSend.rb +59 -0
- data/lib/gems/xmpp4r-0.4/test/tc_streamparser.rb +112 -0
- data/lib/gems/xmpp4r-0.4/test/tc_xmppstanza.rb +135 -0
- data/lib/gems/xmpp4r-0.4/test/ts_xmpp4r.rb +53 -0
- data/lib/gems/xmpp4r-0.4/test/tune/tc_helper_recv.rb +84 -0
- data/lib/gems/xmpp4r-0.4/test/tune/tc_helper_send.rb +74 -0
- data/lib/gems/xmpp4r-0.4/test/tune/tc_tune.rb +79 -0
- data/lib/gems/xmpp4r-0.4/test/vcard/tc_helper.rb +49 -0
- data/lib/gems/xmpp4r-0.4/test/vcard/tc_iqvcard.rb +62 -0
- data/lib/gems/xmpp4r-0.4/test/version/tc_helper.rb +60 -0
- data/lib/gems/xmpp4r-0.4/test/version/tc_iqqueryversion.rb +97 -0
- data/lib/gems/xmpp4r-0.4/test/xhtml/tc_html.rb +41 -0
- data/lib/gems/xmpp4r-0.4/tools/gen_requires.bash +31 -0
- data/lib/gems/xmpp4r-0.4/tools/xmpp4r-gemspec-test.rb +11 -0
- data/lib/gems/xmpp4r-0.4/xmpp4r.gemspec +291 -0
- data/lib/gems/xmpp4r-simple-0.8.8/CHANGELOG +73 -0
- data/lib/gems/xmpp4r-simple-0.8.8/COPYING +281 -0
- data/lib/gems/xmpp4r-simple-0.8.8/README +59 -0
- data/lib/gems/xmpp4r-simple-0.8.8/lib/xmpp4r-simple.rb +492 -0
- data/lib/gems/xmpp4r-simple-0.8.8/test/test_xmpp4r_simple.rb +242 -0
- data/lib/mack-notifier.rb +1 -3
- metadata +398 -46
@@ -0,0 +1,21 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
2
|
+
|
3
|
+
Expectations do
|
4
|
+
expect true do
|
5
|
+
validation = Validatable::ValidatesAcceptanceOf.new stub_everything, :acceptance
|
6
|
+
instance = stub(:acceptance=>'true')
|
7
|
+
validation.valid?(instance)
|
8
|
+
end
|
9
|
+
|
10
|
+
expect false do
|
11
|
+
validation = Validatable::ValidatesAcceptanceOf.new stub_everything, :acceptance
|
12
|
+
instance = stub(:acceptance=>'false')
|
13
|
+
validation.valid?(instance)
|
14
|
+
end
|
15
|
+
|
16
|
+
expect true do
|
17
|
+
options = {:message => nil, :if => nil, :times => nil, :level => nil, :groups => nil}
|
18
|
+
Validatable::ValidatesAcceptanceOf.new(stub_everything, :test).must_understand(options)
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
2
|
+
|
3
|
+
Expectations do
|
4
|
+
|
5
|
+
expect true do
|
6
|
+
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username
|
7
|
+
instance = stub(:username=>"username", :username_confirmation=>"username")
|
8
|
+
validation.valid?(instance)
|
9
|
+
end
|
10
|
+
|
11
|
+
expect false do
|
12
|
+
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username
|
13
|
+
instance = stub(:username=>"username", :username_confirmation=>"usessrname")
|
14
|
+
validation.valid?(instance)
|
15
|
+
end
|
16
|
+
|
17
|
+
expect true do
|
18
|
+
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username, :case_sensitive => false
|
19
|
+
instance = stub(:username=>"username", :username_confirmation=>"USERNAME")
|
20
|
+
validation.valid?(instance)
|
21
|
+
end
|
22
|
+
|
23
|
+
expect false do
|
24
|
+
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username, :case_sensitive => true
|
25
|
+
instance = stub(:username=>"username", :username_confirmation=>"USERNAME")
|
26
|
+
validation.valid?(instance)
|
27
|
+
end
|
28
|
+
|
29
|
+
expect false do
|
30
|
+
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username, :case_sensitive => true
|
31
|
+
validation.valid?(stub(:username => nil, :username_confirmation => 'something'))
|
32
|
+
end
|
33
|
+
|
34
|
+
expect false do
|
35
|
+
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username, :case_sensitive => true
|
36
|
+
validation.valid?(stub(:username => 'something', :username_confirmation => nil))
|
37
|
+
end
|
38
|
+
|
39
|
+
expect true do
|
40
|
+
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username, :case_sensitive => true
|
41
|
+
validation.valid?(stub(:username => nil, :username_confirmation => nil))
|
42
|
+
end
|
43
|
+
|
44
|
+
expect false do
|
45
|
+
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username, :case_sensitive => false
|
46
|
+
validation.valid?(stub(:username => nil, :username_confirmation => 'something'))
|
47
|
+
end
|
48
|
+
|
49
|
+
expect false do
|
50
|
+
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username, :case_sensitive => false
|
51
|
+
validation.valid?(stub(:username => 'something', :username_confirmation => nil))
|
52
|
+
end
|
53
|
+
|
54
|
+
expect true do
|
55
|
+
validation = Validatable::ValidatesConfirmationOf.new stub_everything, :username, :case_sensitive => false
|
56
|
+
validation.valid?(stub(:username => nil, :username_confirmation => nil))
|
57
|
+
end
|
58
|
+
|
59
|
+
expect true do
|
60
|
+
options = { :message => nil, :if => nil, :times => nil, :level => nil, :groups => nil, :case_sensitive => nil }
|
61
|
+
Validatable::ValidatesConfirmationOf.new(stub_everything, :test).must_understand(options)
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
2
|
+
|
3
|
+
Expectations do
|
4
|
+
|
5
|
+
expect false do
|
6
|
+
validation = Validatable::ValidatesFormatOf.new stub_everything, :name, :with => /book/
|
7
|
+
validation.valid?(stub_everything)
|
8
|
+
end
|
9
|
+
|
10
|
+
expect true do
|
11
|
+
validation = Validatable::ValidatesFormatOf.new stub_everything, :name, :with => /book/
|
12
|
+
validation.valid?(stub(:name=>"book"))
|
13
|
+
end
|
14
|
+
|
15
|
+
expect true do
|
16
|
+
validation = Validatable::ValidatesFormatOf.new stub_everything, :age, :with => /14/
|
17
|
+
validation.valid?(stub(:age=>14))
|
18
|
+
end
|
19
|
+
|
20
|
+
expect ArgumentError do
|
21
|
+
validation = Validatable::ValidatesFormatOf.new stub_everything, :age
|
22
|
+
end
|
23
|
+
|
24
|
+
expect true do
|
25
|
+
options = [:message, :if, :times, :level, :groups, :with, :key]
|
26
|
+
Validatable::ValidatesFormatOf.new(stub_everything, :test, options.to_blank_options_hash).must_understand(options.to_blank_options_hash)
|
27
|
+
end
|
28
|
+
|
29
|
+
expect true do
|
30
|
+
options = [:with]
|
31
|
+
Validatable::ValidatesFormatOf.new(stub_everything, :name, options.to_blank_options_hash).requires(options.to_blank_options_hash)
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
2
|
+
|
3
|
+
Expectations do
|
4
|
+
expect false do
|
5
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :maximum => 8
|
6
|
+
validation.valid?(stub(:username=>"usernamefdfd"))
|
7
|
+
end
|
8
|
+
|
9
|
+
expect false do
|
10
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :minimum => 2
|
11
|
+
instance = stub(:username=>"u")
|
12
|
+
validation.valid?(instance)
|
13
|
+
end
|
14
|
+
|
15
|
+
expect true do
|
16
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :minimum => 2, :maximum => 8
|
17
|
+
instance = stub(:username=>"udfgdf")
|
18
|
+
validation.valid?(instance)
|
19
|
+
end
|
20
|
+
|
21
|
+
expect false do
|
22
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :is => 2
|
23
|
+
instance = stub(:username=>"u")
|
24
|
+
validation.valid?(instance)
|
25
|
+
end
|
26
|
+
|
27
|
+
expect true do
|
28
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :is => 2
|
29
|
+
instance = stub(:username=>"uu")
|
30
|
+
validation.valid?(instance)
|
31
|
+
end
|
32
|
+
|
33
|
+
expect true do
|
34
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :within => 2..4
|
35
|
+
instance = stub(:username => "aa")
|
36
|
+
validation.valid?(instance)
|
37
|
+
end
|
38
|
+
|
39
|
+
expect false do
|
40
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :within => 2..4
|
41
|
+
instance = stub(:username => "a")
|
42
|
+
validation.valid?(instance)
|
43
|
+
end
|
44
|
+
|
45
|
+
expect true do
|
46
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :within => 2..4
|
47
|
+
instance = stub(:username => "aaaa")
|
48
|
+
validation.valid?(instance)
|
49
|
+
end
|
50
|
+
|
51
|
+
expect false do
|
52
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :within => 2..4
|
53
|
+
instance = stub(:username => "aaaaa")
|
54
|
+
validation.valid?(instance)
|
55
|
+
end
|
56
|
+
|
57
|
+
expect false do
|
58
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :within => 2..4
|
59
|
+
instance = stub(:username => nil)
|
60
|
+
validation.valid?(instance)
|
61
|
+
end
|
62
|
+
|
63
|
+
|
64
|
+
expect true do
|
65
|
+
validation = Validatable::ValidatesLengthOf.new stub_everything, :username, :within => 2..4, :allow_nil => true
|
66
|
+
instance = stub(:username => nil)
|
67
|
+
validation.valid?(instance)
|
68
|
+
end
|
69
|
+
|
70
|
+
expect true do
|
71
|
+
options = [:message, :if, :times, :level, :groups, :maximum, :minimum, :is, :within, :allow_nil]
|
72
|
+
Validatable::ValidatesLengthOf.new(stub_everything, :test).must_understand(options.to_blank_options_hash)
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
2
|
+
|
3
|
+
Expectations do
|
4
|
+
|
5
|
+
expect false do
|
6
|
+
validation = Validatable::ValidatesNumericalityOf.new stub_everything, :nothing
|
7
|
+
instance = stub(:nothing => nil)
|
8
|
+
validation.valid?(instance)
|
9
|
+
end
|
10
|
+
|
11
|
+
expect true do
|
12
|
+
validation = Validatable::ValidatesNumericalityOf.new stub_everything, :some_int
|
13
|
+
instance = stub(:some_int => 50)
|
14
|
+
validation.valid?(instance)
|
15
|
+
end
|
16
|
+
|
17
|
+
expect true do
|
18
|
+
validation = Validatable::ValidatesNumericalityOf.new stub_everything, :some_decimal
|
19
|
+
instance = stub(:some_decimal => 1.23)
|
20
|
+
validation.valid?(instance)
|
21
|
+
end
|
22
|
+
|
23
|
+
expect false do
|
24
|
+
validation = Validatable::ValidatesNumericalityOf.new stub_everything, :some_decimal, :only_integer => true
|
25
|
+
instance = stub(:some_decimal => 1.23)
|
26
|
+
validation.valid?(instance)
|
27
|
+
end
|
28
|
+
|
29
|
+
expect true do
|
30
|
+
validation = Validatable::ValidatesNumericalityOf.new stub_everything, :some_negative_number, :only_integer => true
|
31
|
+
instance = stub(:some_negative_number => "-1")
|
32
|
+
validation.valid?(instance)
|
33
|
+
end
|
34
|
+
|
35
|
+
expect false do
|
36
|
+
validation = Validatable::ValidatesNumericalityOf.new stub_everything, :some_non_numeric
|
37
|
+
instance = stub(:some_non_numeric => "50F")
|
38
|
+
validation.valid?(instance)
|
39
|
+
end
|
40
|
+
|
41
|
+
expect false do
|
42
|
+
validation = Validatable::ValidatesNumericalityOf.new stub_everything, :multiple_dots
|
43
|
+
instance = stub(:multiple_dots => "50.0.0")
|
44
|
+
validation.valid?(instance)
|
45
|
+
end
|
46
|
+
|
47
|
+
expect true do
|
48
|
+
options = [:message, :if, :times, :level, :groups, :only_integer]
|
49
|
+
Validatable::ValidatesNumericalityOf.new(stub_everything, :test).must_understand(options.to_blank_options_hash)
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
2
|
+
|
3
|
+
Expectations do
|
4
|
+
|
5
|
+
expect false do
|
6
|
+
validation = Validatable::ValidatesPresenceOf.new stub_everything, :name
|
7
|
+
validation.valid?(stub_everything)
|
8
|
+
end
|
9
|
+
|
10
|
+
expect true do
|
11
|
+
validation = Validatable::ValidatesPresenceOf.new stub_everything, :name
|
12
|
+
validation.valid?(stub(:name=>"book"))
|
13
|
+
end
|
14
|
+
|
15
|
+
expect true do
|
16
|
+
validation = Validatable::ValidatesPresenceOf.new stub_everything, :employee
|
17
|
+
validation.valid?(stub(:employee => stub(:nil? => false)))
|
18
|
+
end
|
19
|
+
|
20
|
+
expect true do
|
21
|
+
options = {:message => nil, :if => nil, :times => nil, :level => nil, :groups => nil}
|
22
|
+
Validatable::ValidatesPresenceOf.new(stub_everything, :test).must_understand(options)
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
2
|
+
|
3
|
+
Expectations do
|
4
|
+
|
5
|
+
expect false do
|
6
|
+
validation = Validatable::ValidatesTrueFor.new stub_everything, :name, :logic => lambda { false }
|
7
|
+
validation.valid?(stub_everything)
|
8
|
+
end
|
9
|
+
|
10
|
+
expect true do
|
11
|
+
validation = Validatable::ValidatesTrueFor.new stub_everything, :name, :logic => lambda { true }
|
12
|
+
validation.valid?(stub_everything)
|
13
|
+
end
|
14
|
+
|
15
|
+
expect ArgumentError do
|
16
|
+
validation = Validatable::ValidatesTrueFor.new stub_everything, :age
|
17
|
+
end
|
18
|
+
|
19
|
+
expect true do
|
20
|
+
options = [:message, :if, :times, :level, :groups, :logic, :key]
|
21
|
+
Validatable::ValidatesTrueFor.new(stub_everything, :name, options.to_blank_options_hash).must_understand(options.to_blank_options_hash)
|
22
|
+
end
|
23
|
+
|
24
|
+
expect true do
|
25
|
+
options = [:logic]
|
26
|
+
Validatable::ValidatesTrueFor.new(stub_everything, :name, options.to_blank_options_hash).requires(options.to_blank_options_hash)
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
2
|
+
|
3
|
+
Expectations do
|
4
|
+
expect true do
|
5
|
+
validation = Validatable::ValidationBase.new stub_everything, :base
|
6
|
+
validation.should_validate? Object.new
|
7
|
+
end
|
8
|
+
|
9
|
+
expect true do
|
10
|
+
validation = Validatable::ValidationBase.new stub_everything, :base, :times => 1
|
11
|
+
validation.validate_this_time?(stub(:times_validated => 0))
|
12
|
+
end
|
13
|
+
|
14
|
+
expect true do
|
15
|
+
validation = Validatable::ValidationBase.new stub_everything, :base
|
16
|
+
validation.validate_this_time?(nil)
|
17
|
+
end
|
18
|
+
|
19
|
+
expect true do
|
20
|
+
validation = Validatable::ValidationBase.new stub_everything, :base, :times => 2
|
21
|
+
validation.validate_this_time?(stub(:times_validated => 1))
|
22
|
+
end
|
23
|
+
|
24
|
+
expect false do
|
25
|
+
validation = Validatable::ValidationBase.new stub_everything, :base, :times => 1
|
26
|
+
validation.validate_this_time?(stub(:times_validated => 1))
|
27
|
+
end
|
28
|
+
|
29
|
+
expect 1 do
|
30
|
+
validation = Validatable::ValidationBase.new stub_everything, :base
|
31
|
+
validation.level
|
32
|
+
end
|
33
|
+
|
34
|
+
expect ArgumentError do
|
35
|
+
Validatable::ValidationBase.new stub_everything(:validation_keys_include? => true), :base, :times => 1
|
36
|
+
end
|
37
|
+
|
38
|
+
expect "some message 100" do
|
39
|
+
validation = Validatable::ValidationBase.new stub_everything, :base, :message => lambda { "some message #{a_method}" }
|
40
|
+
validation.message(stub(:a_method=>'100'))
|
41
|
+
end
|
42
|
+
|
43
|
+
expect ArgumentError do
|
44
|
+
Validatable::ValidationBase.new(stub_everything, :base).must_understand(:foo => 1, :bar => 2)
|
45
|
+
end
|
46
|
+
|
47
|
+
expect true do
|
48
|
+
options = {:message => nil, :if => nil, :times => nil, :level => nil, :groups => nil, :key => nil}
|
49
|
+
Validatable::ValidationBase.new(stub_everything, :base).must_understand(options)
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
@@ -0,0 +1,83 @@
|
|
1
|
+
XMPP4R 0.4 (05/08/2008)
|
2
|
+
=======================
|
3
|
+
* Initial support for Ruby 1.9 (see README_ruby19.txt)
|
4
|
+
* Complete PubSub API Change - more logical and better for
|
5
|
+
childclasses, support for collection node creation
|
6
|
+
* a Helper to assist with XEP-0115 Entity Capabilities
|
7
|
+
* SASL anonymous support
|
8
|
+
* File transfer fixes
|
9
|
+
* MUC room configuration fixes
|
10
|
+
* initial support for XEP-0118 User Tune
|
11
|
+
* fix for an xmlrpc exception-during-serialisation bug, which would cause
|
12
|
+
a hang
|
13
|
+
* Support auto-gem generation on GitHub with improved and DRY'er RakeFile and
|
14
|
+
gemspec.
|
15
|
+
* Add support for the old SSL protocol (needed to connect to GTalk)
|
16
|
+
* Changed API for Client, Component, Connection, Stream to remove
|
17
|
+
need for antiquated 'threaded' param in the initializer.
|
18
|
+
* Use a Logger instance instead of directly writing to stdout
|
19
|
+
* Re-factored & consolidated Error classes. See xmpp4r/errors.rb for all
|
20
|
+
custom errors that can be caught. All inherit from Jabber::Error which
|
21
|
+
itself inherits from Ruby's StandardError. This is a first step in
|
22
|
+
re-factoring errors. The next step will be to convert all 'raise' calls to
|
23
|
+
raise a custom Jabber::Error or one of its children instead of anonymous
|
24
|
+
RuntimeErrors. This allows much more granularity in catching and handling
|
25
|
+
errors later.
|
26
|
+
If you were catching Jabber::ErrorException before you should probably
|
27
|
+
change that in your code to now catch Jabber::Error if you want to
|
28
|
+
catch everything or one of the custom children of Jabber::Error defined in
|
29
|
+
'lib/xmpp4r/errors.rb'. Additionally, the Error class which encapsulated
|
30
|
+
the xmpp error response, has been renamed to ErrorResponse to reflect its
|
31
|
+
real usage. This free's up 'Jabber::Error' for use as our base Error class.
|
32
|
+
|
33
|
+
XMPP4R 0.3.2 (15/10/2007)
|
34
|
+
=========================
|
35
|
+
* Serious bug involving Ruby threading fixed (caused exceptions with
|
36
|
+
ruby 1.8.6)
|
37
|
+
* vCard helper fixes
|
38
|
+
* Jabber RPC (JEP0009) support
|
39
|
+
* HTTP Binding (JEP0124) support
|
40
|
+
* Publish-Subscribe support
|
41
|
+
* XMPPElement: a framework for classes representing XML elements
|
42
|
+
* Ad-hoc commands support
|
43
|
+
* Improvements to Dataforms: XData, XDataTitle and XDataInstructions
|
44
|
+
|
45
|
+
XMPP4R 0.3.1 (23/04/2007)
|
46
|
+
=========================
|
47
|
+
* SASL fixes
|
48
|
+
* Message#x and Presence#x support element selection by namespace
|
49
|
+
* Proper XML entity escaping for REXML text nodes
|
50
|
+
* Improvements to FileTransfer::Helper and SOCKS5BytestreamsServer
|
51
|
+
* Vcard::Helper fixes
|
52
|
+
* Update Digest module usage to reflect recent Ruby versions
|
53
|
+
* More documentation
|
54
|
+
|
55
|
+
XMPP4R 0.3 (20/07/2006)
|
56
|
+
=======================
|
57
|
+
* SRV lookup capability in Client#connect
|
58
|
+
* Stringprep support for JIDs
|
59
|
+
* TLS & SASL support
|
60
|
+
* Basic Dataforms support
|
61
|
+
* Multi-User Chat Helpers
|
62
|
+
* Helpers for File-Transfer, SOCKS5 Bytestreams, In-Band Bytestreams
|
63
|
+
* Roster helper has modified subscription-request semantics (see Roster#add_subscription_request_callback)
|
64
|
+
* A lot of features have renamed namespaces (see UPDATING file)
|
65
|
+
|
66
|
+
XMPP4R 0.2 (20/10/2005)
|
67
|
+
=======================
|
68
|
+
* Workarounds for REXML bugs.
|
69
|
+
* Presences are now Comparable according to priority or interest
|
70
|
+
* fixed a serious bug in Stream#send which caused some lockups. Reported by
|
71
|
+
chunlinyao@gmail.com.
|
72
|
+
* Moved REXML::Element#add to REXML::Element#typed_add to keep add accessible
|
73
|
+
* Rewritten Roster helper
|
74
|
+
* Added Vcard helper and improved IqVcard
|
75
|
+
* XMLStanza id generator
|
76
|
+
* Support for Roster Item Exchange (JEP-0093 and JEP-0144)
|
77
|
+
* Client#password= to change client's account password
|
78
|
+
* Documentation fixes
|
79
|
+
|
80
|
+
XMPP4R 0.1 (12/09/2005)
|
81
|
+
=======================
|
82
|
+
* first public release.
|
83
|
+
|