shortcut-links 0.3.0.0 → 0.4.0.0
raw patch · 5 files changed
+16/−8 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- ShortcutLinks.All: braumeister :: Shortcut
+ ShortcutLinks: type Shortcut = Maybe Text -> Text -> Result Text
+ ShortcutLinks.All: brew :: Shortcut
Files
- CHANGELOG.md +5/−0
- README.md +3/−1
- shortcut-links.cabal +1/−1
- src/ShortcutLinks.hs +2/−1
- src/ShortcutLinks/All.hs +5/−5
CHANGELOG.md view
@@ -1,3 +1,8 @@+# 0.4.0.0++* Exported `Shortcut`.+* Renamed “brabraumeisterumeister” to “brew” (it still uses Braumeister, but this can change in the future).+ # 0.3.0.0 * Added shortcut names to their descriptions.
README.md view
@@ -1,3 +1,5 @@ # shortcut-links -Package!+This package is a database of link shortcuts. A Markdown example: `[Google](@w)` turns into <http://en.wikipedia.org/wiki/Google>.++It's intended to be used in wikis and text markup converters (such as Pandoc) and anywhere else where humans may be entering links.
shortcut-links.cabal view
@@ -1,5 +1,5 @@ name: shortcut-links-version: 0.3.0.0+version: 0.4.0.0 synopsis: Link shortcuts for use in text markup description: This package is a database of link shortcuts. A Markdown example:
src/ShortcutLinks.hs view
@@ -5,6 +5,7 @@ module ShortcutLinks ( Result(..),+ Shortcut, allShortcuts, ) where@@ -14,7 +15,7 @@ import Data.Text (Text) import qualified Data.Text as T -- shortcut-links-import ShortcutLinks.All (allShortcuts, Result(..))+import ShortcutLinks.All import ShortcutLinks.Utils (format)
src/ShortcutLinks/All.hs view
@@ -36,7 +36,7 @@ -- ** Windows chocolatey, -- ** OS X- braumeister,+ brew, -- ** Linux debian, aur, mint, fedora, gentoo, opensuse, @@ -137,7 +137,7 @@ -- OS "gplay googleplay" .= googleplay, "chocolatey" .= chocolatey,- "brew" .= braumeister,+ "brew" .= brew, -- OS – Linux "debian" .= debian, "aur" .= aur,@@ -653,10 +653,10 @@ <http://braumeister.org/formula/multimarkdown> @ -Since all Homebrew formulas are stored in a Github repo anyway, and various sites are merely convenient ways to browse that repo, the “brew” shortcut can point to some other site in the future. Don't use it if you need /specifically/ Braumeister.+Since all Homebrew formulas are stored in a Github repo anyway, and various sites are merely convenient ways to browse that repo, the “brew” shortcut can point to some other site in the future, depending on which site seems better. Don't use it if you need /specifically/ Braumeister. -}-braumeister :: Shortcut-braumeister _ q = return $ "http://braumeister.org/formula/" <> q+brew :: Shortcut+brew _ q = return $ "http://braumeister.org/formula/" <> q {- | <https://chocolatey.org Chocolatey> (shortcut: “chocolatey”)