Skip to content

Commit c0c8958

Browse files
authored
Troca domínio para BR (#15)
1 parent abc34b8 commit c0c8958

File tree

6 files changed

+17
-18
lines changed

6 files changed

+17
-18
lines changed

.github/workflows/pull-request.yml .github/workflows/build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
name: PullRequest
1+
name: Build
22

33
on:
44
pull_request:
55
paths-ignore:
66
- '*.md'
7+
push:
78

89
jobs:
910
check:

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Simple Cpf Validator
22

3-
4-
[![Build Status](https://travis-ci.com/LeoColman/SimpleCpfValidator.svg?branch=master)](https://travis-ci.com/LeoColman/SimpleCpfValidator) [![GitHub](https://img.shields.io/github/license/LeoColman/SimpleCpfValidator.svg)](https://github.com/LeoColman/SimpleCpfValidator/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/top.colman.simplecpfvalidator/simple-cpf-validator.svg)](https://search.maven.org/search?q=g:top.colman.simplecpfvalidator)
3+
![Build](https://github.com/LeoColman/SimpleCpfValidator/workflows/Build/badge.svg)
4+
[![GitHub](https://img.shields.io/github/license/LeoColman/SimpleCpfValidator.svg)](https://github.com/LeoColman/SimpleCpfValidator/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.colman.simplecpfvalidator/simple-cpf-validator.svg)](https://search.maven.org/search?q=g:br.com.colman.simplecpfvalidator)
55

66

77
O conceito de validação de CPF existe desde a criação do próprio documento. No entanto, observa-se que a validação deste documento é replicada em várias aplicações, em classes idênticas, copiadas e coladas.
@@ -12,7 +12,7 @@ Com o objetivo de simplificar esse tipo de validação (seja em casos de teste o
1212
# Utilizando
1313
Para utilizar é bem simples. Primeiro importe no seu Gradle:
1414

15-
`implementation("top.colman.simplecpfvalidator:simple-cpf-validator:{version}")`
15+
`implementation("br.com.colman.simplecpfvalidator:simple-cpf-validator:{version}")`
1616

1717
E utilize a função em qualquer String de seu código:
1818

build.gradle.kts

+9-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import io.gitlab.arturbosch.detekt.detekt
21
import org.jetbrains.dokka.gradle.DokkaTask
32
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
43

@@ -11,7 +10,7 @@ plugins {
1110

1211
}
1312

14-
group = "top.colman.simplecpfvalidator"
13+
group = "br.com.colman.simplecpfvalidator"
1514
version = System.getenv("RELEASE_VERSION") ?: "local"
1615

1716
repositories {
@@ -20,9 +19,8 @@ repositories {
2019
}
2120

2221
dependencies {
23-
implementation(kotlin("stdlib-jdk8"))
24-
testImplementation(group = "io.kotest", name = "kotest-runner-junit5-jvm", version = "4.2.0.RC2")
25-
testImplementation(group = "io.kotest", name = "kotest-property-jvm", version = "4.2.0.RC2")
22+
testImplementation(group = "io.kotest", name = "kotest-runner-junit5-jvm", version = "4.2.0")
23+
testImplementation(group = "io.kotest", name = "kotest-property-jvm", version = "4.2.0")
2624
}
2725

2826
tasks.withType<KotlinCompile> {
@@ -68,13 +66,13 @@ publishing {
6866
pom {
6967
name.set("SimpleCpfValidator")
7068
description.set("Simple CPF Validator")
71-
url.set("https://www.github.com/Kerooker/SimpleCpfValidator")
69+
url.set("https://www.github.com/LeoColman/SimpleCpfValidator")
7270

7371

7472
scm {
75-
connection.set("scm:git:http://www.github.com/Kerooker/SimpleCpfValidator/")
76-
developerConnection.set("scm:git:http://github.com/Kerooker/")
77-
url.set("https://www.github.com/Kerooker/SimpleCpfValidator")
73+
connection.set("scm:git:http://www.github.com/LeoColman/SimpleCpfValidator/")
74+
developerConnection.set("scm:git:http://github.com/LeoColman/")
75+
url.set("https://www.github.com/LeoColman/SimpleCpfValidator")
7876
}
7977

8078
licenses {
@@ -86,9 +84,9 @@ publishing {
8684

8785
developers {
8886
developer {
89-
id.set("Kerooker")
87+
id.set("LeoColman")
9088
name.set("Leonardo Colman Lopes")
91-
email.set("leonardo@colman.top")
89+
email.set("leonardo.dev@colman.com.br")
9290
}
9391
}
9492
}

src/main/kotlin/top/colman/simplecpfvalidator/CpfValidator.kt src/main/kotlin/br/com/colman/simplecpfvalidator/CpfValidator.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package top.colman.simplecpfvalidator
16+
package br.com.colman.simplecpfvalidator
1717

1818
import kotlin.math.abs
1919

src/test/kotlin/top/colman/simplecpfvalidator/CpfValidatorTest.kt src/test/kotlin/br/com/colman/simplecpfvalidator/CpfValidatorTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package top.colman.simplecpfvalidator
16+
package br.com.colman.simplecpfvalidator
1717

1818
import io.kotest.core.spec.style.FunSpec
1919
import io.kotest.inspectors.forNone

src/test/kotlin/top/colman/simplecpfvalidator/ValidCpfGenerator.kt src/test/kotlin/br/com/colman/simplecpfvalidator/ValidCpfGenerator.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package top.colman.simplecpfvalidator
16+
package br.com.colman.simplecpfvalidator
1717

1818
import io.kotest.property.Arb
1919
import io.kotest.property.RandomSource

0 commit comments

Comments
 (0)