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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0950368003afb31089440263fe41c35e9d2ca1ecff7119cd641bc7600a92fc9
4
- data.tar.gz: 650fce0a5ae8c75796ae48a9d87df9470bef6004fe6ce378d84eeebf76cdd584
3
+ metadata.gz: 3a7633b51e3c67f1fc7db25cc71c81c8063e6508d9b037439ec489c644913911
4
+ data.tar.gz: 106cbb41b697e40dea8ad8e5198b14b9649faa88bb747f1fd39c956414679706
5
5
  SHA512:
6
- metadata.gz: 46008ac6b5c00fc23b61a0471ef5b04885466e94a1c6d210e74a133c27afc8c9754620520e4be6e167a9c08063691da5b644d4fcb60c161122f2600a3e8d20c4
7
- data.tar.gz: 2902d6dd2f78496c3ffd261dcc9ab182818e0487554c3b8224e72312a9188728a5196cb20a61ff77c34d30f5e04db896c58b7b216432e0281b524f42eb0ca176
6
+ metadata.gz: 9e4e5de83c7051397292493d446eb3dc0f85f475d86aa9b5798d20d55c04a12cc30c4fa0dcea4c5efa52b3d6820ae0fe73b4512a5e2b311e911d52f4d8a97aac
7
+ data.tar.gz: 9150b3e18ed64ad38643c219c1d53f36f93737c020bd6fe3fd35d98d50664b2898b15e5436d7acf43604a5915d856e55c67c6abefd1174037eddbfa8041c7364
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_optimizer (0.2.0)
4
+ rails_optimizer (0.2.1)
5
5
  activerecord
6
6
  activesupport
7
7
 
@@ -9,14 +9,7 @@ module RailsOptimizer
9
9
  extend ActiveSupport::Concern
10
10
 
11
11
  included do
12
- def save(args=nil)
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)
@@ -1,3 +1,3 @@
1
1
  module RailsOptimizer
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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.1
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-23 00:00:00.000000000 Z
11
+ date: 2021-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord