From bad8be8cfd86ea11ff062a179d132d6172dd97d8 Mon Sep 17 00:00:00 2001 From: Deepanjan Bhattacharyya Date: Thu, 26 Mar 2020 15:14:48 -0400 Subject: [PATCH 1/2] Update gyro core dependency and modify method name --- build.gradle | 2 +- src/main/java/gyro/plugin/ssh/AbstractInstanceCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index b797647..49d61e0 100644 --- a/build.gradle +++ b/build.gradle @@ -52,7 +52,7 @@ repositories { } dependencies { - api 'gyro:gyro-core:0.99.1-SNAPSHOT' + api 'gyro:gyro-core:0.99.2-SNAPSHOT' implementation 'com.psddev:dari-util:3.3.607-xe0f27a' } diff --git a/src/main/java/gyro/plugin/ssh/AbstractInstanceCommand.java b/src/main/java/gyro/plugin/ssh/AbstractInstanceCommand.java index cd679dd..15c2c55 100644 --- a/src/main/java/gyro/plugin/ssh/AbstractInstanceCommand.java +++ b/src/main/java/gyro/plugin/ssh/AbstractInstanceCommand.java @@ -112,7 +112,7 @@ protected void doExecute() throws Exception { fileScopes = current.getFileScopes(); } - for (Resource resource : current.findResources()) { + for (Resource resource : current.findSortedResources()) { boolean scoped = fileScopes.contains(DiffableInternals.getScope(resource).getFileScope()); if (GyroInstance.class.isAssignableFrom(resource.getClass())) { From 0a02a022a8758b07e9a186be4724aa88a52c99dd Mon Sep 17 00:00:00 2001 From: Deepanjan Bhattacharyya Date: Thu, 26 Mar 2020 15:24:08 -0400 Subject: [PATCH 2/2] update plugin version to 0.99.2 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 49d61e0..bce76fc 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ plugins { id 'maven-publish' } -def releaseVersion = '0.99.1' +def releaseVersion = '0.99.2' def releaseBuild = false; if (System.getenv('TRAVIS_BRANCH') && System.getenv('TRAVIS_PULL_REQUEST') == 'false') {