hello_code_active_record_utils 0.2.0 → 0.2.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: 6f0f3fd33a559a96b97434f86b16faafa95eecb8
4
- data.tar.gz: c3919fe1cbd95bbce6a23d669fc80977db585c2e
3
+ metadata.gz: 0ef7728bc03c494b4ff68bdcd178ee8d713513a4
4
+ data.tar.gz: f4c28c6a4145d4096d9c9f1caabf5b812605288d
5
5
  SHA512:
6
- metadata.gz: f0d1945f8465710cc82a76d7567699a39e36bbf11ac9269af54c0f98bea1ffcbc95feced4303aa620ae93f0f4598991afd2bd6060b3da1bb49dbb83a4502d2ec
7
- data.tar.gz: 8e3ed0200b7a7c4ac3e18e838f5ff291e9c1d12ec8adf9a07be35cdd1ebfbe180c843b696250699444a744c0a04b25e5f11a1439f8cfb8a37e84b3b7b1429292
6
+ metadata.gz: 5ff2aca8aac459acb7560a502a07c5d27de187d879f24c38560a402fa71454709eebffbfe55876d6c8ece5e8eb85170781c899ab662cb7b620d1ff849934e932
7
+ data.tar.gz: a90e59109e3a25e54d4a19665667f7abfc654c54a8b60546d763834f81466a0f9108a292d3fe9a33689e8d8778c8e86bd452ba19644cc72583bbcadf84206718
@@ -11,11 +11,11 @@ module HelloCode
11
11
  with_scope_name = "with_#{ suffix }".to_sym
12
12
  include_scope_name = "include_#{ suffix }".to_sym
13
13
  and_scope_name = "and_#{ suffix }".to_sym
14
+ load_scope_name = "load_#{ suffix }".to_sym
14
15
 
15
16
  scope with_scope_name, -> { joins(relationship) }
16
17
  scope include_scope_name, -> { includes(relationship) }
17
18
  scope and_scope_name, -> { joins(relationship) }
18
-
19
19
  scope load_scope_name, -> { preload(relationship) }
20
20
 
21
21
  nil
@@ -1,5 +1,5 @@
1
1
  module HelloCode
2
2
  module ActiveRecordUtils
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hello_code_active_record_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francisco Soto