activerecord-analyze 0.2.0 → 0.3.0

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
- SHA1:
3
- metadata.gz: 226e12a1f8d3b7be66168f555950dff9fb7f1ab8
4
- data.tar.gz: 53feb1e87fb720e691586f13cf01963d2eec8ac6
2
+ SHA256:
3
+ metadata.gz: d52550c794a58f382c5e5e1d1b78463bc0766969e5e3d7818b494bbf7027924e
4
+ data.tar.gz: 2a884a86a595021e5afc2c43083bb51287db83a5ac56da1ff4a9fe985c35870b
5
5
  SHA512:
6
- metadata.gz: dde5e026fc7e5e26ca627157078666dc62dbd15bbae2ed517a6060129a1bcb13d344da26de108cf1344068d6ba4ce37892e4ca98062121c517d068a063ffba47
7
- data.tar.gz: effb4506e5be439b594f536a4bb30e57133e28445d63b78abef153c3f9386a8e5a669e58e9f6a238caad8b73eb3dd6697c953d3cfd88d7e689aa303496c37f61
6
+ metadata.gz: 7e10b5364ed42150d2c41f49c3378f0f4e44e886e9f6100ccc073500ed5185e2d97c39f74c3922544ad36ec1f52c7d947ec1385e573bcf994e0c96af461913ad
7
+ data.tar.gz: 7d531a91c688a6c0127cc55b16f253ccbc9ada4a67b382c7dbfa25694b20ce5e0d33e18ed8ba7d81d5745e6a626c8e2b5769f6a4af52231b28187e461cd07bff
data/README.md CHANGED
@@ -1,2 +1,17 @@
1
1
  # ActiveRecord Analyze
2
2
 
3
+ This gem adds an `analyze` method to Active Record query objects. It executes `EXPLAIN ANALYZE` on a query SQL.
4
+
5
+ ## Installation
6
+
7
+ In your Gemfile:
8
+
9
+ ```ruby
10
+
11
+ gem 'activerecord-analyze'
12
+
13
+ ```
14
+
15
+ ### Disclaimer
16
+
17
+ It is a bit experimental and can break with new Rails release. As soon as [this pull request](https://github.com/rails/rails/pull/31374/) is merged it will be obsolete.
@@ -15,5 +15,5 @@ Gem::Specification.new do |gem|
15
15
  gem.test_files = gem.files.grep(%r{^(spec)/})
16
16
  gem.require_paths = ["lib"]
17
17
  gem.license = "MIT"
18
- gem.add_dependency "rails", "~> 5.1.0"
18
+ gem.add_dependency "rails", ">= 5.1.0"
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordAnalyze
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-analyze
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-11 00:00:00.000000000 Z
11
+ date: 2020-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 5.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 5.1.0
27
27
  description: ' Gem adds an "analyze" method to all Active Record query objects. Compatible
@@ -60,8 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  requirements: []
63
- rubyforge_project:
64
- rubygems_version: 2.6.14
63
+ rubygems_version: 3.0.6
65
64
  signing_key:
66
65
  specification_version: 4
67
66
  summary: Add EXPLAIN ANALYZE to Active Record query objects