diff --git a/.gitignore b/.gitignore index 9b08c19..124e4c7 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ build/ bin/query_cache/ bin/update_cache/ +sign.sh diff --git a/bin/main.dart b/bin/main.dart index 2a87032..04e919f 100644 --- a/bin/main.dart +++ b/bin/main.dart @@ -56,7 +56,7 @@ void main(List arguments) async { } else { version = Config.supportedVersions.last; } - final String queryString = query.join(' ').trim(); + final String queryString = query.join(' ').trim().toLowerCase(); if (verbose) stdout.writeln('Query: "$queryString"'); diff --git a/bin/src/constants/config.dart b/bin/src/constants/config.dart index 90a0dd7..e5e03b7 100644 --- a/bin/src/constants/config.dart +++ b/bin/src/constants/config.dart @@ -1,7 +1,7 @@ class Config { Config._(); - static const String version = '2.0.2'; + static const String version = '2.0.3'; static final Uri githubRepositoryUrl = Uri.https('github.com', '/techouse/alfred-cakephp-docs'); static const String algoliaApplicationId = 'WODHKE4WZG'; diff --git a/info.plist b/info.plist index d534f76..cc0f62c 100644 --- a/info.plist +++ b/info.plist @@ -215,7 +215,7 @@ variablesdontexport version - 2.0.2 + 2.0.3 webaddress https://github.com/techouse/alfred-cakephp-docs diff --git a/pubspec.lock b/pubspec.lock index 2d6f7ac..64ea22e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -11,19 +11,17 @@ packages: alfred_workflow: dependency: "direct main" description: - path: "." - ref: master - resolved-ref: ecbe8de5c4b6cc997836a4b62111a105a4352979 - url: "git@github.com:techouse/alfred_workflow.git" - source: git - version: "0.0.8" + name: alfred_workflow + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.3" algolia: dependency: "direct main" description: name: algolia url: "https://pub.dartlang.org" source: hosted - version: "1.0.4" + version: "1.1.1" analyzer: dependency: transitive description: @@ -51,14 +49,14 @@ packages: name: args url: "https://pub.dartlang.org" source: hosted - version: "2.3.0" + version: "2.3.1" async: dependency: transitive description: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.8.2" + version: "2.9.0" charcode: dependency: transitive description: @@ -100,7 +98,7 @@ packages: name: crypto url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.0.2" csslib: dependency: transitive description: @@ -114,14 +112,14 @@ packages: name: dart_code_metrics url: "https://pub.dartlang.org" source: hosted - version: "4.13.0" + version: "4.15.0" dart_style: dependency: transitive description: name: dart_style url: "https://pub.dartlang.org" source: hosted - version: "2.2.2" + version: "2.2.3" equatable: dependency: transitive description: @@ -170,14 +168,14 @@ packages: name: json_annotation url: "https://pub.dartlang.org" source: hosted - version: "4.4.0" + version: "4.5.0" lints: dependency: "direct dev" description: name: lints url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "2.0.0" meta: dependency: transitive description: @@ -219,7 +217,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.2" + version: "1.9.0" stash: dependency: transitive description: @@ -247,7 +245,7 @@ packages: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.1.1" term_glyph: dependency: transitive description: @@ -261,7 +259,14 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.3.1" + universal_io: + dependency: transitive + description: + name: universal_io + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.4" uuid: dependency: transitive description: @@ -282,13 +287,13 @@ packages: name: xml url: "https://pub.dartlang.org" source: hosted - version: "5.4.1" + version: "6.0.1" yaml: dependency: transitive description: name: yaml url: "https://pub.dartlang.org" source: hosted - version: "3.1.0" + version: "3.1.1" sdks: - dart: ">=2.16.1 <3.0.0" + dart: ">=2.17.0 <3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 6adf165..daa2855 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,20 +4,17 @@ description: Search the Flask documentation using Alfred # Prevent accidental publishing to pub.dev. publish_to: 'none' -version: 2.0.2 +version: 2.0.3 environment: - sdk: '>=2.16.1 <3.0.0' + sdk: '>=2.17.0 <3.0.0' dependencies: - algolia: ^1.0.4 + algolia: ^1.1.1 args: ^2.3.0 - alfred_workflow: - git: - url: git@github.com:techouse/alfred_workflow.git - ref: master + alfred_workflow: ^0.1.3 collection: ^1.16.0 dev_dependencies: - lints: ^1.0.0 + lints: ^2.0.0 dart_code_metrics: ^4.8.1 \ No newline at end of file diff --git a/version b/version index f93ea0c..6acdb44 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.0.2 \ No newline at end of file +2.0.3 \ No newline at end of file