pg_saurus 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +3 -3
- data/lib/pg_saurus/version.rb +1 -1
- metadata +45 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1bc1d1dd3b15c13dd57abcdcee371456e388445
|
4
|
+
data.tar.gz: e6f6a03adc0917da59c64e9e305e9f0aeb35e0f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0036139b6ec06968390e2d4a909e076c04cfe719807c863a69aa6f72314cbfb416d6e81ef6afec7be1e2713fbe9cf9f89940e753a821cb62833ae5580823e396
|
7
|
+
data.tar.gz: 94892c3588b6e1d9a09aadbf10176dd9134400ef7a0ed624dd10a750be6a67d020c973ca7197664c08428a4539e67fc9dd5aaa0cb303311c0e2b041449345e9d
|
data/README.markdown
CHANGED
@@ -213,12 +213,12 @@ starting point to patch it to be schema-aware.
|
|
213
213
|
Add a partial index to a table:
|
214
214
|
|
215
215
|
```ruby
|
216
|
-
add_index(:comments, [:country_id, :user_id], where: '
|
216
|
+
add_index(:comments, [:country_id, :user_id, :category], where: "category IN ('foo', 'bar')")
|
217
217
|
```
|
218
|
-
Add a partial index to a schema table:
|
218
|
+
Add a partial index to a schema-qualified table:
|
219
219
|
|
220
220
|
```ruby
|
221
|
-
add_index('blog.comments', :
|
221
|
+
add_index('blog.comments', :status, where: "status = 'active'")
|
222
222
|
```
|
223
223
|
## Indexes on Expressions
|
224
224
|
|
data/lib/pg_saurus/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_saurus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Potapov Sergey
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2016-
|
16
|
+
date: 2016-10-26 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: pg
|
@@ -30,7 +30,49 @@ dependencies:
|
|
30
30
|
- !ruby/object:Gem::Version
|
31
31
|
version: 0.18.1
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
|
-
name:
|
33
|
+
name: railties
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - "~>"
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '4.2'
|
39
|
+
type: :runtime
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - "~>"
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '4.2'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: activemodel
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '4.2'
|
53
|
+
type: :runtime
|
54
|
+
prerelease: false
|
55
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '4.2'
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: activerecord
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - "~>"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '4.2'
|
67
|
+
type: :runtime
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '4.2'
|
74
|
+
- !ruby/object:Gem::Dependency
|
75
|
+
name: activesupport
|
34
76
|
requirement: !ruby/object:Gem::Requirement
|
35
77
|
requirements:
|
36
78
|
- - "~>"
|
@@ -236,4 +278,3 @@ signing_key:
|
|
236
278
|
specification_version: 4
|
237
279
|
summary: ActiveRecord extensions for PostgreSQL.
|
238
280
|
test_files: []
|
239
|
-
has_rdoc:
|