Skip to content

Commit 6e47ece

Browse files
committed
Merge 3.3/release/3.3.3 into 3.3/master
2 parents a2d02bb + c5ee33a commit 6e47ece

File tree

6 files changed

+47
-2
lines changed

6 files changed

+47
-2
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
composer.lock
2+
vendor/*
3+
koharness_bootstrap.php
4+

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: php
2+
3+
php:
4+
- 5.3
5+
- 5.4
6+
- 5.5
7+
- 5.6
8+
- hhvm
9+
10+
before_script:
11+
- composer install --prefer-dist
12+
- vendor/bin/koharness
13+
14+
script:
15+
- cd /tmp/koharness && ./vendor/bin/phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
16+
17+
notifications:
18+
email: false

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Kohana - ORM module
2+
3+
| ver | Stable | Develop |
4+
|-------|----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
5+
| 3.3.x | [![Build Status - 3.3/master](https://travis-ci.org/kohana/orm.svg?branch=3.3%2Fmaster)](https://travis-ci.org/kohana/orm) | [![Build Status - 3.3/develop](https://travis-ci.org/kohana/orm.svg?branch=3.3%2Fdevelop)](https://travis-ci.org/kohana/orm) |
6+
| 3.4.x | [![Build Status - 3.4/master](https://travis-ci.org/kohana/orm.svg?branch=3.4%2Fmaster)](https://travis-ci.org/kohana/orm) | [![Build Status - 3.4/develop](https://travis-ci.org/kohana/orm.svg?branch=3.4%2Fdevelop)](https://travis-ci.org/kohana/orm) |

classes/Kohana/ORM.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ public function count_all()
16271627
if ($method['name'] == 'select')
16281628
{
16291629
// Ignore any selected columns for now
1630-
$selects[] = $method;
1630+
$selects[$key] = $method;
16311631
unset($this->_db_pending[$key]);
16321632
}
16331633
}

composer.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,19 @@
2525
"kohana/database": ">=3.3",
2626
"php": ">=5.3.3"
2727
},
28+
"require-dev": {
29+
"kohana/core": "3.3.*@dev",
30+
"kohana/database": "3.3.*@dev",
31+
"kohana/unittest": "3.3.*@dev",
32+
"kohana/koharness": "*@dev"
33+
},
2834
"extra": {
2935
"branch-alias": {
3036
"dev-3.3/develop": "3.3.x-dev",
3137
"dev-3.4/develop": "3.4.x-dev"
32-
}
38+
},
39+
"installer-paths": {
40+
"vendor/{$vendor}/{$name}": ["type:kohana-module"]
41+
}
3342
}
3443
}

koharness.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
// Configuration for koharness - builds a standalone skeleton Kohana app for running unit tests
3+
return array(
4+
'modules' => array(
5+
'orm' => __DIR__,
6+
'unittest' => __DIR__ . '/vendor/kohana/unittest'
7+
),
8+
);

0 commit comments

Comments
 (0)