Hello community,

here is the log from the commit of package ghc-gogol-storage for 
openSUSE:Factory checked in at 2017-08-31 20:55:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-gogol-storage (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-gogol-storage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-gogol-storage"

Thu Aug 31 20:55:00 2017 rev:2 rq:513346 version:0.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-gogol-storage/ghc-gogol-storage.changes      
2017-05-10 20:44:06.365128554 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gogol-storage.new/ghc-gogol-storage.changes 
2017-08-31 20:55:02.507401808 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:08:06 UTC 2017 - [email protected]
+
+- Update to version 0.3.0.
+
+-------------------------------------------------------------------

Old:
----
  gogol-storage-0.1.1.tar.gz

New:
----
  gogol-storage-0.3.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-gogol-storage.spec ++++++
--- /var/tmp/diff_new_pack.mrcHF9/_old  2017-08-31 20:55:03.987193891 +0200
+++ /var/tmp/diff_new_pack.mrcHF9/_new  2017-08-31 20:55:04.011190521 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name gogol-storage
 Name:           ghc-%{pkg_name}
-Version:        0.1.1
+Version:        0.3.0
 Release:        0
 Summary:        Google Cloud Storage JSON SDK
 License:        MPL-2.0

++++++ gogol-storage-0.1.1.tar.gz -> gogol-storage-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gogol-storage-0.1.1/README.md 
new/gogol-storage-0.3.0/README.md
--- old/gogol-storage-0.1.1/README.md   2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-storage-0.3.0/README.md   2017-07-12 16:45:05.000000000 +0200
@@ -8,7 +8,7 @@
 
 ## Version
 
-`0.1.1`
+`0.3.0`
 
 
 ## Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gogol-storage-0.1.1/gen/Network/Google/Storage/Types/Product.hs 
new/gogol-storage-0.3.0/gen/Network/Google/Storage/Types/Product.hs
--- old/gogol-storage-0.1.1/gen/Network/Google/Storage/Types/Product.hs 
2016-11-03 14:26:26.000000000 +0100
+++ new/gogol-storage-0.3.0/gen/Network/Google/Storage/Types/Product.hs 
2017-07-12 16:45:05.000000000 +0200
@@ -1332,32 +1332,33 @@
 --
 -- /See:/ 'object'' smart constructor.
 data Object = Object'
-    { _objEtag               :: !(Maybe Text)
-    , _objSize               :: !(Maybe (Textual Word64))
-    , _objKind               :: !Text
-    , _objTimeDeleted        :: !(Maybe DateTime')
-    , _objCrc32c             :: !(Maybe Text)
-    , _objCustomerEncryption :: !(Maybe ObjectCustomerEncryption)
-    , _objBucket             :: !(Maybe Text)
-    , _objOwner              :: !(Maybe ObjectOwner)
-    , _objSelfLink           :: !(Maybe Text)
-    , _objMediaLink          :: !(Maybe Text)
-    , _objComponentCount     :: !(Maybe (Textual Int32))
-    , _objName               :: !(Maybe Text)
-    , _objStorageClass       :: !(Maybe Text)
-    , _objContentEncoding    :: !(Maybe Text)
-    , _objMetadata           :: !(Maybe ObjectMetadata)
-    , _objTimeCreated        :: !(Maybe DateTime')
-    , _objId                 :: !(Maybe Text)
-    , _objUpdated            :: !(Maybe DateTime')
-    , _objContentLanguage    :: !(Maybe Text)
-    , _objCacheControl       :: !(Maybe Text)
-    , _objMetageneration     :: !(Maybe (Textual Int64))
-    , _objGeneration         :: !(Maybe (Textual Int64))
-    , _objACL                :: !(Maybe [ObjectAccessControl])
-    , _objContentDisPosition :: !(Maybe Text)
-    , _objMD5Hash            :: !(Maybe Text)
-    , _objContentType        :: !(Maybe Text)
+    { _objEtag                    :: !(Maybe Text)
+    , _objTimeStorageClassUpdated :: !(Maybe DateTime')
+    , _objSize                    :: !(Maybe (Textual Word64))
+    , _objKind                    :: !Text
+    , _objTimeDeleted             :: !(Maybe DateTime')
+    , _objCrc32c                  :: !(Maybe Text)
+    , _objCustomerEncryption      :: !(Maybe ObjectCustomerEncryption)
+    , _objBucket                  :: !(Maybe Text)
+    , _objOwner                   :: !(Maybe ObjectOwner)
+    , _objSelfLink                :: !(Maybe Text)
+    , _objMediaLink               :: !(Maybe Text)
+    , _objComponentCount          :: !(Maybe (Textual Int32))
+    , _objName                    :: !(Maybe Text)
+    , _objStorageClass            :: !(Maybe Text)
+    , _objContentEncoding         :: !(Maybe Text)
+    , _objMetadata                :: !(Maybe ObjectMetadata)
+    , _objTimeCreated             :: !(Maybe DateTime')
+    , _objId                      :: !(Maybe Text)
+    , _objUpdated                 :: !(Maybe DateTime')
+    , _objContentLanguage         :: !(Maybe Text)
+    , _objCacheControl            :: !(Maybe Text)
+    , _objMetageneration          :: !(Maybe (Textual Int64))
+    , _objGeneration              :: !(Maybe (Textual Int64))
+    , _objACL                     :: !(Maybe [ObjectAccessControl])
+    , _objContentDisPosition      :: !(Maybe Text)
+    , _objMD5Hash                 :: !(Maybe Text)
+    , _objContentType             :: !(Maybe Text)
     } deriving (Eq,Show,Data,Typeable,Generic)
 
 -- | Creates a value of 'Object' with the minimum fields required to make a 
request.
@@ -1366,6 +1367,8 @@
 --
 -- * 'objEtag'
 --
+-- * 'objTimeStorageClassUpdated'
+--
 -- * 'objSize'
 --
 -- * 'objKind'
@@ -1420,6 +1423,7 @@
 object' =
     Object'
     { _objEtag = Nothing
+    , _objTimeStorageClassUpdated = Nothing
     , _objSize = Nothing
     , _objKind = "storage#object"
     , _objTimeDeleted = Nothing
@@ -1451,6 +1455,14 @@
 objEtag :: Lens' Object (Maybe Text)
 objEtag = lens _objEtag (\ s a -> s{_objEtag = a})
 
+-- | The time at which the object\'s storage class was last changed. When the
+-- object is initially created, it will be set to timeCreated.
+objTimeStorageClassUpdated :: Lens' Object (Maybe UTCTime)
+objTimeStorageClassUpdated
+  = lens _objTimeStorageClassUpdated
+      (\ s a -> s{_objTimeStorageClassUpdated = a})
+      . mapping _DateTime
+
 -- | Content-Length of the data in bytes.
 objSize :: Lens' Object (Maybe Word64)
 objSize
@@ -1609,8 +1621,9 @@
           = withObject "Object"
               (\ o ->
                  Object' <$>
-                   (o .:? "etag") <*> (o .:? "size") <*>
-                     (o .:? "kind" .!= "storage#object")
+                   (o .:? "etag") <*> (o .:? "timeStorageClassUpdated")
+                     <*> (o .:? "size")
+                     <*> (o .:? "kind" .!= "storage#object")
                      <*> (o .:? "timeDeleted")
                      <*> (o .:? "crc32c")
                      <*> (o .:? "customerEncryption")
@@ -1639,8 +1652,10 @@
         toJSON Object'{..}
           = object
               (catMaybes
-                 [("etag" .=) <$> _objEtag, ("size" .=) <$> _objSize,
-                  Just ("kind" .= _objKind),
+                 [("etag" .=) <$> _objEtag,
+                  ("timeStorageClassUpdated" .=) <$>
+                    _objTimeStorageClassUpdated,
+                  ("size" .=) <$> _objSize, Just ("kind" .= _objKind),
                   ("timeDeleted" .=) <$> _objTimeDeleted,
                   ("crc32c" .=) <$> _objCrc32c,
                   ("customerEncryption" .=) <$> _objCustomerEncryption,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gogol-storage-0.1.1/gen/Network/Google/Storage/Types.hs 
new/gogol-storage-0.3.0/gen/Network/Google/Storage/Types.hs
--- old/gogol-storage-0.1.1/gen/Network/Google/Storage/Types.hs 2016-11-03 
14:26:26.000000000 +0100
+++ new/gogol-storage-0.3.0/gen/Network/Google/Storage/Types.hs 2017-07-12 
16:45:05.000000000 +0200
@@ -232,6 +232,7 @@
     , Object
     , object'
     , objEtag
+    , objTimeStorageClassUpdated
     , objSize
     , objKind
     , objTimeDeleted
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gogol-storage-0.1.1/gen/Network/Google/Storage.hs 
new/gogol-storage-0.3.0/gen/Network/Google/Storage.hs
--- old/gogol-storage-0.1.1/gen/Network/Google/Storage.hs       2016-11-03 
14:26:26.000000000 +0100
+++ new/gogol-storage-0.3.0/gen/Network/Google/Storage.hs       2017-07-12 
16:45:05.000000000 +0200
@@ -346,6 +346,7 @@
     , Object
     , object'
     , objEtag
+    , objTimeStorageClassUpdated
     , objSize
     , objKind
     , objTimeDeleted
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gogol-storage-0.1.1/gogol-storage.cabal 
new/gogol-storage-0.3.0/gogol-storage.cabal
--- old/gogol-storage-0.1.1/gogol-storage.cabal 2016-11-03 14:26:26.000000000 
+0100
+++ new/gogol-storage-0.3.0/gogol-storage.cabal 2017-07-12 16:45:05.000000000 
+0200
@@ -1,5 +1,5 @@
 name:                  gogol-storage
-version:               0.1.1
+version:               0.3.0
 synopsis:              Google Cloud Storage JSON SDK.
 homepage:              https://github.com/brendanhay/gogol
 bug-reports:           https://github.com/brendanhay/gogol/issues
@@ -80,5 +80,5 @@
         , Network.Google.Storage.Types.Sum
 
     build-depends:
-          gogol-core == 0.1.1.*
+          gogol-core == 0.3.0.*
         , base       >= 4.7 && < 5


Reply via email to