commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
3579deb624c8570077baa4fef771f4a355585c63
.test-infra/jenkins/job_PostCommit_Go_GradleBuild.groovy
.test-infra/jenkins/job_PostCommit_Go_GradleBuild.groovy
/* * 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 ...
/* * 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 ...
Disable build parallelization for Go Post-commit tests due to flakiness
Disable build parallelization for Go Post-commit tests due to flakiness
Groovy
apache-2.0
RyanSkraba/beam,chamikaramj/beam,apache/beam,markflyhigh/incubator-beam,apache/beam,chamikaramj/beam,markflyhigh/incubator-beam,mxm/incubator-beam,lukecwik/incubator-beam,apache/beam,robertwb/incubator-beam,RyanSkraba/beam,robertwb/incubator-beam,robertwb/incubator-beam,apache/beam,rangadi/incubator-beam,apache/beam,lu...
104aa13d3936e862600b453078adf5faf45f2545
files/default/upsert_user.groovy
files/default/upsert_user.groovy
import org.sonatype.nexus.security.role.NoSuchRoleException; import org.sonatype.nexus.security.role.RoleIdentifier; import org.sonatype.nexus.security.user.User; import org.sonatype.nexus.security.user.UserManager; import org.sonatype.nexus.security.user.UserNotFoundException; import org.sonatype.nexus.security.Securi...
import org.sonatype.nexus.security.role.NoSuchRoleException; import org.sonatype.nexus.security.user.User; import org.sonatype.nexus.security.user.UserManager; import org.sonatype.nexus.security.user.UserNotFoundException; import org.sonatype.nexus.security.SecuritySystem; import groovy.json.JsonSlurper; def params =...
Use role strings passed to add roles directly to user
Use role strings passed to add roles directly to user The current code mistakenly assumes getRole on the authManager returns RoleIdentifiers, when it returns Roles. In any case, the current code is inconsistent with the user creation code, which uses the strings directly on the addUser "security" helper object.
Groovy
mit
criteo-cookbooks/nexus3,criteo-cookbooks/nexus3
62e66dfced2549ba947fafdeaae01b38f5587094
ci/Jenkins.groovy
ci/Jenkins.groovy
node { stage 'git' checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'SubmoduleOption', disableSubmodules: false, recursiveSubmodules: true, reference: '', trackingSubmodules: false]], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gi...
node { stage 'git' checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'SubmoduleOption', disableSubmodules: false, recursiveSubmodules: true, reference: '', trackingSubmodules: false]], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gi...
Improve the CI build script
Improve the CI build script
Groovy
mit
wichtounet/etl,wichtounet/etl
a20da9c144f2064e0499b72669a44872324eaf4e
plugin/src/main/groovy/grails/buildtestdata/utils/DomainUtil.groovy
plugin/src/main/groovy/grails/buildtestdata/utils/DomainUtil.groovy
package grails.buildtestdata.utils import grails.buildtestdata.TestDataConfigurationHolder import groovy.transform.CompileStatic import org.grails.datastore.mapping.model.PersistentEntity import org.grails.datastore.mapping.reflect.ClassPropertyFetcher import java.lang.reflect.Modifier @CompileStatic class DomainUti...
package grails.buildtestdata.utils import grails.buildtestdata.TestDataConfigurationHolder import groovy.transform.CompileStatic import org.grails.datastore.mapping.model.PersistentEntity import org.grails.datastore.mapping.reflect.ClassPropertyFetcher import java.lang.reflect.Modifier @CompileStatic class DomainUti...
Add specific error checking for finding concrete subclasses
Add specific error checking for finding concrete subclasses
Groovy
apache-2.0
longwa/build-test-data,tednaleid/build-test-data
7144e37de59d8cff3747dd87973e12c05a441374
vars/jplBuildAPK.groovy
vars/jplBuildAPK.groovy
/** Build APK with Fastlane Look at https://github.com/pedroamador/ci-scripts (require "ci-scripts" installation) Parameters: * String sdkVersion SDK Version to use * String lane What lane of Fastlane is going to be used in the build */ def call(String sdkVersion, String lane) { timestamps { ...
/** Build APK with Fastlane Look at https://github.com/pedroamador/ci-scripts (require "ci-scripts" installation) Parameters: * String sdkVersion SDK Version to use * String lane What lane of Fastlane is going to be used in the build * String versionSuffix Version suffix */ def call(String sdkVersion, ...
Add versionSuffix to apk build
Add versionSuffix to apk build
Groovy
mit
red-panda-ci/jenkins-pipeline-library,pedroamador/jenkins-pipeline-library
e475a52c6a485738802776b21c7960933dcaee56
src/main/java/com/benbr/profile/types/EnumerationType.groovy
src/main/java/com/benbr/profile/types/EnumerationType.groovy
package main.java.com.benbr.profile.types class EnumerationType { // Hash map uses as the enum index mostly, BUT not not always, increments from one linearly. HashMap<Integer, String> enumeration; int[] manufacturerRange; int baseType; // Contants.baseTypes EnumerationType() { ...
package main.java.com.benbr.profile.types class EnumerationType { // Hash map uses as the enum index mostly, BUT not not always, increments from one linearly. HashMap<Integer, String> enumeration; int[] manufacturerRange; int baseType; // Contants.baseTypes EnumerationType() { ...
Allow for building (prep for autogeneration)
Allow for building (prep for autogeneration)
Groovy
mit
BenBanerjeeRichards/FIT-File-Parser
44e7e7e9c7c979ae5d7579176923b185de031a3a
mydsl/seed_add_jenkins_slave.groovy
mydsl/seed_add_jenkins_slave.groovy
/* Project: https://github.com/gmacario/easy-jenkins File: mydsl/seed_add_jenkins_slave.groovy References: - https://jenkinsci.github.io/job-dsl-plugin/# */ job('add_jenkins_slave') { scm { git('https://github.com/gmacario/easy-jenkins', '*/master') parameters { textParam('AgentLis...
/* Project: https://github.com/gmacario/easy-jenkins File: mydsl/seed_add_jenkins_slave.groovy References: - https://jenkinsci.github.io/job-dsl-plugin/# */ job('add_jenkins_slave') { scm { git('https://github.com/gmacario/easy-jenkins', '*/master') parameters { textParam('AgentLis...
Rename param to AgentLabels, improve descriptions
Rename param to AgentLabels, improve descriptions
Groovy
mit
gmacario/easy-jenkins
82783c851754dbec36b0202d16e638150e1586bb
modules/groovy/src/main/resources/org/jpos/transaction/ContextDefaults.groovy
modules/groovy/src/main/resources/org/jpos/transaction/ContextDefaults.groovy
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2017 jPOS Software SRL * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your opt...
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2017 jPOS Software SRL * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your opt...
Support [] syntax with generic objects for accessing Context entries in GroovyParticipanrt scripts
Support [] syntax with generic objects for accessing Context entries in GroovyParticipanrt scripts
Groovy
agpl-3.0
jrfinc/jPOS-EE,jrfinc/jPOS-EE,jpos/jPOS-EE,barspi/jPOS-EE,barspi/jPOS-EE,jrfinc/jPOS-EE,jpos/jPOS-EE,barspi/jPOS-EE,jpos/jPOS-EE
6e674b1bcc463c42f36b9b2d5aefa9b934cae6db
betamax-proxy/src/test/groovy/co/freeside/betamax/tape/ProxyTapeModeSpec.groovy
betamax-proxy/src/test/groovy/co/freeside/betamax/tape/ProxyTapeModeSpec.groovy
/* * Copyright 2013 the original author or authors. * * Licensed 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 applicabl...
/* * Copyright 2013 the original author or authors. * * Licensed 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 applicabl...
Revert "Ignore for now - want to see if Drone works"
Revert "Ignore for now - want to see if Drone works" This reverts commit 5943eb467613022cf11ca504d1659f863177342b.
Groovy
apache-2.0
felipecsl/okreplay,nuxusr/walkman,dadoonet/betamax,nuxusr/walkman,dadoonet/betamax,nuxusr/walkman,robfletcher/betamax,betamaxteam/betamax,dadoonet/betamax,felipecsl/okreplay,robfletcher/betamax,betamaxteam/betamax,felipecsl/walkman,felipecsl/walkman
ddc3165f3be82fe4c7d69bd8d387857fb96f2943
core/src/main/groovy/geb/report/ReporterSupport.groovy
core/src/main/groovy/geb/report/ReporterSupport.groovy
/* Copyright 2009 the original author or authors. * * Licensed 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...
/* Copyright 2009 the original author or authors. * * Licensed 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...
Fix for space on end of filename.
Fix for space on end of filename.
Groovy
apache-2.0
geb/geb,kgeis/geb,menonvarun/geb,onBass-naga/geb,madmas/geb,pierre-hilt/geb,pierre-hilt/geb,pierre-hilt/geb,kgeis/geb,ntotomanov-taulia/geb,onBass-naga/geb,kgeis/geb,madmas/geb,menonvarun/geb,menonvarun/geb,madmas/geb,ntotomanov-taulia/geb,geb/geb
f26a7bb44641e971d51045d2d7d6d720bf623e35
FixturesGrailsPlugin.groovy
FixturesGrailsPlugin.groovy
import grails.plugin.fixtures.FixtureLoader class FixturesGrailsPlugin { def version = "1.0-M1" def dependsOn = [:] def author = "Luke Daley" def authorEmail = "ld@ldaley.com" def title = "fixtures" def description = "Allows loading of data sets defined with the BeanBuilder DSL" def docume...
import grails.plugin.fixtures.FixtureLoader class FixturesGrailsPlugin { def version = "1.0-M1" def dependsOn = [:] def grailsVersion = "1.1 > *" def author = "Luke Daley" def authorEmail = "ld@ldaley.com" def title = "fixtures" def description = "Allows loading of data sets defined with t...
Support Grails version 1.1 and up.
Support Grails version 1.1 and up.
Groovy
apache-2.0
gpc/fixtures,sbglasius/fixtures
5abd8fc46ec471cbaae0f3125c34b0ce909c0e21
ci/create_build_snapshot_job.groovy
ci/create_build_snapshot_job.groovy
// Install the following plugins in addition to recommended plugins when installing Jenkins // - Job DSL // - AnsiColor // // And set the "Markup Formatter" in "Manage Jenkins -> Configure Global Security" to "Safe HTML". def buildSnapshotJob = freeStyleJob('vimr_build_snapshot') buildSnapshotJob.with { description...
// Install the following plugins in addition to recommended plugins when installing Jenkins // - Job DSL // - AnsiColor // // And set the "Markup Formatter" in "Manage Jenkins -> Configure Global Security" to "Safe HTML". def buildSnapshotJob = freeStyleJob('vimr_build_snapshot') buildSnapshotJob.with { description...
Use multiline parameter for release notes
Use multiline parameter for release notes
Groovy
mit
qvacua/vimr,qvacua/vimr,qvacua/vimr,qvacua/vimr,qvacua/vimr
bd06b3eaf252a4670d039b9db3df0689e428c249
vars/jplCheckoutSCM.groovy
vars/jplCheckoutSCM.groovy
/** Checkout SCM Get the code from SCM and init / update submodules Leave the repository on the actual branch, instead of "deatached" Parameters: * jplConfig project config class */ def call(jplConfig) { timestamps { ansiColor('xterm') { script { // The commented co...
/** Checkout SCM Get the code from SCM and init / update submodules Leave the repository on the actual branch, instead of "deatached" Parameters: * jplConfig project config class */ def call(jplConfig) { timestamps { ansiColor('xterm') { script { // The commented co...
Remove Dockerfile file build from library
Remove Dockerfile file build from library
Groovy
mit
red-panda-ci/jenkins-pipeline-library,pedroamador/jenkins-pipeline-library
7031e0f73c4979864a25aa44d738349cedb76dc4
build/removeModuleProperties/test/RemoveModulePropertiesTest.groovy
build/removeModuleProperties/test/RemoveModulePropertiesTest.groovy
import spock.lang.Specification import static org.jfrog.artifactory.client.ArtifactoryClient.create import groovy.json.* class RemoveModulePropertiesTest extends Specification { def 'removeModulePropertiesTest'() { setup: def baseurl = 'http://localhost:8088/artifactory' def artifactory = ...
import spock.lang.Specification import static org.jfrog.artifactory.client.ArtifactoryClient.create import groovy.json.* class RemoveModulePropertiesTest extends Specification { def 'removeModulePropertiesTest'() { setup: def baseurl = 'http://localhost:8088/artifactory' def artifactory = ...
Add sleep to ensure test pass
Add sleep to ensure test pass
Groovy
apache-2.0
JFrogDev/artifactory-user-plugins
3597c56abaa1eec9499db559699d7ea9fdd1dacd
devops/jobs/JenkinsHeartbeat.groovy
devops/jobs/JenkinsHeartbeat.groovy
/* Job to check if Jenkins is successfully running */ package devops.jobs import javaposse.jobdsl.dsl.DslFactory class JenkinsHeartbeat{ public static job( DslFactory dslFactory, Map extraVars){ dslFactory.job(extraVars.get("FOLDER_NAME","Monitoring") + "/jenkins-heartbeat") { description("...
/* Job to check if Jenkins is successfully running */ package devops.jobs import javaposse.jobdsl.dsl.DslFactory import static org.edx.jenkins.dsl.Constants.common_logrotator import static org.edx.jenkins.dsl.Constants.common_wrappers class JenkinsHeartbeat{ public static job( DslFactory dslFactory, Map extraV...
Add logging and common wrappers to heratbeat.
Add logging and common wrappers to heratbeat.
Groovy
agpl-3.0
edx/jenkins-job-dsl
e5a992d66eb7cf403bf86c6857c98188991ae9e4
JasperGrailsPlugin.groovy
JasperGrailsPlugin.groovy
class JasperGrailsPlugin { def version = "1.10.0-SNAPSHOT" def grailsVersion = "2.1.0 > *" def author = "Craig Andrews" def authorEmail = "candrews@integralblue.com" def license = "Apache License 2.0" def issueManagement = [system: "JIRA", url: "http://jira.grails.org/browse/GPJASPER"] def s...
class JasperGrailsPlugin { def version = "1.10.0" def grailsVersion = "2.1.0 > *" def author = "Craig Andrews" def authorEmail = "candrews@integralblue.com" def license = "Apache License 2.0" def issueManagement = [system: "JIRA", url: "http://jira.grails.org/browse/GPJASPER"] def scm = [url...
Set the version to 1.10.0
Set the version to 1.10.0
Groovy
apache-2.0
candrews/grails-jasper,candrews/grails-jasper
734bc2fb866c38b5829107c443e76ba86411abf3
grails-app/services/grails/plugin/jms/test/TestListeningServiceSupport.groovy
grails-app/services/grails/plugin/jms/test/TestListeningServiceSupport.groovy
package grails.plugin.jms.test import java.util.concurrent.LinkedBlockingQueue import java.util.concurrent.TimeUnit abstract class TestListeningServiceSupport { static DEFAULT_QUEUE = 'default' static DEFAULT_WAIT_SECONDS = 5 private messageQueues = [:] synchronized getMessageQueue(queueName = ...
package grails.plugin.jms.test import java.util.concurrent.LinkedBlockingQueue import java.util.concurrent.TimeUnit abstract class TestListeningServiceSupport { static DEFAULT_QUEUE = 'default' static DEFAULT_WAIT_SECONDS = 5 private messageQueues = [:] synchronized getMessageQueue(queueName = ...
Check for null, instead of truthness.
Check for null, instead of truthness.
Groovy
apache-2.0
MayGo/grails-jms
a0f5b97650a26c192e1b8b6085f4460dafb0f8f0
grails-app/conf/BuildConfig.groovy
grails-app/conf/BuildConfig.groovy
/** * This module defines the build dependencies for the plugin to support such items as the OSCache functionality, etc. */ grails.project.dependency.resolution = { inherits "global" // inherit Grails' default dependencies log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'd...
/** * This module defines the build dependencies for the plugin to support such items as the OSCache functionality, etc. */ grails.project.dependency.resolution = { inherits "global" // inherit Grails' default dependencies log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'd...
Make the oscache depedency provided
Make the oscache depedency provided git-svn-id: 94392b6a321d1e6a370aa2a8ed75272a04b7b503@63717 832c1c66-4827-0410-8465-ccb17913cd09
Groovy
apache-2.0
multi-tenant/grails-multi-tenant-core,multi-tenant/grails-multi-tenant-core
815f69081798b470dc47e967fb6eb9418f67ed63
module/geb-spock/src/main/groovy/geb/spock/GebSpec.groovy
module/geb-spock/src/main/groovy/geb/spock/GebSpec.groovy
/* Copyright 2009 the original author or authors. * * Licensed 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...
/* Copyright 2009 the original author or authors. * * Licensed 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...
Use specificationContext to name reports
Use specificationContext to name reports As Spock 2.0 is based on JUnit 5, `@Rule`s won't work anymore. Using Spock's ISpecificationContext works on both current versions of Spock, 1.3 and 2.0-M1.
Groovy
apache-2.0
geb/geb,geb/geb
9d6c4d40267d64116e9852497cc93f5c4c6fc529
src/test-new/groovy/ClosureSugarTest.groovy
src/test-new/groovy/ClosureSugarTest.groovy
class ClosureSugarTest extends GroovyTestCase { def count; void testClosureSugar() { count = 11; sugar { count = 20; } assert count == 20; } void testMixedClosureSugar() { count = 11; mixedSugar (5){a| count = count +...
class ClosureSugarTest extends GroovyTestCase { /* def count; void testClosureSugar() { count = 11; sugar { count = 20; } assert count == 20; } */ void testMixedClosureSugar() { count = 11; mixedSugar (5){a| count...
Fix to Antlr to pass through any closure parameter names to the AST
Fix to Antlr to pass through any closure parameter names to the AST git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@1800 a5544e8c-8a19-0410-ba12-f9af4593a198
Groovy
apache-2.0
upadhyayap/incubator-groovy,apache/groovy,groovy/groovy-core,ChanJLee/incubator-groovy,fpavageau/groovy,taoguan/incubator-groovy,rlovtangen/groovy-core,kidaa/incubator-groovy,antoaravinth/incubator-groovy,adjohnson916/groovy-core,antoaravinth/incubator-groovy,apache/groovy,pickypg/incubator-groovy,fpavageau/groovy,tkru...
4f94d51c0c6d78c48adf924a63795c199e2cc3a8
groovyNotesFive.groovy
groovyNotesFive.groovy
class groovyNotesFive { static void main(String[] args) { // for the C-style switch, // you can also use ranges: def age = 13 switch (age) { case 0..6: println 'Kid' break case 7..12: println 'Teen' break case 13..18: println 'Almost Adult' ...
class groovyNotesFive { static void main(String[] args) { // for the C-style switch, // you can also use ranges: def age = 13 switch (age) { case 0..6: println 'Kid' break case 7..12: println 'Teen' break case 13..18: println 'Almost Adult' ...
Add notes about using for-in loop for ranges and lists
Add notes about using for-in loop for ranges and lists
Groovy
mit
nbkhope/groovy-notes
21d6b8b6161a9d94d4f40a93bbe975f6e59b90f4
src/main/groovy/com/github/rodm/teamcity/Parameters.groovy
src/main/groovy/com/github/rodm/teamcity/Parameters.groovy
/* * Copyright 2015 Rod MacKenzie * * Licensed 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright 2015 Rod MacKenzie * * Licensed 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Change value type for parameters
Change value type for parameters Avoids Groovy compiler failure when using Java 17.
Groovy
apache-2.0
rodm/gradle-teamcity-plugin,rodm/gradle-teamcity-plugin
e0b55b709cdab77e6af4161aac90140bc03c8d0a
src/main/groovy/whelk/component/support/JettyServer.groovy
src/main/groovy/whelk/component/support/JettyServer.groovy
package whelk.component.support import org.eclipse.jetty.* import org.eclipse.jetty.server.* import org.eclipse.jetty.servlet.* import org.eclipse.jetty.util.log.Log import org.eclipse.jetty.util.log.Slf4jLog import whelk.* class JettyServer { static void main(String[] args) { int port = 8080 S...
package whelk.component.support import org.eclipse.jetty.* import org.eclipse.jetty.server.* import org.eclipse.jetty.servlet.* import org.eclipse.jetty.util.log.Log import org.eclipse.jetty.util.log.Slf4jLog import whelk.* class JettyServer { static void main(String[] args) { int port = 8180 S...
Use port 8180 as default for standalone server
Use port 8180 as default for standalone server
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
ae57b684c978ca3279816a6a434dafeb8783b459
update_github_projects.groovy
update_github_projects.groovy
#!/usr/bin/env groovy String.metaClass.json = { new groovy.json.JsonSlurper().parseText(delegate) } String.metaClass.xml = { new groovy.util.XmlSlurper().parseText(delegate) } def ant = new groovy.util.AntBuilder() def projects = [ 'cloudfoundry/cli':'cf_cli_version', 'cloudfoundry/bosh-bootloader':'bosh_bo...
#!/usr/bin/env groovy String.metaClass.json = { new groovy.json.JsonSlurper().parseText(delegate) } String.metaClass.xml = { new groovy.util.XmlSlurper().parseText(delegate) } def ant = new groovy.util.AntBuilder() def projects = [ 'cloudfoundry/cli':'cf_cli_version', 'cloudfoundry/bosh-bootloader':'bosh_bo...
Add atom and docker-compose to update script
Add atom and docker-compose to update script
Groovy
apache-2.0
cagiti/developer-environment
16b92fe426571387c545821d126880576ef61061
maven-help-plugin/src/it/effective-settings_deep-clone/verify.groovy
maven-help-plugin/src/it/effective-settings_deep-clone/verify.groovy
/* * 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")...
/* * 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")...
Fix IT, further investigation required. mvn help:evaluate -Dexpression=settings doesn't show proxies for Maven 3.0.1, 3.0.2, 3.0.3 and 3.0.4, but does for 2.2.1. So this looks like a core issue
Fix IT, further investigation required. mvn help:evaluate -Dexpression=settings doesn't show proxies for Maven 3.0.1, 3.0.2, 3.0.3 and 3.0.4, but does for 2.2.1. So this looks like a core issue git-svn-id: 6038db50b076e48c7926ed71fd94f8e91be2fbc9@1441770 13f79535-47bb-0310-9956-ffa450edef68
Groovy
apache-2.0
criteo-forks/maven-plugins,ptahchiev/maven-plugins,omnidavesz/maven-plugins,krosenvold/maven-plugins,Orange-OpenSource/maven-plugins,edwardmlyte/maven-plugins,restlet/maven-plugins,sonatype/maven-plugins,jdcasey/maven-plugins-fixes,mcculls/maven-plugins,restlet/maven-plugins,lennartj/maven-plugins,hgschmie/apache-maven...
8b0417635fc8fdffb9a65b459c02f36694d5c609
src/main/groovy/sx/lambda/mstojcevich/voxel/tasks/LightUpdater.groovy
src/main/groovy/sx/lambda/mstojcevich/voxel/tasks/LightUpdater.groovy
package sx.lambda.mstojcevich.voxel.tasks import groovy.transform.CompileStatic import sx.lambda.mstojcevich.voxel.VoxelGame @CompileStatic /** * Updates the propagation of light */ class LightUpdater implements RepeatedTask { private final VoxelGame game public LightUpdater(VoxelGame game) { this...
package sx.lambda.mstojcevich.voxel.tasks import groovy.transform.CompileStatic import sx.lambda.mstojcevich.voxel.VoxelGame @CompileStatic /** * Updates the propagation of light */ class LightUpdater implements RepeatedTask { private final VoxelGame game public LightUpdater(VoxelGame game) { this...
Comment out the light updating on another thread. Caused an issue with dark spots.
Comment out the light updating on another thread. Caused an issue with dark spots. Issue probably occurred due to chunks being null during the lighting queue update, meaning that the light change was removed from the queue but not processed at all because its chunk was null. A possible solution could be to keep a queu...
Groovy
mit
mstojcevich/Radix,MilanNz/Radix
d8b16d1438b53268ed208cefbcfed091462dfa40
plugin/src/docs/code/s2-quickstart/grails-app/init/com/mycompany/myapp/BootStrap.groovy
plugin/src/docs/code/s2-quickstart/grails-app/init/com/mycompany/myapp/BootStrap.groovy
package com.mycompany.myapp class BootStrap { def init = { def adminRole = new Role(authority: 'ROLE_ADMIN').save() def testUser = new User(username: 'me', password: 'password').save() UserRole.create testUser, adminRole UserRole.withSession { it.flush() ...
package com.mycompany.myapp import grails.gorm.transactions.Transactional class BootStrap { def init = { addTestUser() } @Transactional void addTestUser() { def adminRole = new Role(authority: 'ROLE_ADMIN').save() def testUser = new User(username: 'me', password: 'password')....
Fix bootstrap for required tx in hibernate 5.2+
Fix bootstrap for required tx in hibernate 5.2+
Groovy
apache-2.0
grails-plugins/grails-spring-security-core,grails-plugins/grails-spring-security-core
97885e1b423a420febf9f0965d8852b097678e15
Projects.groovy
Projects.groovy
// Copyright 2016, RadiantBlue Technologies, Inc. // // Licensed 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...
// Copyright 2016, RadiantBlue Technologies, Inc. // // Licensed 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...
Fix so that jobs will delete
Fix so that jobs will delete
Groovy
apache-2.0
venicegeo/jenkins
e0a08b22c16acf163bb4a4786f25333fe90c69f0
asciidoctor-gradle-base/src/test/groovy/org/asciidoctor/gradle/base/AsciidoctorBasePluginSpec.groovy
asciidoctor-gradle-base/src/test/groovy/org/asciidoctor/gradle/base/AsciidoctorBasePluginSpec.groovy
/* * Copyright 2013-2019 the original author or authors. * * Licensed 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 app...
/* * Copyright 2013-2019 the original author or authors. * * Licensed 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 app...
Drop 1.6.x support due to binary incompatibility
Drop 1.6.x support due to binary incompatibility
Groovy
apache-2.0
asciidoctor/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugi...
e2f1118b7542f2610a262d0e6febb4f1fbeae65e
agent/src/test/groovy/nu/studer/teamcity/buildscan/agent/maven/MavenRunner.groovy
agent/src/test/groovy/nu/studer/teamcity/buildscan/agent/maven/MavenRunner.groovy
package nu.studer.teamcity.buildscan.agent.maven final class MavenRunner { File installationDir File projectDir File multiModuleProjectDir List<String> arguments String runBuild() { def installationBinDir = new File(installationDir, 'bin') def mvnExecutableName = System.getPropert...
package nu.studer.teamcity.buildscan.agent.maven final class MavenRunner { File installationDir File projectDir File multiModuleProjectDir List<String> arguments String runBuild() { def installationBinDir = new File(installationDir, 'bin') def mvnExecutableName = System.getPropert...
Use consistently same algorithm to decide on OS
Use consistently same algorithm to decide on OS
Groovy
apache-2.0
etiennestuder/teamcity-build-scan-plugin,etiennestuder/teamcity-build-scan-plugin,etiennestuder/teamcity-build-scan-plugin
51ad676a11f341b6b3dda0916c414dcb146bbce4
src/test/resources/gvm/command_line_interop_steps.groovy
src/test/resources/gvm/command_line_interop_steps.groovy
package gvm import static cucumber.runtime.groovy.EN.* When(~'^I enter \"([^\"]*)\"$') { String command -> bash.execute(command) result = bash.output } When(~'^I enter "([^"]*)" and answer "([^"]*)"$') { String command, String answer -> bash.execute(command, [answer]) result = bash.output } Then(~'^I see ...
package gvm import static cucumber.runtime.groovy.EN.* When(~'^I enter \"([^\"]*)\"$') { String command -> bash.execute(command) result = bash.output } When(~'^I enter "([^"]*)" and answer "([^"]*)"$') { String command, String answer -> bash.execute(command, [answer]) result = bash.output } Then(~'^I see ...
Revert "Add some useful console logging to tests."
Revert "Add some useful console logging to tests." This reverts commit 8843f15679df00b7c7869b329289cc4327be1aeb.
Groovy
apache-2.0
gvmtool/gvm-cli,GsusRecovery/sdkman-cli,dsyer/gvm,dsyer/gvm,DealerDotCom/gvm-cli,nobeans/gvm-cli,DealerDotCom/gvm-cli,sdkman/sdkman-cli,GsusRecovery/sdkman-cli,skpal/sdkman-cli,busches/gvm-cli,shanman190/sdkman-cli,skpal/sdkman-cli,nobeans/gvm-cli,jbovet/gvm
c19500769cb75f1abed0fb2ccd6ceaaef3c582c2
grails-app/conf/BuildConfig.groovy
grails-app/conf/BuildConfig.groovy
grails.project.class.dir = "target/classes" grails.project.test.class.dir = "target/test-classes" grails.project.test.reports.dir = "target/test-reports" grails.project.dependency.resolution = { // inherit Grails' default dependencies inherits("global") { // uncomment to disable ehcache // excl...
grails.project.work.dir = "target/work" grails.project.dependency.resolution = { // inherit Grails' default dependencies inherits("global") { // uncomment to disable ehcache // excludes 'ehcache' } log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verb...
Set work dir as target/work
Set work dir as target/work
Groovy
apache-2.0
mochalov/grails-postgresql-extensions,kaleidos/grails-postgresql-extensions,kaleidos/grails-postgresql-extensions,PIWEEK/grails-postgresql-extensions,ilopmar/grails-postgresql-extensions,Poundex/grails-postgresql-extensions,eamon316/grails-postgresql-extensions,lmivan/grails-postgresql-extensions,gregopet/grails-postgr...
ab2bd06209b3fca90deb030ec07cfcceb3cd68c3
module/geb-spock/src/main/groovy/geb/spock/GebSpec.groovy
module/geb-spock/src/main/groovy/geb/spock/GebSpec.groovy
/* Copyright 2009 the original author or authors. * * Licensed 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...
/* Copyright 2009 the original author or authors. * * Licensed 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...
Fix CodeNarc violations, make code less defensive
Fix CodeNarc violations, make code less defensive
Groovy
apache-2.0
geb/geb,geb/geb
c4c59a9e8e17f79db70d65fcd86c1edd20504897
test/integration/BookingTests.groovy
test/integration/BookingTests.groovy
/* Copyright 2008 Chris Searle Licensed 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 wr...
/* Copyright 2008 Chris Searle Licensed 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 wr...
Make a start on the tests
Make a start on the tests
Groovy
apache-2.0
chrissearle/huts,chrissearle/huts
ee962d8e2001e48040722378f0fb017fd15fb691
javers-persistence-sql/src/test/groovy/org/javers/repository/sql/H2SqlRepositoryE2ETest.groovy
javers-persistence-sql/src/test/groovy/org/javers/repository/sql/H2SqlRepositoryE2ETest.groovy
package org.javers.repository.sql import java.sql.Connection import java.sql.DriverManager class H2SqlRepositoryE2ETest extends JaversSqlRepositoryE2ETest { Connection createConnection() { DriverManager.getConnection( "jdbc:h2:mem:test" )//TRACE_LEVEL_SYSTEM_OUT=2") } DialectName getDialect() { ...
package org.javers.repository.sql import org.javers.core.model.SnapshotEntity import org.javers.repository.jql.QueryBuilder import java.sql.Connection import java.sql.DriverManager class H2SqlRepositoryE2ETest extends JaversSqlRepositoryE2ETest { Connection createConnection() { DriverManager.getConnecti...
Fix of H2 repository test environment
Fix of H2 repository test environment After each test case connection to SQL database is closed. DB_CLOSE_DELAY=-1 in database URL prevents inmemory H2 database from closing (and in consequence losing its content) after last connection to database is closed. It's important because of a way in which PolyJDBC handles p...
Groovy
apache-2.0
javers/javers,javers/javers
ad5791f787ab0b6aeb9e32e40592ccd6dc634ab2
tapestry-core/src/test/groovy/org/apache/tapestry5/integration/appfolder/AppFolderTests.groovy
tapestry-core/src/test/groovy/org/apache/tapestry5/integration/appfolder/AppFolderTests.groovy
package org.apache.tapestry5.integration.appfolder import org.apache.tapestry5.integration.TapestryCoreTestCase import org.testng.annotations.Test class AppFolderTests extends TapestryCoreTestCase { /** * Tests basic navigation, and also tests ability to place a page template in the context, under the confi...
package org.apache.tapestry5.integration.appfolder import org.apache.tapestry5.integration.TapestryCoreTestCase import org.testng.annotations.Test import org.apache.tapestry5.test.TapestryTestConstants class AppFolderTests extends TapestryCoreTestCase { /** * Tests basic navigation, and also tests ability t...
Add test to verify that assets are downloaded from a URL inside the application folder
TAP5-743: Add test to verify that assets are downloaded from a URL inside the application folder git-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@1164211 13f79535-47bb-0310-9956-ffa450edef68
Groovy
apache-2.0
apache/tapestry-5,apache/tapestry-5,agileowl/tapestry-5,agileowl/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,agileowl/tapestry-5
92fc951043180e9953e75ca35bc9b3f462bf650f
gradle-release-plugin/src/test/groovy/be/xvrt/gradle/plugin/release/scm/ScmHelperFactoryTest.groovy
gradle-release-plugin/src/test/groovy/be/xvrt/gradle/plugin/release/scm/ScmHelperFactoryTest.groovy
package be.xvrt.gradle.plugin.release.scm import org.junit.Rule import org.junit.Test import org.junit.rules.TemporaryFolder import static org.junit.Assert.assertFalse import static org.junit.Assert.assertTrue class ScmHelperFactoryTest { @Rule public final TemporaryFolder temporaryFolder = new TemporaryFol...
package be.xvrt.gradle.plugin.release.scm import org.junit.Rule import org.junit.Test import org.junit.rules.TemporaryFolder import static org.junit.Assert.assertFalse import static org.junit.Assert.assertTrue class ScmHelperFactoryTest { @Rule public final TemporaryFolder temporaryFolder = new TemporaryFol...
Fix unit tests for all environments.
Fix unit tests for all environments.
Groovy
mit
XavierTalpe/gradle-release-plugin
eae375a8dbffa7deda9ba8bc7e3876305dc224f0
src/test/groovy/uk/co/silentsoftware/core/colourstrategy/ColourChoiceStrategyTest.groovy
src/test/groovy/uk/co/silentsoftware/core/colourstrategy/ColourChoiceStrategyTest.groovy
package uk.co.silentsoftware.core.colourstrategy import org.junit.Assert import org.junit.Before import org.junit.Test import uk.co.silentsoftware.config.OptionsObject class ColourChoiceStrategyTest { @Before void setUp() { OptionsObject.getInstance().setPreferDetail(false) } static int[] createPopularColour...
package uk.co.silentsoftware.core.colourstrategy import org.junit.Assert import org.junit.Before import org.junit.Test import uk.co.silentsoftware.config.OptionsObject class ColourChoiceStrategyTest { @Before void setUp() { OptionsObject.getInstance().setPreferDetail(false) } static int[] createPopularColour...
Test fixes for method rename
Test fixes for method rename
Groovy
agpl-3.0
KodeMunkie/imagetozxspec
ac4c45c4f564efd8c8fafac66e61030e0a76434c
broker/src/main/groovy/com/swisscom/cloud/sb/broker/services/credhub/BoshCredHubConfig.groovy
broker/src/main/groovy/com/swisscom/cloud/sb/broker/services/credhub/BoshCredHubConfig.groovy
/* * Copyright (c) 2018 Swisscom (Switzerland) Ltd. * * Licensed 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 l...
/* * Copyright (c) 2018 Swisscom (Switzerland) Ltd. * * Licensed 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 l...
Use CertificateConfig instead of map for certificate generation
Use CertificateConfig instead of map for certificate generation
Groovy
apache-2.0
swisscom/open-service-broker,swisscom/open-service-broker
b51c12bd5fc8eb6e94d3f7c51dbc6ecde5a12775
test/integration/PersonTests.groovy
test/integration/PersonTests.groovy
/* Copyright 2008 Chris Searle Licensed 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 wr...
/* Copyright 2008 Chris Searle Licensed 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 wr...
Check that you can save a person
Check that you can save a person
Groovy
apache-2.0
chrissearle/huts,chrissearle/huts
b905fbf53a8e4ae82671a2b3c7a6d3fd96b66eeb
lib/Parse.groovy
lib/Parse.groovy
class Parse { static Map defaults(db_name) { return [ command: "rnac external $db_name", produces: '*.csv', directives: [ memory: 2.GB, tag: db_name, group: "/rnc/process/$db_name" ] ]; } static Map build(String db_name, Map spec) { def defaults = Parse...
class Parse { static Map defaults(db_name) { return [ command: "rnac external $db_name", produces: '*.csv', directives: [ memory: 2.GB, tag: db_name, group: "/rnc/process/$db_name" ] ]; } static Map build(String db_name, Map spec) { def data = new Linke...
Improve setting defaults for process
Improve setting defaults for process We can do a better job at assigning defaults and values to the directives.
Groovy
apache-2.0
RNAcentral/rnacentral-import-pipeline,RNAcentral/rnacentral-import-pipeline,RNAcentral/rnacentral-import-pipeline,RNAcentral/rnacentral-import-pipeline
e9d10ed6e33eb73440e769618adef7f4c6683c55
src/integ/groovy/com/msgilligan/bitcoin/cli/BitcoinJCliSpec.groovy
src/integ/groovy/com/msgilligan/bitcoin/cli/BitcoinJCliSpec.groovy
package com.msgilligan.bitcoin.cli /** * Test Spec for the bitcoinj-cli tool * * TODO: We should probably check the command output (eventually) */ class BitcoinJCliSpec extends BaseCLISpec { def "help option"() { when: def result = command '--help' then: result.status == 1 ...
package com.msgilligan.bitcoin.cli /** * Test Spec for the bitcoinj-cli tool * * TODO: We should probably check the command output (eventually) */ class BitcoinJCliSpec extends BaseCLISpec { def "help option"() { when: def result = command '--help' then: result.status == 1 ...
Make trim ‘\n’ and convert to Integer clearer
Make trim ‘\n’ and convert to Integer clearer
Groovy
apache-2.0
OmniLayer/OmniJ,OmniLayer/OmniJ,OmniLayer/OmniJ
71b53e816d5831ad6872757ad2ee99e1f878d752
spring-boot-cli/samples/integration.groovy
spring-boot-cli/samples/integration.groovy
package org.test @Configuration @EnableIntegration class SpringIntegrationExample implements CommandLineRunner { @Autowired private ApplicationContext context; @Bean DirectChannel input() { new DirectChannel(); } @Override void run(String... args) { println() println '>>>> ' + new MessagingTemplate(inp...
package org.test @Configuration @EnableIntegration @Grab("jackson-databind") class SpringIntegrationExample implements CommandLineRunner { @Autowired private ApplicationContext context; @Bean DirectChannel input() { new DirectChannel(); } @Override void run(String... args) { println() println '>>>> ' +...
Add temporary work around for regression in Spring Integration
Add temporary work around for regression in Spring Integration
Groovy
apache-2.0
shakuzen/spring-boot,linead/spring-boot,sebastiankirsch/spring-boot,mbenson/spring-boot,jayarampradhan/spring-boot,mosoft521/spring-boot,olivergierke/spring-boot,chrylis/spring-boot,deki/spring-boot,felipeg48/spring-boot,mosoft521/spring-boot,ihoneymon/spring-boot,ihoneymon/spring-boot,jayarampradhan/spring-boot,aahlen...
b2b5f2ccf43b8683cd41e342384292f14c9a8fec
netci.groovy
netci.groovy
import jobs.generation.Utilities def project = GithubProject def branch = GithubBranchName def isPR = true def platformList = ['Ubuntu16.04:Debian', 'Windows_2016:NanoServer'] def versionList = ['1.0', '1.1', '2.0'] platformList.each { platform -> def(hostOS, containerOS) = platform.tokenize(':') def machineL...
import jobs.generation.Utilities def project = GithubProject def branch = GithubBranchName def isPR = true def platformList = ['Ubuntu16.04:Debian', 'Windows_2016:NanoServer'] def versionList = ['1.0', '1.1', '2.0'] platformList.each { platform -> def(hostOS, containerOS) = platform.tokenize(':') def machineL...
Switch to image that contains Docker 17.06.1-ee-2.
Switch to image that contains Docker 17.06.1-ee-2.
Groovy
mit
dotnet/dotnet-docker,MichaelSimons/dotnet-docker,MichaelSimons/dotnet-docker,dotnet/dotnet-docker
2cd80286c6954da1ea6401191806713d0a771922
jobs/example1Jobs.groovy
jobs/example1Jobs.groovy
String basePath = 'example1' String repo = 'sheehan/grails-example' folder(basePath) { description 'This example shows basic folder/job creation.' } job("$basePath/grails-example-build") { scm { github repo } triggers { scm 'H/5 * * * *' } steps { grails { u...
String basePath = 'example1' String repo = 'sheehan/grails-example' folder(basePath) { description 'This example shows basic folder/job creation.' } job("$basePath/grails example build") { scm { github repo } triggers { scm 'H/5 * * * *' } steps { grails { u...
Change example1 to use spaces
Change example1 to use spaces
Groovy
apache-2.0
sheehan/job-dsl-gradle-example,daspilker/job-dsl-gradle-example,RajeshNukala1/Learn-Jenkins
f5d7cc5fdf70dc318c5eb7581ccc1bf041a5234b
src/main/groovy/config/ConfigLoader.groovy
src/main/groovy/config/ConfigLoader.groovy
package config import exception.ConfigurationNotSetupException import java.nio.file.Path /** * Load configuration. * Create a sample config if none present */ class ConfigLoader { Path configPath @Delegate ConfigObject config ConfigLoader(configPath) { this.configPath = configPath lo...
package config import exception.ConfigurationNotSetupException import java.nio.file.Path /** * Load configuration. * Create a sample config if none present */ class ConfigLoader { Path configPath @Delegate ConfigObject config ConfigLoader(configPath) { this.configPath = configPath lo...
Update sample for initial config file
Update sample for initial config file
Groovy
mit
bitsetd4d/is-it-fish-day
40e2b2be8e3cbfc8c3e9431d63c3d116b654d542
src/it/mexec-86/verify.groovy
src/it/mexec-86/verify.groovy
/* * 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")...
/* * 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")...
Fix IT, filter out Java home (required for non-Windows OS)
Fix IT, filter out Java home (required for non-Windows OS) git-svn-id: 9849af971f645a3d4df02c8e99c49bac333e65b9@17285 52ab4f32-60fc-0310-b215-8acea882cd1b
Groovy
apache-2.0
khmarbaise/exec-maven-plugin,khmarbaise/exec-maven-plugin
5470c3acb93aab1f6f18462c44dfbe84215fcda5
gradle-release-plugin/src/main/groovy/be/xvrt/gradle/plugin/release/PrepareReleaseTask.groovy
gradle-release-plugin/src/main/groovy/be/xvrt/gradle/plugin/release/PrepareReleaseTask.groovy
package be.xvrt.gradle.plugin.release import be.xvrt.gradle.plugin.release.util.GradleProperties import be.xvrt.gradle.plugin.task.AbstractDefaultTask class PrepareReleaseTask extends AbstractDefaultTask { String originalVersion String releaseVersion boolean wasSnapshotVersion() { return origina...
package be.xvrt.gradle.plugin.release import be.xvrt.gradle.plugin.release.util.GradleProperties import be.xvrt.gradle.plugin.task.AbstractDefaultTask class PrepareReleaseTask extends AbstractDefaultTask { String originalVersion String releaseVersion boolean wasSnapshotVersion() { return origina...
Make snapshot detection a bit more flexible.
Make snapshot detection a bit more flexible.
Groovy
mit
XavierTalpe/gradle-release-plugin
57d7353f8e0820938607f418237f51c50fbf21c2
platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/DependenciesProperties.groovy
platform/build-scripts/groovy/org/jetbrains/intellij/build/impl/DependenciesProperties.groovy
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.intellij.build.impl import groovy.transform.CompileStatic import org.jetbrains.intellij.build.BuildContext @CompileStatic class DependenciesProperties { ...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.intellij.build.impl import groovy.transform.CompileStatic import org.jetbrains.intellij.build.BuildContext @CompileStatic class DependenciesProperties { ...
Revert "IJI-360 fix redundant Gradle task calls during parallel tasks execution"
Revert "IJI-360 fix redundant Gradle task calls during parallel tasks execution" This reverts commit b703db92 GitOrigin-RevId: 4c966e9d3c219506010949be3c13609def235e5e
Groovy
apache-2.0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
6ed6983379310095748e4bbfe2152731795f87c7
grails-app/controllers/au/org/biodiversity/nsl/api/RequestUtil.groovy
grails-app/controllers/au/org/biodiversity/nsl/api/RequestUtil.groovy
package au.org.biodiversity.nsl.api import javax.servlet.http.HttpServletRequest /** * User: pmcneil * Date: 13/09/16 * */ trait RequestUtil { private final ArrayList<String> headers = ["X-Forwarded-For","Proxy-Client-IP","WL-Proxy-Client-IP","HTTP_CLIENT_IP","HTTP_X_FORWARDED_FOR"] public remoteAddress...
package au.org.biodiversity.nsl.api import javax.servlet.http.HttpServletRequest /** * User: pmcneil * Date: 13/09/16 * */ trait RequestUtil { private final ArrayList<String> headers = ["X-Forwarded-For","Proxy-Client-IP","WL-Proxy-Client-IP","HTTP_CLIENT_IP","HTTP_X_FORWARDED_FOR"] public remoteAddress...
Add a trait to get the remote IP address from headers and log who is doing search requests
Add a trait to get the remote IP address from headers and log who is doing search requests
Groovy
apache-2.0
bio-org-au/services,bio-org-au/services,bio-org-au/services
272cdca946f568e6bca7f0691e4785ea5afaed67
subprojects/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/KotlinDslToolingModelsClasspathProvider.groovy
subprojects/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/KotlinDslToolingModelsClasspathProvider.groovy
/* * Copyright 2019 the original author or authors. * * Licensed 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 applica...
/* * Copyright 2019 the original author or authors. * * Licensed 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 applica...
Include kotlin provider in tapi classpath for cross-version tests
Include kotlin provider in tapi classpath for cross-version tests from target distro, like IJ does Signed-off-by: Paul Merlin <a027184a55211cd23e3f3094f1fdc728df5e0500@gradle.com>
Groovy
apache-2.0
blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/...
c6e6adcbf9f1b764a88ba819aa80db3abef52e46
gradle-baseline-java/src/main/groovy/com/palantir/baseline/plugins/Baseline.groovy
gradle-baseline-java/src/main/groovy/com/palantir/baseline/plugins/Baseline.groovy
/* * Copyright 2015 Palantir Technologies, Inc. * * Licensed 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 l...
/* * Copyright 2015 Palantir Technologies, Inc. * * Licensed 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 l...
Add baseline-config plugin to "baseline" all-plugins wrapper
Add baseline-config plugin to "baseline" all-plugins wrapper
Groovy
apache-2.0
palantir/gradle-baseline,gracew/gradle-baseline,robert3005/gradle-baseline,palantir/gradle-baseline
b7f445be4cb948d9cc0167437209a7c316c1435a
src/groovy/org/codehaus/groovy/grails/plugins/orm/auditable/AuditableRegistry.groovy
src/groovy/org/codehaus/groovy/grails/plugins/orm/auditable/AuditableRegistry.groovy
package org.codehaus.groovy.grails.plugins.orm.auditable /** * */ class AuditableRegistry { def registry = [:] public boolean isAuditable(entity) { boolean is = false try { if( entity.newInstance().auditable ) { is = true } } catch (Throwa...
package org.codehaus.groovy.grails.plugins.orm.auditable /** * */ class AuditableRegistry { def registry = [:] public boolean isAuditable(entity) { entity.properties['auditable'] } AuditableConfig getConfiguration(Class clazz) { registry[clazz.getCanonicalName()] } voi...
Revert "Functional (but inefficient) test."
Revert "Functional (but inefficient) test." This reverts commit f4385f32433bbfd10b3c55f1abcc9faea5dfbaec.
Groovy
apache-2.0
tkvw/grails-audit-logging-plugin,jetgeng/grails-audit-logging-plugin,robertoschwald/grails-audit-logging-plugin,dmahapatro/grails-audit-logging-plugin,dmahapatro/grails-audit-logging-plugin,jetgeng/grails-audit-logging-plugin
988831fc13bb5ec54a2a1d762b0ca146c002a729
scripts/ProcessGists.groovy
scripts/ProcessGists.groovy
/* * Copyright 2012 the original author or authors. * * Licensed 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 applicab...
/* * Copyright 2012 the original author or authors. * * Licensed 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 applicab...
Include 'web-app' dir in gist scanning
Include 'web-app' dir in gist scanning
Groovy
apache-2.0
craigatk/github-gist-grails
22cb4929c07280c75e990e82d6866d8d68194aad
grails-sample-plugin-spring-security/grails-app/domain/grails/sample/plugin/spring/security/Person.groovy
grails-sample-plugin-spring-security/grails-app/domain/grails/sample/plugin/spring/security/Person.groovy
package grails.sample.plugin.spring.security import grails.util.Holders import org.springframework.security.crypto.password.PasswordEncoder class Person { String username String password static constraints = { username blank: false, unique: true password blank: false } static ma...
package grails.sample.plugin.spring.security import org.springframework.security.crypto.password.PasswordEncoder class Person { String username String password PasswordEncoder passwordEncoder static constraints = { username blank: false, unique: true password blank: false } ...
Use dependency injection in Domain class
Use dependency injection in Domain class
Groovy
apache-2.0
yamkazu/grails3-samples,nobeans/grails3-samples
cbe7db3223b1f748f4a1950a2d51ae2c75584ac8
server/src/main/groovy/com/canoo/dolphin/core/server/ServerPresentationModel.groovy
server/src/main/groovy/com/canoo/dolphin/core/server/ServerPresentationModel.groovy
package com.canoo.dolphin.core.server import com.canoo.dolphin.core.BaseAttribute import com.canoo.dolphin.core.BasePresentationModel class ServerPresentationModel extends BasePresentationModel{ ServerPresentationModel(List<ServerAttribute> attributes) { this(null, attributes) } ServerPresentati...
package com.canoo.dolphin.core.server import com.canoo.dolphin.core.BasePresentationModel class ServerPresentationModel extends BasePresentationModel { ServerPresentationModel(List<ServerAttribute> attributes) { this(null, attributes) } ServerPresentationModel(String id, List<ServerAttribute> at...
Update beacon with Griffon 0.9.5-rc2 and latest dolphin changes
Update beacon with Griffon 0.9.5-rc2 and latest dolphin changes
Groovy
apache-2.0
DaveKriewall/open-dolphin,gemaSantiago/open-dolphin,canoo/open-dolphin,canoo/open-dolphin,canoo/open-dolphin,janih/open-dolphin,Poundex/open-dolphin,janih/open-dolphin,Poundex/open-dolphin,DaveKriewall/open-dolphin,janih/open-dolphin,nagyistoce/open-dolphin,Poundex/open-dolphin,gemaSantiago/open-dolphin,nagyistoce/open...
34572632a2fb4de5816cfc70ea2911585c241aad
src/main/groovy/org/codenarc/rule/ConstructorsSkippingFieldReferenceAstVisitor.groovy
src/main/groovy/org/codenarc/rule/ConstructorsSkippingFieldReferenceAstVisitor.groovy
/* * Copyright 2020 the original author or authors. * * Licensed 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 applica...
/* * Copyright 2020 the original author or authors. * * Licensed 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 applica...
Fix a typo in javadoc
Fix a typo in javadoc
Groovy
apache-2.0
erdi/CodeNarc,erdi/CodeNarc,CodeNarc/CodeNarc,darxriggs/CodeNarc,erdi/CodeNarc,darxriggs/CodeNarc,CodeNarc/CodeNarc,erdi/CodeNarc
159c4886192aec2f4819845023d3bdbad1c453ae
examples/example-groovy-notification-plugins/MinimalNotificationPlugin.groovy
examples/example-groovy-notification-plugins/MinimalNotificationPlugin.groovy
import com.dtolabs.rundeck.plugins.notification.NotificationPlugin; /** * This example is a minimal Notification plugin for Rundeck */ rundeckPlugin(NotificationPlugin){ onstart { println("success: data ${execution}") true } onfailure { println("failure: data ${execution}") ...
import com.dtolabs.rundeck.plugins.notification.NotificationPlugin; /** * This example is a minimal Notification plugin for Rundeck */ rundeckPlugin(NotificationPlugin){ onstart { println("job start: data ${execution}") true } onfailure { println("failure: data ${execution}") ...
Fix typos in println statements for example
Fix typos in println statements for example
Groovy
apache-2.0
patcadelina/rundeck,damageboy/rundeck,variacode/rundeck,jamieps/rundeck,variacode95/rundeck,rophy/rundeck,tjordanchat/rundeck,paul-krohn/rundeck,jgpacker/rundeck,rundeck/rundeck,variacode95/rundeck,jgpacker/rundeck,jgpacker/rundeck,rophy/rundeck,tjordanchat/rundeck,patcadelina/rundeck,paul-krohn/rundeck,paul-krohn/rund...
28b1a7dbdd527280d30bf7a2d279120cf49e8c6b
build.groovy
build.groovy
node('') { def project_name = "akka-cluster-example" stage('Git') { git 'https://github.com/jmarin/akka-cluster-example.git' } stage('Scala Build') { // assumes you have the sbt plugin installed and created an sbt installation named 'sbt-0.13.1' sh "${tool name: 'sbt 0.13.1', ...
node('') { def owner = "jmarin" def project_root_name = "akka-cluster-example" stage('Git') { git 'https://github.com/jmarin/akka-cluster-example.git' } stage('Scala Build') { // assumes you have the sbt plugin installed and created an sbt installation named 'sbt-0.13.1' s...
Add frontend and backend images
Add frontend and backend images
Groovy
apache-2.0
jmarin/akka-cluster-example,jmarin/akka-cluster-example
e1f856957ad796b2508fbe71148b498afbabe547
db/migrate/001_release1/008_modify_study.groovy
db/migrate/001_release1/008_modify_study.groovy
class ModifyStudy extends edu.northwestern.bioinformatics.bering.Migration { void up() { if (databaseMatches('oracle')) { execute('ALTER TABLE studies ADD completed integer NOT NULL') } else if (databaseMatches('postgresql')) { execute('ALTER TABLE studies ADD completed Boolean NOT NULL'...
class ModifyStudy extends edu.northwestern.bioinformatics.bering.Migration { void up() { if (databaseMatches('oracle')) { execute('ALTER TABLE studies ADD completed integer NOT NULL') } else { execute('ALTER TABLE studies ADD completed BOOLEAN NOT NULL') } ...
Use boolean column in the general case, instead of specifically for HSQLDB and PostgreSQL
Use boolean column in the general case, instead of specifically for HSQLDB and PostgreSQL git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@209 0d517254-b314-0410-acde-c619094fa49f
Groovy
bsd-3-clause
NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror
b59c616629daded29d762ffc129e8c3ade2e2a81
extra/src/test/java/brooklyn/entity/dns/geoscaling/GeoscalingScriptGeneratorTest.groovy
extra/src/test/java/brooklyn/entity/dns/geoscaling/GeoscalingScriptGeneratorTest.groovy
package brooklyn.entity.dns.geoscaling import static org.testng.AssertJUnit.* import java.util.LinkedHashSet import java.util.Set import org.testng.annotations.Test import brooklyn.entity.dns.HostGeoInfo /** * {@link GeoscalingScriptGenerator} unit tests. */ class GeoscalingScriptGeneratorTest { privat...
package brooklyn.entity.dns.geoscaling import static org.testng.AssertJUnit.* import java.util.LinkedHashSet import java.util.Set import org.testng.annotations.Test import brooklyn.entity.dns.HostGeoInfo import brooklyn.util.ResourceUtils /** * {@link GeoscalingScriptGenerator} unit tests. */ class GeoscalingSc...
Move loadResource() helper method into new ResourceUtils utility class
ENGR-1588: Move loadResource() helper method into new ResourceUtils utility class
Groovy
apache-2.0
andreaturli/legacy-brooklyn,bmwshop/brooklyn,andreaturli/legacy-brooklyn,aledsage/legacy-brooklyn,neykov/incubator-brooklyn,neykov/incubator-brooklyn,bmwshop/brooklyn,aledsage/legacy-brooklyn,aledsage/legacy-brooklyn,andreaturli/legacy-brooklyn,bmwshop/brooklyn,neykov/incubator-brooklyn,aledsage/legacy-brooklyn,neykov/...
5d594b45e08ed2c24d0555d221bc50ac980fcf54
netci.groovy
netci.groovy
import jobs.generation.Utilities def project = GithubProject def branch = GithubBranchName def isPR = true def platformList = ['Ubuntu16.04:Debian', 'Windows_2016:NanoServer'] platformList.each { platform -> def(hostOS, containerOS) = platform.tokenize(':') def newJobName = Utilities.getFullJobName(project, c...
import jobs.generation.Utilities def project = GithubProject def branch = GithubBranchName def isPR = true def platformList = ['Ubuntu16.04:Debian', 'Windows_2016:NanoServer'] platformList.each { platform -> def(hostOS, containerOS) = platform.tokenize(':') def newJobName = Utilities.getFullJobName(project, c...
Remove the Platform param from nano CI
Remove the Platform param from nano CI
Groovy
mit
dotnet/dotnet-docker,MichaelSimons/dotnet-docker,MichaelSimons/dotnet-docker,dotnet/dotnet-docker
597d13177945775902fcf9bbea64fdaa334fcf3a
subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/JavaProjectCrossVersionIntegrationTest.groovy
subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/JavaProjectCrossVersionIntegrationTest.groovy
/* * Copyright 2011 the original author or authors. * * Licensed 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 applica...
/* * Copyright 2011 the original author or authors. * * Licensed 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 applica...
Handle old versions that don't have project.apply()
Handle old versions that don't have project.apply()
Groovy
apache-2.0
lsmaira/gradle,gstevey/gradle,gstevey/gradle,lsmaira/gradle,gstevey/gradle,blindpirate/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,blindpirate/gradle,gstevey/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/g...
47bf960130e34f08df3f8800ce2d75a0dbf5eb3c
src/test/groovy/bugs/Groovy9271Test.groovy
src/test/groovy/bugs/Groovy9271Test.groovy
/* * 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")...
/* * 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")...
Fix the failing build due to compilation error
Fix the failing build due to compilation error
Groovy
apache-2.0
apache/incubator-groovy,apache/groovy,paulk-asert/incubator-groovy,paulk-asert/incubator-groovy,paulk-asert/groovy,shils/incubator-groovy,apache/incubator-groovy,armsargis/groovy,paulk-asert/groovy,apache/incubator-groovy,paulk-asert/groovy,armsargis/groovy,paulk-asert/groovy,shils/groovy,shils/groovy,apache/groovy,apa...
cf4c9befd0e0290a3fac7ac1ddcceec8895bb35f
src/test/groovy/geoscript/AssertUtil.groovy
src/test/groovy/geoscript/AssertUtil.groovy
package geoscript import static org.junit.Assert.* /** * A collection of assertion utilities. * @author Jared Erickson */ class AssertUtil { static void assertStringsEqual(String expected, String actual) { StringReader expectedReader = new StringReader(expected) StringReader actualReader = new...
package geoscript import static org.junit.Assert.* /** * A collection of assertion utilities. * @author Jared Erickson */ class AssertUtil { static void assertStringsEqual(Map options = [:], String expected, String actual) { boolean trim = options.get("trim", false) boolean debug = options.get...
Allow optional options to assertStringEqual for trimming white space and debug printing. Also add messages for when tests fail.
Allow optional options to assertStringEqual for trimming white space and debug printing. Also add messages for when tests fail.
Groovy
mit
sbortman/geoscript-groovy,geoscript/geoscript-groovy,geoscript/geoscript-groovy,sbortman/geoscript-groovy
43a689fd4cb0f0c28fd9863419d9d42c22557655
services/src/functional-tests/src/test/groovy/org/openkilda/functionaltests/unit/spec/WrappersSpec.groovy
services/src/functional-tests/src/test/groovy/org/openkilda/functionaltests/unit/spec/WrappersSpec.groovy
package org.openkilda.functionaltests.unit.spec import org.openkilda.functionaltests.helpers.Wrappers import org.openkilda.functionaltests.helpers.Wrappers.WaitTimeoutException import spock.lang.Specification import spock.lang.Unroll @Unroll class WrappersSpec extends Specification { def timeout = 0.001 de...
package org.openkilda.functionaltests.unit.spec import org.openkilda.functionaltests.helpers.Wrappers import org.openkilda.functionaltests.helpers.Wrappers.WaitTimeoutException import spock.lang.Specification import spock.lang.Unroll @Unroll class WrappersSpec extends Specification { def timeout = 0.01 def...
Increase timeout in wait test to prevent random failures
Increase timeout in wait test to prevent random failures
Groovy
apache-2.0
jonvestal/open-kilda,telstra/open-kilda,telstra/open-kilda,jonvestal/open-kilda,jonvestal/open-kilda,jonvestal/open-kilda,jonvestal/open-kilda,telstra/open-kilda,telstra/open-kilda,telstra/open-kilda,telstra/open-kilda,telstra/open-kilda
9157ef16b964ea01633bd648b41df57a9422616b
groovy/LibraryJobs.groovy
groovy/LibraryJobs.groovy
/* * Copyright (c) 2016-2019 SIL International * This software is licensed under the MIT license (http://opensource.org/licenses/MIT) */ for (repo in ['icu-dotnet', 'icu4c', 'SIL.BuildTasks']) { multibranchPipelineJob(repo) { description """<p>Builds of ${repo}</p> <p>The job is created by the DSL plugin from <...
/* * Copyright (c) 2016-2019 SIL International * This software is licensed under the MIT license (http://opensource.org/licenses/MIT) */ for (repo in ['icu-dotnet', 'icu4c', 'SIL.BuildTasks']) { multibranchPipelineJob(repo) { description """<p>Builds of ${repo}</p> <p>The job is created by the DSL plugin from <...
Update to new location of Jenkinsfile
[icu4c] Update to new location of Jenkinsfile The ICU project restructured their repo. Since we re-applied our previous patches the location for Jenkinsfile now also moved. This change makes the necessary adjustment. Change-Id: I74749a3331df036609d81936fcffa246cdcd6772
Groovy
mit
sillsdev/ci-builder-scripts,sillsdev/ci-builder-scripts,sillsdev/ci-builder-scripts
5b18b904a59657cf1edee271068aacb9e11816c9
raml-model/src/test/groovy/io/vrap/rmf/raml/model/values/RegExpTest.groovy
raml-model/src/test/groovy/io/vrap/rmf/raml/model/values/RegExpTest.groovy
package io.vrap.rmf.raml.model.values import spock.lang.Specification /** * Unit tests for {@link RegExp}. */ class RegExpTest extends Specification { def "factory method"() { when: RegExp regExp = RegExp.of('.*') then: regExp != null } def "toString() should return the...
package io.vrap.rmf.raml.model.values import spock.lang.Specification /** * Unit tests for {@link RegExp}. */ class RegExpTest extends Specification { def "factory method"() { when: RegExp regExp = RegExp.of('.*') then: regExp != null } def "toString() should return the...
Add test to make sure that an empty pattern always matches.
Add test to make sure that an empty pattern always matches.
Groovy
mit
vrapio/rest-modeling-framework,vrapio/rest-modeling-framework
a5cf333a226aa4b370fcecc8ab1791e93025b185
src/test/groovy/AmbiguousInvocationTest.groovy
src/test/groovy/AmbiguousInvocationTest.groovy
class AmbiguousInvocationTest extends GroovyTestCase { // to prove GROOVY-467 is no longer an issue property mock void setUp() { dummy = new DummyMethods() } void testAmbiguousInvocationWithFloats() { assert "float args" == dummy.foo("bar",1.0f,2.0f) assert "float args" =...
class AmbiguousInvocationTest extends GroovyTestCase { // to prove GROOVY-467 is no longer an issue property mock void setUp() { // @todo as DummyMethods.java not being compiled prior to test run in maven build // dummy = new DummyMethods() } void testAmbiguousInvocationWithFl...
Remove test for now, as the dependant java source doesn't appear to be compiled prior to test execution in maven
Remove test for now, as the dependant java source doesn't appear to be compiled prior to test execution in maven git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@1332 a5544e8c-8a19-0410-ba12-f9af4593a198
Groovy
apache-2.0
russel/incubator-groovy,eginez/incubator-groovy,christoph-frick/groovy-core,bsideup/incubator-groovy,fpavageau/groovy,rabbitcount/incubator-groovy,guangying945/incubator-groovy,graemerocher/incubator-groovy,apache/incubator-groovy,tkruse/incubator-groovy,yukangguo/incubator-groovy,paplorinc/incubator-groovy,taoguan/inc...
9c6d08081312ea81dfdb45c59417686effa83e63
src/test/groovy/sdkman/support/UnixUtils.groovy
src/test/groovy/sdkman/support/UnixUtils.groovy
package sdkman.support class UnixUtils { static getPlatform() { asSdkmanPlatform(System.getProperty("os.name")) } static asSdkmanPlatform(platform) { def result switch (platform) { case "Mac OSX": result = "Darwin" break case ...
package sdkman.support class UnixUtils { static getPlatform() { asSdkmanPlatform(System.getProperty("os.name")) } static asSdkmanPlatform(platform) { def result switch (platform) { case "Mac OS X": result = "Darwin" break case...
Fix wrong os.name for Mac OS X
Fix wrong os.name for Mac OS X
Groovy
apache-2.0
sdkman/sdkman-cli,gvmtool/gvm-cli
118c116e2063cdc9a063ea81d215c03ac3bcf10e
src/resources/cli/archetypes/default/templates/artifacts/DialogController.groovy
src/resources/cli/archetypes/default/templates/artifacts/DialogController.groovy
@artifact.package@import java.awt.Window import griffon.transform.Threading class @artifact.name@ { def model def view def builder protected dialog @Threading(Threading.Policy.INSIDE_UITHREAD_SYNC) void show(final Window window) { window = window ?: Window.windows.find{it.focused} ...
@artifact.package@import java.awt.Window import griffon.transform.Threading class @artifact.name@ { def model def view def builder protected dialog @Threading(Threading.Policy.INSIDE_UITHREAD_SYNC) void show(Window window) { window = window ?: Window.windows.find{it.focused} i...
Fix incorrect final modifier on method signature
Fix incorrect final modifier on method signature
Groovy
apache-2.0
griffon/griffon,codehaus/griffon-git,levymoreira/griffon,tschulte/griffon,levymoreira/griffon,griffon/griffon,codehaus/griffon-git,tschulte/griffon,tschulte/griffon,levymoreira/griffon
e0ed90f4198818facec27a13298e7d403d5b8572
src/integration-test/resources/GebConfig.groovy
src/integration-test/resources/GebConfig.groovy
import org.openqa.selenium.chrome.ChromeDriver import org.openqa.selenium.chrome.ChromeOptions import org.openqa.selenium.firefox.FirefoxDriver import org.openqa.selenium.firefox.FirefoxOptions waiting { timeout = 2 } environments { // run via “./gradlew -Dgeb.env=chrome iT” chrome { driver = { n...
import org.openqa.selenium.chrome.ChromeDriver import org.openqa.selenium.chrome.ChromeOptions import org.openqa.selenium.firefox.FirefoxDriver import org.openqa.selenium.firefox.FirefoxOptions waiting { timeout = 2 } environments { // run via “./gradlew -Dgeb.env=chrome iT” chrome { driver = { n...
Add two new features 1. Add More Testing 2. Fix it so the correct title is displayed.
Add two new features 1. Add More Testing 2. Fix it so the correct title is displayed.
Groovy
apache-2.0
amondel2/hoa,amondel2/hoa
3ff1b5a49eb72edbb04fb663a0a3f44338d233d1
src/main/groovy/com/wiredforcode/zim/Application.groovy
src/main/groovy/com/wiredforcode/zim/Application.groovy
package com.wiredforcode.zim import com.wiredforcode.zim.config.MongoConfiguration import org.springframework.boot.SpringApplication import org.springframework.boot.autoconfigure.EnableAutoConfiguration import org.springframework.context.annotation.ComponentScan import org.springframework.context.annotation.Import @E...
package com.wiredforcode.zim import org.springframework.boot.SpringApplication import org.springframework.boot.autoconfigure.EnableAutoConfiguration import org.springframework.context.annotation.ComponentScan @EnableAutoConfiguration @ComponentScan("com.wiredforcode.zim") class Application { static void main(Stri...
Trim excessive code from application bootstrap.
Trim excessive code from application bootstrap.
Groovy
apache-2.0
marcoVermeulen/zim-service,marc0der/zim-service
cc4377c9128ad144e00e64761b885b9856c2ef7a
jdroid-gradle-commons-plugin/src/main/groovy/com/jdroid/gradle/java/JavaGradlePlugin.groovy
jdroid-gradle-commons-plugin/src/main/groovy/com/jdroid/gradle/java/JavaGradlePlugin.groovy
package com.jdroid.gradle.java import com.jdroid.gradle.commons.JavaBaseGradlePlugin import org.gradle.api.Project public class JavaGradlePlugin extends JavaBaseGradlePlugin { public void apply(Project project) { super.apply(project) project.apply plugin: 'java' project.compileJava { sourceCompatibility ...
package com.jdroid.gradle.java import com.jdroid.gradle.commons.JavaBaseGradlePlugin import org.gradle.api.Project public class JavaGradlePlugin extends JavaBaseGradlePlugin { public void apply(Project project) { super.apply(project) project.apply plugin: 'java' project.compileJava { sourceCompatibility ...
Add UTF-8 encoding to compile
Add UTF-8 encoding to compile
Groovy
apache-2.0
maxirosson/jdroid-gradle-plugin,maxirosson/jdroid-gradle-plugin,maxirosson/jdroid-gradle-plugin
e8da10a6e848f742d7bd59a9bc321a048675c844
src/test/groovy/green/bunny/ExchangeDeclare.groovy
src/test/groovy/green/bunny/ExchangeDeclare.groovy
package green.bunny class ExchangeDeclare extends IntegrationSpec { // // High-level API // def "accessing default exchange"() { when: "default exchange (singleton) is accessed" def e = ch.defaultExchange() println(e) then: "durable, non-auto-delete, predefined direct exchange is returned" ...
package green.bunny class ExchangeDeclare extends IntegrationSpec { // // High-level API // def "accessing default exchange"() { when: "default exchange (singleton) is accessed" def e = ch.defaultExchange() println(e) then: "durable, non-auto-delete, predefined direct exchange is returned" ...
Clean up declare exchanges in this test
Clean up declare exchanges in this test
Groovy
apache-2.0
michaelklishin/green_bunny
e4daa86aa8a309d79948663f46e7d70c38ed6412
buildSrc/src/main/groovy/jpower/gradle/ReleaseTask.groovy
buildSrc/src/main/groovy/jpower/gradle/ReleaseTask.groovy
package jpower.gradle import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction class ReleaseTask extends DefaultTask { boolean tagRelease = false boolean pushRelease = false ReleaseTask() { } @TaskAction void tagRelease() { if (tagRelease) { logger.lifecyc...
package jpower.gradle import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction class ReleaseTask extends DefaultTask { boolean tagRelease = false boolean pushRelease = false ReleaseTask() { } @TaskAction void tagRelease() { if (tagRelease) { logger.lifecyc...
Allow incrementing versions on the release task.
Allow incrementing versions on the release task.
Groovy
mit
DirectMyFile/JPower
3f7add7d014a4388178267a65b7d8d6a69d55811
src/main/groovy/zim/Quote.groovy
src/main/groovy/zim/Quote.groovy
package zim import org.springframework.data.annotation.Id import org.springframework.data.mongodb.core.mapping.Document import org.springframework.data.mongodb.core.mapping.Field @Document class Quote { @Id BigInteger id @Field String name @Field String message }
package zim class Quote { BigInteger id String name String message }
Remove spring data mongo annotations.
Remove spring data mongo annotations.
Groovy
apache-2.0
marc0der/zim-service,marcoVermeulen/zim-service
6a29663f16e7f880262d6795ae9489173a9d76ae
src/test/groovy/org/osiam/storage/entities/MetaEntitySpec.groovy
src/test/groovy/org/osiam/storage/entities/MetaEntitySpec.groovy
/* * Copyright (C) 2013 tarent AG * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, ...
/* * Copyright (C) 2013 tarent AG * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, ...
Remove unneccessary mock of Date in test
Remove unneccessary mock of Date in test
Groovy
mit
dacrome/resource-server,thomasdarimont/resource-server,wallner/resource-server,woglinde/resource-server,osiam/resource-server,tkrille/osiam-resource-server
14d97fc0b0ee72478b28f639bfa945cee68250d9
seed.groovy
seed.groovy
def projects = [ [name: 'refapp-devops', jobs: ['setup']] ] for (project in projects) { for (job in project.jobs) { freeStyleJob ("${project.name}-${job}") { properties { githubProjectUrl "https://github.com/venicegeo/${project.name}" } scm { git { remote { ...
def projects = [ [name: 'refapp-devops', jobs: ['setup', 'artifact', 'build-test']] ] for (project in projects) { for (job in project.jobs) { freeStyleJob ("${project.name}-${job}") { properties { githubProjectUrl "https://github.com/venicegeo/${project.name}" } scm { git { ...
Add artifact and build-test for refapp
Add artifact and build-test for refapp
Groovy
apache-2.0
venicegeo/jenkins
e5c7a6dc0a1e3e233b482907746eb268a992b36c
groovy/Support_jobs.groovy
groovy/Support_jobs.groovy
/* * DSL script to create some support jobs */ /* * Definition of jobs */ pipelineJob('FwSupport-checkoutOnly') { description '''<p>This job keeps the <i>FwSupportTools</i> directory up-to-date on the packaging agents.</p> <p>The job is created by the DSL plugin from <i>Support-jobs.groovy</i> script.<p>''' tr...
/* * DSL script to create some support jobs */ /* * Definition of jobs */ pipelineJob('FwSupportTools-checkoutOnly') { description '''<p>This job keeps the <i>FwSupportTools</i> directory up-to-date on the packaging agents.</p> <p>The job is created by the DSL plugin from <i>Support-jobs.groovy</i> script.<p>'''...
Rename FwSupport-* job to FwSupportTools-*
Rename FwSupport-* job to FwSupportTools-* Change-Id: I120b3aec5bd0b435b25712aba7d8706ff42659e9
Groovy
mit
sillsdev/ci-builder-scripts,sillsdev/ci-builder-scripts,sillsdev/ci-builder-scripts
a86a0f4ffac6f390ad5724cd9b0cda520128e6b5
jenkins/configuration/templates/init.groovy.d/configure-email-notification.groovy
jenkins/configuration/templates/init.groovy.d/configure-email-notification.groovy
// {{ansible_managed}} import jenkins.model.* def inst = Jenkins.getInstance() def desc = inst.getDescriptor("hudson.tasks.Mailer") desc.setSmtpHost("{{smtp_host}}") {% if smtp_port is defined %} desc.setSmtpPort("{{smtp_port}}") {% endif %} desc.setUseSsl({{smtp_usessl | default(true)}}) {% if smtp_user is defined...
// {{ansible_managed}} import jenkins.model.* def inst = Jenkins.getInstance() def desc = inst.getDescriptor("hudson.tasks.Mailer") desc.setSmtpHost("{{smtp_host}}") {% if smtp_port is defined %} desc.setSmtpPort("{{smtp_port}}") {% endif %} desc.setUseSsl({{smtp_usessl | default("true")}}) {% if smtp_user is defin...
Use >"true"< in groovy templates instead of >true<
Use >"true"< in groovy templates instead of >true< This leads to True in expansion which does not work.
Groovy
bsd-3-clause
jansenm/ansible-jenkins-roles
b09d6cbdc34f5137bc992412378c004a4cb7eb97
buildSrc/src/main/groovy/jpower/gradle/ReleaseTask.groovy
buildSrc/src/main/groovy/jpower/gradle/ReleaseTask.groovy
package jpower.gradle import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction class ReleaseTask extends DefaultTask { boolean tagRelease = false boolean pushRelease = false ReleaseTask() { } @TaskAction void tagRelease() { if (tagRelease) { logger.lifecyc...
package jpower.gradle import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction class ReleaseTask extends DefaultTask { boolean tagRelease = false boolean pushRelease = false ReleaseTask() { } @TaskAction void tagRelease() { if (tagRelease) { logger.lifecyc...
Support for commiting the new version update to Git
Support for commiting the new version update to Git
Groovy
mit
DirectMyFile/JPower
e881235cacd6c911660cd7a678104892de765392
jobs/build.groovy
jobs/build.groovy
job('r-baseball') { scm { git('git://github.com/bryantrobbins/r-baseball') { node -> node / gitConfigName('Baseball Jenkins Auto') node / gitConfigEmail('bryantrobbins@gmail.com') } } steps { shell('chmod 700 *.sh; ./build.sh') } } job('worker-image') { steps { ...
job('r-baseball') { scm { git('git://github.com/bryantrobbins/r-baseball') { node -> node / gitConfigName('Baseball Jenkins Auto') node / gitConfigEmail('bryantrobbins@gmail.com') } } steps { shell('chmod 700 *.sh; ./build.sh') } } job('worker-image') { scm { ...
Add git checkout to worker-image job
Add git checkout to worker-image job
Groovy
apache-2.0
bryantrobbins/baseball,bryantrobbins/baseball,bryantrobbins/baseball,bryantrobbins/baseball,bryantrobbins/baseball
dfff279731acc8f2a9c8cc9fe6e7fe40510bdc36
subprojects/logging/src/integTest/groovy/org/gradle/internal/logging/ConsoleBuildSrcFunctionalTest.groovy
subprojects/logging/src/integTest/groovy/org/gradle/internal/logging/ConsoleBuildSrcFunctionalTest.groovy
/* * Copyright 2017 the original author or authors. * * Licensed 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 applica...
/* * Copyright 2017 the original author or authors. * * Licensed 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 applica...
Test should now pass with improved output parsing
Test should now pass with improved output parsing
Groovy
apache-2.0
gstevey/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,gstevey/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,...
5e574e257ff4c6fc4381a92bf3798adc302a7f8c
subprojects/code-quality/src/testFixtures/groovy/org/gradle/quality/integtest/fixtures/CheckstyleCoverage.groovy
subprojects/code-quality/src/testFixtures/groovy/org/gradle/quality/integtest/fixtures/CheckstyleCoverage.groovy
/* * Copyright 2014 the original author or authors. * * Licensed 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 applica...
/* * Copyright 2014 the original author or authors. * * Licensed 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 applica...
Add 6.12 to tested checkstyle versions
Add 6.12 to tested checkstyle versions
Groovy
apache-2.0
gstevey/gradle,gradle/gradle,blindpirate/gradle,gstevey/gradle,lsmaira/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,bl...
ce81d9d53118ec441fad1b55e92110a2504c9583
src/main/groovy/jetpacker/api/configuration/Endpoint.groovy
src/main/groovy/jetpacker/api/configuration/Endpoint.groovy
package jetpacker.api.configuration import groovy.transform.CompileStatic /** * Created by donny on 24/10/2016. */ @CompileStatic enum Endpoint { SdkMan("http://api.sdkman.io/candidates"), GitHub("https://api.github.com/repos/{{ namespace }}/{{ name }}/tags"), DockerHub("https://registry.hub.docker.com/...
package jetpacker.api.configuration import groovy.transform.CompileStatic /** * Created by donny on 24/10/2016. */ @CompileStatic enum Endpoint { SdkMan("http://api.sdkman.io/candidates"), GitHub("https://api.github.com/repos/{namespace}/{name}/tags"), DockerHub("https://registry.hub.docker.com/v2/repos...
Use single curly brackets instead of double curly brackets
Use single curly brackets instead of double curly brackets
Groovy
mit
jetpacker/jetpacker-api
46f60ebfdc2ab01bdf4957aa3e221f8053e6e465
tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app3/PageCatalogTests.groovy
tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app3/PageCatalogTests.groovy
package org.apache.tapestry5.integration.app3 import org.apache.tapestry5.integration.TapestryCoreTestCase import org.testng.annotations.Test class PageCatalogTests extends TapestryCoreTestCase { @Test void load_page_catalog_page() { def title = "Tapestry 5: Page Catalog" open("${baseURL}...
package org.apache.tapestry5.integration.app3 import org.apache.tapestry5.integration.TapestryCoreTestCase import org.testng.annotations.Test class PageCatalogTests extends TapestryCoreTestCase { @Test void load_page_catalog_page() { def title = "Tapestry 5: Page Catalog" open("${baseURL}...
Fix semi-broken tests via a sleep, rather than attempting to wait on Ajax operations
Fix semi-broken tests via a sleep, rather than attempting to wait on Ajax operations git-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@1179660 13f79535-47bb-0310-9956-ffa450edef68
Groovy
apache-2.0
apache/tapestry-5,apache/tapestry-5,agileowl/tapestry-5,apache/tapestry-5,apache/tapestry-5,agileowl/tapestry-5,apache/tapestry-5,agileowl/tapestry-5
a2d9828d4473cb65acad099ac3783c1e931307f3
grails-app/conf/UrlMappings.groovy
grails-app/conf/UrlMappings.groovy
class UrlMappings { static mappings = { "/$controller/$action?/$id?(.$format)?" { constraints { // apply constraints here } } "/"(redirect: '/annotator/index') "500"(view: '/error') "/menu"(view: '/menu') "/version.jsp"(contr...
class UrlMappings { static mappings = { "/$controller/$action?/$id?(.$format)?" { constraints { // apply constraints here } } "/"(redirect: '/annotator/index') "500"(view: '/error') "/menu"(view: '/menu') "/version.jsp"(contr...
Allow mapping jbrowse without index.html appended
Allow mapping jbrowse without index.html appended
Groovy
bsd-3-clause
erasche/Apollo,erasche/Apollo,erasche/Apollo,erasche/Apollo,erasche/Apollo
1aad2f5b781a1fa8cb8d3eb1d561948d81c7f5df
src/test/groovy/fi/jasoft/plugin/PluginConfigurationTest.groovy
src/test/groovy/fi/jasoft/plugin/PluginConfigurationTest.groovy
/* * Copyright 2016 John Ahlroos * * Licensed 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, ...
/* * Copyright 2016 John Ahlroos * * Licensed 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, ...
Fix integration test after default eclipse output dir was changed
Fix integration test after default eclipse output dir was changed
Groovy
apache-2.0
johndevs/gradle-vaadin-plugin
48f94f8d8cf676ccb630beb65f12008a7c007b1b
db/migrate/001_release1/008_modify_study.groovy
db/migrate/001_release1/008_modify_study.groovy
class ModifyStudy extends edu.northwestern.bioinformatics.bering.Migration { void up() { if (databaseMatches('oracle')) { execute('ALTER TABLE studies ADD completed integer NOT NULL') } else if (databaseMatches('postgresql')) { execute('ALTER TABLE studies ADD completed Boolean NOT NULL'...
class ModifyStudy extends edu.northwestern.bioinformatics.bering.Migration { void up() { if (databaseMatches('oracle')) { execute('ALTER TABLE studies ADD completed integer NOT NULL') } else { execute('ALTER TABLE studies ADD completed BOOLEAN NOT NULL') } ...
Use boolean column in the general case, instead of specifically for HSQLDB and PostgreSQL
Use boolean column in the general case, instead of specifically for HSQLDB and PostgreSQL
Groovy
bsd-3-clause
NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc
355500af745c6fb82319aca5b4192f70f3f13b06
lazybones-app/src/main/groovy/uk/co/cacoethes/lazybones/OptionParserBuilder.groovy
lazybones-app/src/main/groovy/uk/co/cacoethes/lazybones/OptionParserBuilder.groovy
package uk.co.cacoethes.lazybones import static uk.co.cacoethes.lazybones.Options.* import joptsimple.OptionParser class OptionParserBuilder { //TODO: Maybe move these to an enum static OptionParser makeOptionParser() { // These are the global options available for all commands. def parser ...
package uk.co.cacoethes.lazybones import static uk.co.cacoethes.lazybones.Options.* import joptsimple.OptionParser class OptionParserBuilder { //TODO: Maybe move these to an enum static OptionParser makeOptionParser() { // These are the global options available for all commands. def parser ...
Fix help message for --version option.
Fix help message for --version option.
Groovy
apache-2.0
pledbrook/lazybones-kotlin,ctran/lazybones,danielgrycman/lazybones,pledbrook/lazybones,pledbrook/lazybones-kotlin,ctran/lazybones,aaronzirbes/lazybones,danielgrycman/lazybones,pledbrook/lazybones
2f491839c673751c6da97f457d9897f2d1659a13
tapestry-yuicompressor/src/test/groovy/org/apache/tapestry5/yuicompressor/itest/YUICompressorIntegrationTests.groovy
tapestry-yuicompressor/src/test/groovy/org/apache/tapestry5/yuicompressor/itest/YUICompressorIntegrationTests.groovy
// Copyright 2011 The Apache Software Foundation // // Licensed 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 o...
// Copyright 2011, 2012 The Apache Software Foundation // // Licensed 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...
Update test for changes to the Palette component
Update test for changes to the Palette component
Groovy
apache-2.0
apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5
8f3cdf69d89697948445901ca195a9898403a671
src/main/groovy/com/jfrog/bintray/gradle/RecordingCopyTask.groovy
src/main/groovy/com/jfrog/bintray/gradle/RecordingCopyTask.groovy
package com.jfrog.bintray.gradle import org.gradle.api.internal.file.copy.CopyAction import org.gradle.api.internal.file.copy.CopyActionProcessingStream import org.gradle.api.internal.file.copy.FileCopyDetailsInternal import org.gradle.api.internal.tasks.SimpleWorkResult import org.gradle.api.tasks.Copy class Recordi...
package com.jfrog.bintray.gradle import org.gradle.api.InvalidUserDataException import org.gradle.api.internal.file.copy.CopyAction import org.gradle.api.internal.file.copy.CopyActionProcessingStream import org.gradle.api.internal.file.copy.FileCopyDetailsInternal import org.gradle.api.internal.tasks.SimpleWorkResult ...
Copy spec improvements - avoid relating to the project directory as the output dir
Copy spec improvements - avoid relating to the project directory as the output dir
Groovy
apache-2.0
bintray/gradle-bintray-plugin,bintray/gradle-bintray-plugin
70cf98c3f3e8709b82827119e81743790126b295
src/main/groovy/grails/plugins/jsonapis/JsonApisGrailsPlugin.groovy
src/main/groovy/grails/plugins/jsonapis/JsonApisGrailsPlugin.groovy
package grails.plugins.jsonapis import grails.plugins.Plugin class JsonApisGrailsPlugin extends Plugin { def grailsVersion = "3.0 > *" def pluginExcludes = [ "**/views/**", "**/i18n/**", "**/web-app/**", "demo-output.html", "testapi/**" ] def title = "Grails Js...
package grails.plugins.jsonapis import grails.plugins.Plugin class JsonApisGrailsPlugin extends Plugin { def grailsVersion = "4.0 > *" def pluginExcludes = [ "**/views/**", "**/i18n/**", "**/web-app/**", "demo-output.html", "testapi/**" ] def title = "Grails Js...
Set the minimum supported Grails version to 4.0 for this release.
Set the minimum supported Grails version to 4.0 for this release.
Groovy
apache-2.0
gregopet/grails-json-apis
12c796bd5948cccff9016b4e1a3b3e1fc8393f2d
grails-app/domain/org/grails/plugin/filterpane/nested/Function.groovy
grails-app/domain/org/grails/plugin/filterpane/nested/Function.groovy
package org.grails.plugin.filterpane.nested import groovy.transform.ToString // Temporary fix due to groovy version @ToString(includes='name') class Function { String name = 'function' static belongsTo = [Part] }
package org.grails.plugin.filterpane.nested import groovy.transform.ToString @ToString(includes=['name']) class Function { String name = 'function' static belongsTo = [Part] }
Revert "Fix for older groovy version"
Revert "Fix for older groovy version" This reverts commit 5213f9ad0b3b1e95f29afaad65f4d4ad6f7a12d8.
Groovy
apache-2.0
Grails-Plugin-Consortium/grails-filterpane
60d6d1c51f736175994929bdf84ce9f0291158c1
vars/jplSonarScanner.groovy
vars/jplSonarScanner.groovy
def call(body) { def config = [:] body.resolveStrategy = Closure.DELEGATE_FIRST body.delegate = config body() // name => Sonar Scaner Tool Name wrap ([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm']) { script { timeout(time: 1, unit: 'HOURS') { ...
def call(body) { def config = [:] body.resolveStrategy = Closure.DELEGATE_FIRST body.delegate = config body() // name => Sonar Scaner Tool Name wrap ([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'XTerm']) { script { timeout(time: 1, unit: 'HOURS') { ...
Change sonar tool name variable
Change sonar tool name variable
Groovy
mit
pedroamador/jenkins-pipeline-library,red-panda-ci/jenkins-pipeline-library
8e0a567e9d50a6348ee36612a218ff0a6be90dd1
grails-app/controllers/com/eae/SparkSubmitController.groovy
grails-app/controllers/com/eae/SparkSubmitController.groovy
package com.eae import org.codehaus.groovy.grails.web.json.JSONObject class SparkSubmitController { def sparkSubmitService static allowedMethods = [runSubmit:'POST'] def runSubmit = { final String scriptDir = getWebAppFolder() + '/Scripts/'; final sparkScriptsDir = grailsApplication.con...
package com.eae import org.codehaus.groovy.grails.web.json.JSONObject class SparkSubmitController { def sparkSubmitService static allowedMethods = [runSubmit:'POST'] def runSubmit = { final String scriptDir = getWebAppFolder() + '/Scripts/'; final sparkScriptsDir = grailsApplication.con...
Update to reflect the NOSQL dev
Update to reflect the NOSQL dev
Groovy
apache-2.0
aoehmichen/interfaceEAE,aoehmichen/interfaceEAE,aoehmichen/interfaceEAE
9bdc4a336ad179dff387197439d3c11e9d3601c5
src/main/groovy/se/su/it/svc/manager/GldapoManager.groovy
src/main/groovy/se/su/it/svc/manager/GldapoManager.groovy
package se.su.it.svc.manager import gldapo.Gldapo class GldapoManager { public GldapoManager() { Gldapo.initialize(ConfigManager.getInstance().@config) } }
package se.su.it.svc.manager import gldapo.Gldapo class GldapoManager { public GldapoManager() { def config = ConfigManager.getInstance().@config def classLoader = this.class.classLoader // Convert the schema strings to classes. config.schemas = config.schemas.collect { if (it instanceof Str...
Load the gldapo-schemas as strings from conf to avoid class loader issues.
DEVIDM-94: Load the gldapo-schemas as strings from conf to avoid class loader issues.
Groovy
bsd-3-clause
stockholmuniversity/sukat-cxf-svc,stockholmuniversity/sukat-cxf-svc,janj-su/sukat-cxf-svc,janj-su/sukat-cxf-svc
0b2425026ef2324490f051b74711634b06af1c61
tools/kotlin-native-gradle-plugin/src/test/groovy/org/jetbrains/kotlin/gradle/plugin/test/RegressionSpecification.groovy
tools/kotlin-native-gradle-plugin/src/test/groovy/org/jetbrains/kotlin/gradle/plugin/test/RegressionSpecification.groovy
package org.jetbrains.kotlin.gradle.plugin.test import org.gradle.testkit.runner.TaskOutcome class RegressionSpecification extends BaseKonanSpecification { def 'KT-19916'() { when: def project = KonanProject.createEmpty(getProjectDirectory()) { KonanProject prj -> prj.generateSettings...
package org.jetbrains.kotlin.gradle.plugin.test import org.gradle.testkit.runner.TaskOutcome class RegressionSpecification extends BaseKonanSpecification { def 'KT-19916'() { when: def project = KonanProject.createEmpty(getProjectDirectory()) { KonanProject prj -> prj.generateSettings...
Add regression test for KT-20192
gradle-plugin: Add regression test for KT-20192
Groovy
apache-2.0
wiltonlazary/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JuliusKunze/kotlin-native,JuliusKunze/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JuliusKunze/kotl...
9db3c67114562e3b200c5949548bacd7a865eedb
grails-app/conf/DataSource.groovy
grails-app/conf/DataSource.groovy
environments { development { grails { neo4j { type = "rest" location = "http://localhost:7474/db/data/" } } } test { grails { neo4j { type = "rest" location = "http://localhost:7474/db...
environments { development { grails { neo4j { type = "rest" location = System.env['GRAPHENEDB_URL'] ?: "http://localhost:7474/db/data/" } } } test { grails { neo4j { type = "rest" loca...
Set db on development mode
Set db on development mode
Groovy
bsd-2-clause
luanne/flavorwocky,luanne/flavorwocky,luanne/flavorwocky