-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdist.ini
30 lines (23 loc) · 1.16 KB
/
dist.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name = OAuth2-Client
author = 김도형 - Keedi Kim <[email protected]>
author = 홍형석 - Hyungsuk Hong <[email protected]>
license = Perl_5
copyright_holder = SILEX
copyright_year = 2014
[@SILEX]
UploadToCPAN.upload_uri = https://darkpan.silex.kr/pause
UploadToCPAN.pause_cfg_dir = .
UploadToCPAN.pause_cfg_file = .pause
Test::MinimumVersion.max_target_perl = v5.18
; Test::Portability::Files bug
Test::Portability.options = test_ansi_chars = 0, test_one_dot = 0
; Dist::Zilla::Plugin::InsertCopyright bug
-remove = InsertCopyright
stopwords = auth
[Prereqs / RuntimeRequires]
[RemovePrereqs]
remove = strict
remove = utf8
remove = warnings
[Run::AfterRelease]
run = perl -MEncode=decode_utf8 -MHTTP::Tiny -MJSON -E '$msg = shift; chomp $msg; $msg =~ s/-/::/g; my $json = encode_json({ room => "#silex", secret => "oioioioi", message => decode_utf8($msg), }); my $res = HTTP::Tiny->new->request( "POST", "http://afternoon-atoll-8611.herokuapp.com/hubot/say", { headers => { "content-type" => "application/x-www-form-urlencoded" }, content => HTTP::Tiny->_uri_escape($json), },);' '[RELEASED] %n %v'