Skip to content

Commit c78bda5

Browse files
committed
Automated update
1 parent 3108461 commit c78bda5

File tree

7 files changed

+56
-8
lines changed

7 files changed

+56
-8
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013 Gerwin Sturm & Adam Singer
1+
Copyright (c) 2013-2014 Gerwin Sturm & Adam Singer
22

33
Licensed under the Apache License, Version 2.0 (the "License"); you may
44
not use this file except in compliance with the License. You may obtain a

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Adding dependency to pubspec.yaml
1414

1515
```
1616
dependencies:
17-
google_tasks_v1_api: '>=0.4.11'
17+
google_tasks_v1_api: '>=0.4.12'
1818
```
1919

2020
For web applications:
@@ -46,7 +46,7 @@ To use authentication create a new `GoogleOAuth2` object and pass it to the cons
4646
### Licenses
4747

4848
```
49-
Copyright (c) 2013 Gerwin Sturm & Adam Singer
49+
Copyright (c) 2013-2014 Gerwin Sturm & Adam Singer
5050
5151
Licensed under the Apache License, Version 2.0 (the "License"); you may
5252
not use this file except in compliance with the License. You may obtain a

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"DGgqtFnjgu83tuwvvVNNUhOiHWk/5PpVnub_x8uBzIigVf3YlGXAlmA"
1+
"PoXr25DWmmN6KaMjdGmecv0bPt8/5PpVnub_x8uBzIigVf3YlGXAlmA"

lib/src/client/utils.dart

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
part of tasks_v1_api;
2+
3+
class SchemaArray<E> extends dart_collection.ListBase<E> {
4+
core.List innerList = new core.List();
5+
6+
core.int get length => innerList.length;
7+
8+
void set length(core.int length) {
9+
innerList.length = length;
10+
}
11+
12+
void operator[]=(core.int index, E value) {
13+
innerList[index] = value;
14+
}
15+
16+
E operator [](core.int index) => innerList[index];
17+
18+
// Though not strictly necessary, for performance reasons
19+
// you should implement add and addAll.
20+
21+
void add(E value) => innerList.add(value);
22+
23+
void addAll(core.Iterable<E> all) => innerList.addAll(all);
24+
}
25+
26+
27+
class SchemaAnyObject implements core.Map {
28+
core.Map innerMap = new core.Map();
29+
void clear() => innerMap.clear();
30+
core.bool containsKey(core.Object key) => innerMap.containsKey(key);
31+
core.bool containsValue(core.Object value) => innerMap.containsValue(value);
32+
void forEach(void f(key, value)) => innerMap.forEach(f);
33+
core.bool get isEmpty => innerMap.isEmpty;
34+
core.bool get isNotEmpty => innerMap.isNotEmpty;
35+
core.Iterable get keys => innerMap.keys;
36+
core.int get length => innerMap.length;
37+
putIfAbsent(key, ifAbsent()) => innerMap.putIfAbsent(key, ifAbsent);
38+
remove(core.Object key) => innerMap.remove(key);
39+
core.Iterable get values => innerMap.values;
40+
void addAll(core.Map other) => innerMap.addAll(other);
41+
operator [](core.Object key) => innerMap[key];
42+
void operator []=(key, value) {
43+
innerMap[key] = value;
44+
}
45+
}
46+

lib/tasks_v1_api_client.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ export 'package:google_tasks_v1_api/src/client_base.dart' show APIRequestError;
1111
part 'src/client/client.dart';
1212
part 'src/client/schemas.dart';
1313
part 'src/client/resources.dart';
14+
part 'src/client/utils.dart';

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: google_tasks_v1_api
2-
version: 0.4.11
2+
version: 0.4.12
33
authors:
44
- Adam Singer <[email protected]>
55
- Gerwin Sturm <[email protected]>
66
- Kevin Moore <[email protected]>
77
description: Auto-generated client library for accessing the tasks v1 API
88
homepage: https://github.com/dart-gde/discovery_api_dart_client_generator
99
environment:
10-
sdk: '>=0.8.10+6 <2.0.0'
10+
sdk: '>=1.0.0 <2.0.0'
1111
dependencies:
1212
google_oauth2_client: '>=0.3.2'
1313
dev_dependencies:
14-
hop: '>=0.27.1'
14+
hop: '>=0.30.2 <0.31.0'

tool/hop_runner.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ void main(List<String> args) {
1111
'lib/tasks_v1_api_client.dart'
1212
];
1313

14-
addTask('docs', createDartDocTask(pathList, linkApi: true));
14+
// TODO(adam): re enable when hop_docgen is available
15+
// addTask('docs', createDartDocTask(pathList, linkApi: true));
1516

1617
addTask('analyze', createAnalyzerTask(pathList));
1718

0 commit comments

Comments
 (0)