README.md in sneakers_packer-0.1.4 vs README.md in sneakers_packer-0.1.5

- old
+ new

@@ -1,7 +1,11 @@ -# SneakersPacker +# SneakersPacker [![Build Status][travis-image]][travis-link] +[travis-image]: https://travis-ci.org/xiewenwei/sneakers_packer.svg?branch=master +[travis-link]: http://travis-ci.org/xiewenwei/sneakers_packer +[travis-home]: http://travis-ci.org/ + SneakersPacker is a gem for using sneakers to realize 3 message communication patterns job message, broadcast and RPC(remote procedure call). ## Installation Intall the `sneakers' gem first. see [sneakers](https://github.com/jondot/sneakers) @@ -123,12 +127,19 @@ **See the gem doc or source code for accurate detail** **You can see the demo app for SneakersPacker by** [Sneakers](https://github.com/xiewenwei/sneakers_demo). ## Development -After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. +**How to run test?** -To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). +1.start RabbitMQ Server. for mac +`rabbitmq-server` + +2.start test workers +`ruby test/sneakers_test_workers.rb` + +3.run test +`bundle exec rake test` ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/xiewenwei/sneakers_packer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.