Skip to content

Commit a1a319b

Browse files
authored
Update googleapis package to latest version (dart-archive/gcloud#128)
1 parent d374c07 commit a1a319b

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

pkgs/gcloud/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.4
2+
3+
- Support the latest version 6.0.0 of the `googleapis` package.
4+
15
## 0.8.3
26

37
- Support the latest version of the `googleapis` package.

pkgs/gcloud/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: gcloud
2-
version: 0.8.4-dev
2+
version: 0.8.4
33
description: >-
44
High level idiomatic Dart API for Google Cloud Storage, Pub-Sub and Datastore.
55
homepage: https://github.com/dart-lang/gcloud
@@ -8,7 +8,7 @@ environment:
88

99
dependencies:
1010
_discoveryapis_commons: ^1.0.0
11-
googleapis: '>=3.0.0 <6.0.0'
11+
googleapis: '>=3.0.0 <7.0.0'
1212
http: ^0.13.0
1313
meta: ^1.3.0
1414

pkgs/gcloud/test/storage/storage_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ void main() {
243243
expect(request.body.length, 0);
244244
return mock.respond(storage.Bucket()
245245
..name = bucketName
246-
..timeCreated = DateTime(2014));
246+
..timeCreated = DateTime.utc(2014));
247247
}));
248248

249249
return api.bucketInfo(bucketName).then(expectAsync1((result) {
250250
expect(result.bucketName, bucketName);
251-
expect(result.created, DateTime(2014));
251+
expect(result.created, DateTime.utc(2014));
252252
}));
253253
});
254254
});
@@ -978,15 +978,15 @@ void main() {
978978
expect(request.url.queryParameters['alt'], 'json');
979979
return mock.respond(storage.Object()
980980
..name = objectName
981-
..updated = DateTime(2014)
981+
..updated = DateTime.utc(2014)
982982
..contentType = 'mime/type');
983983
}));
984984

985985
var api = Storage(mock, testProject);
986986
var bucket = api.bucket(bucketName);
987987
bucket.info(objectName).then(expectAsync1((stat) {
988988
expect(stat.name, objectName);
989-
expect(stat.updated, DateTime(2014));
989+
expect(stat.updated, DateTime.utc(2014));
990990
expect(stat.metadata.contentType, 'mime/type');
991991
}));
992992
});

0 commit comments

Comments
 (0)