hutch-schedule 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -2
- data/lib/hutch/schedule/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 446956eecdc18c0802ea35803ce1f7a23b80b364
|
4
|
+
data.tar.gz: b38d7f05c9dcfb39a54635dc30a41e371875d435
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 `
|
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/
|
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)
|
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.
|
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-
|
11
|
+
date: 2017-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hutch
|