who_delegated 0.3.1 → 0.3.3

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: 2e1f6cd7c0f8178f59fd6884af6212401d2d9bf7a8e6e9974f27e644ba4cfbca
4
- data.tar.gz: 3c32374911ed5e913e64bba1d1828927ef44adf77565e562197f418bbf1f478a
3
+ metadata.gz: fc6718c3ee654517bb021ed2df87ac6fa5f7ba284c112af0df0b25a9bd5b0b96
4
+ data.tar.gz: 8e91b8ec68178000b20eee644a52f0a787dc958480196664a7fffb038ac81e22
5
5
  SHA512:
6
- metadata.gz: d3d5fcc8318ac81c36ec644a85834baf4a993ab39b6067aaaa39ab161571dfd857e7bd1263d96288842571e57c2c4aedc7aa33526a72875686238b5a0dbb25dd
7
- data.tar.gz: 8cbc019bb507ec8de1666515c5be888fb798784fac572bdf40983778b73c028802d2f0713d844dcfbcf30f4cb5ab5167e95166335f7fd1aa62e9b8539f34c538
6
+ metadata.gz: 3576e2676d9cca7d7327458a5265e3dccca10cf4698f1bc91a9ef1e8832b700075862f8e2ea2576c8bc74dd48f20528b2a0482d66bb7eaed366500bfba643d95
7
+ data.tar.gz: 8ca73e18607fb7db74bd80b64026a2bd3aa31cea8979b9d50c5aa0f5f7909507f09103d039347b6fd2fc57bc4ac1f0f3cd394b75001af13b24807fb9ab6a5012
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class ::Module
3
+ class Module
4
4
  alias __delegate delegate
5
5
  def delegate(*methods, to: nil, prefix: nil, allow_nil: nil, private: nil)
6
6
  if defined?(ActiveRecord::Base) && self < ActiveRecord::Base
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "who_delegated/module"
4
- require "who_delegated/activerecord/base"
3
+ require "module"
4
+ require "activerecord/base"
5
5
 
6
6
  module WhoDelegated
7
7
  class Railtie < ::Rails::Railtie
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WhoDelegated
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: who_delegated
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sampo Kuokkanen
@@ -35,10 +35,10 @@ files:
35
35
  - MIT-LICENSE
36
36
  - README.md
37
37
  - Rakefile
38
+ - lib/module.rb
39
+ - lib/tasks/activerecord/base.rb
38
40
  - lib/tasks/who_delegated_tasks.rake
39
41
  - lib/who_delegated.rb
40
- - lib/who_delegated/activerecord/base.rb
41
- - lib/who_delegated/module.rb
42
42
  - lib/who_delegated/railtie.rb
43
43
  - lib/who_delegated/version.rb
44
44
  homepage: https://github.com/sampokuokkanen/who_delegated
File without changes