pgdice 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f138b06811bb8847c4156e8754f181dc61d2c18f82fd94d643f950ee23b48973
4
- data.tar.gz: d45dc12a36517675404ae6700b1a208af933f4d7f1564baa7cf8d667b2410479
3
+ metadata.gz: cb0186157164f68ab2d28de3f12ca7a2eefabf012951fab5e279e9945ed91bf6
4
+ data.tar.gz: 3a7c382cdeec7893699dd3006823f7b8ac58f973a9ccd687fc68736c274f69ab
5
5
  SHA512:
6
- metadata.gz: 01d6ba6f5105175bf4b75a03a98d624bd8d39512eb593a6ba343d3171c46e6af8ff104f559e54e88130511fbe7e67290af23202be651d9b656640bbdfed23cb0
7
- data.tar.gz: 7c0a38195a3bdb44cbc912713f4fb1fb9711f0d4c44d397886b56482962474b2094042625b521bc42c5fedf8d6c4ac7ed7fa6f5f4587bf53f0c4aa99765d37bf
6
+ metadata.gz: 9ffb81d9926e552e45cb69994f3bb2272a44b2f81a810817b513ffe50301e2196c9959ee5d38fa51c2a76b657a4a2a489771a9961dd1e018804bf4bbd05a7fa0
7
+ data.tar.gz: dcdb213293295da91d63c5e0dafaf8e2739f8b6ce35ee30916b620b1c2ef0de55294f5b71643dfaa9a95c0cce75b0545300c4ce5970b0230ed14d057ffa96da2
data/CHANGELOG.md CHANGED
@@ -2,21 +2,35 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [v0.3.3] : 2018-11-30
6
+ ### Changes
7
+ - Do not eagerly initialize the `pg_connection` as this can cause some normal
8
+ `rails` tasks to break (like database dropping). #24
9
+
10
+
11
+ ## [v0.3.2] : 2018-11-29
12
+ ### Changes
13
+ - Fix behavior of `undo_partitioning` to drop intermediate tables if `partition_table`
14
+ failed before swapping tables.
15
+
5
16
 
6
17
  ## [v0.3.1] : 2018-10-22
7
18
  ### Changes
8
19
  - Bump up `approved_tables` to `PgDice` module.
9
20
 
21
+
10
22
  ## [v0.3.0] : 2018-10-21
11
23
  ### Changes
12
24
  - Delegate methods from the management classes onto the `PgDice` module itself.
13
25
  - This means the api for this project is significantly more simple to use.
14
26
 
27
+
15
28
  ## [v0.2.1] : 2018-10-21
16
29
  ### Changes
17
30
  - Renamed `PartitionManager.list_batched_droppable_partitions` to
18
31
  `PartitionManager.list_droppable_partitions_by_batch_size`
19
32
  - Readme updated
20
33
 
34
+
21
35
  ## [v0.2.0] : 2018-10-21
22
36
  - Changelog added
@@ -41,8 +41,6 @@ module PgDice
41
41
  def validate!
42
42
  logger_factory
43
43
  database_url
44
- database_connection
45
- pg_connection
46
44
  batch_size
47
45
  approved_tables
48
46
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgDice
4
- VERSION = '0.3.2'
4
+ VERSION = '0.3.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgdice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Newell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-29 00:00:00.000000000 Z
11
+ date: 2018-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg