edi 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -44
- data/lib/edi/services/dice.rb +1 -1
- data/lib/edi/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: ecd3dd31e032bf701c0ebb2286f741cfb7564543
|
4
|
+
data.tar.gz: 23fa94814aa472f717dee1a7c70212a08cb3de97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18ce005e3db14d775ee4f70b7132b4e9d0e4116a2211a4731d8aee275f3022a1d89c78c1cf2fdb20716182033e7b2a8364909c9465d1341f9674ec53d08a41f9
|
7
|
+
data.tar.gz: 0c30fab5038c3311267f052e237f4f15ef8195fec12698ec692d685c0767792b60a894327e167f3da866de5f4bb50ee282bf74af913c05e703ef7dd2e1ae5991
|
data/README.md
CHANGED
@@ -1,11 +1,7 @@
|
|
1
1
|
# EDI [![Build Status](https://travis-ci.org/DVG/EDI.svg?branch=master)](https://travis-ci.org/DVG/EDI)
|
2
2
|
|
3
|
-
## Warning, these instructions are not true yet, but they will be!
|
4
|
-
|
5
3
|
## Installation
|
6
4
|
|
7
|
-
Or install it yourself as:
|
8
|
-
|
9
5
|
$ gem install edi
|
10
6
|
|
11
7
|
## Usage
|
@@ -110,57 +106,33 @@ class Joke < EDI::Service
|
|
110
106
|
end
|
111
107
|
```
|
112
108
|
|
113
|
-
##
|
114
|
-
|
115
|
-
Jobs are just Services that occur at a regular interval or specific time instead of in response to a message.
|
109
|
+
## Ship List
|
116
110
|
|
117
|
-
|
111
|
+
When these things are done, we'll be ready for 1.0
|
118
112
|
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
edi = Travis::Repository.find('DVG/EDI')
|
127
|
-
if edi.last_build.failed?
|
128
|
-
post_to_slack(message: "Oh noes, the build is broken!")
|
129
|
-
end
|
130
|
-
end
|
131
|
-
end
|
132
|
-
```
|
113
|
+
- [x] Finish Porting The Services from the original bot to the framework
|
114
|
+
- [x] Ability for edi to Post Back into the Slack Chatroom
|
115
|
+
- [ ] Jobs and Scheduling
|
116
|
+
- [ ] Add Test Framework to the Project Generator
|
117
|
+
- [x] Service Generator
|
118
|
+
- [x] Configure All The Things
|
119
|
+
- [x] Boot Process for the Generated App
|
133
120
|
|
134
|
-
|
121
|
+
## Upcoming Features
|
135
122
|
|
136
|
-
|
123
|
+
This stuff isn't true yet, think of this section as a scratchpad for designs to be.
|
137
124
|
|
138
|
-
|
125
|
+
### Messages
|
139
126
|
|
140
|
-
|
127
|
+
You can make special classes that model special messages you'd like EDI to send into slack. These have all the functionality of Slack's Message Attachments for making richly formatted messages.
|
141
128
|
|
142
|
-
|
129
|
+
```ruby
|
130
|
+
class CiMessage < EDI::Message
|
131
|
+
channel "#general":w
|
143
132
|
|
144
|
-
```
|
145
|
-
EDI.configure do |config|
|
146
|
-
config.slack_incoming_webhook_url # Required, the Incoming Webhook for your slack chatroom
|
147
|
-
config.job_default_channel # Defaults to #general, but you can specify a different Default Channel. This will be used if you don't specify a channel in the job
|
148
|
-
config.enable_keepalive # If you are on heroku, this will attempt to keep your dyno alive.
|
149
133
|
end
|
150
134
|
```
|
151
135
|
|
152
|
-
## Ship List
|
153
|
-
|
154
|
-
When these things are done, we'll be ready for 1.0
|
155
|
-
|
156
|
-
- [x] Finish Porting The Services from the original bot to the framework
|
157
|
-
- [ ] Ability for edi to Post Back into the Slack Chatroom
|
158
|
-
- [ ] EDI::Schedule
|
159
|
-
- [ ] Add Test Framework to the Project Generator
|
160
|
-
- [x] Service Generator
|
161
|
-
- [x] Configure All The Things
|
162
|
-
- [x] Boot Process for the Generated App
|
163
|
-
|
164
136
|
## Contributing
|
165
137
|
|
166
138
|
1. Fork it ( https://github.com/DVG/EDI/fork )
|
data/lib/edi/services/dice.rb
CHANGED
data/lib/edi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DVG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|