From 0751db3874c9451c8b883599d1db9eecadbfbd81 Mon Sep 17 00:00:00 2001 From: LeKe <95280282+goflutterjava@users.noreply.github.com> Date: Mon, 11 Apr 2022 09:48:05 +0800 Subject: [PATCH] bump dart eval version (#73) --- lib/open/open_api_debug_async.dart | 30 ++++++++++++++++++++++++++++++ lib/open/open_api_debug_sync.dart | 2 +- pubspec.lock | 10 ++++++---- pubspec.yaml | 5 ++++- 4 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 lib/open/open_api_debug_async.dart diff --git a/lib/open/open_api_debug_async.dart b/lib/open/open_api_debug_async.dart new file mode 100644 index 0000000..8f337ec --- /dev/null +++ b/lib/open/open_api_debug_async.dart @@ -0,0 +1,30 @@ +// +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. +// + +class OpenApiAsyncDebug { + final name = "open async debug"; + + Future helloWorld() async { + return "helloWorld"; + } + + Future echo(String str) async { + return str; + } +} diff --git a/lib/open/open_api_debug_sync.dart b/lib/open/open_api_debug_sync.dart index ecd10ad..bddf463 100644 --- a/lib/open/open_api_debug_sync.dart +++ b/lib/open/open_api_debug_sync.dart @@ -18,7 +18,7 @@ // class OpenApiSyncDebug { - final name = "open debug"; + final name = "open sync debug"; String helloWorld() { return "helloWorld"; diff --git a/pubspec.lock b/pubspec.lock index b157908..4dffea2 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -137,9 +137,11 @@ packages: dart_eval: dependency: "direct main" description: - name: dart_eval - url: "https://pub.dartlang.org" - source: hosted + path: "." + ref: e1a2f51d09815c22445e0c8698c616ddce046ba5 + resolved-ref: e1a2f51d09815c22445e0c8698c616ddce046ba5 + url: "https://github.com/ethanblake4/dart_eval.git" + source: git version: "0.0.4" dart_style: dependency: transitive @@ -307,7 +309,7 @@ packages: name: mongo_dart url: "https://pub.dartlang.org" source: hosted - version: "0.7.4" + version: "0.7.4+1" mongo_dart_query: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 0624e96..97f5a07 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -62,7 +62,10 @@ dependencies: mysql1: ^0.19.2 redis: ^2.2.0 # eval - dart_eval: ^0.0.4 + dart_eval: + git: + url: https://github.com/ethanblake4/dart_eval.git + ref: e1a2f51d09815c22445e0c8698c616ddce046ba5 # mvvm provider: ^6.0.2 # system