README.md in simple_mysql_partitioning-0.2.1 vs README.md in simple_mysql_partitioning-0.3.0
- old
+ new
@@ -1,7 +1,9 @@
-# SimpleMysqlParitioning
+# SimpleMysqlPartitioning
+[![Build Status](https://travis-ci.org/Andryu/simple_mysql_partitioning.svg?branch=master)](https://travis-ci.org/Andryu/simple_mysql_partitioning)
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/simple_mysql_partitioning`. To experiment with that code, run `bin/console` for an interactive prompt.
TODO: Delete this and the text above, and describe your gem
## Installation
@@ -40,10 +42,11 @@
# add partition
DailyReport.partition.add(pairs_name_with_values)
# reorganize partition
# If you want to reorganize partition, use this method and set reorganize partition name to second arg.
-DailyReport.partition.reorganize(pairs_name_with_values, 'p999999')
+# Reorganize partitiong default value is 'MAXVALUE'.
+DailyReport.partition.reorganize(pairs_name_with_values, 'p999999', 'MAXVALUE')
# drop
DailyReport.partition.drop('p201808')
# exists?