rails_optimizer 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rails_optimizer.rb +1 -8
- data/lib/rails_optimizer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a7633b51e3c67f1fc7db25cc71c81c8063e6508d9b037439ec489c644913911
|
4
|
+
data.tar.gz: 106cbb41b697e40dea8ad8e5198b14b9649faa88bb747f1fd39c956414679706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e4e5de83c7051397292493d446eb3dc0f85f475d86aa9b5798d20d55c04a12cc30c4fa0dcea4c5efa52b3d6820ae0fe73b4512a5e2b311e911d52f4d8a97aac
|
7
|
+
data.tar.gz: 9150b3e18ed64ad38643c219c1d53f36f93737c020bd6fe3fd35d98d50664b2898b15e5436d7acf43604a5915d856e55c67c6abefd1174037eddbfa8041c7364
|
data/Gemfile.lock
CHANGED
data/lib/rails_optimizer.rb
CHANGED
@@ -9,14 +9,7 @@ module RailsOptimizer
|
|
9
9
|
extend ActiveSupport::Concern
|
10
10
|
|
11
11
|
included do
|
12
|
-
|
13
|
-
if has_changes_to_save?
|
14
|
-
super(args)
|
15
|
-
else
|
16
|
-
true
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
12
|
+
|
20
13
|
def self.has_one(name, scope = nil, **options)
|
21
14
|
super
|
22
15
|
RailsOptimizer::HasOne._define(self,name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_optimizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Facundo A. Díaz Martínez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|