logidze 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8e3b2e4793fe16e96a40e2059df0b137be3a6b0
4
- data.tar.gz: 96bdab4a164cdb0180d6b91b602b1d5831245512
3
+ metadata.gz: 228ca57ade662a402702a9f4de86b3a6cfffa19f
4
+ data.tar.gz: 10847c58e74bc63611bec70c5a17a5c1fc9d6e87
5
5
  SHA512:
6
- metadata.gz: 6b5eccd3de9563162195ca6e8350ed3136a696085485bdd95a806e6eef449b2d76b9690b4aea6558773d39df321be5bbb8998b97f5461907763643bb7f8800e2
7
- data.tar.gz: 1b1389f59b82cb3fc637151e3c8561cea387a7d83a58dbf93805d619916b34ca0a682e0be54d88bb934ff4caa1697d2ed2986167837234fdf36f8d6513844a4b
6
+ metadata.gz: 29b418e5ce0ade9b3eee3397219ef77727165f9ebe112a4eb5f02061c9b3c3447e12c0ad5fb3af3eeba128c8e6cff508222fe7262e713ab5631fec6739005f32
7
+ data.tar.gz: e528366f1ac5d3b76515ca40e2b1d19ae322e67cbcac4506f1729b5eb7002425109e6a5459e2701b6271b9eaeea74f2d42ceacdd97e69f2633d9e149923bd8b1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change log
2
2
 
3
+ ## 0.5.1 (2017-06-15)
4
+
5
+ - _(Fix)_ Drop *all* created functions upon rolling back (https://github.com/palkan/logidze/commit/b8e150cc18b3316a8cf0c78f7117339481fb49c6). ([@vassilevsky][])
6
+
3
7
  ## 0.5.0 (2017-03-28)
4
8
 
5
9
  - Add an option to preserve future versions. ([@akxcv][])
@@ -47,3 +51,4 @@
47
51
  [@palkan]: https://github.com/palkan
48
52
  [@charlie-wasp]: https://github.com/charlie-wasp
49
53
  [@akxcv]: https://github.com/akxcv
54
+ [@vassilevsky]: https://github.com/vassilevsky
@@ -205,6 +205,7 @@ class <%= @migration_class_name %> < ActiveRecord::Migration
205
205
  <% unless update? %>
206
206
  execute <<-SQL
207
207
  DROP FUNCTION logidze_version(bigint, jsonb, timestamp with time zone, text[]) CASCADE;
208
+ DROP FUNCTION logidze_exclude_keys(jsonb, text[]) CASCADE;
208
209
  DROP FUNCTION logidze_compact_history(jsonb) CASCADE;
209
210
  DROP FUNCTION logidze_snapshot(jsonb, text, text[]) CASCADE;
210
211
  DROP FUNCTION logidze_logger() CASCADE;
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Logidze
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
data/logidze.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_development_dependency "pg", "~>0.18"
23
23
  spec.add_development_dependency "bundler", "~> 1"
24
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rake", ">= 10.0"
25
25
  spec.add_development_dependency "rspec-rails", ">= 3.4"
26
26
  spec.add_development_dependency "database_cleaner", "~> 1.5"
27
27
  spec.add_development_dependency "simplecov", ">= 0.3.8"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logidze
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-28 00:00:00.000000000 Z
11
+ date: 2017-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -56,14 +56,14 @@ dependencies:
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '10.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '10.0'
69
69
  - !ruby/object:Gem::Dependency