activerecord-analyze 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/activerecord-analyze.gemspec +2 -1
- data/lib/activerecord-analyze/version.rb +1 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a68263c95b218d8e3cecf53dd423b376d23e4340ab8397bd0da695aac47bfb2
|
4
|
+
data.tar.gz: 48afa444678ef988ec5c2b5b5f0f7540a962288c153f5416b71300d64fcbc732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24bbf7b34889f352e84dfa33bcd8c176bf018cada869ed66e19a51cbf977be22583fe1c7f4a696b79e0d5ca0f21bdac36b3a5969c7ff18be8a768ba9ab0f6bd1
|
7
|
+
data.tar.gz: 996aaca8c267d60bcb8d2ef26d6bb60bdca35701e5e99d639e416ed1a2082ccbada36d9650aa6dfe50f619c877694658d65db6214599932f87b0f5f4b285e937
|
data/README.md
CHANGED
@@ -116,7 +116,7 @@ You can also use a raw SQL query string to generate an EXPLAIN ANALYZE output:
|
|
116
116
|
```ruby
|
117
117
|
query = "SELECT * FROM users WHERE email = 'email@example.com'"
|
118
118
|
|
119
|
-
puts ActiveRecordAnalyze.analyze_sql(query, { format: :json})
|
119
|
+
puts ActiveRecordAnalyze.analyze_sql(query, { format: :json })
|
120
120
|
|
121
121
|
# [
|
122
122
|
# {
|
@@ -15,7 +15,8 @@ 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 "
|
18
|
+
gem.add_dependency "activerecord", ">= 5.1.0"
|
19
|
+
gem.add_dependency "railties", ">= 5.1.0"
|
19
20
|
gem.add_development_dependency "rake"
|
20
21
|
gem.add_development_dependency "pg"
|
21
22
|
gem.add_development_dependency "rspec"
|
metadata
CHANGED
@@ -1,17 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-analyze
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pawurb
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activerecord
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.1.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.1.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: railties
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
31
|
- - ">="
|
@@ -94,7 +108,7 @@ homepage: http://github.com/pawurb/activerecord-analyze
|
|
94
108
|
licenses:
|
95
109
|
- MIT
|
96
110
|
metadata: {}
|
97
|
-
post_install_message:
|
111
|
+
post_install_message:
|
98
112
|
rdoc_options: []
|
99
113
|
require_paths:
|
100
114
|
- lib
|
@@ -109,8 +123,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
111
125
|
requirements: []
|
112
|
-
rubygems_version: 3.
|
113
|
-
signing_key:
|
126
|
+
rubygems_version: 3.1.6
|
127
|
+
signing_key:
|
114
128
|
specification_version: 4
|
115
129
|
summary: Add EXPLAIN ANALYZE to Active Record query objects
|
116
130
|
test_files:
|