-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See CHANGELOG.md
- Loading branch information
Showing
19 changed files
with
263 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
env: | ||
es6: true | ||
node: true | ||
extends: 'eslint:recommended' | ||
rules: | ||
indent: | ||
- error | ||
- 2 | ||
linebreak-style: | ||
- error | ||
- unix | ||
quotes: | ||
- error | ||
- single | ||
semi: | ||
- error | ||
- always |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
language: node_js | ||
node_js: | ||
- '6' | ||
- '4' | ||
before_deploy: | ||
- mv .openshift/gitignore .gitignore | ||
deploy: | ||
provider: openshift | ||
user: [email protected] | ||
password: | ||
secure: UeYKxuX479enwcn1rziErDtnHjR5RFu0a4zK83qZKPhgsXbk+NUXw20fMGtRQvfK/YKm5RW3hqQup6d8dinUJeTqANI4xeunhwV331nWUyzzhRZJUXPb0IiD3idJDpiDDH05leQzSp/8uGt1wb9fYPe1OoN3ylq46RT5kW0tQ/CqkjIOkTPgrX0jY1moANse4RfvGD/6hmgL8nrOM6mqNG2n8fpnoRdznAkZkQlV/vjLEn45SpQEWGmCwn4uFFouXaV3WQMgcuuNvKWQBRS9ZY0VwSNdZoTXvFqaHTxHaPADoMtxszHY18q9XiRpr2TBoBjEXQYtFWBTVN7n3kkQXLHzoMJk/LfsWW3z8lUHVU7Q7MJyuFLj4qRP85neLKQ38CahUCCxbr5IaxvS9/PMysYJi34LYR43SiK2WBf6gdH6SB/GHEJA2IU8TjNmfA0LVbhS/zaDCLD+NRxXghhsaIXAb5JIYfYiOKDwA5WVcIk/Tfz5CpM6M8pYbiP3PYn2bYFr7OY9HL78z0+7NqU4YYiIlgfPf0TKz/FDmtgMJErFNbZbu72uPBryUotjC7zTkSQwtRmyFXGmtc/OpLEnTr3jSK1Sx7BbS1IsravMycNQtzygAykT7SotyhinjE+fXY0fXP59UmQvV/SMjbc6j2GSWsyU4JBF2BV7TpHZMAM= | ||
secure: eVuRZ/p3JerZqPIJxjfITMj4s/mBBfFmyTJNWWotjExdxEPEqxeAJOA5lI6n9d8i6iHUENkpQHJeVzeyMYwd7ove6QkWC1VAK0DHr2siJhrueQIfeX/zNh+aaqxmqYRo+JhneVCEoq/Rr8/NBHTCpg51D1o3WbnCazYzlnnWIAu5rN5LEhLOx3N2EgezkdTbVh82H398P2tyhGHz4qWkzNItVCfRSGsVczSYq3g4qZAQX+pMzG8FWhXZBFiH1SLRAq6Yby2FDkqrsQFJseN/sQx8YSUYscDq+NFjHisSlsvODv2auc8mS40Q1/gvVCK0bmdDBbhpmOBcxUM1xbsyTfYFipE6Ehfw6T+QBjMl1uGW8/s8MvbbcEUe4SDfEugVgIDc8+2zwm2dhWX7kQa2yRwmDzYpWZcVeWphQ95kYkKMiXtjedZWngDSHFjR1OacWtricazXnOmPWQwzXXUQL5Isa+n0KLb8BQDsHHaYSy94cqtGFjSDrCs3X/r6T/jtWtzKul7xth5EMcHn/9DyvCO3F4hAZWb6hwTaQ2ea0J1DM8Cu4J48+Sg2MpgF8Al9HfrcHDKsRicMLuqmxaPkrB2L6qLGc/h6RoLNCIGDl6mn3Af/anQluh6GXnCQum24qk3dmcoJ5Y+NxhikckR2NdNxK5LXnkN3ogpbvwdHZEI= | ||
app: mmtcke | ||
domain: forfutureco | ||
on: | ||
repo: forfuturellc/mmtc-ke | ||
branch: master | ||
skip_cleanup: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,12 @@ config.server.ip = process.env.OPENSHIFT_NODEJS_IP || '127.0.0.1'; | |
|
||
// site configuration | ||
config.site = {}; | ||
config.site.title = `Mobile Money Transaction Cost in Kenya`; | ||
config.site.title_short = `mmtc | ke`; | ||
config.site.email = `[email protected]`; | ||
config.site.description = `An easy way to calculate cost of mobile money transcations in Kenya` | ||
config.site.url = `mmtc.forfuture.co.ke`; | ||
config.site.baseurl = ``; | ||
config.site.title = 'Mobile Money Transaction Cost in Kenya'; | ||
config.site.title_short = 'mmtc | ke'; | ||
config.site.email = '[email protected]'; | ||
config.site.description = 'An easy way to calculate cost of mobile money transcations in Kenya'; | ||
config.site.url = 'mmtc.forfuture.co.ke'; | ||
config.site.baseurl = ''; | ||
config.site.author = {}; | ||
config.site.author.name = 'Forfuture LLC'; | ||
config.site.author.url = 'http://forfuture.co.ke'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
|Aspect|Detail| | ||
|------|------| | ||
|Version|0.4| | ||
|Version|0.5| | ||
|Written by|GochoMugo <[email protected]>| | ||
|
||
The data used in the application in its computations is fed through data files | ||
|
@@ -81,7 +81,6 @@ additions: | |
* `-2`: raises `AmountNotFoundError`, inferring that the amount for | ||
this transaction can **not** be determined using our data (depends on | ||
external factors, e.g. merchant reputation) | ||
* **no** fractional part | ||
|
||
Therefore, the cost is accurate to **1 KES**. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "airtel money", | ||
"name": "airtel-money", | ||
"meta": { | ||
"spec": "0.2", | ||
"date_updated": "2016-06-16", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"name": "equitel", | ||
"meta": { | ||
"spec": "0.5", | ||
"date_updated": "2016-11-11", | ||
"url": "http://www.equitel.com/my-money/rates" | ||
}, | ||
"transactions": [ | ||
{ | ||
"name": "transfer", | ||
"classes": [ | ||
{ | ||
"name": "equitel or orange money", | ||
"ranges": [ | ||
{ "low": "-Infinity", "high": 49, "amount": -1 }, | ||
{ "low": 50, "high": 35000, "amount": 0 }, | ||
{ "low": 35001, "high": "+Infinity", "amount": -1 } | ||
] | ||
}, | ||
{ | ||
"name": "mpesa or airtel money", | ||
"ranges": [ | ||
{ "low": "-Infinity", "high": 49, "amount": -1 }, | ||
{ "low": 50, "high": 100, "amount": 34.1 }, | ||
{ "low": 101, "high": 500, "amount": 38.5 }, | ||
{ "low": 501, "high": 1000, "amount": 44 }, | ||
{ "low": 1001, "high": 1500, "amount": 49.5 }, | ||
{ "low": 1501, "high": 35000, "amount": 60.5 }, | ||
{ "low": 35001, "high": "+Infinity", "amount": -1 } | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "others", | ||
"amount_input": false, | ||
"classes": [ | ||
{ | ||
"name": "deposits", | ||
"amount": 0 | ||
}, | ||
{ | ||
"name": "transaction reports", | ||
"amount": 0 | ||
}, | ||
{ | ||
"name": "airtime", | ||
"amount": 0 | ||
}, | ||
{ | ||
"name": "balance enquiry", | ||
"amount": 0 | ||
}, | ||
{ | ||
"name": "pay bills", | ||
"amount": 0 | ||
}, | ||
{ | ||
"name": "atm withdrawal", | ||
"amount": 33 | ||
} | ||
] | ||
} | ||
], | ||
"ussd_codes": [ | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.