Skip to content

Commit

Permalink
Merge pull request #34 from GoodforGod/dev
Browse files Browse the repository at this point in the history
[3.2.0]
  • Loading branch information
GoodforGod authored Aug 25, 2022
2 parents b11c4dd + 9a86b8c commit 437057a
Show file tree
Hide file tree
Showing 26 changed files with 611 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DummyMaker :hotsprings:
# DummyMaker :hotsprings:

[![GitHub Action](https://github.com/goodforgod/dummymaker/workflows/Java%20CI/badge.svg)](https://github.com/GoodforGod/dummymaker/actions?query=workflow%3A%22Java+CI%22)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=GoodforGod_dummymaker&metric=alert_status)](https://sonarcloud.io/dashboard?id=GoodforGod_dummymaker)
Expand All @@ -18,7 +18,7 @@ Documentation for **versions 1.X.X** in [this document](/README-VERSION-1.X.md).
**Gradle**
```groovy
dependencies {
implementation 'com.github.goodforgod:dummymaker:3.1.1'
implementation "com.github.goodforgod:dummymaker:3.2.0"
}
```

Expand All @@ -27,7 +27,7 @@ dependencies {
<dependency>
<groupId>com.github.goodforgod</groupId>
<artifactId>dummymaker</artifactId>
<version>3.1.1</version>
<version>3.2.0</version>
</dependency>
```

Expand Down
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ repositories {
}

dependencies {
implementation "org.jetbrains:annotations:22.0.0"
implementation "org.slf4j:slf4j-api:1.7.32"
implementation "org.jetbrains:annotations:23.0.0"
implementation "org.slf4j:slf4j-api:1.7.36"
implementation "javax.inject:javax.inject:1"

testRuntimeOnly "ch.qos.logback:logback-classic:1.2.10"
testRuntimeOnly "ch.qos.logback:logback-classic:1.2.11"
testImplementation "junit:junit:4.13.2"
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
groupId=com.github.goodforgod
artifactId=dummymaker
artifactVersion=3.1.1
artifactVersion=3.2.0


##### GRADLE #####
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
20 changes: 20 additions & 0 deletions src/main/java/io/dummymaker/annotation/simple/number/GenPrice.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package io.dummymaker.annotation.simple.number;

import io.dummymaker.annotation.core.PrimeGen;
import io.dummymaker.generator.simple.number.PriceGenerator;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* @author Anton Kurako (GoodforGod)
* @see PriceGenerator
* @since 26.08.2022
*/
@PrimeGen(PriceGenerator.class)
@Retention(value = RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface GenPrice {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package io.dummymaker.annotation.simple.string;

import io.dummymaker.annotation.core.PrimeGen;
import io.dummymaker.generator.simple.string.CategoryGenerator;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* @author Anton Kurako (GoodforGod)
* @see CategoryGenerator
* @since 26.08.2022
*/
@PrimeGen(CategoryGenerator.class)
@Retention(value = RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface GenCategory {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package io.dummymaker.annotation.simple.string;

import io.dummymaker.annotation.core.PrimeGen;
import io.dummymaker.generator.simple.string.CurrencyGenerator;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* @author Anton Kurako (GoodforGod)
* @see CurrencyGenerator
* @since 26.08.2022
*/
@PrimeGen(CurrencyGenerator.class)
@Retention(value = RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface GenCurrency {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package io.dummymaker.annotation.simple.string;

import io.dummymaker.annotation.core.PrimeGen;
import io.dummymaker.generator.simple.string.FrequencyGenerator;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* @author Anton Kurako (GoodforGod)
* @see FrequencyGenerator
* @since 26.08.2022
*/
@PrimeGen(FrequencyGenerator.class)
@Retention(value = RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface GenFrequency {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package io.dummymaker.annotation.simple.string;

import io.dummymaker.annotation.core.PrimeGen;
import io.dummymaker.generator.simple.string.MerchantGenerator;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* @author Anton Kurako (GoodforGod)
* @see MerchantGenerator
* @since 26.08.2022
*/
@PrimeGen(MerchantGenerator.class)
@Retention(value = RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface GenMerchant {

}
58 changes: 58 additions & 0 deletions src/main/java/io/dummymaker/bundle/impl/CategoryBundle.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
package io.dummymaker.bundle.impl;

/**
* @author Anton Kurako (GoodforGod)
* @since 25.08.2022
*/
public class CategoryBundle extends BasicBundle {

public CategoryBundle() {
super("Appliances",
"Apps",
"Games",
"Arts",
"Crafts",
"Sewing",
"Automotive Parts",
"Baby",
"Beauty",
"Personal Care",
"Books",
"CDs",
"Vinyl",
"Cell Phones",
"Accessories",
"Clothing",
"Shoes",
"Jewelry",
"Collectibles",
"Fine Art",
"Computers",
"Electronics",
"Garden",
"Outdoor",
"Grocery",
"Gourmet Food",
"Handmade",
"Health",
"Household",
"Baby Care",
"Kitchen",
"Industrial",
"Scientific",
"Kindle",
"Luggage",
"Travel Gear",
"Movies",
"TV",
"Musical Instruments",
"Office Products",
"Pet Supplies",
"Sports",
"Outdoors",
"Tools",
"Home Improvement",
"Toys",
"Video Games");
}
}
120 changes: 120 additions & 0 deletions src/main/java/io/dummymaker/bundle/impl/CurrencyBundle.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
package io.dummymaker.bundle.impl;

/**
* @author Anton Kurako (GoodforGod)
* @since 25.08.2022
*/
public class CurrencyBundle extends BasicBundle {

public CurrencyBundle() {
super("ALL",
"AFN",
"ARS",
"AWG",
"AUD",
"AZN",
"BSD",
"BBD",
"BYN",
"BZD",
"BMD",
"BOB",
"BAM",
"BWP",
"BGN",
"BRL",
"BND",
"KHR",
"CAD",
"KYD",
"CLP",
"CNY",
"COP",
"CRC",
"HRK",
"CUP",
"CZK",
"DKK",
"DOP",
"XCD",
"EGP",
"SVC",
"EUR",
"FKP",
"FJD",
"GHS",
"GIP",
"GTQ",
"GGP",
"GYD",
"HNL",
"HKD",
"HUF",
"ISK",
"INR",
"IDR",
"IRR",
"IMP",
"ILS",
"JMD",
"JPY",
"JEP",
"KZT",
"KPW",
"KRW",
"KGS",
"LAK",
"LBP",
"LRD",
"MKD",
"MYR",
"MUR",
"MXN",
"MNT",
"MZN",
"NAD",
"NPR",
"ANG",
"NZD",
"NIO",
"NGN",
"NOK",
"OMR",
"PKR",
"PAB",
"PYG",
"PEN",
"PHP",
"PLN",
"QAR",
"RON",
"RUB",
"SHP",
"SAR",
"RSD",
"SCR",
"SGD",
"SBD",
"SOS",
"ZAR",
"LKR",
"SEK",
"CHF",
"SRD",
"SYP",
"TWD",
"THB",
"TTD",
"TRY",
"TVD",
"UAH",
"GBP",
"USD",
"UYU",
"UZS",
"VEF",
"VND",
"YER",
"ZWD");
}
}
18 changes: 18 additions & 0 deletions src/main/java/io/dummymaker/bundle/impl/FrequencyBundle.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package io.dummymaker.bundle.impl;

/**
* @author Anton Kurako (GoodforGod)
* @since 25.08.2022
*/
public class FrequencyBundle extends BasicBundle {

public FrequencyBundle() {
super("SECONDLY",
"MINUTELY",
"HOURLY",
"DAILY",
"WEEKLY",
"MONTHLY",
"YEARLY");
}
}
Loading

0 comments on commit 437057a

Please sign in to comment.