hutch-schedule 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cdb316a95fe95813079a1b059cd8221d1eabfec
4
- data.tar.gz: 00057ddbb5ea2c6c810f292edf04a680439125f4
3
+ metadata.gz: 446956eecdc18c0802ea35803ce1f7a23b80b364
4
+ data.tar.gz: b38d7f05c9dcfb39a54635dc30a41e371875d435
5
5
  SHA512:
6
- metadata.gz: 693efd110acf103a7d6513bfab197460f051676a1266c33a75f12936870b44c31fdaa1b67b20cd63adde014063a9d33eb522e3de26c24dce6628a41fd2c3fa39
7
- data.tar.gz: 0b4cd7093767aba2b28128ca4fed1d8579354f23082a220c769e4f7ed707a9404e9363aaedf6efa041254a156de3eef3cbfb1e98c9ec5fe328a7223f60d9c76e
6
+ metadata.gz: c8c140681618d00785f3a28fd13a0ce06390ba0d6f48eaebf485c8c79e5d4a9458266e46708c8f02bd5f7b880a8903bd1bcebdcee6088862585c0cf599ff371c
7
+ data.tar.gz: 52f9c27d2c1736ce7b133abe7faff2965d8da126ac8361aac378d69ddb473d0e4f019e02bddeaf8072641553a9fb4514b1d9c12b569889f9333cdeaf2cf90465
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/hutch/schedule`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
5
+ See [hutch-schedule-demo](https://github.com/wppurking/hutch-schedule-demo) how to integration with rails.
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
@@ -101,16 +103,30 @@ EmailJob.set(wait: 5.seconds).perform_later(user.id)
101
103
 
102
104
  ## Development
103
105
 
104
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
106
+ After checking out the repo, run `rake spec` to run the tests.
105
107
 
106
108
  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).
107
109
 
108
110
  ## Contributing
109
111
 
110
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hutch-schedule. 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.
112
+ Bug reports and pull requests are welcome on GitHub at https://github.com/wppurking/hutch-schedule. 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.
111
113
 
112
114
 
113
115
  ## License
114
116
 
115
117
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
116
118
 
119
+ ## Performance
120
+ Use the repo: https://github.com/wppurking/hutch-schedule-demo
121
+
122
+ #### ActiveJob enqueue
123
+ ![ActiveJob enqueue](http://ofooyx8i9.bkt.clouddn.com/enqueue.jpg)
124
+
125
+ #### Hutch publish message
126
+ ![Hutch publish message](http://ofooyx8i9.bkt.clouddn.com/enqueue_raw.jpg)
127
+
128
+ #### ActiveJob dequeue to execute
129
+ ![ActiveJob dequeue to execute](http://ofooyx8i9.bkt.clouddn.com/consume.jpg)
130
+
131
+ #### Hutch dequeue to execute
132
+ ![Hutch dequeue to execute](http://ofooyx8i9.bkt.clouddn.com/consume2.jpg)
@@ -1,5 +1,5 @@
1
1
  module Hutch
2
2
  module Schedule
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hutch-schedule
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wyatt pan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-19 00:00:00.000000000 Z
11
+ date: 2017-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hutch