sql_partitioner 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +7 -1
- data/README.md +4 -3
- data/lib/sql_partitioner/version.rb +1 -1
- data/sql_partitioner.gemspec +10 -5
- metadata +10 -7
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 0.6.1 (2014-11-04)
|
2
|
+
|
3
|
+
Features:
|
4
|
+
|
5
|
+
- Small README and .gemspec improvements
|
6
|
+
|
1
7
|
## 0.6.0 (2014-11-03)
|
2
8
|
|
3
9
|
Features:
|
@@ -27,4 +33,4 @@ Features:
|
|
27
33
|
Bugfixes:
|
28
34
|
|
29
35
|
- Fixed return value for `_execute_and_display_partition_info` when SQL is executed.
|
30
|
-
Before, it returned whatever `logger.info` happened to return. Now it returns true.
|
36
|
+
Before, it returned whatever `logger.info` happened to return. Now it returns true.
|
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
# SqlPartitioner
|
2
|
-
[![Build Status](https://travis-ci.org/rightscale/sql_partitioner.png)](https://travis-ci.org/rightscale/sql_partitioner)
|
2
|
+
[![Build Status](https://travis-ci.org/rightscale/sql_partitioner.png?branch=master)](https://travis-ci.org/rightscale/sql_partitioner)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/sql_partitioner.svg)](http://badge.fury.io/rb/sql_partitioner)
|
3
4
|
|
4
|
-
SqlPartitioner provides a `
|
5
|
+
SqlPartitioner provides a `PartitionsManager` class to help maintain partitioned tables in MySQL.
|
5
6
|
If you have a table that is partitioned based on a timestamp, you will likely need to regularly add new partitions
|
6
7
|
into the future as well as remove older partitions to free up space. This gem will help.
|
7
8
|
|
@@ -26,7 +27,7 @@ Does not yet support databases other than MySQL. Target table can only be partit
|
|
26
27
|
## Getting Started
|
27
28
|
You'll need to `require 'sql_partitioner'`.
|
28
29
|
|
29
|
-
Here's an example for initializing a `
|
30
|
+
Here's an example for initializing a `PartitionsManager` instance, using `DataMapper`:
|
30
31
|
|
31
32
|
```ruby
|
32
33
|
partition_manager = SqlPartitioner::PartitionsManager.new(
|
data/sql_partitioner.gemspec
CHANGED
@@ -7,11 +7,16 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.name = "sql_partitioner"
|
8
8
|
gem.version = SqlPartitioner::VERSION
|
9
9
|
|
10
|
-
gem.authors = ['Dominic Metzger, Sumner McCarty, Prakash Selvaraj, Jim Slattery']
|
11
|
-
gem.date = "2014-
|
12
|
-
|
13
|
-
gem.summary = %q{
|
14
|
-
gem.description =
|
10
|
+
gem.authors = ['Dominic Metzger', 'Sumner McCarty', 'Prakash Selvaraj', 'Jim Slattery']
|
11
|
+
gem.date = "2014-11-04"
|
12
|
+
|
13
|
+
gem.summary = %q{SqlPartitioner helps maintain partitioned tables in MySQL.}
|
14
|
+
gem.description = <<-EOF
|
15
|
+
This gem will help setup partitioning on a table, based on its `timestamp` column.
|
16
|
+
Once you have a table that is partitioned based on a timestamp, you will likely need to
|
17
|
+
regularly add new partitions into the future, and drop older partitions to free up space.
|
18
|
+
This gem can help carry out such routine activities as well.
|
19
|
+
EOF
|
15
20
|
gem.homepage = "https://github.com/rightscale/sql_partitioner"
|
16
21
|
gem.email = 'support@rightscale.com'
|
17
22
|
gem.licenses = ["MIT"]
|
metadata
CHANGED
@@ -1,21 +1,24 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sql_partitioner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 1
|
10
|
+
version: 0.6.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
|
-
- Dominic Metzger
|
13
|
+
- Dominic Metzger
|
14
|
+
- Sumner McCarty
|
15
|
+
- Prakash Selvaraj
|
16
|
+
- Jim Slattery
|
14
17
|
autorequire:
|
15
18
|
bindir: bin
|
16
19
|
cert_chain: []
|
17
20
|
|
18
|
-
date: 2014-
|
21
|
+
date: 2014-11-04 00:00:00 Z
|
19
22
|
dependencies:
|
20
23
|
- !ruby/object:Gem::Dependency
|
21
24
|
name: rspec
|
@@ -145,7 +148,7 @@ dependencies:
|
|
145
148
|
version: 1.2.0
|
146
149
|
type: :development
|
147
150
|
version_requirements: *id008
|
148
|
-
description:
|
151
|
+
description: " This gem will help setup partitioning on a table, based on its `timestamp` column.\n Once you have a table that is partitioned based on a timestamp, you will likely need to\n regularly add new partitions into the future, and drop older partitions to free up space.\n This gem can help carry out such routine activities as well.\n"
|
149
152
|
email: support@rightscale.com
|
150
153
|
executables: []
|
151
154
|
|
@@ -219,7 +222,7 @@ rubyforge_project:
|
|
219
222
|
rubygems_version: 1.8.15
|
220
223
|
signing_key:
|
221
224
|
specification_version: 3
|
222
|
-
summary:
|
225
|
+
summary: SqlPartitioner helps maintain partitioned tables in MySQL.
|
223
226
|
test_files:
|
224
227
|
- spec/db_conf.yml
|
225
228
|
- spec/lib/spec_helper.rb
|