Permalink
Browse files

Version bump to 0.3.1

  • Loading branch information...
1 parent 63abb8d commit f5c51a5eb4b33dfc2638555756a1cb1ba4ef4bfd @sprsquish sprsquish committed May 14, 2009
Showing with 40 additions and 7 deletions.
  1. +15 −0 CHANGELOG
  2. +16 −1 README.rdoc
  3. +1 −1 VERSION.yml
  4. +8 −5 blather.gemspec
View
@@ -1,3 +1,18 @@
+v0.3.1
+ Small changes to the DSL due to handler collisions:
+ "status" -> "set_status"
+ "roster" -> "my_roster"
+ Small changes to the Blather::Client API to keep it feeling more like EM's API:
+ #stream_started -> #post_init
+ #call -> #receive_data
+ #stop -> #close
+ #stopped -> #unbind
+ Refactored some of the code internal to Blather::Client
+ Added command line option handler to default use method (see README)
+ require libxml-ruby >=1.1.2 (1.1.3 has an inconsistent malloc err on OS X 10.5)
+ complete specs
+ add single process ping-pong example
+
v0.3.0
Remove autotest discover.rb (created all sorts of conflicts)
Added Hash with Array guard
View
@@ -93,9 +93,24 @@ The different types of guards are:
# Equivalent to stanza.body == 'foo' || stanza.body == 'baz'
message [{:body => 'foo'}, {:body => 'baz'}]
+== On the Command Line:
+
+Default usage is:
+
+ [blather_script] [options] node@domain.com/resource password [host] [port]
+
+Command line options:
+
+ -D, --debug Run in debug mode (you will see all XMPP communication)
+ -d, --daemonize Daemonize the process
+ --pid=[PID] Write the PID to this file
+ --log=[LOG] Write to the [LOG] file instead of stdout/stderr
+ -h, --help Show this message
+ -v, --version Show version
+
+
= TODO
-* Better Documentation
* Add XPath guard that passes the result to the handler
* Add Disco the the DSL
* PubSub (XEP-0060: http://xmpp.org/extensions/xep-0060.html)
View
@@ -1,4 +1,4 @@
---
+:patch: 1
:major: 0
:minor: 3
-:patch: 0
View
@@ -2,11 +2,11 @@
Gem::Specification.new do |s|
s.name = %q{blather}
- s.version = "0.3.0"
+ s.version = "0.3.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jeff Smick"]
- s.date = %q{2009-05-12}
+ s.date = %q{2009-05-14}
s.email = %q{sprsquish@gmail.com}
s.extensions = ["Rakefile"]
s.extra_rdoc_files = [
@@ -16,6 +16,7 @@ Gem::Specification.new do |s|
s.files = [
"examples/drb_client.rb",
"examples/echo.rb",
+ "examples/ping_pong.rb",
"examples/print_heirarchy.rb",
"ext/extconf.rb",
"ext/push_parser.c",
@@ -61,6 +62,8 @@ Gem::Specification.new do |s|
s.rubygems_version = %q{1.3.3}
s.summary = %q{An evented XMPP library written on EventMachine and libxml-ruby}
s.test_files = [
+ "spec/blather/client/client_spec.rb",
+ "spec/blather/client/dsl_spec.rb",
"spec/blather/core_ext/libxml_spec.rb",
"spec/blather/errors/sasl_error_spec.rb",
"spec/blather/errors/stanza_error_spec.rb",
@@ -91,13 +94,13 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<eventmachine>, [">= 0.12.6"])
- s.add_runtime_dependency(%q<libxml-ruby>, [">= 1.1.3"])
+ s.add_runtime_dependency(%q<libxml-ruby>, [">= 1.1.2"])
else
s.add_dependency(%q<eventmachine>, [">= 0.12.6"])
- s.add_dependency(%q<libxml-ruby>, [">= 1.1.3"])
+ s.add_dependency(%q<libxml-ruby>, [">= 1.1.2"])
end
else
s.add_dependency(%q<eventmachine>, [">= 0.12.6"])
- s.add_dependency(%q<libxml-ruby>, [">= 1.1.3"])
+ s.add_dependency(%q<libxml-ruby>, [">= 1.1.2"])
end
end

0 comments on commit f5c51a5

Please sign in to comment.