Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: CI

on:
push:
branches-ignore:
- travis
pull_request:
branches-ignore:
- travis

jobs:
build:
Expand Down
5 changes: 3 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Copyright 2014 DiUS Computing
Copyright 2025- TheJavaGuy
Copyright 2014-2025 DiUS Computing

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -10,4 +11,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.javafaker</groupId>
<groupId>org.thejavaguy.javafaker</groupId>
<artifactId>javafaker</artifactId>
<packaging>jar</packaging>
<version>1.0.3-SNAPSHOT</version>
Expand All @@ -13,7 +13,7 @@
This library is a port of Ruby's stympy/faker gem (as well as Perl's Data::Faker library) that generates fake data.
It's useful when you're developing a new project and need some pretty data for showcase.
</description>
<url>http://github.com/DiUS/java-faker</url>
<url>https://github.com/TheJavaGuy/java-faker</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Address {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Ancient {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Animal {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class App {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class AquaTeenHungerForce {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Artist {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Avatar {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

/**
* Generates aviation related strings.
Expand Down Expand Up @@ -33,4 +33,4 @@ public String airport() {
public String METAR() {
return faker.fakeValuesService().fetchString("aviation.metar");
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class BackToTheFuture {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Barcode {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

/**
* Generate random components of basketall game, e.g. teams, coaches, positions and players.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Beer {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

/**
* Generate random parts in BojackHorseman.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Book {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Bool {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Buffy {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Business {

private final Faker faker;

protected Business(Faker faker) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Cat {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class ChuckNorris {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

import static org.apache.commons.lang3.math.NumberUtils.toInt;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Coin {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Color {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

import java.text.DecimalFormat;
import java.util.SortedSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

import static org.apache.commons.lang3.StringUtils.join;

Expand All @@ -7,7 +7,7 @@

import org.apache.commons.lang3.StringUtils;

import com.github.javafaker.service.FakerIDN;
import org.thejavaguy.javafaker.service.FakerIDN;

public class Company {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Country {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public enum CreditCardType {
VISA,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

import java.math.BigInteger;
import java.security.MessageDigest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Currency {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
*
*/
package com.github.javafaker;
package org.thejavaguy.javafaker;

import java.util.Calendar;
import java.util.Date;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Demographic {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

/**
* Generate random, different kinds of disease.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Dog {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class DragonBall {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Dune {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Educator {
private final Faker faker;
Expand All @@ -7,10 +7,10 @@ protected Educator(Faker faker) {
this.faker = faker;
}

// TODO - move these all out to en.yml by default.
// TODO - move these all out to en.yml by default.
public String university() {
return faker.fakeValuesService().resolve("educator.name", this, faker)
+ " "
return faker.fakeValuesService().resolve("educator.name", this, faker)
+ " "
+ faker.fakeValuesService().resolve("educator.tertiary.type", this, faker);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class ElderScrolls {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class EnglandFootBall {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Esports {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

import java.util.Locale;
import java.util.Random;

import com.github.javafaker.service.FakeValuesService;
import com.github.javafaker.service.RandomService;
import org.thejavaguy.javafaker.service.FakeValuesService;
import org.thejavaguy.javafaker.service.RandomService;

/**
* Provides utility methods for generating fake strings, such as names, phone
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class File {
private final Faker faker;
Expand All @@ -10,7 +10,7 @@ protected File(Faker faker) {
public String extension() {
return faker.resolve("file.extension");
}

public String mimeType() {
return faker.resolve("file.mime_type");
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

import java.math.BigInteger;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Food {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class Friends {
private final Faker faker;
Expand All @@ -18,4 +18,4 @@ public String location() {
public String quote() {
return faker.resolve("friends.quotes");
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class FunnyName {
private final Faker faker;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.javafaker;
package org.thejavaguy.javafaker;

public class GameOfThrones {

Expand Down
Loading