packages feed

gogol-fonts 0.4.0 → 0.5.0

raw patch · 4 files changed

+31/−23 lines, 4 filesdep ~gogol-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: gogol-core

API changes (from Hackage documentation)

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`0.3.0`+`0.5.0`   ## Description
gen/Network/Google/Fonts/Types/Product.hs view
@@ -22,7 +22,8 @@  -- -- /See:/ 'webfont' smart constructor.-data Webfont = Webfont'+data Webfont =+  Webfont'     { _wVariants     :: !(Maybe [Text])     , _wKind         :: !Text     , _wCategory     :: !(Maybe Text)@@ -31,8 +32,10 @@     , _wFiles        :: !(Maybe WebfontFiles)     , _wSubSets      :: !(Maybe [Text])     , _wLastModified :: !(Maybe Date')-    } deriving (Eq,Show,Data,Typeable,Generic)+    }+  deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'Webfont' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -55,7 +58,7 @@ webfont     :: Webfont webfont =-    Webfont'+  Webfont'     { _wVariants = Nothing     , _wKind = "webfonts#webfont"     , _wCategory = Nothing@@ -66,6 +69,7 @@     , _wLastModified = Nothing     } + -- | The available variants for the font. wVariants :: Lens' Webfont [Text] wVariants@@ -139,11 +143,14 @@  -- -- /See:/ 'webfontList' smart constructor.-data WebfontList = WebfontList'+data WebfontList =+  WebfontList'     { _wlKind  :: !Text     , _wlItems :: !(Maybe [Webfont])-    } deriving (Eq,Show,Data,Typeable,Generic)+    }+  deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'WebfontList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -154,11 +161,9 @@ webfontList     :: WebfontList webfontList =-    WebfontList'-    { _wlKind = "webfonts#webfontList"-    , _wlItems = Nothing-    }+  WebfontList' {_wlKind = "webfonts#webfontList", _wlItems = Nothing} + -- | This kind represents a list of webfont objects in the webfonts service. wlKind :: Lens' WebfontList Text wlKind = lens _wlKind (\ s a -> s{_wlKind = a})@@ -188,10 +193,13 @@ -- available variants, as a key : value map. -- -- /See:/ 'webfontFiles' smart constructor.-newtype WebfontFiles = WebfontFiles'+newtype WebfontFiles =+  WebfontFiles'     { _wfAddtional :: HashMap Text Text-    } deriving (Eq,Show,Data,Typeable,Generic)+    }+  deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'WebfontFiles' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -201,9 +209,8 @@     :: HashMap Text Text -- ^ 'wfAddtional'     -> WebfontFiles webfontFiles pWfAddtional_ =-    WebfontFiles'-    { _wfAddtional = _Coerce # pWfAddtional_-    }+  WebfontFiles' {_wfAddtional = _Coerce # pWfAddtional_}+  -- | The font file URL (value) for an specific variant (key). wfAddtional :: Lens' WebfontFiles (HashMap Text Text)
gen/Network/Google/Resource/Webfonts/Webfonts/List.hs view
@@ -53,10 +53,13 @@ -- Developer API -- -- /See:/ 'webfontsList' smart constructor.-newtype WebfontsList = WebfontsList'+newtype WebfontsList =+  WebfontsList'     { _wlSort :: Maybe WebfontsListSort-    } deriving (Eq,Show,Data,Typeable,Generic)+    }+  deriving (Eq, Show, Data, Typeable, Generic) + -- | Creates a value of 'WebfontsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -64,10 +67,8 @@ -- * 'wlSort' webfontsList     :: WebfontsList-webfontsList =-    WebfontsList'-    { _wlSort = Nothing-    }+webfontsList = WebfontsList' {_wlSort = Nothing}+  -- | Enables sorting of the list wlSort :: Lens' WebfontsList (Maybe WebfontsListSort)
gogol-fonts.cabal view
@@ -1,5 +1,5 @@ name:                  gogol-fonts-version:               0.4.0+version:               0.5.0 synopsis:              Google Fonts Developer SDK. homepage:              https://github.com/brendanhay/gogol bug-reports:           https://github.com/brendanhay/gogol/issues@@ -44,5 +44,5 @@         , Network.Google.Fonts.Types.Sum      build-depends:-          gogol-core == 0.4.0.*+          gogol-core == 0.5.0.*         , base       >= 4.7 && < 5