rails_optimizer 0.1.1 → 0.1.2

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: 731a2c0d7fc92dd23ef745335f531f96fca55759
4
- data.tar.gz: 6be9d2d8a3ad6f4dc6a0b53d091f640681e6ac98
3
+ metadata.gz: 51932ccdf691ba5d2b226ea43f5fb68dc1e45aad
4
+ data.tar.gz: 9529d9c3dd83c7f08ba150e42197d6dd2986e355
5
5
  SHA512:
6
- metadata.gz: ada08618e48a7687b8d8915a400cfe9741430e77bfec77a1008f25ea9f919bd7bc3c528b7c6e79bec789d61caf0fd1616cdd453bd5c7e3a2501b1532fc697220
7
- data.tar.gz: ff222be044ad80b6a55892e25e12c06442286b4ab3645db9b9189261ecd5de79728d6112acd024ed222f804d73b254d9e3014f5b7b3a159be414ffdd0ee7c06c
6
+ metadata.gz: 2f4f82db45e9fde9d63043102358e65a2b854de76f51c118056cfb237c6f0e779a424e5009759e35e0ffb7327cf6235c9eec46eca3ac7fe2939b9cd6ebd3275a
7
+ data.tar.gz: 803ddf88add1e53c52b6118676a821e51fe28b6a3efd30918c9774fc6ebd2f082fdcd73f51883aaf2810646003c51b8710be00383bdfa727b502630fcb990343
@@ -0,0 +1,57 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rails_optimizer (0.1.1)
5
+ activerecord
6
+ activesupport
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (5.2.4.4)
12
+ activesupport (= 5.2.4.4)
13
+ activerecord (5.2.4.4)
14
+ activemodel (= 5.2.4.4)
15
+ activesupport (= 5.2.4.4)
16
+ arel (>= 9.0)
17
+ activesupport (5.2.4.4)
18
+ concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ i18n (>= 0.7, < 2)
20
+ minitest (~> 5.1)
21
+ tzinfo (~> 1.1)
22
+ arel (9.0.0)
23
+ concurrent-ruby (1.1.7)
24
+ diff-lcs (1.4.4)
25
+ i18n (1.8.7)
26
+ concurrent-ruby (~> 1.0)
27
+ minitest (5.14.3)
28
+ rake (12.3.3)
29
+ rspec (3.10.0)
30
+ rspec-core (~> 3.10.0)
31
+ rspec-expectations (~> 3.10.0)
32
+ rspec-mocks (~> 3.10.0)
33
+ rspec-core (3.10.1)
34
+ rspec-support (~> 3.10.0)
35
+ rspec-expectations (3.10.1)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.10.0)
38
+ rspec-mocks (3.10.1)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.10.0)
41
+ rspec-support (3.10.1)
42
+ thread_safe (0.3.6)
43
+ tzinfo (1.2.9)
44
+ thread_safe (~> 0.1)
45
+
46
+ PLATFORMS
47
+ ruby
48
+
49
+ DEPENDENCIES
50
+ activerecord (~> 5.2)
51
+ activesupport (~> 5.2)
52
+ rails_optimizer!
53
+ rake (~> 12.0)
54
+ rspec (~> 3.0)
55
+
56
+ BUNDLED WITH
57
+ 2.1.4
@@ -2,6 +2,8 @@ require "rails_optimizer/version"
2
2
 
3
3
  module RailsOptimizer
4
4
  class Error < StandardError; end
5
+ extend ActiveSupport::Concern
6
+
5
7
  included do
6
8
  def save
7
9
  if has_changes_to_save?
@@ -1,3 +1,3 @@
1
1
  module RailsOptimizer
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_optimizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facundo A. Díaz Martínez
@@ -50,6 +50,7 @@ files:
50
50
  - ".travis.yml"
51
51
  - CODE_OF_CONDUCT.md
52
52
  - Gemfile
53
+ - Gemfile.lock
53
54
  - LICENSE.txt
54
55
  - README.md
55
56
  - Rakefile