sequel_bitemporal 0.8.0 → 0.8.1

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
  SHA1:
3
- metadata.gz: d0a0edda6ed50e2983eb44bd27cdfd5806ab187f
4
- data.tar.gz: 7a95abcb8b2dddc297fcd00ce37305c1d2dbbd4f
3
+ metadata.gz: ef19b4bdade528b57f9bb4bdf2b2b18b7ad80665
4
+ data.tar.gz: 68adf94b6120d9356d78c24348b535859bd5693d
5
5
  SHA512:
6
- metadata.gz: a5d2e9b84e34898fe9860c8c98fc573361003454e82db3031c557e9404020d7632e523a1d289b55f86a6de90e883c40c0242062ff120d79f78f0e33a77720760
7
- data.tar.gz: 2ad4054e1329a72e7031d3fe1d2bdea3d52b548d39088a6484f821a6f00aff599aa7e6ccc328f9b7c90131d45b7e3ce4630322618c4e2cf619cd991e808193c3
6
+ metadata.gz: 00274b5799cd5b25d2c4ef92796e770b33d1a0e0b93783e0d31ecd546e4ff1da1569a1b591edd627ab4eca9cd968395f372d02cde344503547a7682dfd477c51
7
+ data.tar.gz: 9191156d187ed23138c547e04120ff243eae60f917427e0cb10ba4e829a17f98eadb5d280beb34982e29bd74fa760e7446de429783cf6aabaed6942e4be899f5
@@ -61,7 +61,6 @@ module Sequel
61
61
  @propagate_per_column = opts.fetch(:propagate_per_column, false)
62
62
  @version_uses_string_nilifier = version.plugins.map(&:to_s).include? "Sequel::Plugins::StringNilifier"
63
63
  @excluded_columns = Sequel::Plugins::Bitemporal.bitemporal_excluded_columns
64
- @excluded_columns += columns
65
64
  @excluded_columns += Array opts[:excluded_columns] if opts[:excluded_columns]
66
65
  @use_ranges = if opts[:ranges]
67
66
  db = self.db
@@ -175,7 +174,7 @@ module Sequel
175
174
  end
176
175
  end
177
176
  unless opts[:delegate]==false
178
- (version.columns-master.excluded_columns).each do |column|
177
+ (version.columns-master.columns-master.excluded_columns).each do |column|
179
178
  master.class_eval <<-EOS
180
179
  def #{column}
181
180
  pending_or_current_version.#{column} if pending_or_current_version
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "sequel_bitemporal"
6
- s.version = "0.8.0"
6
+ s.version = "0.8.1"
7
7
  s.authors = ["Joseph HALTER", "Jonathan TRON"]
8
8
  s.email = ["joseph.halter@thetalentbox.com", "jonathan.tron@thetalentbox.com"]
9
9
  s.homepage = "https://github.com/TalentBox/sequel_bitemporal"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel_bitemporal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph HALTER