mirror of
https://github.com/ethauvin/kotlin-pluralizer.git
synced 2025-04-25 00:37:12 -07:00
updated readme
This commit is contained in:
parent
5b4cd994ec
commit
d0f22d0f40
2 changed files with 8 additions and 8 deletions
14
README.md
14
README.md
|
@ -1,11 +1,9 @@
|
||||||
<!--  -->
|
# kotlin-pluralizer
|
||||||
# kotlin-pluralizer [](https://travis-ci.org/cesarferreira/kotlin-pluralizer) [](https://jitpack.io/#cesarferreira/kkotlin-pluralizer)
|
[](https://travis-ci.org/cesarferreira/kotlin-pluralizer) [](https://jitpack.io/#cesarferreira/kkotlin-pluralizer) [  ](https://bintray.com/cesarferreira/maven/kotlin-pluralizer/_latestVersion)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**kotlin extension** to **pluralize** and **singularize** strings!
|
**kotlin extension** to **pluralize** and **singularize** strings!
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
**Pluralization:**
|
**Pluralization:**
|
||||||
|
@ -32,14 +30,15 @@ repositories {
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.github.cesarferreira:kotlin-pluralizer:0.2.1'
|
compile 'com.github.cesarferreira:kotlin-pluralizer:0.2.2'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Show some :heart:
|
## Show some love
|
||||||
[](https://github.com/cesarferreira/kotlin-pluralizer) [](https://twitter.com/cesarmcferreira)
|
[](https://github.com/cesarferreira/kotlin-pluralizer) [](https://twitter.com/cesarmcferreira)
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
|
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
|
||||||
1. Match coding style (braces, spacing, etc.) This is best achieved using `CMD`+`Option`+`L` (Reformat code) on Mac (not sure for Windows) with Android Studio defaults.
|
1. Match coding style (braces, spacing, etc.) This is best achieved using `CMD`+`Option`+`L` (Reformat code) on Mac (not sure for Windows) with Android Studio defaults.
|
||||||
2. If its a feature, bugfix, or anything please only change code to what you specify.
|
2. If its a feature, bugfix, or anything please only change code to what you specify.
|
||||||
|
@ -53,9 +52,10 @@ I welcome and encourage all pull requests. It usually will take me within 24-48
|
||||||
|
|
||||||
The pluralize and singularize methods are based on the code found in the following places.
|
The pluralize and singularize methods are based on the code found in the following places.
|
||||||
|
|
||||||
|
- https://github.com/rails/rails/blob/26698fb91d88dca0f860adcb80528d8d3f0f6285/activesupport/lib/active_support/inflector/inflections.rb
|
||||||
|
|
||||||
- https://github.com/atteo/evo-inflector/blob/master/src/main/java/org/atteo/evo/inflector/English.java
|
- https://github.com/atteo/evo-inflector/blob/master/src/main/java/org/atteo/evo/inflector/English.java
|
||||||
- http://www.java2s.com/Tutorial/Java/0040__Data-Type/Transformswordstosingularpluralhumanizedhumanreadableunderscorecamelcaseorordinalform.htm
|
- http://www.java2s.com/Tutorial/Java/0040__Data-Type/Transformswordstosingularpluralhumanizedhumanreadableunderscorecamelcaseorordinalform.htm
|
||||||
- https://github.com/rails/rails/blob/26698fb91d88dca0f860adcb80528d8d3f0f6285/activesupport/lib/active_support/inflector/inflections.rb
|
|
||||||
|
|
||||||
|
|
||||||
### Created & Maintained By
|
### Created & Maintained By
|
||||||
|
|
|
@ -6,7 +6,7 @@ buildscript {
|
||||||
ext {
|
ext {
|
||||||
ext_groupId = 'com.cesarferreira'
|
ext_groupId = 'com.cesarferreira'
|
||||||
ext_artifactId = 'kotlin-pluralizer'
|
ext_artifactId = 'kotlin-pluralizer'
|
||||||
ext_version = '0.1.0'
|
ext_version = '0.2.2'
|
||||||
ext_url = 'https://github.com/cesarferreira/kotlin-pluralizer'
|
ext_url = 'https://github.com/cesarferreira/kotlin-pluralizer'
|
||||||
ext_vcsUrl = 'https://github.com/cesarferreira/kotlin-pluralizer.git'
|
ext_vcsUrl = 'https://github.com/cesarferreira/kotlin-pluralizer.git'
|
||||||
ext_description = 'Kotlin extension to pluralize and singularize strings'
|
ext_description = 'Kotlin extension to pluralize and singularize strings'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue