-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first pass at DSL and at_exit running interface
* Need to make a better decision about exactly when we want to start the server, but maybe a convention for file names isn't terrible for now * The signature of the 'on' method feels sloppy, and well the DSL itself I feel could be a lot better...probably need to think outside the Probot library's use of on to see if there's some interesting grammar of sorts that Ruby could do well in a way that JavaScript can't always do based on its syntactical limitations
- Loading branch information
Showing
5 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
PRUBOT_ID=1 | ||
PRUBOT_KEY="-----BEGIN RSA PRIVATE KEY----- | ||
MIIEpAIBAAKCAQEA40Ukj2IlvGpqxKWpXdHjUfjlfKCzczedkYSW2xWult0i+fzt | ||
jr8KuBTnOvhPAlgpMAXNwBevdFzHQe/DF7hA9b1DK2bf9aN/WxPDUV4V6lLw3brO | ||
sysCJMlbk8I4W6EWd97LaA4JHjsaU60vw1uHwMiBAWBmk+3NRCEWOTQ//tfkWwOn | ||
2nuu/w10V8LCycMnnZhiz6zZqN7kREm5r2rWzQi3Pa+8LK86kFCe707DT2+lSTTH | ||
o3qdHJ0x3H6hP4XVnfCFIG4ucR9yL7QFJe8rlzbcHj7RRalXXfZlqL2vJeTQUhRQ | ||
dFnOpLn/mcNUe3z4Kn5fMdWeHwfeFyZF0WE6OQIDAQABAoIBAE7KzOcM7upItqVg | ||
jbxiJP5pXR59FFnQoUcvAaII/VN+bT7gKnf/0baKQLRYHARDDlyA1plPXNvpwocg | ||
mbGihprrt9rXOrQNr/yieGfAR7bKdIla14iUU5TvXll2z1UtHv4F9t0naI/bi8AQ | ||
3etL01/J47fXdRi6LBz/n5XLgJhYF5TSglXmknCekuP4yNEQhni6U8Of0BLrnTFb | ||
urxdcIpwtLH6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----END RSA PRIVATE KEY-----" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'prubot' | ||
|
||
on 'test-event', 'say howdy' do | ||
'howdy' | ||
end | ||
|
||
on 'test-action', 'test-event', 'say hello' do | ||
'hello' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'prubot' | ||
|
||
on 'test-event', 'say howdy' do | ||
'howdy' | ||
end | ||
|
||
on 'test-action', 'test-event', 'say hello' do | ||
'hello' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters