rails_optimizer 0.1.5 → 0.1.6

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
  SHA1:
3
- metadata.gz: 13f77501d80e64390517d2db18dfc1a3fb81616e
4
- data.tar.gz: 997d8440d4c375a378d48275bdcc63f683e3fa39
3
+ metadata.gz: 251bda842b9bd7397e47653d3295e8870df5e98f
4
+ data.tar.gz: 9fb57d460e2d263244106de84543738c2e2464db
5
5
  SHA512:
6
- metadata.gz: 2380df7b3ed1dd6c38ce960b16f05212b41ec64d5a9f9de3aa24de8e6eeb97d7c71198a0fe1a13c59b2a3fb09404599e9fe560a289e4db51d9142a31624dc4bf
7
- data.tar.gz: '08656e5c75acf0e1cf2a6acfd631ae245fce975681e69a23dc1ea36209c8c3c5c586d97f9ada4c4a160743b0a7a4d79aa96860028d47ec185e049745d962e991'
6
+ metadata.gz: 6c156ac6ca99836791406c79d3e9b0615caf1f469d4e0b49ca20b39906cb555eb91ed69008dcf70d57aebd0da87a97386ea84fae0ac1f82945bf4995589f9940
7
+ data.tar.gz: 80610029667cf7451440ddf7505f4d0dcb2f8dfbfd7db37379d075d56f3fa5cccada3771cbe863ce291edd14c0cc507a8e80945f9882da41c07f80e4f1d52396
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_optimizer (0.1.4)
4
+ rails_optimizer (0.1.5)
5
5
  activerecord
6
6
  activesupport
7
7
 
@@ -30,7 +30,7 @@ module RailsOptimizer
30
30
  def self.belongs_to(name, scope = nil, **options)
31
31
  super
32
32
  define_method name.to_s do |*args|
33
- super if arsg.empty?
33
+ super if args.empty?
34
34
  klass = if options[:polymorphic]
35
35
  read_attribute("#{name}_type".to_sym)
36
36
  else
@@ -1,3 +1,3 @@
1
1
  module RailsOptimizer
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facundo A. Díaz Martínez