diff --git a/.travis.yml b/.travis.yml index 1276dc5..b58a6bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ python: - 3.7 - 3.6 -# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors +# Command to install dependencies, e.g. pip install -r requirements_dev.txt --use-mirrors install: pip install -U tox-travis # Command to run tests, e.g. python setup.py test diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 2c08598..6deeacf 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -23,12 +23,6 @@ If you are reporting a bug, please include: * Any details about your local setup that might be helpful in troubleshooting. * Detailed steps to reproduce the bug. -Fix Bugs -~~~~~~~~ - -Look through the GitHub issues for bugs. Anything tagged with "bug" and "help -wanted" is open to whoever wants to implement it. - Implement Features ~~~~~~~~~~~~~~~~~~ @@ -59,7 +53,7 @@ Get Started! Ready to contribute? Here's how to set up `erepublik` for local development. -1. Fork the `erepublik_script` repo on GitHub. +1. Fork the `erepublik` repo on GitHub. 2. Clone your fork locally:: $ git clone git@github.com:your_name_here/erepublik.git @@ -103,7 +97,7 @@ Before you submit a pull request, check that it meets these guidelines: your new functionality into a function with a docstring, and add the feature to the list in README.rst. 3. The pull request should work for Python 3.7.1. Check - https://travis-ci.org/eeriks/erepublik_script/pull_requests + https://travis-ci.org/eeriks/erepublik/pull_requests and make sure that the tests pass for all supported Python versions. Tips @@ -112,7 +106,7 @@ Tips To run a subset of tests:: - $ python -m unittest tests.test_erepublik_script + $ python -m unittest tests.test_erepublik Deploying --------- diff --git a/HISTORY.rst b/HISTORY.rst index e990666..f543bd5 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,20 @@ History ======= +0.19.0 (2020-01-13) +------------------- +* Created method for current products on sale. +* Updated inventory to also include products on sale +* set_default_weapon() - eRepublik should return list with all available weapon qualities, but when a battle is just launched, they return only dict with barehands +* fight() - no longer calls self.set_default_weapon() +* find_battle_and_fight() - now calls self.set_default_weapon() just before fighting +* update_war_info() - returns previous battle list if responses 'last_updated' isn't more than 30s old +* get_battle_for_war(war_id) - returns Battle instance for specific war, if battle is active for given war +* Citizen.get_raw_surplus() fixed and moved to Citizen.my_companies.get_wam_raw_usage() +* Implemented division switching +* improved multi bomb deploy with auto traveling, +* Citizen.fight() simplified battle data gathering logic -> Citizen.shoot logic improved + 0.17.0 (2019-11-21) ------------------- diff --git a/requirements.txt b/requirements_dev.txt similarity index 100% rename from requirements.txt rename to requirements_dev.txt