Skip to content

Commit

Permalink
Merge pull request #5 from prolificinteractive/feature/v1.0.1
Browse files Browse the repository at this point in the history
Feature - Release 1.0.1
  • Loading branch information
quentin41500 authored May 15, 2017
2 parents de5f082 + 371770a commit 28002b8
Show file tree
Hide file tree
Showing 14 changed files with 107 additions and 348 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android:
components:
- tools
- platform-tools
- build-tools-23.0.3
- android-23
- build-tools-25.0.2
- android-25
- extra-android-m2repository
- extra-google-m2repository

Expand Down
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2017 Prolific Interactive

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
202 changes: 0 additions & 202 deletions LICENSE.txt

This file was deleted.

57 changes: 27 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
HouseOfCards
============
# House Of Cards
[![Travis build status](https://img.shields.io/travis/prolificinteractive/houseofcards.svg?style=flat-square)](https://travis-ci.org/prolificinteractive/houseofcards)

##### Tools for working with a house of (credit) cards.
_Tools for working with a house of (credit) cards._

![FRANK UNDERWOOD](http://img4.wikia.nocookie.net/__cb20140215085441/house-of-cards/images/9/9f/Season_2_Chapter_26.jpg)

Usage
-----
## Installation

Add `compile 'com.prolificinteractive:houseofcards:1.0.0'` to your dependencies, then it's as simple as:
```gradle
compile 'com.prolificinteractive:houseofcards:1.0.1'
```

## Usage

Add a textWatcher to your EditText:
```
editText.addTextChangedListener(new CreditCardTextWatcher());
```
Expand All @@ -23,30 +27,23 @@ editText.addTextChangedListener(new CreditCardTextWatcher(cardUtil));

And you're not just limited to built in types! Just implement `CreditCard`!

Contributing
============

Would you like to contribute? Fork us and send a pull request! Be sure to checkout our issues first.

License
=======

>Copyright 2015 Prolific Interactive
>
>Licensed under the Apache License, Version 2.0 (the "License");
>you may not use this file except in compliance with the License.
>You may obtain a copy of the License at
>
> http://www.apache.org/licenses/LICENSE-2.0
>
>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.
Name Disclaimer
===============
## Contributing to House Of Cards

To report a bug or enhancement request, feel free to file an issue under the respective heading.

If you wish to contribute to the project, fork this repo and submit a pull request. Code contributions should follow the standards specified in the [Prolific Android Style Guide](https://github.com/prolificinteractive/android-code-styles).

## License

![prolific](https://s3.amazonaws.com/prolificsitestaging/logos/Prolific_Logo_Full_Color.png)

Copyright (c) 2017 Prolific Interactive

HouseOfCards is maintained and sponsored by Prolific Interactive. It may be redistributed under the terms specified in the [LICENSE] file.

[LICENSE]: ./LICENSE

## Name Disclaimer

This project is in no way affiliated with the Netflix Original Series _House of Cards_ or the UK television series of the same name.
This project is about credit card validation, not corrupt politicians.
12 changes: 7 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.android.tools.build:gradle:2.4.0-alpha7'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -16,8 +16,10 @@ allprojects {
repositories {
jcenter()
}
// Is Release Build?
ext.isReleaseVersion = has("release")
ext.versionCodeInt = getProperty('VERSION_CODE').toInteger()
version = VERSION_NAME
}

task clean(type: Delete) {
delete rootProject.buildDir
}

apply from: rootProject.file('dependencies.gradle')
11 changes: 11 additions & 0 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ext {
minSdkVersion = 7
compileSdkVersion = 25
targetSdkVersion = 25
buildToolsVersion = '25.0.2'

junitVersion = '4.11'

// Test
junit = "junit:junit:$junitVersion"
}
37 changes: 14 additions & 23 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,37 +1,28 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

GROUP=com.prolificinteractive
VERSION_NAME=1.0.0
VERSION_CODE=1

POM_PACKAGING=aar
POM_NAME=House Of Cards
POM_ARTIFACT_ID=houseofcards
POM_URL=https://github.com/prolificinteractive/HouseOfCards
POM_DESCRIPTION=Tools for working with a house of (credit) cards
POM_SCM_URL=https://github.com/prolificinteractive/HouseOfCards
POM_SCM_CONNECTION=scm:git@github.com:prolificinteractive/HouseOfCards.git
POM_SCM_DEV_CONNECTION=scm:git@github.com:prolificinteractive/HouseOfCards.git
POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=prolificinteractive
POM_DEVELOPER_NAME=Prolific Interactive
POM_DEVELOPER_EMAIL=android@prolificinteractive.com
GROUP = com.prolificinteractive
VERSION_NAME = 1.0.1
VERSION_CODE = 2
POM_URL = https://github.com/prolificinteractive/HouseOfCards
POM_DESCRIPTION = Tools for working with a house of (credit) cards
POM_SCM_URL = https://github.com/prolificinteractive/HouseOfCards
POM_SCM_CONNECTION = scm:git@github.com:prolificinteractive/HouseOfCards.git
POM_SCM_DEV_CONNECTION = scm:git@github.com:prolificinteractive/HouseOfCards.git
POM_LICENCE_NAME = MIT License
POM_LICENCE_URL = https://github.com/prolificinteractive/HouseOfCards/blob/master/LICENSE
POM_LICENCE_DIST = repo
POM_DEVELOPER_ID = prolificinteractive
POM_DEVELOPER_NAME = Prolific Interactive
POM_DEVELOPER_EMAIL = android@prolificinteractive.com
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
Loading

0 comments on commit 28002b8

Please sign in to comment.