packages feed

lambdabot-misc-plugins 5.2 → 5.3

raw patch · 3 files changed

+14/−17 lines, 3 filesdep ~lambdabot-coresetup-changedPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: lambdabot-core

API changes (from Hackage documentation)

Files

Setup.hs view
@@ -1,3 +1,3 @@ #!/usr/bin/env runhaskell import Distribution.Simple-main = defaultMainWithHooks defaultUserHooks+main = defaultMain
lambdabot-misc-plugins.cabal view
@@ -1,5 +1,5 @@ name:                   lambdabot-misc-plugins-version:                5.2+version:                5.3  license:                GPL license-file:           LICENSE@@ -27,8 +27,8 @@ homepage:               https://wiki.haskell.org/Lambdabot  build-type:             Simple-cabal-version:          >= 1.8-tested-with:            GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5+cabal-version:          >= 1.10+tested-with:            GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.3  source-repository head   type:                 git@@ -38,6 +38,7 @@   hs-source-dirs:       src   ghc-options:          -Wall                         -funbox-strict-fields+  default-language:     Haskell98    exposed-modules:      Lambdabot.Plugin.Misc   other-modules:        Lambdabot.Plugin.Misc.Dummy@@ -52,7 +53,7 @@                         bytestring              >= 0.9,                         containers              >= 0.4,                         filepath                >= 1.3,-                        lambdabot-core          >= 5.2 && < 5.3,+                        lambdabot-core          >= 5.3 && < 5.4,                         lifted-base             >= 0.2,                         mtl                     >= 2,                         network                 >= 2.7 && < 3.2,
src/Lambdabot/Plugin/Misc/Dummy.hs view
@@ -30,10 +30,6 @@             }           | (cmd, op) <- dummylst           ]--    , contextual = \msg -> case msg of-        "lisppaste2: url"  -> say "Haskell pastebin: http://lpaste.net/"-        _                  -> return ()     }  dummyHelp :: String -> String@@ -58,19 +54,19 @@ dummylst :: [(String, String -> String)] dummylst =     [("dummy"      , const "dummy")-    ,("bug"        , const "https://hackage.haskell.org/trac/ghc/newticket?type=bug")+    ,("bug"        , const "https://gitlab.haskell.org/ghc/ghc/issues")     ,("id"         , (' ' :) . id)     ,("show"       , show)     ,("wiki"       , lookupWiki)-    ,("paste"      , const "Haskell pastebin: http://lpaste.net/")+    ,("paste"      , const "A pastebin: https://paste.debian.net/")     ,("docs"       , \x -> if null x                            then docPrefix </> "index.html"                            else lookupPackage docPrefix '-' "html" x)     ,("learn"      , const "https://wiki.haskell.org/Learning_Haskell")-    ,("haskellers" , const "http://www.haskellers.com/")+    ,("haskellers" , const "https://www.haskellers.com/")     ,("botsnack"   , const ":)")     ,("get-shapr"  , const "shapr!!")-    ,("shootout"   , const "http://benchmarksgame.alioth.debian.org/")+    ,("shootout"   , const "https://benchmarksgame-team.pages.debian.net/benchmarksgame/")     ,("faq"        , const "The answer is: Yes! Haskell can do that.")     ,("googleit"   , lookupGoogle)     ,("hackage"    , lookupHackage)@@ -86,11 +82,11 @@   where spacesToUnderscores = map (\c -> if c == ' ' then '_' else c)  lookupHackage :: String -> String-lookupHackage "" = "http://hackage.haskell.org"-lookupHackage xs = "http://hackage.haskell.org/package" </> xs+lookupHackage "" = "https://hackage.haskell.org"+lookupHackage xs = "https://hackage.haskell.org/package" </> xs  googlePrefix :: String-googlePrefix = "http://letmegooglethatforyou.com"+googlePrefix = "https://lmgtfy.com"  lookupGoogle :: String -> String lookupGoogle "" = googlePrefix@@ -99,7 +95,7 @@     quote = map (\x -> if x == ' ' then '+' else x)  docPrefix :: String-docPrefix = "http://haskell.org/ghc/docs/latest/html/libraries"+docPrefix = "https://haskell.org/ghc/docs/latest/html/libraries"  lookupPackage :: String -> Char -> String -> String -> String lookupPackage begin sep end x'' =