schema-model 0.4.2 → 0.4.3

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: b72fb0e41743e3c662c33b14ab05ac593d638f7b13815f59a61f911ecedd96fb
4
- data.tar.gz: 5240afec97492c8a362acbc8de0e1257e2cbdac1251db48e22cb5a33b6ec855d
3
+ metadata.gz: 03e326c7a2593f07b97ced07ffd5386d9ac9c561d4e65d373b1f50d916fc5765
4
+ data.tar.gz: f4420f6bec67221fa990019aabfd1f762b93f0c5878ea8ff6fafc263a88ca1fe
5
5
  SHA512:
6
- metadata.gz: 99de0c37026fad9c8d976d47d75af0c65fc39c4b527503398227084e4d582c53a213ea12d8b782483bf7d0242f370bdec19bbad676031faf1b49e5e0a35952b1
7
- data.tar.gz: 6e3f5ece082047b713af401875d2004c422d777605c89ccd0e69ae01fa0ce9a341f222f1f8ba37cd4b158cd0ff28a1c4bfa0648ccc040a8ad13adb8e93197b68
6
+ metadata.gz: bf24c10ab44f7337877c6b2875c70b384537abcde14c09bd44d340b235ac0456ee5f9db55f72c46d0e8b8e96165a406a0a77fb99e18621ec3b4081eed1be6e02
7
+ data.tar.gz: 81f46010bef83c29a3367d50a9911f1dc1c27557a54e3ea122e9842affe1c72f1e224a80038c2e9bb4d21064d8a2660b32711746c315a4921983abbc60c42134
@@ -15,7 +15,7 @@ module Schema
15
15
  options = ::Schema::Utils.add_association_class(self, name, :has_many, options)
16
16
 
17
17
  class_eval(
18
- <<~STR
18
+ <<-STR, __FILE__, __LINE__ + 1
19
19
  def #{options[:getter]}
20
20
  #{options[:instance_variable]}
21
21
  end
@@ -15,7 +15,7 @@ module Schema
15
15
  options = ::Schema::Utils.add_association_class(self, name, :has_one, options)
16
16
 
17
17
  class_eval(
18
- <<~STR
18
+ <<-STR, __FILE__, __LINE__ + 1
19
19
  def #{options[:getter]}
20
20
  #{options[:instance_variable]}
21
21
  end
data/lib/schema/model.rb CHANGED
@@ -69,7 +69,7 @@ module Schema
69
69
 
70
70
  def add_attribute_methods(name, options)
71
71
  class_eval(
72
- <<~STR
72
+ <<-STR, __FILE__, __LINE__ + 1
73
73
  def #{options[:getter]}
74
74
  #{options[:instance_variable]}
75
75
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch