Skip to content

Commit e114ae9

Browse files
committed
Remove last occurrences of texas quotes
For all you gentlemen out there.
1 parent b43abf2 commit e114ae9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Whateverable.pm6

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ unit role Whateverable does IRC::Client::Plugin does Helpful;
4747

4848
has $.timeout is rw = 10;
4949
has $!stdin = slurp stdin;
50-
has $!bad-releases = set '2016.01', '2016.01.1';
50+
has $!bad-releases = set 2016.01, 2016.01.1;
5151

5252
multi method irc-to-me(Message $msg where .text ~~
5353
#↓ Matches only one space on purpose (for whitespace-only stdin)
@@ -81,7 +81,7 @@ method get-wiki-link { WIKI ~ self.^name }
8181

8282
method beg-for-help($msg) {
8383
warn Please help me!;
84-
$msg.irc.send-cmd: 'PRIVMSG', $msg.channel, Hey folks. What's up with me?,
84+
$msg.irc.send-cmd: PRIVMSG, $msg.channel, Hey folks. What's up with me?,
8585
:server($msg.server), :prefix(PARENTS.join(, ) ~ : )
8686
}
8787

@@ -215,9 +215,9 @@ method get-commits($config) {
215215
my $num-commits = @commits.elems;
216216
return Too many commits ($num-commits) in range, you're only allowed {COMMITS-LIMIT} if $num-commits > COMMITS-LIMIT
217217
} elsif $config ~~ /:i ^ [ releases | v? 6 \.? c ] $/ {
218-
@commits = self.get-tags: '2015-12-24'
218+
@commits = self.get-tags: 2015-12-24
219219
} elsif $config ~~ /:i ^ all $/ {
220-
@commits = self.get-tags: '2014-01-01'
220+
@commits = self.get-tags: 2014-01-01
221221
} elsif $config ~~ /:i ^ compare \s $<commit>=\S+ $/ {
222222
@commits = $<commit>
223223
} else {
@@ -236,7 +236,7 @@ method get-tags($date) {
236236
my %seen;
237237
for self.get-output(git, log, --pretty="%d",
238238
--tags, --no-walk, --since=$date)<output>.lines -> $tag {
239-
next unless $tag ~~ /:i "tag:" \s* ((\d\d\d\d\.\d\d)[\.\d\d?]?) /; # TODO use tag -l
239+
next unless $tag ~~ /:i tag: \s* ((\d\d\d\d\.\d\d)[\.\d\d?]?) /; # TODO use tag -l
240240
next if $!bad-releases{$0}:exists;
241241
next if %seen{$0[0]}++;
242242
@tags.push($0)

0 commit comments

Comments
 (0)