Skip to content

Commit

Permalink
Merge branch 'trunk' into dustyf-strip-slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Mar 10, 2015
2 parents e222bce + dce6ec3 commit 3fe4ece
Show file tree
Hide file tree
Showing 32 changed files with 1,405 additions and 456 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: php

php:
- 5.2
- 5.3
- 5.4

Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ All notable changes to this project will be documented in this file.

## [Unreleased][unreleased]

*
### Enhancements

* Updated Timepicker utilizing the [@trentrichardson](https://github.com/trentrichardson) jQuery Timepicker add-on (https://github.com/trentrichardson/jQuery-Timepicker-Addon), and updated Datepicker styles. Props [JonMasterson](https://github.com/JonMasterson). ([#204](https://github.com/WebDevStudios/CMB2/issues/204), [#206](https://github.com/WebDevStudios/CMB2/issues/206), [#45](https://github.com/WebDevStudios/CMB2/issues/45)).

## 2.0.2 - 2015-02-15

Expand Down
40 changes: 40 additions & 0 deletions Dockunit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"containers": [
{
"prettyName": "PHP 5.2 on Ubuntu on Latest WP",
"image": "tlovett1/php-5.2-phpunit-3.5",
"beforeScripts": [
"service mysql start",
"bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost latest"
],
"testCommand": "phpunit"
},
{
"prettyName": "PHP 5.2 on Ubuntu on WP 3.8",
"image": "tlovett1/php-5.2-phpunit-3.5",
"beforeScripts": [
"service mysql start",
"bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost 3.8"
],
"testCommand": "phpunit"
},
{
"prettyName": "PHP 5.5 FPM WordPress Latest WP",
"image": "tlovett1/php-fpm-phpunit-wp",
"beforeScripts": [
"service mysql start",
"bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost latest"
],
"testCommand": "phpunit"
},
{
"prettyName": "PHP 5.5 FPM WordPress WP 3.8",
"image": "tlovett1/php-fpm-phpunit-wp",
"beforeScripts": [
"service mysql start",
"bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost 3.8"
],
"testCommand": "phpunit"
}
]
}
20 changes: 0 additions & 20 deletions bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
<?php

/**
* Helper function to provide directory path to CMB
* @since 2.0.0
* @param string $path Path to append
* @return string Directory with optional path appended
*/
function cmb2_dir( $path = '' ) {
static $cmb2_dir = null;
if ( is_null( $cmb2_dir ) ) {
$cmb2_dir = trailingslashit( dirname( __FILE__ ) );
}
return $cmb2_dir . $path;
}

/**
* Include helper functions,
* and more importantly, the class/file autoloader
*/
require_once cmb2_dir( 'includes/helper-functions.php' );

/**
* Fires when CMB2 is included/loaded
*
Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,5 @@
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
"autoload": {
"files": ["init.php"]
}
}
Loading

0 comments on commit 3fe4ece

Please sign in to comment.