historiographer 4.1.1 → 4.1.2

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
  SHA256:
3
- metadata.gz: 740453114d73fc300d55d887a57f8bbf447042bb5d65da886125ece34982bf33
4
- data.tar.gz: 201cfd99a05408c4f4387d4c7244d87c985ce82c7aaab24db8114c7760831f31
3
+ metadata.gz: 2281f88ad4a2145f68c25fe6898770ba38ca4792a5ab8f3f6cbcedeca2b8455d
4
+ data.tar.gz: de5faba8282b740969980c007e78060b2fb9c6161f3ec2471e4ce6f2cb8683fc
5
5
  SHA512:
6
- metadata.gz: 93d61f00c711ef9ef058e1e3eef9444755ea24756d5bb139cd2f657396061f80d9f405ed6eef4d86164fad8b10abd7e9103d0776556a2d1d344b379dab9d6076
7
- data.tar.gz: acfe88c0b2fad42d24484b62fcd3cae84149eca55d0aea1d1f6771a5c6e785508679a5430f533d427c6aa460a8a5f355023f50ad42614282ae5d7b88591aaf19
6
+ metadata.gz: 13622823469e2fd145ba26db17feec352c808ffbaf19488132bfb384c563d5c90ec13162e02894ac4aa4a9ddc09ef519261fb56777b0e5ef947485359830baf6
7
+ data.tar.gz: 772c250ad9a270d6c5d77a33f537a5b965833bde3ab593d46199f4fbd5004c0a9730c9679c6b8ae87d26244a4723ce1b4ed88c50e6c4b3915dd2750d7473afb3
@@ -26,6 +26,7 @@ module Historiographer
26
26
 
27
27
  class_name = original_table_name.classify
28
28
  klass = Object.const_set(class_name, class_definer)
29
+ klass.send("table_name=", original_table_name)
29
30
  original_columns = klass.columns.reject { |c| c.name == "id" || except.include?(c.name) || (only.any? && only.exclude?(c.name)) || no_business_columns }
30
31
 
31
32
  integer foreign_key.to_sym, null: false
@@ -1,3 +1,3 @@
1
1
  module Historiographer
2
- VERSION = "4.1.0"
3
- end
2
+ VERSION = "4.1.2"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: historiographer
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - brettshollenberger