Skip to content

Commit

Permalink
Merge pull request #30 from Chiliec/release/4.0.0
Browse files Browse the repository at this point in the history
Release 4.0.0
  • Loading branch information
chiliec authored Nov 27, 2016
2 parents 59e8588 + f5269b2 commit 3e8c037
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 81 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ php:
sudo: false

install:
- composer self-update && composer --version
- composer global require "fxp/composer-asset-plugin:1.0.0-beta3"
- composer global require "codeception/codeception"
- composer global require "fxp/composer-asset-plugin:^1.2.0"
- composer global require "codeception/codeception:*"
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- composer install
- composer update

script:
- codecept run
4 changes: 2 additions & 2 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ class Module extends \yii\base\Module
public $allowGuests = true;

/**
* Is enable pop over
* Is enable popover
* @var bool
*/
public $popOverEnabled = false;
public $popOverEnabled = true;

/**
* Is allow change votes
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ Next steps will guide you through the process of installing yii2-vote using **co
Run command

```
php composer.phar require --prefer-dist chiliec/yii2-vote "^3.0"
php composer.phar require --prefer-dist chiliec/yii2-vote "^4.0"
```

or add

```
"chiliec/yii2-vote": "^3.0"
"chiliec/yii2-vote": "^4.0"
```

to the require section of your `composer.json` file.
Expand All @@ -36,6 +36,8 @@ Add following lines to your main configuration file:
'modules' => [
'vote' => [
'class' => 'chiliec\vote\Module',
// show messages in popover
'popOverEnabled' => true,
// global values for all models
// 'allowGuests' => true,
// 'allowChangeVote' => true,
Expand Down Expand Up @@ -106,6 +108,7 @@ yii2-vote is released under the BSD 3-Clause License. See the bundled [LICENSE.m
* [fourclub](https://github.com/fourclub) - PK name fix in behavior
* [yurkinx](https://github.com/yurkinx) - Duplication js render fix
* [n1k88](https://github.com/n1k88) - German translation
* [teranchristian](https://github.com/teranchristian) - Add popover to display messages

## How to contribute

Expand Down
135 changes: 62 additions & 73 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3e8c037

Please sign in to comment.