custom_query_methods 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: 8ae97b38a22f686833b0d231b6ecc8e9576a9f7bf68f7d07695f506bd0fd43ae
4
- data.tar.gz: e52c9c053ccba3d7be965dd64cf3223db5abbc582e3d1bcce357de7abda81eeb
3
+ metadata.gz: 39867c06a422f20d4e29a237483bcddb348406847feff44d8f5af6850adee9be
4
+ data.tar.gz: c692235378f6b4909e599e3e7ab3871a71a5953ae6889153ddaa6d2bcfb22610
5
5
  SHA512:
6
- metadata.gz: 648f690f16240ef20abc62e24d451892455c70fd890628a8d8b132dbbebbb767277cf1120af0eafd21c40b4f586a9619f8c31af3b7362b68ffb6474d1f8f22d8
7
- data.tar.gz: b57534088d533e04144238ae5eb996ecbb56aa07cdd6c9d46bed2b3956f57036df070f38210e591f49a69ba9ca3567a30a96d729371caebebde22b961f79d35c
6
+ metadata.gz: f0d366c4f70bbf559cf9ba3ec8d609d1e24dfd75fe652708a61f09396bedfcded50c417f4115cde91fdb4d48a91bfe9ae01c2d1a125a6f2703a9079e67e3ddfd
7
+ data.tar.gz: d76a0b9760aa364ee8975597660b05deb12ec9cf4453bae2701fc58a007d0948dd6568cc76b5c6697be816a21ef99b269fa8b3cf55e219400181164d1dfbd98f
Binary file
@@ -1,3 +1,3 @@
1
1
  module CustomQueryMethods
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -1,9 +1,8 @@
1
1
  require "custom_query_methods/version"
2
2
  require "custom_query_methods/active_record_extension"
3
- require 'custom_query_methods/railtie'
4
3
 
5
4
  module CustomQueryMethods
6
- ActiveRecord::QueryMethods.include ActiveRecordExtension
5
+ ActiveRecord::Base.include ActiveRecordExtension
7
6
 
8
7
  class Error < StandardError; end
9
8
  # Your code goes here...
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: custom_query_methods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - tsotne
@@ -56,10 +56,10 @@ files:
56
56
  - custom_query_methods-0.1.0.gem
57
57
  - custom_query_methods-0.1.1.gem
58
58
  - custom_query_methods-0.1.2.gem
59
+ - custom_query_methods-0.1.3.gem
59
60
  - custom_query_methods.gemspec
60
61
  - lib/custom_query_methods.rb
61
62
  - lib/custom_query_methods/active_record_extension.rb
62
- - lib/custom_query_methods/railtie.rb
63
63
  - lib/custom_query_methods/version.rb
64
64
  homepage: http://example.com
65
65
  licenses:
@@ -1,11 +0,0 @@
1
- require 'custom_query_methods/active_record_extension'
2
-
3
- module CustomQueryMethods
4
- class Railtie < Rails::Railtie
5
- initializer 'custom_query_methods.include_in_active_record' do
6
- ActiveSupport.on_load :active_record do
7
- ActiveRecord::Base.extend CustomQueryMethods::ActiveRecordExtension
8
- end
9
- end
10
- end
11
- end