tramway-core 1.17.2.4 → 1.17.2.5

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: b75d7e99e7440745ca0e69aeb6cfb0c3416f51aac3c56b50a670bde828d0a2af
4
- data.tar.gz: 1690aa1dd010e6b14faf2e2aaf30d978ef198467c0a826936411070ee67ec30a
3
+ metadata.gz: e1fd2dbf4e83157c214af26cda3f420c2262424d412e0be024370276a376c9f1
4
+ data.tar.gz: 0d7183e4be0137e326e4c65e01af71c3d9d43a8085245dceb67d5903332a616e
5
5
  SHA512:
6
- metadata.gz: e80f2d56b1d3b10dff0f3f7231d9fef45044b9aa2c947ab56393176dda4e870f097434e43b1e40c37b3c8f6e8b7cd6d730ce2fe872d20a7f10c92b742c1be9f4
7
- data.tar.gz: eac916585fb7b1d7fd8009e461ddc330625ca1a8b9f64079ee0e2fc90b0067fa88af413a8d9ddc2acbcb7f63185fe45d11a0773f6f321e59e64d5297257c83a7
6
+ metadata.gz: a757831c656315d7fe43f5b76a0fff363170d55b2042a1f520bda007c57605f93f36a808e6f82d82b0f7aa94f523c12b552efae501fc076165f2bc88bf4ea94f
7
+ data.tar.gz: ca9475b9bfaa9bd0c80fdfd14d502dbec4e30712d6c2260e9ac6b8607d16851d4eac117e795301d102c3a73d07fa802a3ff57e9c8f78e125e52dce13493a8269
@@ -32,6 +32,10 @@ class Tramway::Core::ApplicationForm < ::Reform::Form
32
32
  @@model_class.model_name
33
33
  end
34
34
 
35
+ def associations
36
+ @@associations
37
+ end
38
+
35
39
  class << self
36
40
  include Tramway::Core::ApplicationForms::ConstantClassActions
37
41
 
@@ -1,10 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tramway::Core::ApplicationForms::AssociationObjectHelpers
4
- def associations
5
- @@associations
6
- end
7
-
8
4
  def define_association_method(association, class_name)
9
5
  if class_name.is_a? Array
10
6
  define_polymorphic_association association, class_name
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Core
5
- VERSION = '1.17.2.4'
5
+ VERSION = '1.17.2.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.2.4
4
+ version: 1.17.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-03-19 00:00:00.000000000 Z
12
+ date: 2020-03-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: audited