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
26cc9b57fbd70c615b890220a3e39d89ee8d4f0d
gradle-plugin/src/main/groovy/com/stanfy/helium/gradle/tasks/RunBehaviourSpecsTask.groovy
gradle-plugin/src/main/groovy/com/stanfy/helium/gradle/tasks/RunBehaviourSpecsTask.groovy
package com.stanfy.helium.gradle.tasks import com.stanfy.helium.handler.tests.BehaviorSpecRunner import com.stanfy.helium.handler.tests.BehaviorSpecRunnerOptions import org.gradle.api.GradleException /** * Task for running behaviour specs. */ class RunBehaviourSpecsTask extends BaseHeliumTask<BehaviorSpecRunnerOpti...
package com.stanfy.helium.gradle.tasks import com.stanfy.helium.handler.tests.BehaviorSpecRunner import com.stanfy.helium.handler.tests.BehaviorSpecRunnerOptions import org.gradle.api.GradleException /** * Task for running behaviour specs. */ class RunBehaviourSpecsTask extends BaseHeliumTask<BehaviorSpecRunnerOpti...
Write to log about behaviour failures
Write to log about behaviour failures
Groovy
apache-2.0
msoftware/helium,stanfy/helium,stanfy/helium,stanfy/helium,stanfy/helium,msoftware/helium,msoftware/helium,stanfy/helium
4b2d08c4ab9937f51d68834092d1c89fe0e63261
src/main/groovy/net/ll86/plugins/VpnPluginExtension.groovy
src/main/groovy/net/ll86/plugins/VpnPluginExtension.groovy
package net.ll86.plugins class VpnPluginExtension { String baseHost Long pingTimeout }
package net.ll86.plugins class VpnPluginExtension { String baseHost Integer pingTimeout }
Store the timeout as an Integer
Store the timeout as an Integer The timeout expects an integer, but currently it is a Long.
Groovy
apache-2.0
joemccall86/gradle-vpn-plugin
024089fd7373147cfce36a54687f800b505ee49d
subprojects/launcher/src/integTest/groovy/org/gradle/launcher/GradleNativeIntegrationTest.groovy
subprojects/launcher/src/integTest/groovy/org/gradle/launcher/GradleNativeIntegrationTest.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...
Annotate test that leaks file handles to prevent build failure
Annotate test that leaks file handles to prevent build failure Flaky test: gradle/gradle-private#279
Groovy
apache-2.0
gstevey/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gstevey/gradle,gradle/gradle,lsmaira/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,gradle...
5cd7a61c5dfc83de9fbfaf1b947551f064efbd1f
subprojects/messaging/src/testFixtures/groovy/org/gradle/messaging/serialize/SerializerSpec.groovy
subprojects/messaging/src/testFixtures/groovy/org/gradle/messaging/serialize/SerializerSpec.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 applica...
/* * 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 applica...
Use Kyro serializer in tests, to cover variable length encoding if the serializer happens to use them.
Use Kyro serializer in tests, to cover variable length encoding if the serializer happens to use them.
Groovy
apache-2.0
blindpirate/gradle,gstevey/gradle,blindpirate/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gstevey/gradle,gradle/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,...
9cb42c3024d160c3724f1d6411b9d51d953434d0
springfox-core/src/test/groovy/springfox/documentation/service/model/AllowableRangeValuesSpec.groovy
springfox-core/src/test/groovy/springfox/documentation/service/model/AllowableRangeValuesSpec.groovy
/* * * Copyright 2015 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...
/* * * Copyright 2015 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...
Add bean tests for exclusive min / max
Add bean tests for exclusive min / max
Groovy
apache-2.0
springfox/springfox,springfox/springfox,springfox/springfox,springfox/springfox
81e61d44d58b79311d8cc0335c6a7d78a6bb4ced
javers-persistence-mongo/src/test/groovy/org/javers/repository/mongo/JaversMongoRepositoryE2ETest.groovy
javers-persistence-mongo/src/test/groovy/org/javers/repository/mongo/JaversMongoRepositoryE2ETest.groovy
package org.javers.repository.mongo import com.mongodb.client.MongoDatabase import org.javers.core.JaversRepositoryE2ETest import org.javers.repository.api.JaversRepository /** * runs e2e test suite with mongo db provided by subclasses * * @author bartosz walacik */ abstract class JaversMongoRepositoryE2ETest ext...
package org.javers.repository.mongo import com.mongodb.client.MongoDatabase import org.javers.core.JaversRepositoryE2ETest import org.javers.core.model.SnapshotEntity import org.javers.core.snapshot.SnapshotsAssert import org.javers.repository.api.JaversRepository import static org.javers.repository.jql.InstanceIdDTO...
Add test case for mongo map dot keys issue
Add test case for mongo map dot keys issue
Groovy
apache-2.0
javers/javers,javers/javers
1fa430bd6df8e3f43d43bd7ef06f2100bf5f3419
grails-app/conf/UrlMappings.groovy
grails-app/conf/UrlMappings.groovy
/* * CollabNet Subversion Edge * Copyright (C) 2010, CollabNet Inc. All rights reserved. * * 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 * (a...
/* * CollabNet Subversion Edge * Copyright (C) 2010, CollabNet Inc. All rights reserved. * * 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 * (a...
Add API for listing repos
[artf6692] : Add API for listing repos Rolling back r2639 for UrlMappings.groovy as formatting changes got it. * grails-app/conf/UrlMappings revert to r2628 git-svn-id: ec3c21ed833430e32134c61539c75518a6355d4e@2640 03e8f217-bfc6-4b7c-bcb7-0738c91e2c5f
Groovy
agpl-3.0
marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console
ab2bca2dba42a95f1a7a1c205d162f654d755fde
src/test/groovy/com/es/lib/common/version/VersionLoaderSpec.groovy
src/test/groovy/com/es/lib/common/version/VersionLoaderSpec.groovy
package com.es.lib.common.version import spock.lang.Specification import java.util.function.Supplier /** * @author Zuzoev Dmitry - zuzoev.d@ext-system.com * @since 29.06.17 */ class VersionLoaderSpec extends Specification { def "ReadBuildInfo with supplier"() { when: def info = VersionLoader....
package com.es.lib.common.version import spock.lang.Specification import java.util.function.Supplier /** * @author Zuzoev Dmitry - zuzoev.d@ext-system.com * @since 29.06.17 */ class VersionLoaderSpec extends Specification { def "ReadBuildInfo with supplier"() { when: def info = VersionLoader....
Add version loader from build.properties
Add version loader from build.properties
Groovy
apache-2.0
E-System/common-lib
7bffff111561998400bd0b5253d24da03faa493a
service-recipes/chef-server/chef_server_install.groovy
service-recipes/chef-server/chef_server_install.groovy
import org.cloudifysource.dsl.context.ServiceContextFactory def context = ServiceContextFactory.getServiceContext() bootstrap = ChefBootstrap.getBootstrap(installFlavor:"gem") bootstrap.runSolo([ "chef_server": [ "server_url": "http://localhost:4000", "init_style": "runit" ], "run_list": ...
import org.cloudifysource.dsl.context.ServiceContextFactory def context = ServiceContextFactory.getServiceContext() bootstrap = ChefBootstrap.getBootstrap(installFlavor:"gem") bootstrap.runSolo([ "chef_server": [ "server_url": "http://localhost:4000", "init_style": "runit" ], "run_list": ...
Save validation.pem to cloudify attributes
Save validation.pem to cloudify attributes
Groovy
apache-2.0
ngkim/cloudify-recipes,ngkim/cloudify-recipes,ngkim/cloudify-recipes,CloudifySource/cloudify-recipes,CloudifySource/cloudify-recipes,CloudifySource/cloudify-recipes,ngkim/cloudify-recipes,CloudifySource/cloudify-recipes,ngkim/cloudify-recipes,CloudifySource/cloudify-recipes,ngkim/cloudify-recipes,CloudifySource/cloudif...
27141acf8dd841dec7e3ee9bf9e942b85bdabe0d
src/groovy/jobs/steps/ValueGroupDumpDataStep.groovy
src/groovy/jobs/steps/ValueGroupDumpDataStep.groovy
package jobs.steps import org.transmartproject.core.dataquery.DataRow import org.transmartproject.core.dataquery.highdim.AssayColumn import org.transmartproject.core.dataquery.highdim.BioMarkerDataRow class ValueGroupDumpDataStep extends AbstractDumpHighDimensionalDataStep { @Override protected computeCsvRow...
package jobs.steps import org.transmartproject.core.dataquery.DataRow import org.transmartproject.core.dataquery.highdim.AssayColumn import org.transmartproject.core.dataquery.highdim.BioMarkerDataRow class ValueGroupDumpDataStep extends AbstractDumpHighDimensionalDataStep { @Override protected computeCsvRow...
Use only row label instead of concatenation with bioMarker.
Use only row label instead of concatenation with bioMarker.
Groovy
apache-2.0
thehyve/Rmodules,cdejonge/Rmodules,wimvanderlinden/Rmodules,thehyve/heim-Rmodules,thehyve/Rmodules_oncoprint,thehyve/Rmodules_oncoprint,thehyve/heim-Rmodules,transmart/Rmodules,wimvanderlinden/Rmodules,UMich-Transmart/Rmodules,cdejonge/Rmodules,UMich-Transmart/Rmodules,baumjamin/Rmodules,wimvanderlinden/Rmodules,thehyv...
f0bfe746f8d5e22c9bd1ab5ec1f8ce52abbd6b52
test/functional/heim/ScriptExecutionControllerTests.groovy
test/functional/heim/ScriptExecutionControllerTests.groovy
package heim import com.grailsrocks.functionaltest.APITestCase import static org.hamcrest.MatcherAssert.assertThat import static org.hamcrest.Matchers.equalTo import static org.hamcrest.Matchers.equalToIgnoringCase import static org.hamcrest.Matchers.hasEntry import static org.hamcrest.Matchers.hasItem import static ...
package heim import com.grailsrocks.functionaltest.APITestCase import static org.hamcrest.MatcherAssert.assertThat import static org.hamcrest.Matchers.equalTo import static org.hamcrest.Matchers.equalToIgnoringCase import static org.hamcrest.Matchers.hasEntry import static org.hamcrest.Matchers.hasItem import static ...
Remove useless sleep from the functional test for files call.
Remove useless sleep from the functional test for files call.
Groovy
apache-2.0
thehyve/heim-SmartR,thehyve/naa-SmartR,thehyve/heim-SmartR,thehyve/heim-SmartR,agapow/smartr,thehyve/naa-SmartR,thehyve/naa-SmartR,agapow/smartr,agapow/smartr,thehyve/heim-SmartR,agapow/smartr
3002ba1623da0c37eccdcaede0463a64cb171ad1
src/main/groovy/org/myire/quill/dashboard/DashboardPlugin.groovy
src/main/groovy/org/myire/quill/dashboard/DashboardPlugin.groovy
/* * Copyright 2015 Peter Franzen. All rights reserved. * * Licensed under the Apache License v2.0: http://www.apache.org/licenses/LICENSE-2.0 */ package org.myire.quill.dashboard import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.Task import org.myire.quill.common.Projects /** * ...
/* * Copyright 2015 Peter Franzen. All rights reserved. * * Licensed under the Apache License v2.0: http://www.apache.org/licenses/LICENSE-2.0 */ package org.myire.quill.dashboard import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.Task import org.gradle.api.plugins.JavaBasePlugin imp...
Apply JavaBasePlugin to make the build task available when the reportsDashboard task is created
Apply JavaBasePlugin to make the build task available when the reportsDashboard task is created
Groovy
apache-2.0
handmadecode/quill
75a975b5a514788154c0abb956c83ca906e1ee63
test/cli/grails/plugin/databasemigration/DbmValidateTests.groovy
test/cli/grails/plugin/databasemigration/DbmValidateTests.groovy
/* Copyright 2010-2011 SpringSource. * * 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...
/* Copyright 2010-2011 SpringSource. * * 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...
Make DbmValidate script work with multiple dataSources. Added multiple datasource tests as well.
Make DbmValidate script work with multiple dataSources. Added multiple datasource tests as well.
Groovy
apache-2.0
zanthrash/grails-database-migration
1d5f48fb3fcc4a111744b33f3f94b03d8783c726
jquality/src/test/groovy/io/gitlab/arturbosch/smartsmells/api/MetricFacadeTest.groovy
jquality/src/test/groovy/io/gitlab/arturbosch/smartsmells/api/MetricFacadeTest.groovy
package io.gitlab.arturbosch.smartsmells.api import io.gitlab.arturbosch.smartsmells.common.Test import spock.lang.Specification /** * @author Artur Bosch */ class MetricFacadeTest extends Specification { def "run metric facade on dummies"() { given: "metric facade" def facade = new MetricFacade() when: "ru...
package io.gitlab.arturbosch.smartsmells.api import io.gitlab.arturbosch.smartsmells.common.Test import spock.lang.Specification import java.util.concurrent.Executors /** * @author Artur Bosch */ class MetricFacadeTest extends Specification { def "run metric facade on dummies"() { given: "metric facade" def ...
Use single thread in test case
Use single thread in test case
Groovy
apache-2.0
arturbosch/SmartSmells,arturbosch/SmartSmells
1dc755dad0ab7b3901482751e174435cb6e1a89a
dsl/vfs/src/main/groovy/org/ysb33r/groovy/dsl/vfs/FileActionException.groovy
dsl/vfs/src/main/groovy/org/ysb33r/groovy/dsl/vfs/FileActionException.groovy
// ============================================================================ // Copyright (C) Schalk W. Cronje 2012 // // This software is licensed under the Apche License 2.0 // See http://www.apache.org/licenses/LICENSE-2.0 for license details // ====================================================================...
// ============================================================================ // Copyright (C) Schalk W. Cronje 2012 // // This software is licensed under the Apche License 2.0 // See http://www.apache.org/licenses/LICENSE-2.0 for license details // ====================================================================...
Copy operation curretnly does not support filters or copying where source is a directory. ONly the low-level functionality is implemented. TH eDSL level cp needs to be updated to call the lower-level correctly.
Copy operation curretnly does not support filters or copying where source is a directory. ONly the low-level functionality is implemented. TH eDSL level cp needs to be updated to call the lower-level correctly.
Groovy
apache-2.0
ysb33r/groovy-vfs,ysb33r/groovy-vfs
0aae19d3aa8207c6dc3ecf0f521ff8002cf774e8
module/geb-spock/src/main/groovy/geb/spock/OnFailureReporter.groovy
module/geb-spock/src/main/groovy/geb/spock/OnFailureReporter.groovy
/* * Copyright 2016 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 2016 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...
Simplify and improve catch block
Simplify and improve catch block
Groovy
apache-2.0
geb/geb,geb/geb
7a6f24059477553a3c00bfaa535fcb5f6993e13d
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.resolver = "maven" grails.project.dependency.resolution = { inherits("global") { } log "warn" repositories { gra...
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.resolver = "maven" grails.project.dependency.resolution = { inherits("global") { } log "warn" repositories { grail...
Switch to Aether dependency manager.
Switch to Aether dependency manager.
Groovy
apache-2.0
donbeave/grails-spring-security-oauth-google
b6410b5505f28a93a9fdfc42fb19e8e959a8c7c9
subprojects/core/src/integTest/groovy/org/gradle/api/ProgressLoggingIntegrationTest.groovy
subprojects/core/src/integTest/groovy/org/gradle/api/ProgressLoggingIntegrationTest.groovy
/* * Copyright 2015 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 2015 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 integration test for operation name change
Fix integration test for operation name change
Groovy
apache-2.0
lsmaira/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gstevey/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,gstevey/gradle,g...
dc3d16f7393463e30295c39b6d36677bab8a3264
src/test/groovy/org/yatech/jedis/collections/UtilsSpec.groovy
src/test/groovy/org/yatech/jedis/collections/UtilsSpec.groovy
package org.yatech.jedis.collections import spock.lang.Specification import static org.yatech.jedis.collections.Utils.assertNotNull import static org.yatech.jedis.collections.Utils.assertTrue /** * <p>Created on 14/05/16 * @author Yinon Avraham */ class UtilsSpec extends Specification { def 'assert true'() {...
package org.yatech.jedis.collections import spock.lang.Specification import static org.yatech.jedis.collections.Utils.assertNotNull import static org.yatech.jedis.collections.Utils.assertTrue /** * <p>Created on 14/05/16 * @author Yinon Avraham */ class UtilsSpec extends Specification { def 'private empty co...
Add test for Utils private empty constructor
Add test for Utils private empty constructor
Groovy
mit
yatechorg/jedis-utils,yatechorg/jedis-utils
12baaab843d63fafc499f2a4b11ee1fb286883f2
src/test/org/codehaus/groovy/reflection/WeakMapTest.groovy
src/test/org/codehaus/groovy/reflection/WeakMapTest.groovy
package org.codehaus.groovy.reflection class WeakMapTest extends GroovyTestCase{ void testClassUnload () { GroovyShell shell = null int SIZE = 1000 for (int i = 0; i != SIZE; ++i) { if (shell == null) shell = new GroovyShell () Script s = shell.parse (""" ...
package org.codehaus.groovy.reflection class WeakMapTest extends GroovyTestCase{ void testClassUnload () { GroovyShell shell = null int SIZE = 1000 for (int i = 0; i != SIZE; ++i) { if (shell == null) shell = new GroovyShell () Script s = shell.parse (""" ...
Remove the printing of the assignable map count since the recent refactoring removed that data structure
Remove the printing of the assignable map count since the recent refactoring removed that data structure git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@13811 a5544e8c-8a19-0410-ba12-f9af4593a198
Groovy
apache-2.0
shils/incubator-groovy,adjohnson916/groovy-core,bsideup/groovy-core,apache/groovy,dpolivaev/groovy,bsideup/groovy-core,nkhuyu/incubator-groovy,traneHead/groovy-core,rabbitcount/incubator-groovy,genqiang/incubator-groovy,adjohnson916/incubator-groovy,alien11689/incubator-groovy,taoguan/incubator-groovy,nkhuyu/incubator-...
e308980fdb68b4052d7bffd3534c078257ccf9ab
groovy/FLExBridgeViews.groovy
groovy/FLExBridgeViews.groovy
/* * Copyright (c) 2017 SIL International * This software is licensed under the MIT license (http://opensource.org/licenses/MIT) */ /* * DSL script for FlexBridge Jenkins views */ //#include utilities/CommonViews.groovy /* Definition of views */ class flexBridgeViews { static void flexBridgeViewAll(viewContext)...
/* * Copyright (c) 2017 SIL International * This software is licensed under the MIT license (http://opensource.org/licenses/MIT) */ /* * DSL script for FlexBridge Jenkins views */ //#include utilities/CommonViews.groovy /* Definition of views */ class flexBridgeViews { static void flexBridgeViewAll(viewContext)...
Fix case on job name for FB view
[flexbridge] Fix case on job name for FB view Change-Id: Iac4a6a9444cd76f7b7b6302c6e1b123f88b4b2ee
Groovy
mit
sillsdev/ci-builder-scripts,sillsdev/ci-builder-scripts,sillsdev/ci-builder-scripts
c30ecd2ec93cb2de624ec944c06354b89214f9c3
src/main/groovy/nebula/plugin/dependencylock/DependencyLockExtension.groovy
src/main/groovy/nebula/plugin/dependencylock/DependencyLockExtension.groovy
/* * Copyright 2014 Netflix, 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 or agreed t...
/* * Copyright 2014 Netflix, 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 or agreed t...
Add lockAtConfigurationPhase to the extension
Add lockAtConfigurationPhase to the extension
Groovy
apache-2.0
nebula-plugins/gradle-dependency-lock-plugin,rspieldenner/gradle-dependency-lock-plugin,rspieldenner/gradle-dependency-lock-plugin
0433a01c9c00dfb7d32cdceafe6630548f6e323c
src/main/groovy/co/grubdice/scorekeeper/model/persistant/Game.groovy
src/main/groovy/co/grubdice/scorekeeper/model/persistant/Game.groovy
package co.grubdice.scorekeeper.model.persistant import com.fasterxml.jackson.annotation.JsonIgnore import groovy.transform.TupleConstructor import org.hibernate.annotations.Columns import org.hibernate.annotations.Type import org.joda.time.DateTime import javax.persistence.* @Entity @Table(name = "games") @TupleCon...
package co.grubdice.scorekeeper.model.persistant import com.fasterxml.jackson.annotation.JsonIgnore import groovy.transform.TupleConstructor import org.hibernate.annotations.Columns import org.hibernate.annotations.Type import org.joda.time.DateTime import javax.persistence.* @Entity @Table(name = "games") @TupleCon...
Sort game results by place ascending
Sort game results by place ascending
Groovy
mit
Grubdice/grubdice,Grubdice/grubdice
fb20154c103bcd638d861761ecfeb53fdcd3a5a9
webtests/webtests-localization/src/test/groovy/woko/webtests/localization/ConfirmDeletePageTest.groovy
webtests/webtests-localization/src/test/groovy/woko/webtests/localization/ConfirmDeletePageTest.groovy
package woko.webtests.localization import woko.webtests.WebTestBase /** * Test the UI of the confirmDelete jsp.<br/> * Feature only available for devel user */ class ConfirmDeletePageTest extends WebTestBase { void testAuthenticationWithHome() { webtest("test confimDelete") { login() ...
package woko.webtests.localization import woko.webtests.WebTestBase /** * Test the UI of the confirmDelete jsp.<br/> * Feature only available for devel user */ class ConfirmDeletePageTest extends WebTestBase { void testAuthenticationWithHome() { webtest("test confimDelete") { login() ...
Remove created instance at the end of the test
Remove created instance at the end of the test
Groovy
apache-2.0
pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko
c73602cc0730a9800960c51d31c541570b8c9b1f
src/main/groovy/com/jvoegele/gradle/enhancements/EclipseEnhancement.groovy
src/main/groovy/com/jvoegele/gradle/enhancements/EclipseEnhancement.groovy
package com.jvoegele.gradle.enhancements import org.gradle.api.Project class EclipseEnhancement extends GradlePluginEnhancement { public EclipseEnhancement(Project project) { super(project) } public void apply() { project.gradle.taskGraph.whenReady { taskGraph -> if (taskGraph.hasTask(':eclipse'...
package com.jvoegele.gradle.enhancements import org.gradle.api.Project import org.gradle.plugins.eclipse.model.BuildCommand class EclipseEnhancement extends GradlePluginEnhancement { public EclipseEnhancement(Project project) { super(project) } public void apply() { project.gradle.taskGraph.whenReady...
Add Android nature and builders to generated Eclipse project files.
Add Android nature and builders to generated Eclipse project files.
Groovy
apache-2.0
t3t5u/gradle-android-plugin,jvoegele/gradle-android-plugin,t3t5u/gradle-android-plugin,jvoegele/gradle-android-plugin
2ec2e3e8953de35d453796be3e242610915f7ee2
subprojects/language-native/src/integTest/groovy/org/gradle/language/swift/plugins/AbstractSwiftPluginIntegrationTest.groovy
subprojects/language-native/src/integTest/groovy/org/gradle/language/swift/plugins/AbstractSwiftPluginIntegrationTest.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...
Disable Swift plugin test on JDK 9
Disable Swift plugin test on JDK 9 JDK 9 doesn't allow modifying the environment variable of the current process which is used for the plugin test.
Groovy
apache-2.0
robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,gradle/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,gstevey/gradle,robinverduijn/gradle,gstevey/gradle,gstevey/g...
f3877e79895c6fbab073be80bb5d6b0b44b2978e
vertx-web-examples-it/src/it/web-examples/src/main/web-template-handlebars-check.groovy
vertx-web-examples-it/src/it/web-examples/src/main/web-template-handlebars-check.groovy
import groovyx.net.http.HTTPBuilder import org.apache.commons.io.IOUtils import static groovyx.net.http.ContentType.TEXT import static groovyx.net.http.Method.GET import static org.assertj.core.api.Assertions.assertThat def http = new HTTPBuilder('http://localhost:8080') http.request(GET, TEXT) { req -> response....
import groovyx.net.http.HTTPBuilder import org.apache.commons.io.IOUtils import static groovyx.net.http.ContentType.TEXT import static groovyx.net.http.Method.GET import static org.assertj.core.api.Assertions.assertThat def http = new HTTPBuilder('http://localhost:8080') http.request(GET, TEXT) { req -> response....
Update tests as the example has been modified
Update tests as the example has been modified
Groovy
apache-2.0
cescoffier/vertx-examples-it,cescoffier/vertx-examples-it
2335013e5bd846940d53296f952365331cff7ac2
pipeline.groovy
pipeline.groovy
#!groovy // This is the initial seed job for venicegeo which creates all of ther // other pipeline jobs. Each repo must contain a JenkinsFile // that denotes the steps to take when building. ...
#!groovy // This is the initial seed job for venicegeo which creates all of ther // other pipeline jobs. Each repo must contain a JenkinsFile // that denotes the steps to take when building. ...
Add description, fix typo for venice/piazza folder
Add description, fix typo for venice/piazza folder
Groovy
apache-2.0
venicegeo/jenkins
6e3472a2745cb0fc978cebca48dab647683bfc49
addons/koji/common/src/main/resources/scripts/stores/koji-repo-creator.groovy
addons/koji/common/src/main/resources/scripts/stores/koji-repo-creator.groovy
package org.commonjava.indy.koji; import org.commonjava.indy.koji.content.KojiContentManagerDecorator import org.commonjava.indy.koji.content.KojiRepositoryCreator import org.commonjava.indy.model.core.HostedRepository import org.commonjava.indy.model.core.RemoteRepository import org.commonjava.maven.atlas.ident.ref.A...
package org.commonjava.indy.koji; import org.commonjava.indy.koji.content.KojiContentManagerDecorator import org.commonjava.indy.koji.content.KojiRepositoryCreator import org.commonjava.indy.model.core.HostedRepository import org.commonjava.indy.model.core.RemoteRepository import org.commonjava.maven.atlas.ident.ref.A...
Fix MissingPropertyException in brew pull once again
Fix MissingPropertyException in brew pull once again For some reason the script is duplicated there...
Groovy
apache-2.0
ligangty/indy,jdcasey/indy,pkocandr/indy,Commonjava/indy,ruhan1/indy,yma88/indy,yma88/indy,Commonjava/indy,ruhan1/indy,yma88/indy,ligangty/indy,jdcasey/indy,jdcasey/indy,yma88/indy,jdcasey/indy,ruhan1/indy,Commonjava/indy,Commonjava/indy,ruhan1/indy,ligangty/indy,pkocandr/indy,jdcasey/indy,pkocandr/indy,ligangty/indy,y...
a033231e223bc7fec108773bec200c5cfb33195b
subprojects/groovy-parser-antlr4/src/test/resources/core/For_05x.groovy
subprojects/groovy-parser-antlr4/src/test/resources/core/For_05x.groovy
import groovy.transform.CompileStatic @CompileStatic def testCS() { int result = 0 for (int i = 0, n = 5; i < n; i++) { result += i } assert 10 == result } testCS(); def test() { int result = 0 for (int i = 0, n = 5; i < n; i++) { result += i } assert 10 == result } t...
import groovy.transform.CompileStatic @CompileStatic def testCS() { int result = 0 for (int i = 0, n = 5; i < n; i++) { result += i } assert 10 == result result = 0; int i; int j; for (i = 1, j = 5; i < j; i++, j--) { result += i; result += j; } assert 1...
Add more test cases for the standard "for" loop statement
Add more test cases for the standard "for" loop statement
Groovy
apache-2.0
jwagenleitner/groovy,apache/groovy,jwagenleitner/groovy,traneHead/groovy-core,jwagenleitner/incubator-groovy,armsargis/groovy,dpolivaev/groovy,dpolivaev/groovy,shils/incubator-groovy,dpolivaev/groovy,jwagenleitner/groovy,armsargis/groovy,russel/incubator-groovy,paulk-asert/groovy,apache/incubator-groovy,apache/groovy,a...
2a47b214a84cf3a47509d12b2f1f6b5b4aa68ce2
src/test/groovy/gldapo/PasswordOperationsIntegrationTest.groovy
src/test/groovy/gldapo/PasswordOperationsIntegrationTest.groovy
package gldapo import gldapo.schema.annotation.GldapoNamingAttribute public class PasswordOperationsIntegrationTest extends AbstractGldapoIntegrationTest { def schemaClasses = [PasswordOperationsIntegrationTestPerson] def newPerson(name, password) { new PasswordOperationsIntegrationTestPerson( ...
package gldapo import gldapo.schema.annotation.GldapoSynonymFor import gldapo.schema.annotation.GldapoNamingAttribute public class PasswordOperationsIntegrationTest extends AbstractGldapoIntegrationTest { def schemaClasses = [PasswordOperationsIntegrationTestPerson] def newPerson(name, password) { new...
Test for reading an object with an existing password
[GLDP-77] Test for reading an object with an existing password
Groovy
apache-2.0
codehaus/gldapo
16d4b7d33a0b16ad97ae3c2ece2a61f245c4d3b0
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/KotlinDslTestUtil.groovy
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/KotlinDslTestUtil.groovy
/* * Copyright 2018 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 2018 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...
Replace `kotlin-dsl` plugin by `kotlin-dsl-base` to avoid the dependency on `java-gradle-plugin`
Replace `kotlin-dsl` plugin by `kotlin-dsl-base` to avoid the dependency on `java-gradle-plugin`
Groovy
apache-2.0
blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,lsmaira/gradle,robinverduijn/gradle,gradl...
aef8d7375e20e5118394ba3c1245206ba91aa405
grails/destressapp/grails-app/domain/org/ifcasl/destress/FeedbackMethod.groovy
grails/destressapp/grails-app/domain/org/ifcasl/destress/FeedbackMethod.groovy
package org.ifcasl.destress class FeedbackMethod { String name String description ScorerType requiresScorerType Boolean showSkillBars Boolean playFeedbackSignal Boolean displayShapes Boolean styleText Boolean selfAssessment static constraints = { name() descrip...
package org.ifcasl.destress class FeedbackMethod { String name String description ScorerType requiresScorerType Boolean showSkillBars Boolean playFeedbackSignal Boolean displayShapes Boolean styleText Boolean displayMessage Boolean selfAssessment static constraints = { ...
Add displayMessage option to FbMethod
Add displayMessage option to FbMethod
Groovy
mit
vakila/de-stress,vakila/de-stress
1e1081639881b83597f7c9504012a56ecc68f1ad
src/main/groovy/com/jvoegele/gradle/enhancements/EclipseEnhancement.groovy
src/main/groovy/com/jvoegele/gradle/enhancements/EclipseEnhancement.groovy
package com.jvoegele.gradle.enhancements import org.gradle.api.Project import org.gradle.plugins.eclipse.model.BuildCommand class EclipseEnhancement extends GradlePluginEnhancement { public EclipseEnhancement(Project project) { super(project) } public void apply() { project.gradle.taskGraph.whenReady...
package com.jvoegele.gradle.enhancements import org.gradle.api.Project import org.gradle.plugins.eclipse.model.BuildCommand class EclipseEnhancement extends GradlePluginEnhancement { public EclipseEnhancement(Project project) { super(project) } public void apply() { project.gradle.taskGraph.whenReady...
Add ANDROID_FRAMEWORK container to Eclipse classpath.
Add ANDROID_FRAMEWORK container to Eclipse classpath.
Groovy
apache-2.0
jvoegele/gradle-android-plugin,t3t5u/gradle-android-plugin,jvoegele/gradle-android-plugin,t3t5u/gradle-android-plugin
9a1997917904cc96f9d598020dfbf9dd2fc43e7a
src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowExtension.groovy
src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowExtension.groovy
package com.github.jengelman.gradle.plugins.shadow import org.gradle.api.Project import org.gradle.api.artifacts.ProjectDependency import org.gradle.api.artifacts.SelfResolvingDependency import org.gradle.api.file.CopySpec import org.gradle.api.publish.maven.MavenPom import org.gradle.api.publish.maven.MavenPublicatio...
package com.github.jengelman.gradle.plugins.shadow import org.gradle.api.Project import org.gradle.api.artifacts.ProjectDependency import org.gradle.api.artifacts.SelfResolvingDependency import org.gradle.api.file.CopySpec import org.gradle.api.publish.maven.MavenPom import org.gradle.api.publish.maven.MavenPublicatio...
Fix retrieval of dependencies node when publishing.
Fix retrieval of dependencies node when publishing.
Groovy
apache-2.0
johnrengelman/shadow,johnrengelman/shadow,johnrengelman/shadow
91b5b3b0cfcff0381855460ac7ccecdc11282762
src/test/resources/GebConfig.groovy
src/test/resources/GebConfig.groovy
/* This is the Geb configuration file. See: http://www.gebish.org/manual/current/configuration.html */ import org.openqa.selenium.chrome.ChromeDriver import org.openqa.selenium.firefox.FirefoxDriver import org.openqa.selenium.phantomjs.PhantomJSDriver waiting { timeout = 2 } environments { // run via “./gra...
/* This is the Geb configuration file. See: http://www.gebish.org/manual/current/#configuration */ import org.openqa.selenium.chrome.ChromeDriver import org.openqa.selenium.firefox.FirefoxDriver import org.openqa.selenium.phantomjs.PhantomJSDriver waiting { timeout = 2 } environments { // run via “./gradlew...
Update Link to geb configuration documentation
Update Link to geb configuration documentation
Groovy
apache-2.0
geb/geb-example-gradle
3197b2637b426f02ebeb1a4902cc1932550ee73c
src/main/groovy/com/github/alexfu/AndroidAutoVersionPlugin.groovy
src/main/groovy/com/github/alexfu/AndroidAutoVersionPlugin.groovy
package com.github.alexfu import groovy.xml.Namespace import groovy.xml.XmlUtil import org.gradle.api.Plugin import org.gradle.api.Project class AndroidAutoVersionPlugin implements Plugin<Project> { private AndroidAutoVersionExtension extension private Version version @Override void apply(Project pro...
package com.github.alexfu import groovy.xml.Namespace import groovy.xml.XmlUtil import org.gradle.api.Plugin import org.gradle.api.Project class AndroidAutoVersionPlugin implements Plugin<Project> { private AndroidAutoVersionExtension extension private Version version @Override void apply(Project pro...
Add support for buildType versionNameSuffix.
Add support for buildType versionNameSuffix.
Groovy
mit
alexfu/androidautoversion
bc82bfbc36fdc5ea3b64ebbd4cc14b8defa6548e
src/main/resources/org/jenkinsci/plugins/github/config/GitHubServerConfig/config.groovy
src/main/resources/org/jenkinsci/plugins/github/config/GitHubServerConfig/config.groovy
package org.jenkinsci.plugins.github.config.GitHubServerConfig import org.jenkinsci.plugins.github.config.GitHubServerConfig def f = namespace(lib.FormTagLib); def c = namespace(lib.CredentialsTagLib) f.entry(title: _("Name"), field: "name") { f.textbox() } f.entry(title: _("API URL"), field: "apiUrl") { f....
package org.jenkinsci.plugins.github.config.GitHubServerConfig import org.jenkinsci.plugins.github.config.GitHubServerConfig def f = namespace(lib.FormTagLib); def c = namespace(lib.CredentialsTagLib) f.entry(title: _("Name"), field: "name") { f.textbox() } f.entry(title: _("API URL"), field: "apiUrl") { f....
Switch labels from entry to checkbox
[JENKINS-55787] Switch labels from entry to checkbox
Groovy
mit
jenkinsci/github-plugin,jenkinsci/github-plugin,jenkinsci/github-plugin
55003bd3e08f3d60681831235095d4c5c6820876
tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/LibraryTests.groovy
tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/LibraryTests.groovy
package org.apache.tapestry5.integration.app1 import org.apache.tapestry5.integration.GroovyTapestryCoreTestCase import org.apache.tapestry5.test.TapestryTestConfiguration import org.testng.annotations.Test @TapestryTestConfiguration(webAppFolder = "src/test/app1") class LibraryTests extends GroovyTapestryCoreTestCas...
package org.apache.tapestry5.integration.app1 import org.apache.tapestry5.integration.GroovyTapestryCoreTestCase import org.apache.tapestry5.test.TapestryTestConfiguration import org.testng.annotations.Test @TapestryTestConfiguration(webAppFolder = "src/test/app1") class LibraryTests extends GroovyTapestryCoreTestCas...
Adjust for change to default asset path prefix
Adjust for change to default asset path prefix
Groovy
apache-2.0
apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5
0df9bb3de2544d54bd4aa501f94ea8541de70da4
src/main/groovy/nebula/plugin/release/git/opinion/TimestampUtil.groovy
src/main/groovy/nebula/plugin/release/git/opinion/TimestampUtil.groovy
/* * Copyright 2019 Netflix, 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 or agreed t...
/* * Copyright 2019 Netflix, 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 or agreed t...
Change precision of immutable snapshot to YYYYMMddHHmm
Change precision of immutable snapshot to YYYYMMddHHmm
Groovy
apache-2.0
nebula-plugins/nebula-release-plugin
108451fde0a7d67e5411f667ee9d58a8e211ddac
examples/grails31-hibernate5/src/integration-test/groovy/functional/tests/ProductSpec.groovy
examples/grails31-hibernate5/src/integration-test/groovy/functional/tests/ProductSpec.groovy
package functional.tests import another.Item import grails.test.mixin.integration.Integration import grails.transaction.Rollback import groovy.transform.NotYetImplemented import spock.lang.Specification /** * Created by graemerocher on 02/01/2017. */ @Integration class ProductSpec extends Specification { @Roll...
package functional.tests import another.Item import grails.test.mixin.integration.Integration import grails.transaction.Rollback import groovy.transform.NotYetImplemented import spock.lang.Specification /** * Created by graemerocher on 02/01/2017. */ @Integration class ProductSpec extends Specification { @Roll...
Revert "Remove @NotYetImplemented for test that is now implemented"
Revert "Remove @NotYetImplemented for test that is now implemented" This reverts commit 962d72482ebd708a2be0a30f925ac835c48b6de1.
Groovy
apache-2.0
grails/gorm-hibernate5
39c571d54d0e3d001646ec5d40710555ae4446af
broker/src/main/groovy/com/swisscom/cloud/sb/broker/cfextensions/extensions/Extension.groovy
broker/src/main/groovy/com/swisscom/cloud/sb/broker/cfextensions/extensions/Extension.groovy
package com.swisscom.cloud.sb.broker.cfextensions.extensions import groovy.transform.CompileStatic @CompileStatic class Extension { String discovery_url String server_url Map<String, Map<String, String>> credentials String altInstanceId String adheresTo }
package com.swisscom.cloud.sb.broker.cfextensions.extensions import groovy.transform.CompileStatic @CompileStatic class Extension { String discovery_url String server_url Map<String, Map<String, String>> credentials String adheresTo }
Remove alt instance id key
Remove alt instance id key
Groovy
apache-2.0
swisscom/open-service-broker,swisscom/open-service-broker
8a5f96039664ced22b3a5b609da56991bd3ead68
cj-btc-jsonrpc/src/test/groovy/com/msgilligan/bitcoinj/rpc/RpcURISpec.groovy
cj-btc-jsonrpc/src/test/groovy/com/msgilligan/bitcoinj/rpc/RpcURISpec.groovy
package com.msgilligan.bitcoinj.rpc import spock.lang.Specification /** * Check URI constants for correctness */ class RpcURISpec extends Specification { def "test URI creation methods" () { expect: RpcURI.defaultMainNetURI == "http://127.0.0.1:8332/".toURI() RpcURI.defaultTestNetURI == ...
package com.msgilligan.bitcoinj.rpc import spock.lang.Specification /** * Check URI constants for correctness */ class RpcURISpec extends Specification { def "test URI creation methods" () { expect: RpcURI.defaultMainNetURI == "http://127.0.0.1:8332/".toURI() RpcURI.defaultTestNetURI == ...
Update test for RegTestPort 18443 on Bitcoin Core 0.16.0 and later
Update test for RegTestPort 18443 on Bitcoin Core 0.16.0 and later
Groovy
apache-2.0
msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons
7db120c6e36eaee515098f60cb19d6035f78283d
debian-pom/java-pom/jenkins-pom/jenkins-base/src/main/resources/ref/init.groovy.d/basic-security.groovy
debian-pom/java-pom/jenkins-pom/jenkins-base/src/main/resources/ref/init.groovy.d/basic-security.groovy
#!groovy import jenkins.model.* import hudson.security.* def instance = Jenkins.getInstance() println "--> creating local user 'admin'" def hudsonRealm = new HudsonPrivateSecurityRealm(false) hudsonRealm.createAccount('admin','admin') instance.setSecurityRealm(hudsonRealm) def strategy = new FullControlOnceLoggedI...
#!groovy import jenkins.model.* import hudson.security.* println "--> creating local user 'admin'" def instance = Jenkins.getInstance() def hudsonRealm = new HudsonPrivateSecurityRealm(false) def strategy = new FullControlOnceLoggedInAuthorizationStrategy() hudsonRealm.createAccount('admin','admin') instance.setSec...
Fix for not overwriting the config.xml if Jenkins is restarted
Fix for not overwriting the config.xml if Jenkins is restarted
Groovy
mit
chrisipa/docker-library,chrisipa/docker-library
eba3e2b0bcdad328c80c415106b91162e5c8d2c3
gui-whelktool/src/main/resources/templates/create-hold.groovy
gui-whelktool/src/main/resources/templates/create-hold.groovy
PrintWriter failedHoldIDs = getReportWriter("failed-to-create-holdIDs") PrintWriter createdHoldIDs = getReportWriter("attempted-to-create-holdIDs") File bibids = new File('INPUT') String bibidstring = bibids.readLines().join("','") def holdList = [] selectBySqlWhere("data#>>'{@graph,0,controlNumber}' in ( '$bibidstr...
PrintWriter failedHoldIDs = getReportWriter("failed-to-create-holdIDs") PrintWriter createdHoldIDs = getReportWriter("attempted-to-create-holdIDs") File bibids = new File('INPUT') String bibidstring = bibids.readLines().join("','") Vector holdList = new Vector() // Vector because it must be synchronized selectBySqlW...
Fix a syncronization bug in the whelk GUI tool.
Fix a syncronization bug in the whelk GUI tool.
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
85aa969f83489b2aca10498ac9248c6a6c07d50b
subprojects/platform-jvm/src/integTest/groovy/org/gradle/jvm/toolchain/ShowToolchainsIntegrationTest.groovy
subprojects/platform-jvm/src/integTest/groovy/org/gradle/jvm/toolchain/ShowToolchainsIntegrationTest.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...
Disable test until tasks is supported by the configuration cache
Disable test until tasks is supported by the configuration cache
Groovy
apache-2.0
gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,grad...
795373c3ec0fd3b39db0b61c9ebf27b61edfa55f
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/GradleMetadataResolveRunner.groovy
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/GradleMetadataResolveRunner.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...
Change name of internal flag for readability
Change name of internal flag for readability
Groovy
apache-2.0
blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,blindp...
38115794a7c19a05c437ba34c1a85eb51d7446a7
broker/core/src/main/groovy/com/swisscom/cloud/sb/broker/util/ParentServiceProvider.groovy
broker/core/src/main/groovy/com/swisscom/cloud/sb/broker/util/ParentServiceProvider.groovy
package com.swisscom.cloud.sb.broker.util import com.swisscom.cloud.sb.broker.model.Parameter import com.swisscom.cloud.sb.broker.model.ServiceInstance trait ParentServiceProvider { private static final String MAX_CHILDREN = "max_children" boolean hasActiveChildren(ServiceInstance serviceInstance) { ...
package com.swisscom.cloud.sb.broker.util import com.swisscom.cloud.sb.broker.model.LastOperation import com.swisscom.cloud.sb.broker.model.Parameter import com.swisscom.cloud.sb.broker.model.ServiceInstance import com.swisscom.cloud.sb.broker.model.repository.LastOperationRepository import org.springframework.beans.f...
Fix failed provision count as active children.
Fix failed provision count as active children.
Groovy
apache-2.0
swisscom/open-service-broker,swisscom/open-service-broker
2612c664ec3cd7c21626b14454cb53afdaf22abc
test/unit/com/recomdata/transmart/data/association/RModulesOutputRenderServiceTests.groovy
test/unit/com/recomdata/transmart/data/association/RModulesOutputRenderServiceTests.groovy
package com.recomdata.transmart.data.association import grails.test.mixin.TestFor import org.junit.Before @TestFor(RModulesOutputRenderService) class RModulesOutputRenderServiceTests { @Before void before() { grailsApplication.config.RModules.tempFolderDirectory = System.t } }
package com.recomdata.transmart.data.association import grails.test.mixin.TestFor import org.junit.Before import org.junit.Test import org.gmock.WithGMock import static org.hamcrest.MatcherAssert.assertThat import static org.hamcrest.Matchers.* @TestFor(RModulesOutputRenderService) @WithGMock class RModulesOutputRe...
Implement test for output render service
Implement test for output render service
Groovy
apache-2.0
wimvanderlinden/Rmodules,UMich-Transmart/Rmodules,thehyve/Rmodules,thehyve/Rmodules,UMich-Transmart/Rmodules,cdejonge/Rmodules,UMich-Transmart/Rmodules,wimvanderlinden/Rmodules,transmart/Rmodules,UMich-Transmart/Rmodules,cdejonge/Rmodules,wimvanderlinden/Rmodules,thehyve/heim-Rmodules,thehyve/heim-Rmodules,wimvanderlin...
eb60554e0ac25bf4c0def4509ff0170e8b2df398
grails-app/domain/org/bbop/apollo/UserOrganismPreference.groovy
grails-app/domain/org/bbop/apollo/UserOrganismPreference.groovy
package org.bbop.apollo class UserOrganismPreference extends UserPreference{ static constraints = { organism nullable: false currentOrganism nullable: false nativeTrackList nullable: true sequence nullable: true, blank: false startbp nullable: true, blank: false end...
package org.bbop.apollo class UserOrganismPreference extends UserPreference{ static constraints = { organism nullable: false currentOrganism nullable: false nativeTrackList nullable: true sequence nullable: true, blank: false startbp nullable: true, blank: false end...
Use Boolean instead of boolean since it is nullable
Use Boolean instead of boolean since it is nullable
Groovy
bsd-3-clause
erasche/Apollo,erasche/Apollo,erasche/Apollo,erasche/Apollo,erasche/Apollo
a88c98db78cd16a44fe6c060e1bb940f8b33a8f6
subprojects/demo-javafx/combined/src/main/groovy/com/canoo/dolphin/demo/InMemoryConfig.groovy
subprojects/demo-javafx/combined/src/main/groovy/com/canoo/dolphin/demo/InMemoryConfig.groovy
package com.canoo.dolphin.demo import com.canoo.dolphin.LogConfig import com.canoo.dolphin.core.client.comm.InMemoryClientConnector import com.canoo.dolphin.core.server.comm.Receiver import com.canoo.dolphin.core.server.action.StoreAttributeAction import com.canoo.dolphin.core.server.action.StoreValueChangeAction imp...
package com.canoo.dolphin.demo import com.canoo.dolphin.LogConfig import com.canoo.dolphin.core.client.comm.InMemoryClientConnector import com.canoo.dolphin.core.server.comm.Receiver import com.canoo.dolphin.core.server.action.StoreAttributeAction import com.canoo.dolphin.core.server.action.StoreValueChangeAction imp...
Use JavaFXUiThreadHandler instead of ad-hoc proxied closure
Use JavaFXUiThreadHandler instead of ad-hoc proxied closure
Groovy
apache-2.0
canoo/open-dolphin,DaveKriewall/open-dolphin,DaveKriewall/open-dolphin,nagyistoce/open-dolphin,Poundex/open-dolphin,Poundex/open-dolphin,gemaSantiago/open-dolphin,canoo/open-dolphin,nagyistoce/open-dolphin,Poundex/open-dolphin,janih/open-dolphin,gemaSantiago/open-dolphin,janih/open-dolphin,janih/open-dolphin,Poundex/op...
1f72eafa569617cf669500ae47c7283dda851a32
src/test/groovy/grails/test/mixin/support/GrailsUnitTestMixinGrailsApplicationAwareSpec.groovy
src/test/groovy/grails/test/mixin/support/GrailsUnitTestMixinGrailsApplicationAwareSpec.groovy
package grails.test.mixin.support import grails.test.mixin.TestMixin import org.codehaus.groovy.grails.commons.GrailsApplication import org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAware import spock.lang.Specification @TestMixin(GrailsUnitTestMixin) class GrailsUnitTestMixinGrailsApplicationAw...
package grails.test.mixin.support import grails.core.GrailsApplication import grails.core.support.GrailsApplicationAware import grails.test.mixin.TestMixin import spock.lang.Specification @TestMixin(GrailsUnitTestMixin) class GrailsUnitTestMixinGrailsApplicationAwareSpec extends Specification { static doWithSpri...
Fix test so it addresses both the old and new GrailsApplicationAware
Fix test so it addresses both the old and new GrailsApplicationAware Related to commit bb4fbb52cb90a3d5f1b2b3081bbbd35c46eef842
Groovy
apache-2.0
grails-plugins/grails-test-mixin-plugin,grails-plugins/grails-test-mixin-plugin
595edb425dfe7b7bd315791951c970448fe41987
site/src/site/pages/sdks.groovy
site/src/site/pages/sdks.groovy
layout 'layouts/main.groovy', true, pageTitle: 'Available SDKs - SDKMAN!', mainContent: contents { div(id: 'content') { div(class: 'row') { div(class: 'col-lg-10') { h3('SDK Candidates available for installation on SDKMAN!') ...
layout 'layouts/main.groovy', true, pageTitle: 'Available SDKs - SDKMAN!', mainContent: contents { div(id: 'content', class: 'page-1') { div(class: 'row') { div(class: 'row-fluid') { div(class: 'col-lg-3') { ...
Make SDK page conform with styling of site.
Make SDK page conform with styling of site.
Groovy
apache-2.0
sdkman/sdkman-website,dmesu/sdkman-website,sdkman/sdkman-website,dmesu/sdkman-website
8548704274edf80675c5c5528237a51b149cf2f6
impl/src/test/java/org/dukecon/integration/DukeconServerApplicationSpec.groovy
impl/src/test/java/org/dukecon/integration/DukeconServerApplicationSpec.groovy
package org.dukecon.integration import groovy.transform.TypeChecked import org.dukecon.DukeConServerApplication import org.dukecon.model.Talk import org.dukecon.server.business.TalkProvider import org.springframework.boot.test.IntegrationTest import org.springframework.boot.test.SpringApplicationContextLoader import o...
package org.dukecon.integration import groovy.transform.TypeChecked import javax.inject.Inject import org.dukecon.DukeConServerApplication import org.dukecon.model.Talk import org.dukecon.server.business.TalkProvider import org.springframework.boot.test.IntegrationTest import org.springframework.boot.test.SpringAppl...
Allow for random server port during testing
Allow for random server port during testing
Groovy
mit
jugda/dukecon_server,dukecon/dukecon_server,jugda/dukecon_server,jugda/dukecon_server,dukecon/dukecon_server,dukecon/dukecon_server
86c54ca307f5c3653c7812409f1e41d931d43cd9
src/main/groovy/org/gradle/api/plugins/docker/tasks/container/DockerExistingContainer.groovy
src/main/groovy/org/gradle/api/plugins/docker/tasks/container/DockerExistingContainer.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...
Handle convention mapping internally and expose method for setting the container ID.
Handle convention mapping internally and expose method for setting the container ID.
Groovy
apache-2.0
mjacques/gradle-docker-plugin,mjacques/gradle-docker-plugin,cdancy/gradle-docker-plugin,bmuschko/gradle-docker-plugin,odybour/gradle-docker-plugin,cdancy/gradle-docker-plugin,bmuschko/gradle-docker-plugin,odybour/gradle-docker-plugin,orzeh/gradle-docker-plugin,childnode/gradle-docker-plugin,llamahunter/gradle-docker-pl...
a2d9b7e752179bca9712a10bfc255fc3f8175cb1
subprojects/performance/src/testFixtures/groovy/org/gradle/performance/fixture/Git.groovy
subprojects/performance/src/testFixtures/groovy/org/gradle/performance/fixture/Git.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 applica...
/* * 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 applica...
Fix NPE in :performance:test when building in detched HEAD state
Fix NPE in :performance:test when building in detched HEAD state
Groovy
apache-2.0
lsmaira/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,gstevey/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gstevey/gradle,lsmaira/gradle,blindpira...
031d5c68642a27b107e6f739c429994e59301ee2
subprojects/scala/src/integTest/groovy/org/gradle/integtests/fixtures/ZincCoverage.groovy
subprojects/scala/src/integTest/groovy/org/gradle/integtests/fixtures/ZincCoverage.groovy
/* * Copyright 2015 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 2015 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...
Drop unsupported versions from Zinc coverage
Drop unsupported versions from Zinc coverage Issue #15491
Groovy
apache-2.0
gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpira...
8d8587963fcc6e51af373fab7e7c2831cafceeba
jenkins/kubectl/madcore_kubectl_create.groovy
jenkins/kubectl/madcore_kubectl_create.groovy
job('madcore.kubectl.create') { parameters { stringParam('FILENAME', '', '') } steps { def command = """#!/bin/bash pushd /opt/madcore/kubernetes/kubectl bash create.sh "/opt/plugins/pods/\$FILENAME" popd """ shell(command) } }
job('madcore.kubectl.create') { parameters { stringParam('FILENAME', '', '') } steps { def command = """#!/bin/bash pushd /opt/madcore/kubernetes/kubectl bash create.sh "/opt/plugins/\$FILENAME" popd """ shell(command) } }
Fix kub create plugin path
Fix kub create plugin path
Groovy
mit
madcore-ai/core,madcore-ai/core
91f8c800997d8820afbc6a23d7df79d269c2e28b
src/main/groovy/io/jetpacker/api/web/GeneratorController.groovy
src/main/groovy/io/jetpacker/api/web/GeneratorController.groovy
package io.jetpacker.api.web import io.jetpacker.api.configuration.JetpackerProperties import io.jetpacker.api.core.GeneratorService import org.springframework.beans.factory.annotation.Autowired import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.RestController /**...
package io.jetpacker.api.web import io.jetpacker.api.configuration.JetpackerProperties import io.jetpacker.api.core.GeneratorService import org.springframework.beans.factory.annotation.Autowired import org.springframework.web.bind.annotation.CrossOrigin import org.springframework.web.bind.annotation.GetMapping import ...
Add @CrossOrigin and map the controller to '/generator'
Add @CrossOrigin and map the controller to '/generator'
Groovy
mit
jetpacker/jetpacker-api
87f51afc9e9f315872a4218bd79c981981ecb4ea
orca-clouddriver/src/main/groovy/com/netflix/spinnaker/orca/clouddriver/tasks/providers/titus/TitusJobRunner.groovy
orca-clouddriver/src/main/groovy/com/netflix/spinnaker/orca/clouddriver/tasks/providers/titus/TitusJobRunner.groovy
/* * Copyright 2016 Netflix, 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 or agreed to i...
/* * Copyright 2016 Netflix, 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 or agreed to i...
Copy credentials from stage into the orca stage for titus job runner to avoid repetition in the runJob definition for titus
Copy credentials from stage into the orca stage for titus job runner to avoid repetition in the runJob definition for titus
Groovy
apache-2.0
cfieber/orca,robfletcher/orca,duftler/orca,ttomsu/orca,Nagarajj/orca,ttomsu/orca,duftler/orca,ttomsu/orca,cfieber/orca,ttomsu/orca,ajordens/orca,ajordens/orca,robfletcher/orca,duftler/orca,cfieber/orca,Nagarajj/orca,spinnaker/orca,Nagarajj/orca,ajordens/orca,spinnaker/orca,cfieber/orca,spinnaker/orca,ajordens/orca,robf...
2628526797f3dfc867cb08eee75b6be5e5af5493
src/test/groovy/DownUpStepTest.groovy
src/test/groovy/DownUpStepTest.groovy
public class DownUpStepTest extends GroovyTestCase { void testDownto() { z = 0.0 (10.5).downto(5.9) { z += it } assert z == 10.5 + 9.5 + 8.5 + 7.5 + 6.5 assert z == 42.5 } void testUpto() { z = 0.0 (3.1).upto(7.2) { z += it } assert z == 3.1 + 4.1 + ...
public class DownUpStepTest extends GroovyTestCase { void testDownto() { z = 0.0 (10.5).downto(5.9) { z += it } assert z == 10.5 + 9.5 + 8.5 + 7.5 + 6.5 assert z == 42.5 } void testUpto() { z = 0.0 (3.1).upto(7.2) { z += it } assert z == 3.1 + 4.1 + ...
Fix a test method: testDownStep()
Fix a test method: testDownStep() git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@2163 a5544e8c-8a19-0410-ba12-f9af4593a198
Groovy
apache-2.0
paulk-asert/incubator-groovy,bsideup/incubator-groovy,nobeans/incubator-groovy,pickypg/incubator-groovy,kidaa/incubator-groovy,sagarsane/groovy-core,ChanJLee/incubator-groovy,mariogarcia/groovy-core,graemerocher/incubator-groovy,pledbrook/incubator-groovy,paulk-asert/incubator-groovy,traneHead/groovy-core,pickypg/incub...
01b2d9bbb8e53d5948bf1f588be3ae892e0805d1
subprojects/language-native/src/integTest/groovy/org/gradle/language/swift/plugins/AbstractSwiftPluginIntegrationTest.groovy
subprojects/language-native/src/integTest/groovy/org/gradle/language/swift/plugins/AbstractSwiftPluginIntegrationTest.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...
Add comment explaining the JDK 9 restriction
Add comment explaining the JDK 9 restriction
Groovy
apache-2.0
robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,gstevey/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,gstevey/gradle,lsmaira/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,ls...
f86ce85021cbe2cb62e527f3ca036f7416059312
templates/post-build-set-commit-status.groovy
templates/post-build-set-commit-status.groovy
import hudson.model.Result; import org.kohsuke.github.GHCommitState; import com.cloudbees.jenkins.GitHubRepositoryNameContributor; def result = manager.build.getResult() try { def commit_status_context = manager.envVars['COMMIT_STATUS_CONTEXT'] } catch(e) { def commit_status_context = 'default' } def state =...
import hudson.model.Result; import org.kohsuke.github.GHCommitState; import com.cloudbees.jenkins.GitHubRepositoryNameContributor; def result = manager.build.getResult() def commit_status_context = 'default' try { commit_status_context = manager.envVars['COMMIT_STATUS_CONTEXT'] } catch(e) { println 'Defaultin...
Bring `commit_status_context` to the outer scope.
Bring `commit_status_context` to the outer scope.
Groovy
apache-2.0
saltstack/jenkins-dsl-jobs
0b0516e0e1747bb803d738c990552861cc7fae46
subprojects/files/src/test/groovy/org/gradle/internal/file/impl/WindowsSymbolicLinkDeleterTest.groovy
subprojects/files/src/test/groovy/org/gradle/internal/file/impl/WindowsSymbolicLinkDeleterTest.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...
Revert "Temporarily ignore tests that fail on Windows 10"
Revert "Temporarily ignore tests that fail on Windows 10" This reverts commit a14990b5
Groovy
apache-2.0
blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpira...
b020687c5d553e9be3cc3cbd5af76634bec779c8
subprojects/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/HttpResourceAccessorIntegrationTest.groovy
subprojects/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/HttpResourceAccessorIntegrationTest.groovy
/* * Copyright 2016 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 2016 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 the issue annotation to the test
Add the issue annotation to the test +review REVIEW-6323
Groovy
apache-2.0
gstevey/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinver...
5b9f6c868427c7ddb8e5bed4825e9eebda5f7f92
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
bd30c741af443de3262991e885ca6c99cf9bc260
test/app/plugin-not-installed/grails-app/controllers/FooController.groovy
test/app/plugin-not-installed/grails-app/controllers/FooController.groovy
import grails.util.GrailsUtil import grails.converters.XML class FooController { FooService fooService def execute = { try { fooService.execute() } catch(e) { GrailsUtil.deepSanitize(e).printStackTrace() } render Foo.getAll() as XML } def chec...
import grails.util.GrailsUtil import grails.converters.XML class FooController { FooService fooService def execute = { invokeTransactionalMethod { fooService.execute() } } def checked = { invokeTransactionalMethod { fooService.checked() } } def unchecked = { invokeTr...
Reduce copy/paste code in a test controller.
Reduce copy/paste code in a test controller.
Groovy
mit
mbezjak/rollback-on-exception
d0984eec8c5e89778769a8078622b811e47c5980
src/test/groovy/rx/lang/groovy/TestParallel.groovy
src/test/groovy/rx/lang/groovy/TestParallel.groovy
/** * Copyright 2013 Netflix, 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 or agreed ...
/** * Copyright 2013 Netflix, 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 or agreed ...
Migrate code to use rx.schedulers instead of rx.concurrency
Migrate code to use rx.schedulers instead of rx.concurrency Unit tests passed before and after (did change in multiple steps to assert unit test pass against rx.concurrency before migrating to rx.schedulers).
Groovy
apache-2.0
aaronzirbes/RxGroovy,aaronzirbes/RxGroovy,ReactiveX/RxGroovy,ReactiveX/RxGroovy
50f3d41d76c7bdc0b323906cb42c6b0f7ab96247
grails-app/utils/org/icescrum/codecs/ProjectKeyCodec.groovy
grails-app/utils/org/icescrum/codecs/ProjectKeyCodec.groovy
/* * Copyright (c) 2015 Kagilum SAS * * This file is part of iceScrum. * * iceScrum 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. * * iceScrum is distributed ...
/* * Copyright (c) 2015 Kagilum SAS * * This file is part of iceScrum. * * iceScrum 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. * * iceScrum is distributed ...
Fix project key decoding when already decoded (e.g. entry point)
Fix project key decoding when already decoded (e.g. entry point)
Groovy
agpl-3.0
icescrum/iceScrum,icescrum/iceScrum
9f2cef9202123409531b14761da603bf6cd50a06
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/versions/KotlinGradlePluginVersions.groovy
subprojects/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/versions/KotlinGradlePluginVersions.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...
Add Kotlin 1.5.10 to list of tested versions
Add Kotlin 1.5.10 to list of tested versions
Groovy
apache-2.0
gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpira...
6d90da2dc5227786c17fb6ffba2b3c2c835d055c
whelktool/scripts/cleanups/2020/01/lxl-2460.groovy
whelktool/scripts/cleanups/2020/01/lxl-2460.groovy
PrintWriter failedHoldIDs = getReportWriter("failed-holdIDs") PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") String where = "data#>'{@graph,1,hasComponent}' @> '[{\"@type\": \"Item\", \"heldBy\": {\"@id\": \"https://libris.kb.se/library/Jox\"}}]'" selectBySqlWhere(where, silent: false) { hold...
PrintWriter failedHoldIDs = getReportWriter("failed-holdIDs") PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") String where = "data#>'{@graph,1,hasComponent}' @> '[{\"@type\": \"Item\", \"heldBy\": {\"@id\": \"https://libris.kb.se/library/Jox\"}}]' or data#>>'{@graph,1,heldBy,@id}' = 'https://li...
Change the script to be LOUD, and also cover any potential cases where the Jox sigel was not in the hasComponent part.
Change the script to be LOUD, and also cover any potential cases where the Jox sigel was not in the hasComponent part.
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
f6863664f7187c54a23b3c17cda4d201d78ae64b
ExtendedDependencyManagerGrailsPlugin.groovy
ExtendedDependencyManagerGrailsPlugin.groovy
class ExtendedDependencyManagerGrailsPlugin { // the plugin version def version = "0.5" def grailsVersion = "2.0 > *" def title = "Extended Dependency Manager Plugin" def author = "David Dawson" def authorEmail = "david.dawson@simplicityitself.com" def description = '''\ Provides a simp...
class ExtendedDependencyManagerGrailsPlugin { // the plugin version def version = "0.5.1" def grailsVersion = "2.0 > *" def title = "Extended Dependency Manager Plugin" def author = "David Dawson" def authorEmail = "david.dawson@simplicityitself.com" def description = '''\ Provides a si...
Make aether consistent with the Ivy behaviour. No recursive/ transitive resolution.
Make aether consistent with the Ivy behaviour. No recursive/ transitive resolution.
Groovy
apache-2.0
simplicityitself/grails-dependency-manager
683da43d04aa71178f7ab4c7e94e274822a68911
grails-app/conf/BuildConfig.groovy
grails-app/conf/BuildConfig.groovy
grails.project.repos.grailsCentral.username = System.getenv("GRAILS_CENTRAL_USERNAME") grails.project.repos.grailsCentral.password = System.getenv("GRAILS_CENTRAL_PASSWORD") grails.project.work.dir = "target" grails.project.dependency.resolution = { inherits("global") repositories { grailsCentral() ...
grails.project.repos.grailsCentral.username = System.getenv("GRAILS_CENTRAL_USERNAME") grails.project.repos.grailsCentral.password = System.getenv("GRAILS_CENTRAL_PASSWORD") grails.project.work.dir = "target" grails.project.dependency.resolution = { inherits("global") repositories { grailsCentral() ...
Remove spring-test dependency - it's not used and not necessary
Remove spring-test dependency - it's not used and not necessary
Groovy
apache-2.0
gpc/grails-mail,grails3-plugins/mail,puneetbehl/grails3mail-plugin,gpc/grails-mail
c4529c5aa489e7e69852c99054d056bba17a772b
master/config/securityLDAP.groovy
master/config/securityLDAP.groovy
import java.lang.System import jenkins.model.* import hudson.security.* import jenkins.security.plugins.ldap.*; def home_dir = System.getenv("JENKINS_HOME") def propFile = new File("${home_dir}/props/security.properties") if (!propFile.exists()){ propFile = new File("${home_dir}/security.properties") } def propert...
import java.lang.System import jenkins.model.* import hudson.security.* import jenkins.security.plugins.ldap.*; def home_dir = System.getenv("JENKINS_HOME") def propFile = new File("${home_dir}/props/security.properties") if (!propFile.exists()){ propFile = new File("${home_dir}/security.properties") } def propert...
Allow to choose LDAP group membership strategy
Allow to choose LDAP group membership strategy
Groovy
apache-2.0
sergeyhush/docker-jenkins
ae6b437a8d07345fcfb7cc0303475377f2235744
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
JacobSheppard/baseball,bryantrobbins/baseball,JacobSheppard/baseball,SMxJrz/baseball,bryantrobbins/baseball,SMxJrz/baseball,SMxJrz/baseball,bryantrobbins/baseball,JacobSheppard/baseball,JacobSheppard/baseball,SMxJrz/baseball,JacobSheppard/baseball,SMxJrz/baseball,bryantrobbins/baseball,bryantrobbins/baseball
305927b4f380412c4fbd8a99a4e2d659a3c3fe63
grails-app/conf/BuildConfig.groovy
grails-app/conf/BuildConfig.groovy
grails.project.dependency.resolution = { inherits("global") { } log "warn" plugins{ test "org.grails.plugins:code-coverage:1.2.4" test "org.grails.plugins:spock:0.5-groovy-1.7" } repositories { mavenLocal() mavenCentral() grailsPlugins() grailsHome() grailsCentral() } dependencies ...
grails.project.dependency.resolution = { inherits("global") { } log "warn" plugins{ test "org.grails.plugins:code-coverage:1.2.4" { export = false } test "org.grails.plugins:spock:0.5-groovy-1.7" { export = false } } repositories { mavenLocal() mavenCentral() grailsPlugins() grailsHome() ...
Add { export = false } to avoid problems in Gails 2.0.1 with wrong dependencies on spock and groovy 1.7.x
Add { export = false } to avoid problems in Gails 2.0.1 with wrong dependencies on spock and groovy 1.7.x
Groovy
apache-2.0
domix/avatarplugin
65494683be331a416bd649deaa61eb404d31ac26
grails-app/conf/Config.groovy
grails-app/conf/Config.groovy
// configuration for plugin testing - will not be included in the plugin zip log4j = { error 'org.codehaus.groovy.grails.web.servlet', // controllers 'org.codehaus.groovy.grails.web.pages', // GSP 'org.codehaus.groovy.grails.web.sitemesh', // layouts 'org.codehaus.groovy.grail...
// configuration for plugin testing - will not be included in the plugin zip log4j = { error 'org.codehaus.groovy.grails.web.servlet', // controllers 'org.codehaus.groovy.grails.web.pages', // GSP 'org.codehaus.groovy.grails.web.sitemesh', // layouts 'org.codehaus.groovy.grail...
Disable gorm from converting empty string to null
Disable gorm from converting empty string to null
Groovy
apache-2.0
agapow/smartr,agapow/smartr,thehyve/heim-SmartR,thehyve/heim-SmartR,thehyve/naa-SmartR,thehyve/naa-SmartR,agapow/smartr,thehyve/naa-SmartR,agapow/smartr,thehyve/heim-SmartR,thehyve/heim-SmartR
0739f388946212c7ca3a2c24dab0e81146e3e4c8
grails-app/conf/DataSource.groovy
grails-app/conf/DataSource.groovy
dataSource { pooled = true driverClassName = "org.h2.Driver" username = "sa" password = "" } hibernate { cache.use_second_level_cache = true cache.use_query_cache = false cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory' } // environment specific settings environments { devel...
dataSource { pooled = true driverClassName = "org.h2.Driver" username = "sa" password = "" } hibernate { cache.use_second_level_cache = true cache.use_query_cache = false cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory' } // environment specific settings environments { devel...
Return tests to in memory DB.
project: Return tests to in memory DB.
Groovy
apache-2.0
ausaccessfed/applicationbase,ausaccessfed/applicationbase,ausaccessfed/applicationbase,University-of-Auckland/applicationbase,University-of-Auckland/applicationbase,University-of-Auckland/applicationbase
bb8f8ca22bb0e59b65ed603a49fb973a61e41b4e
jenkins/jenkins-build-images.groovy
jenkins/jenkins-build-images.groovy
def run_test(dockerImg, python_name, version) { def id = dockerImg.id echo "My id is $id" try { dockerImg.inside { sh "$python_name /tmp/verify_image.py" } dockerImg.tag(version, true) dockerImg.tag('latest', true) } catch (Exception e) { error('BUILD FAILED FOR IMAGENAME '+id) } fin...
def run_test(dockerImg, python_name, version) { def id = dockerImg.id echo "My id is $id" try { dockerImg.inside { sh "$python_name /tmp/verify_image.py" } dockerImg.tag(version, true) dockerImg.tag('latest', true) } catch (Exception e) { error('BUILD FAILED FOR IMAGENAME '+id) } fin...
Set dockerfile rebuild branch to master
Set dockerfile rebuild branch to master
Groovy
apache-2.0
satish-suradkar/pyresttest,netjunki/pyresttest,svanoort/pyresttest,satish-suradkar/pyresttest,netjunki/pyresttest,svanoort/pyresttest
19f8334dc4044a512b33c926ec8e2e141c03a4a7
src/main/rt/griffon/app/RootFactory.groovy
src/main/rt/griffon/app/RootFactory.groovy
/* * Copyright 2009-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 ap...
/* * Copyright 2009-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 ap...
Make sure root() is marked as a leaf node
Make sure root() is marked as a leaf node
Groovy
apache-2.0
tschulte/griffon,griffon/griffon,levymoreira/griffon,griffon/griffon,levymoreira/griffon,codehaus/griffon-git,codehaus/griffon-git,tschulte/griffon,levymoreira/griffon,tschulte/griffon
7e201dd2cfedd3e5b7956795be5babfe482a5a9f
buildSrc/src/main/groovy/ch/dissem/gradle/GitFlowVersion.groovy
buildSrc/src/main/groovy/ch/dissem/gradle/GitFlowVersion.groovy
package ch.dissem.gradle import org.gradle.api.Plugin import org.gradle.api.Project /** * Sets the version as follows: * <ul> * <li>If the branch is 'master', the version is set to the latest tag (which is expected to be set by Git flow)</li> * <li>Otherwise, the version is set to the branch name, with '-...
package ch.dissem.gradle import org.gradle.api.Plugin import org.gradle.api.Project /** * Sets the version as follows: * <ul> * <li>If the branch is 'master', the version is set to the latest tag (which is expected to be set by Git flow)</li> * <li>Otherwise, the version is set to the branch name, with '-...
Change version of 'develop' branch to 'development-SNAPSHOT'
Change version of 'develop' branch to 'development-SNAPSHOT'
Groovy
apache-2.0
Dissem/Jabit
579c18dbe72bc43db648957575b6af50254fd0bb
src/main/webapp/WEB-INF/groovy/inbox.groovy
src/main/webapp/WEB-INF/groovy/inbox.groovy
import groovyx.net.http.HttpResponseException import groovyx.net.http.RESTClient if(params.clnt) { def url = new URL(request.requestURL.toString()) def ctxPath = request.contextPath ?: '/' def rest = new RESTClient(new URL("$url.protocol://localhost:${url.port}$ctxPath/api/")) def data try { data = rest.get(pat...
import groovyx.net.http.HttpResponseException import groovyx.net.http.RESTClient if(params.clnt) { def url = new URL(request.requestURL.toString()) def ctxPath = request.contextPath ?: '/' def rest = new RESTClient(new URL("$url.protocol://localhost:${url.port}$ctxPath/api/")) def data try { data = rest.get(pat...
Fix typo in function call
Fix typo in function call
Groovy
apache-2.0
Slugger/pseudosmtp,Slugger/pseudosmtp
f7f826d250d1528e1769bfc051a094988b555bc5
beelinj-lib/src/main/groovy/bit/beelin/DNSChainGroovyClient.groovy
beelinj-lib/src/main/groovy/bit/beelin/DNSChainGroovyClient.groovy
package bit.beelin import groovy.json.JsonSlurper import groovy.transform.CompileStatic; /** * A bare-bones starting point for a JVM DNSChain client. * * @deprecated Rewritten in Java using Retrofit. Use the Java version instead. * */ @Deprecated @CompileStatic public class DNSChainGroovyClient { def dnsCha...
package bit.beelin import groovy.json.JsonSlurper import groovy.transform.CompileStatic; /** * A bare-bones starting point for a JVM DNSChain client. * * @deprecated Rewritten in Java using Retrofit. Use the Java version instead. * */ @Deprecated @CompileStatic public class DNSChainGroovyClient { def dnsCha...
Use https in deprecated Groovy client, too.
Use https in deprecated Groovy client, too.
Groovy
apache-2.0
beeLin/beeLin-java
7978de53d54249e3d5d5453e5b8067956d567faa
src/test/groovy/nebula/plugin/resolutionrules/ModuleTest.groovy
src/test/groovy/nebula/plugin/resolutionrules/ModuleTest.groovy
/* * Copyright 2015 Netflix, 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 or agreed to ...
/* * Copyright 2015 Netflix, 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 or agreed to ...
Add exception test for modules
Add exception test for modules
Groovy
apache-2.0
nebula-plugins/gradle-resolution-rules-plugin
67bfcd88b7810a2fa2e38183bae67e6416d134ec
src/test/groovy/com/github/helpermethod/molten/JsonSpecification.groovy
src/test/groovy/com/github/helpermethod/molten/JsonSpecification.groovy
package com.github.helpermethod.molten import org.json.JSONObject import spock.lang.Specification class JsonSpecification extends Specification { def 'create an empty JSON object'() { expect: Json.obj() == new JSONObject() } def 'create an empty JSON array'() { expect: Jso...
package com.github.helpermethod.molten import groovy.json.JsonSlurper import org.json.JSONObject import spock.lang.Shared import spock.lang.Specification class JsonSpecification extends Specification { @Shared private JsonSlurper slurper = new JsonSlurper() def 'create an empty JSON object'() { e...
Add tests for Json class
Add tests for Json class
Groovy
apache-2.0
helpermethod/molten-json
507b1ad61c1f75fc5ab6fe2c321b0d15347d81f2
src/main/groovy/com/github/alexfu/AndroidAutoVersionPlugin.groovy
src/main/groovy/com/github/alexfu/AndroidAutoVersionPlugin.groovy
package com.github.alexfu import org.gradle.api.Plugin import org.gradle.api.Project class AndroidAutoVersionPlugin implements Plugin<Project> { private AndroidAutoVersionExtension extension private Version version @Override void apply(Project project) { extension = project.extensions.create(...
package com.github.alexfu import groovy.xml.Namespace import groovy.xml.XmlUtil import org.gradle.api.Plugin import org.gradle.api.Project class AndroidAutoVersionPlugin implements Plugin<Project> { private AndroidAutoVersionExtension extension private Version version @Override void apply(Project pro...
Implement new method of updating versionCode/Name.
Implement new method of updating versionCode/Name.
Groovy
mit
alexfu/androidautoversion
acb5d3b3f2305c93da35e986bcec4cbbc1dd738f
src/main/groovy/com/google/appengine/task/appcfg/StageTask.groovy
src/main/groovy/com/google/appengine/task/appcfg/StageTask.groovy
package com.google.appengine.task.appcfg import org.gradle.api.Incubating import org.gradle.api.tasks.Input import org.gradle.api.tasks.InputDirectory import org.gradle.api.tasks.Optional import org.gradle.api.tasks.OutputDirectory @Incubating class StageTask extends AppConfigTaskTemplate { static final String CO...
package com.google.appengine.task.appcfg import org.gradle.api.Incubating import org.gradle.api.tasks.Input import org.gradle.api.tasks.InputDirectory import org.gradle.api.tasks.Optional import org.gradle.api.tasks.OutputDirectory @Incubating class StageTask extends AppConfigTaskTemplate { static final String CO...
Remove redundant logic from stage task
Remove redundant logic from stage task
Groovy
apache-2.0
ArseniKavalchuk/gradle-appengine-plugin,mpoehler/gradle-appengine-plugin,loosebazooka/gradle-appengine-plugin,MGronber/gradle-appengine-plugin,GoogleCloudPlatform/gradle-appengine-plugin,judeebene/gradle-appengine-plugin
dc0e206bd2f937afbd30078035cde2eeec7e10b4
src/test/groovy/com/msgilligan/bitcoin/rpc/MSCConsenusSpec.groovy
src/test/groovy/com/msgilligan/bitcoin/rpc/MSCConsenusSpec.groovy
package com.msgilligan.bitcoin.rpc import spock.lang.Shared /** * User: sean * Date: 6/28/14 * Time: 4:59 PM */ class MSCConsenusSpec extends BaseRPCSpec { @Shared Long currencyMSC = 1L def "Can check all balances"() { when: "we check mastercoin balances" def balances = client.get...
package com.msgilligan.bitcoin.rpc import spock.lang.Shared /** * User: sean * Date: 6/28/14 * Time: 4:59 PM */ class MSCConsenusSpec extends BaseRPCSpec { @Shared Long currencyMSC = 1L def "Can check all balances"() { when: "we check mastercoin balances" def balances = client.get...
Use balances.size() <= 1 for now
Use balances.size() <= 1 for now
Groovy
apache-2.0
OmniLayer/OmniJ,dexX7/bitcoin-spock,dexX7/OmniJ,OmniLayer/OmniJ,OmniLayer/OmniJ,dexX7/bitcoin-spock,dexX7/OmniJ
f0206b06bdf371475edbf57064d3260a659fa1d3
.jenkins/job_beam_PostCommit_Python_Verify.groovy
.jenkins/job_beam_PostCommit_Python_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"); 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 ...
Update Python post-commit Jenkins configuration
Update Python post-commit Jenkins configuration This is after Python SDK merge to master.
Groovy
apache-2.0
chamikaramj/beam,sammcveety/incubator-beam,wtanaka/beam,wtanaka/beam,rangadi/incubator-beam,lukecwik/incubator-beam,apache/beam,jasonkuster/beam,lukecwik/incubator-beam,staslev/incubator-beam,xsm110/Apache-Beam,staslev/beam,peihe/incubator-beam,chamikaramj/beam,chamikaramj/beam,manuzhang/beam,eljefe6a/incubator-beam,lu...
f7471a4bbf1da8c89527ed09913ca468d027e510
vars/jplBuildChangelog.groovy
vars/jplBuildChangelog.groovy
/** Build changelog file based on the commit messages Parameters: * cfg jplConfig class object * String format Changelog format: "md" or "html" (defaults to "md") * String filename Changelog file name (defaults to "CHANGELOG.md") cfg usage: * cfg.BRNACH_NAME This functi...
/** Build changelog file based on the commit messages Parameters: * cfg jplConfig class object * String format Changelog format: "md" or "html" (defaults to "md") * String filename Changelog file name (defaults to "CHANGELOG.md") cfg usage: * cfg.BRNACH_NAME This functi...
Use the right docker command to build the changelog
Fix: Use the right docker command to build the changelog
Groovy
mit
pedroamador/jenkins-pipeline-library,red-panda-ci/jenkins-pipeline-library
371fa09c4b20749c6f10522b5fb0d9e2f507f9d6
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 slurper = new JsonSlurper() def flag = true ['bash','-c...
import spock.lang.Specification import static org.jfrog.artifactory.client.ArtifactoryClient.create import org.jfrog.artifactory.client.ArtifactoryRequest import org.jfrog.artifactory.client.impl.ArtifactoryRequestImpl import groovy.json.* class RemoveModulePropertiesTest extends Specification { def 'removeModule...
Update test file to user Artifactory Client instead of curl
Update test file to user Artifactory Client instead of curl
Groovy
apache-2.0
JFrogDev/artifactory-user-plugins
94072dfecdf3b2a82d33f0684d1f84a8464a62e6
subprojects/nxf-google/src/test/nextflow/cloud/google/CloudDriverFactoryTest.groovy
subprojects/nxf-google/src/test/nextflow/cloud/google/CloudDriverFactoryTest.groovy
/* * Copyright 2013-2018, Centre for Genomic Regulation (CRG) * * 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 b...
/* * Copyright 2013-2018, Centre for Genomic Regulation (CRG) * * 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 b...
Allow test only when GCP variable is defined
Allow test only when GCP variable is defined
Groovy
apache-2.0
nextflow-io/nextflow,nextflow-io/nextflow,heuermh/nextflow,robsyme/nextflow,heuermh/nextflow,nextflow-io/nextflow,heuermh/nextflow,robsyme/nextflow,robsyme/nextflow,nextflow-io/nextflow,heuermh/nextflow,nextflow-io/nextflow,robsyme/nextflow,heuermh/nextflow,robsyme/nextflow
fe8ef85454b93d5863e6c6ccd16d1c677e62ea4e
tapestry-ioc/src/test/groovy/ioc/specs/ClasspathScannerImplSpec.groovy
tapestry-ioc/src/test/groovy/ioc/specs/ClasspathScannerImplSpec.groovy
package ioc.specs import org.apache.tapestry5.ioc.Locatable import org.apache.tapestry5.ioc.internal.BasicTypeCoercions import org.apache.tapestry5.ioc.internal.services.ClasspathScannerImpl import org.apache.tapestry5.ioc.internal.services.ClasspathURLConverterImpl import org.apache.tapestry5.ioc.services.ClasspathMa...
package ioc.specs import org.apache.tapestry5.ioc.Registry import org.apache.tapestry5.ioc.internal.services.ClasspathScannerImpl import org.apache.tapestry5.ioc.internal.services.ClasspathURLConverterImpl import org.apache.tapestry5.ioc.services.ClasspathMatcher import org.apache.tapestry5.ioc.util.IdAllocator import...
Choose a different set of classes for the test
Choose a different set of classes for the test
Groovy
apache-2.0
apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5
69471fa5759d1320acb0d931e789187a7b2a1198
db/migrate/007_Phase2_Construction1/021_add_index_user_roles.groovy
db/migrate/007_Phase2_Construction1/021_add_index_user_roles.groovy
class AddIndexUserRoles extends edu.northwestern.bioinformatics.bering.Migration { void up() { dropTable('user_roles') createTable('user_roles') { t -> t.addColumn('csm_group_name', 'string', nullable: false) t.addColumn('user_id', 'integer', nullable:false) } }...
class AddIndexUserRoles extends edu.northwestern.bioinformatics.bering.Migration { void up() { dropTable('user_roles', primaryKey:false) createTable('user_roles') { t -> t.addColumn('csm_group_name', 'string', nullable: false) t.addColumn('user_id', 'integer', nullable:fals...
Fix dropping of table for oracle. Must specify no primary key.
Fix dropping of table for oracle. Must specify no primary key. git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@1354 0d517254-b314-0410-acde-c619094fa49f
Groovy
bsd-3-clause
NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror
2009c2220ba72a31c2925118ec998687c33e3224
src/test/groovy/BindingTest.groovy
src/test/groovy/BindingTest.groovy
/* * Copyright 2003-2010 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 2003-2010 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...
Add test case for new hasVariable() method on Binding.
Add test case for new hasVariable() method on Binding.
Groovy
apache-2.0
gillius/incubator-groovy,PascalSchumacher/incubator-groovy,alien11689/groovy-core,paulk-asert/groovy,upadhyayap/incubator-groovy,jwagenleitner/groovy,jwagenleitner/incubator-groovy,apache/incubator-groovy,EPadronU/incubator-groovy,christoph-frick/groovy-core,guangying945/incubator-groovy,EPadronU/incubator-groovy,paplo...
bcc4ae0669b821a23f0623abd7a32fa5927e57ad
src/test/resources/bugs/BUG-GROOVY-8511.groovy
src/test/resources/bugs/BUG-GROOVY-8511.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")...
Add one more test case for GROOVY-8511
Add one more test case for GROOVY-8511
Groovy
apache-2.0
danielsun1106/groovy-parser,danielsun1106/groovy-parser
29dc6571943cbb6ac086252d004b7e088b7706da
plugin/src/main/groovy/jp/tomorrowkey/gradle/notifier/NotifiersFactory.groovy
plugin/src/main/groovy/jp/tomorrowkey/gradle/notifier/NotifiersFactory.groovy
package jp.tomorrowkey.gradle.notifier import org.gradle.api.Project public class NotifiersFactory { private static final String CONFIG_FILE_PATH = "notifier.groovy"; public static Notifier[] create(Project project) { return create(project, getConfig(CONFIG_FILE_PATH)) } static ConfigObject...
package jp.tomorrowkey.gradle.notifier import org.gradle.api.Project public class NotifiersFactory { private static final String CONFIG_FILE_PATH = "notifier.groovy"; public static Notifier[] create(Project project) { return create(project, getConfig(CONFIG_FILE_PATH)) } static ConfigObject...
Fix crash when notifier.groovy file is missing.
Fix crash when notifier.groovy file is missing.
Groovy
apache-2.0
tomorrowkey/notifier-plugin
34dff7ce66886f27fa22ea470349e7cfb71486a6
src/main/groovy/com/ofg/judge/event/listener/RelationshipEventListener.groovy
src/main/groovy/com/ofg/judge/event/listener/RelationshipEventListener.groovy
package com.ofg.judge.event.listener import org.codehaus.jackson.map.ObjectMapper import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; import groovy.util.logging....
package com.ofg.judge.event.listener import java.util.List; import org.codehaus.jackson.map.ObjectMapper import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; imp...
Convert data to 3rd party API format.
Convert data to 3rd party API format.
Groovy
apache-2.0
microhackaton-2014-august-warsaw/importance-judge,microhackaton-2014-august-warsaw/importance-judge
5577cbded8b5938ac36baf4b93fa7b994ac11f28
grails-app/controllers/vincool/EventController.groovy
grails-app/controllers/vincool/EventController.groovy
package vincool import grails.converters.JSON import grails.plugin.springsecurity.annotation.Secured import grails.web.mapping.LinkGenerator @Secured(['ROLE_ADMIN', 'ROLE_INSTRUCTOR']) class EventController { static scaffold = Event static transient LinkGenerator grailsLinkGenerator def springSecuritySe...
package vincool import grails.plugin.springsecurity.annotation.Secured @Secured(['ROLE_ADMIN', 'ROLE_INSTRUCTOR']) class EventController { static scaffold = Event }
Delete calendar code from Event controller
Delete calendar code from Event controller
Groovy
apache-2.0
NearsoftApprentice/Vincool,NearsoftApprentice/Vincool
42de4b327da41bbc6e07f01716b952336bea7a90
src/main/groovy/edu/oregonstate/mist/api/jsonapi/GenericExceptionMapper.groovy
src/main/groovy/edu/oregonstate/mist/api/jsonapi/GenericExceptionMapper.groovy
package edu.oregonstate.mist.api.jsonapi import edu.oregonstate.mist.api.Error import org.slf4j.Logger import org.slf4j.LoggerFactory import javax.ws.rs.core.Response import javax.ws.rs.ext.ExceptionMapper import javax.ws.rs.ext.Provider /** * Created by georgecrary on 8/5/16. */ @Provider class GenericExceptionMa...
package edu.oregonstate.mist.api.jsonapi import edu.oregonstate.mist.api.Resource import edu.oregonstate.mist.api.Error import org.slf4j.Logger import org.slf4j.LoggerFactory import javax.ws.rs.core.Response import javax.ws.rs.ext.ExceptionMapper import javax.ws.rs.ext.Provider /** * Created by georgecrary on 8/5/1...
Remove exposed stacktrace message in developerMessage.
Remove exposed stacktrace message in developerMessage. Remove exposed stacktrace message in developerMessage.
Groovy
agpl-3.0
osu-mist/osu-events-api,osu-mist/osu-events-api,osu-mist/locations-frontend-api,osu-mist/locations-frontend-api,osu-mist/meal-card-api,osu-mist/alexa-api,osu-mist/locations-api,osu-mist/web-api-skeleton