Codebase list anorack / c50dc94
Update upstream source from tag 'upstream/0.2.7' Update to upstream version '0.2.7' with Debian dir 41860a55a7bd55b512af950336a9a1e49f033b77 Emmanuel Arias 3 years ago
9 changed file(s) with 27 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
00 EWMH E.W.M.H
11 UCS U.C.S
22 UDP U.D.P
3 UPS U.P.S
34 UTF U.T.F
45 UTS U.T.S
56 UUID U.U.I.D
0 anorack (0.2.6-1) UNRELEASED; urgency=medium
0 anorack (0.2.7-1) UNRELEASED; urgency=medium
11
22 * Team upload.
3 * New upstream version 0.2.6 (Closes: #961250).
3 * New upstream version 0.2.7 (Closes: #961250).
44 * d/gbp.conf: set debian/master as default branch.
55 * d/salsa-ci.yml: enable salsa-ci.
66 * d/control: Bump debhelper-compat to 13.
77 * d/control: Bump Standard-Version to 4.5.0.
88
9 -- Emmanuel Arias <eamanu@yaerobi.com> Mon, 25 May 2020 22:11:08 -0300
9 -- Emmanuel Arias <eamanu@yaerobi.com> Thu, 30 Jul 2020 20:58:25 -0300
1010
1111 anorack (0.2.4-1) unstable; urgency=medium
1212
00 .\" Man page generated from reStructuredText.
11 .
2 .TH ANORACK 1 "2020-05-22" "anorack 0.2.6" ""
2 .TH ANORACK 1 "2020-05-28" "anorack 0.2.7" ""
33 .SH NAME
44 anorack \- “a” vs “an” checker
55 .
0 anorack (0.2.7) unstable; urgency=low
1
2 * Add override for "UPS".
3 https://github.com/jwilk/anorack/issues/6
4 Thanks to Martin Michlmayr for the bug report.
5 * Fix parsing words with intra-word apostrophes.
6 https://github.com/jwilk/anorack/issues/7
7 Thanks to Martin Michlmayr for the bug report.
8
9 -- Jakub Wilk <jwilk@jwilk.net> Mon, 01 Jun 2020 20:12:29 +0200
10
011 anorack (0.2.6) unstable; urgency=low
112
213 * Add override for "src".
66 -------------------
77
88 :manual section: 1
9 :version: anorack 0.2.6
10 :date: 2020-05-22
9 :version: anorack 0.2.7
10 :date: 2020-05-28
1111
1212 Synopsis
1313 --------
0 # Copyright © 2016-2018 Jakub Wilk <jwilk@jwilk.net>
0 # Copyright © 2016-2020 Jakub Wilk <jwilk@jwilk.net>
11 #
22 # Permission is hereby granted, free of charge, to any person obtaining a copy
33 # of this software and associated documentation files (the “Software”), to deal
3535 return '{path}:{n}'.format(path=self.file.name, n=self.lineno)
3636
3737 find_articles = re.compile(
38 r'''\b(an?)\s+(?:['‘"“]\s*)?(\d+|[^\W\d_]+)|\b(an?)\s*$''',
38 r'''(?<!\w['’])(?:\b(an?)\s+(?:['‘"“]\s*)?(\d+|[^\W\d_]+)|\b(an?)\s*$)''',
3939 re.IGNORECASE
4040 ).finditer
4141
00 '''anorack's version'''
11
2 __version__ = '0.2.6'
2 __version__ = '0.2.7'
0 # Copyright © 2016 Jakub Wilk <jwilk@jwilk.net>
0 # Copyright © 2016-2020 Jakub Wilk <jwilk@jwilk.net>
11 #
22 # Permission is hereby granted, free of charge, to any person obtaining a copy
33 # of this software and associated documentation files (the “Software”), to deal
7070 t('a UTF-16', (1, 'a', 'UTF'))
7171 t('a UTF 16', (1, 'a', 'UTF'))
7272
73 def test_inner_apostrophe():
74 t("Esra'a Al Shafei", [])
75 t('Esra’a Al Shafei', [])
76
7377 # vim:ts=4 sts=4 sw=4 et
4545 yield t('EWMH', ",i:d,Vb@Lj,u:,Em'eItS", 'ˌiːdˌʌbəljˌuːˌɛmˈeɪtʃ')
4646 yield t('UCS', "j,u:s,i:;'Es", 'jˌuːsˌiːˈɛs')
4747 yield t('UDP', "j,u:d,i:p'i:", 'jˌuːdˌiːpˈiː')
48 yield t('UPS', "j,u:p,i:;'Es", 'jˌuːpˌiːˈɛs')
4849 yield t('UTF', "j,u:t,i:;'Ef", 'jˌuːtˌiːˈɛf')
4950 yield t('UTS', "j,u:t,i:;'Es", 'jˌuːtˌiːˈɛs')
5051 yield t('UUID', "j,u:j,u:,aId'i:", 'jˌuːjˌuːˌaɪdˈiː')