Skip to content

Commit

Permalink
Merge pull request #42 from jazzsequence/feature/1.2.0-bgg-integration
Browse files Browse the repository at this point in the history
BGG integration 🎉
  • Loading branch information
jazzsequence authored Aug 15, 2018
2 parents a769057 + 75bb9b3 commit 81a677f
Show file tree
Hide file tree
Showing 358 changed files with 902 additions and 86,755 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "vendor/cmb2"]
path = vendor/cmb2
url = https://github.com/CMB2/CMB2.git
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
tools:
php_sim: true
php_pdepend: true
php_pdepend: false
php_analyzer: true
external_code_coverage:
timeout: 600 # Timeout in seconds.
Expand Down
13 changes: 5 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,12 @@ matrix:
fast_finish: true

include:
# plugin requires minimum of php 5.6
- php: '5.6'
# aliased to a recent 7.x version
- php: '7.0'
# aliased to a recent 5.4 version
- php: '5.4'
- php: '7.1'
- php: '7.2'

allow_failures:
- php: '5.4'
- php: '7.2'

env:
- WP_VERSION=latest WP_MULTISITE=0
Expand All @@ -59,8 +56,8 @@ before_script:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- |
if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then
composer global require "phpunit/phpunit=5.6.*"
if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then
composer global require "phpunit/phpunit=5.7.*"
else
composer global require "phpunit/phpunit=4.8.*"
fi
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
**Donate link:** https://www.paypal.me/jazzsequence/
**Tags:**
**Requires at least:** 4.4
**Tested up to:** 4.7
**Stable tag:** 1.1.0
**Tested up to:** 4.9.8
**Stable tag:** 1.2.0
**License:** GPLv3
**License URI:** http://www.gnu.org/licenses/gpl-3.0.html
**Demo:** https://jazzsequence.com/games/
Expand Down Expand Up @@ -38,11 +38,12 @@ You can checkout a live [demo](https://jazzsequence.com/games/) of the plugin (w
## Changelog ##

### 1.2.0 ###
* Added integration with Board Game Geek API. Games can now be added by searching BGG for matching titles and information imported and automatically added to new games.
* Fixed an issue where games with an indeterminate max number of players was displaying a 0 value (e.g. `2 - 0 players`) and combined that with games with an unrealistically large number of players (e.g. `2 - 99 players`) to display `{{min_players}}+ players` e.g. `2+ players`.
* Refactored the `gc_number_players` filter to only filter the actual number of players and added a `gc_number_players_output` filter which can filter the entire output (what `gc_number_players` previously did).
* Fixed an issue where only the highest difficulty was displaying in the dropdown.
* Fixed a display issue where games that can only be played with a specific number of players were still displaying the min/max player numbers. Changed to just display the number of players, e.g. `2 players` instead of `2 - 2 players`.
* Dropped support for `hhvm`. Require minimum of PHP 5.6 and begin to deprecate PHP 5.4.
* Dropped support for `hhvm` and php 5.x. Require minimum of PHP 7.0.
* Scrutinizer CI integration for code coverage and quality checking.
* Cleaned up some code as a result of Scrutinizer sniffs.

Expand Down
Loading

0 comments on commit 81a677f

Please sign in to comment.