diff --git a/README.md b/README.md index 4315c60..23f798f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## Summary A web-based Groovy console for interactive runtime application management and debugging -![Screenshot](https://raw.github.com/gpc/grails-console/images/screenshot.png) +![Screenshot](https://raw.github.com/gpc/grails-web-console/images/screenshot.png) ## Versions @@ -22,7 +22,7 @@ repositories { } dependencies { - compile 'com.github.gpc:grails-console:6.0-M2' + compile 'com.github.gpc:grails-web-console:6.0-M2' } ``` @@ -32,7 +32,7 @@ In addition if you don't want to use jitpack.io then use following github packag repositories { maven { name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/gpc/grails-console") + url = uri("https://maven.pkg.github.com/gpc/grails-web-console") credentials { username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME") password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN") @@ -41,7 +41,7 @@ repositories { } dependencies { - compile 'org.grails.plugins:grails-console:6.0-M2' + compile 'org.grails.plugins:grails-web-console:6.0-M2' } ``` @@ -75,7 +75,7 @@ Calls made to the implicit `console` variable will be executed on the browser's The arguments are serialized as JSON and the calls are queued to run after the script completes. Example: -![Screenshot](https://raw.github.com/gpc/grails-console/images/screenshot2.png) +![Screenshot](https://raw.github.com/gpc/grails-web-console/images/screenshot2.png) ## Implicit variables @@ -88,7 +88,7 @@ The following implicit variables are available: * `session` - the current [HTTP session](http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpSession.html) * `out` - the output [PrintStream](http://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html) -See [Script Examples](https://github.com/gpc/grails-console/wiki/Script-Examples) for example usage. +See [Script Examples](https://github.com/gpc/grails-web-console/wiki/Script-Examples) for example usage. ## Keyboard Shortcuts diff --git a/build.sh b/build.sh index 9ee7f2a..bbf40f7 100755 --- a/build.sh +++ b/build.sh @@ -7,4 +7,4 @@ cd plugin ./gradlew jar echo -realpath build/libs/grails-console-*.jar +realpath build/libs/grails-web-console-*.jar diff --git a/package-lock.json b/package-lock.json index 7e141fa..93908c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "grails-console", + "name": "grails-web-console", "version": "1.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "grails-console", + "name": "grails-web-console", "version": "1.6.0", "devDependencies": { "del": "^7.0.0", diff --git a/package.json b/package.json index dbea31f..39612ba 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "grails-console", + "name": "grails-web-console", "version": "1.6.0", "type": "module", "devDependencies": { diff --git a/plugin/build.gradle b/plugin/build.gradle index 4d7be5f..7aab907 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -146,7 +146,7 @@ publishing { repositories { maven { name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/gpc/grails-console") + url = uri("https://maven.pkg.github.com/gpc/grails-web-console") credentials { username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME") password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN") diff --git a/plugin/release.sh b/plugin/release.sh index 795b818..af56d72 100755 --- a/plugin/release.sh +++ b/plugin/release.sh @@ -1,9 +1,9 @@ rm -rf target/release mkdir -p target/release cd target/release -git clone git@github.com:gpc/grails-console.git +git clone git@github.com:gpc/grails-web-console.git -cd grails-console +cd grails-web-console npm install gulp grails:release diff --git a/plugin/settings.gradle b/plugin/settings.gradle index 883dc69..c420e93 100644 --- a/plugin/settings.gradle +++ b/plugin/settings.gradle @@ -8,4 +8,4 @@ pluginManagement { } } -rootProject.name = 'grails-console' +rootProject.name = 'grails-web-console' diff --git a/plugin/src/main/groovy/org/grails/plugins/console/ConsoleGrailsPlugin.groovy b/plugin/src/main/groovy/org/grails/plugins/console/WebConsoleGrailsPlugin.groovy similarity index 87% rename from plugin/src/main/groovy/org/grails/plugins/console/ConsoleGrailsPlugin.groovy rename to plugin/src/main/groovy/org/grails/plugins/console/WebConsoleGrailsPlugin.groovy index 0a3a5a5..a3fdf91 100644 --- a/plugin/src/main/groovy/org/grails/plugins/console/ConsoleGrailsPlugin.groovy +++ b/plugin/src/main/groovy/org/grails/plugins/console/WebConsoleGrailsPlugin.groovy @@ -2,16 +2,17 @@ package org.grails.plugins.console import grails.plugins.* -class ConsoleGrailsPlugin extends Plugin { +class WebConsoleGrailsPlugin extends Plugin { // the version or versions of Grails the plugin is designed for def grailsVersion = "6.2.0 > *" + // resources that are excluded from plugin packaging def pluginExcludes = [ "grails-app/views/error.gsp" ] - String title = 'Console Plugin' + String title = 'Web Console Plugin' def author = "Your name" def authorEmail = "" String description = 'A web-based Groovy console for interactive runtime application management and debugging' @@ -19,7 +20,7 @@ class ConsoleGrailsPlugin extends Plugin { def profiles = ['web'] // URL to the plugin's documentation - String documentation = 'https://github.com/gpc/grails-console/blob/6.0.x/README.md' + String documentation = 'https://github.com/gpc/grails-web-console/blob/6.0.x/README.md' String license = 'APACHE' def developers = [ @@ -29,8 +30,8 @@ class ConsoleGrailsPlugin extends Plugin { [name: 'Matt Sheehan', email: 'mr.sheehan@gmail.com'], [name: 'Sachin Verma', email: 'v.sachin.v@gmail.com'] ] - def issueManagement = [system: 'github', url: 'https://github.com/gpc/grails-console/issues'] - def scm = [url: 'https://github.com/gpc/grails-console'] + def issueManagement = [system: 'github', url: 'https://github.com/gpc/grails-web-console/issues'] + def scm = [url: 'https://github.com/gpc/grails-web-console'] Closure doWithSpring() { {->