Skip to content

Commit

Permalink
Troca domínio para BR (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColman authored Aug 26, 2020
1 parent abc34b8 commit c0c8958
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: PullRequest
name: Build

on:
pull_request:
paths-ignore:
- '*.md'
push:

jobs:
check:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Simple Cpf Validator


[![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)
![Build](https://github.com/LeoColman/SimpleCpfValidator/workflows/Build/badge.svg)
[![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)


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.
Expand All @@ -12,7 +12,7 @@ Com o objetivo de simplificar esse tipo de validação (seja em casos de teste o
# Utilizando
Para utilizar é bem simples. Primeiro importe no seu Gradle:

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

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

Expand Down
20 changes: 9 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import io.gitlab.arturbosch.detekt.detekt
import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

Expand All @@ -11,7 +10,7 @@ plugins {

}

group = "top.colman.simplecpfvalidator"
group = "br.com.colman.simplecpfvalidator"
version = System.getenv("RELEASE_VERSION") ?: "local"

repositories {
Expand All @@ -20,9 +19,8 @@ repositories {
}

dependencies {
implementation(kotlin("stdlib-jdk8"))
testImplementation(group = "io.kotest", name = "kotest-runner-junit5-jvm", version = "4.2.0.RC2")
testImplementation(group = "io.kotest", name = "kotest-property-jvm", version = "4.2.0.RC2")
testImplementation(group = "io.kotest", name = "kotest-runner-junit5-jvm", version = "4.2.0")
testImplementation(group = "io.kotest", name = "kotest-property-jvm", version = "4.2.0")
}

tasks.withType<KotlinCompile> {
Expand Down Expand Up @@ -68,13 +66,13 @@ publishing {
pom {
name.set("SimpleCpfValidator")
description.set("Simple CPF Validator")
url.set("https://www.github.com/Kerooker/SimpleCpfValidator")
url.set("https://www.github.com/LeoColman/SimpleCpfValidator")


scm {
connection.set("scm:git:http://www.github.com/Kerooker/SimpleCpfValidator/")
developerConnection.set("scm:git:http://github.com/Kerooker/")
url.set("https://www.github.com/Kerooker/SimpleCpfValidator")
connection.set("scm:git:http://www.github.com/LeoColman/SimpleCpfValidator/")
developerConnection.set("scm:git:http://github.com/LeoColman/")
url.set("https://www.github.com/LeoColman/SimpleCpfValidator")
}

licenses {
Expand All @@ -86,9 +84,9 @@ publishing {

developers {
developer {
id.set("Kerooker")
id.set("LeoColman")
name.set("Leonardo Colman Lopes")
email.set("leonardo@colman.top")
email.set("leonardo.dev@colman.com.br")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package top.colman.simplecpfvalidator
package br.com.colman.simplecpfvalidator

import kotlin.math.abs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package top.colman.simplecpfvalidator
package br.com.colman.simplecpfvalidator

import io.kotest.core.spec.style.FunSpec
import io.kotest.inspectors.forNone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package top.colman.simplecpfvalidator
package br.com.colman.simplecpfvalidator

import io.kotest.property.Arb
import io.kotest.property.RandomSource
Expand Down

0 comments on commit c0c8958

Please sign in to comment.