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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dabef7560c6d27d491206e5ba2f067d23d05c8bd
4
- data.tar.gz: 8199a937694563d6a5fd411bff53485720280419
3
+ metadata.gz: d1bc1d1dd3b15c13dd57abcdcee371456e388445
4
+ data.tar.gz: e6f6a03adc0917da59c64e9e305e9f0aeb35e0f6
5
5
  SHA512:
6
- metadata.gz: 7dadad30b8423ca3ac3ac500542e09d3cfceef0e37d77e7d5747e46f193c157cd7340573d4d64c3002e2d24ba3b9b52f859fbe7f0072b04d8dfc5eac083bdae2
7
- data.tar.gz: d9906693fe2dc28b459dc18fa263714343355c252eb53c9c63264f8cb077c76c41106c79c1b29e9acdd92adf403cc7e2c599befc44c53380b418f3ab09bbbb5e
6
+ metadata.gz: 0036139b6ec06968390e2d4a909e076c04cfe719807c863a69aa6f72314cbfb416d6e81ef6afec7be1e2713fbe9cf9f89940e753a821cb62833ae5580823e396
7
+ data.tar.gz: 94892c3588b6e1d9a09aadbf10176dd9134400ef7a0ed624dd10a750be6a67d020c973ca7197664c08428a4539e67fc9dd5aaa0cb303311c0e2b041449345e9d
@@ -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: 'active')
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', :user_id, where: 'active')
221
+ add_index('blog.comments', :status, where: "status = 'active'")
222
222
  ```
223
223
  ## Indexes on Expressions
224
224
 
@@ -1,4 +1,4 @@
1
1
  module PgSaurus
2
2
  # Version of pg_saurus gem.
3
- VERSION = "3.0.0"
3
+ VERSION = "3.1.0"
4
4
  end
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.0.0
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-05-05 00:00:00.000000000 Z
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: rails
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: