Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
re-gen sources
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Oct 16, 2015
1 parent c43b37c commit 35f4424
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 27 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# CHANGELOG

## 0.2.4
- Improved layout of `server-appengine`.
- Improved layout of `server-appengine`

## 0.2.3+1
- fixed an issue with the Polymer template
- Fixed an issue with the Polymer template

## 0.2.3
- Updated the Polymer sample to the latest version (`1.0.0-rc.1`)
- Removed the web-full example. Was not maintained.
- Removed the web-full example (it had not been maintained)

## 0.2.2+1
- Moved the script tags for the web templates into the head section
Expand All @@ -21,7 +21,7 @@
- All templates updated to use the latest `test` package

## 0.2.0+1
- Update the template descriptions
- Updated the template descriptions
- The `web-full` sample now reverses the text on page load

## 0.2.0
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/console_full_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

const List<String> data = const <String>[
const List<String> data = const [
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/console_simple_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

const List<String> data = const <String>[
const List<String> data = const [
"bin/main.dart",
"text",
"bWFpbihMaXN0PFN0cmluZz4gYXJncykgewogIHByaW50KCdIZWxsbyB3b3JsZCEnKTsKfQo=",
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/package_simple_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

const List<String> data = const <String>[
const List<String> data = const [
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
13 changes: 6 additions & 7 deletions lib/generators/server_appengine_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

const List<String> data = const <String>[
const List<String> data = const [
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down Expand Up @@ -149,12 +149,11 @@ IHJlc3BvbnNlLndyaXRlbG4oJyIke2tleX0iOiAiJHt2YWx1ZX0iJykpOwogIH0pLndoZW5Db21w
bGV0ZShyZXNwb25zZS5jbG9zZSk7Cn0KCi8vLyBIZWxwZXIgbWV0aG9kIHRvIHJlYWQgYSBzZXQg
b2YgdmFsdWVzIGZyb20gdGhlIG1lbWNhY2hlLgp2b2lkIHJlYWQoSHR0cFJlc3BvbnNlIHJlc3Bv
bnNlLCBJdGVyYWJsZTxTdHJpbmc+IGtleXMpIHsKICB2YXIgbWVtY2FjaGUgPSBjb250ZXh0LnNl
cnZpY2VzLm1lbWNhY2hlOwogIEZ1dHVyZQogICAgICAuZm9yRWFjaCgKICAgICAgICAgIGtleXMs
CiAgICAgICAgICAoa2V5KSA9PiBtZW1jYWNoZQogICAgICAgICAgICAgIC5nZXQoa2V5KQogICAg
ICAgICAgICAgIC50aGVuKCh2YWx1ZSkgPT4gcmVzcG9uc2Uud3JpdGVsbignIiR7a2V5fSI6ICIk
e3ZhbHVlfSInKSkKICAgICAgICAgICAgICAuY2F0Y2hFcnJvcigKICAgICAgICAgICAgICAgICAg
KF8pID0+IHJlc3BvbnNlLndyaXRlbG4oJyIke2tleX0iOiB2YWx1ZSBub3QgZm91bmQhJykpKQog
ICAgICAud2hlbkNvbXBsZXRlKHJlc3BvbnNlLmNsb3NlKTsKfQo=""",
cnZpY2VzLm1lbWNhY2hlOwogIHZhciBoYW5kbGVLZXkgPSAoa2V5KSA9PiBtZW1jYWNoZQogICAg
ICAuZ2V0KGtleSkKICAgICAgLnRoZW4oKHZhbHVlKSA9PiByZXNwb25zZS53cml0ZWxuKCciJHtr
ZXl9IjogIiR7dmFsdWV9IicpKQogICAgICAuY2F0Y2hFcnJvcigoXykgPT4gcmVzcG9uc2Uud3Jp
dGVsbignIiR7a2V5fSI6IHZhbHVlIG5vdCBmb3VuZCEnKSk7CiAgRnV0dXJlLmZvckVhY2goa2V5
cywgaGFuZGxlS2V5KS53aGVuQ29tcGxldGUocmVzcG9uc2UuY2xvc2UpOwp9Cg==""",
"pubspec.yaml",
"text",
"""bmFtZToge3twcm9qZWN0TmFtZX19CnZlcnNpb246IDAuMC4xCmRlc2NyaXB0aW9uOiBBIHNpbXBs
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/server_shelf_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

const List<String> data = const <String>[
const List<String> data = const [
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/web_polymer_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

const List<String> data = const <String>[
const List<String> data = const [
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/web_simple_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

const List<String> data = const <String>[
const List<String> data = const [
".gitignore",
"text",
"""LmJ1aWxkbG9nCi5EU19TdG9yZQouaWRlYQoucGFja2FnZXMKLnB1Yi8KYnVpbGQvCnBhY2thZ2Vz
Expand Down
14 changes: 5 additions & 9 deletions templates/server-appengine/lib/memcache.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,9 @@ void write(HttpResponse response, Map<String, String> valueMap) {
/// Helper method to read a set of values from the memcache.
void read(HttpResponse response, Iterable<String> keys) {
var memcache = context.services.memcache;
Future
.forEach(
keys,
(key) => memcache
.get(key)
.then((value) => response.writeln('"${key}": "${value}"'))
.catchError(
(_) => response.writeln('"${key}": value not found!')))
.whenComplete(response.close);
var handleKey = (key) => memcache
.get(key)
.then((value) => response.writeln('"${key}": "${value}"'))
.catchError((_) => response.writeln('"${key}": value not found!'));
Future.forEach(keys, handleKey).whenComplete(response.close);
}
2 changes: 1 addition & 1 deletion tool/grind.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void _concatenateFiles(Directory src, File target) {
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
const List<String> data = const <String>[
const List<String> data = const [
${str}
];
""");
Expand Down

0 comments on commit 35f4424

Please sign in to comment.