Skip to content

Commit

Permalink
Rename plugin to reflect it's the web console
Browse files Browse the repository at this point in the history
  • Loading branch information
jdaugherty committed Oct 15, 2024
1 parent eccdade commit db529ec
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 19 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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'
}
```

Expand All @@ -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")
Expand All @@ -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'
}
```
Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ cd plugin
./gradlew jar

echo
realpath build/libs/grails-console-*.jar
realpath build/libs/grails-web-console-*.jar
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "grails-console",
"name": "grails-web-console",
"version": "1.6.0",
"type": "module",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions plugin/release.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion plugin/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ pluginManagement {
}
}

rootProject.name = 'grails-console'
rootProject.name = 'grails-web-console'
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@ 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'

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 = [
Expand All @@ -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() { {->
Expand Down

0 comments on commit db529ec

Please sign in to comment.