gindex 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
2
  SHA256:
3
- metadata.gz: 35cce2217af3e0865848afdd61cb2a54ff7970ec47236aa577e0b50701532869
4
- data.tar.gz: d8b1640375ff1a053d49d6bc6c766dc8f68befd0f5fddd36308622d2c92cae5a
3
+ metadata.gz: bdb3b0d5be3d4f72b4e2cd9c0e3469bd96980b4e1909f14bc755442d68131920
4
+ data.tar.gz: 551566c8043baae73b1de307a09b67759b10aac746776132c693619c450c1cb2
5
5
  SHA512:
6
- metadata.gz: ca3037522cf1b9dfa8d02fad92f781ceab8cc8d120bfb769bc7e373544b06c706385823f9f49c83759844a259010edffeafd3fbd86aff5b9c86a3b3704465b38
7
- data.tar.gz: 9a41396ce868f949d39c99c93372eabb9c85eeb3572dbc2303d3b97eb1ae352309004610f0c5e298911bc267c33437879c376c96bd39968c4fe9ecf40b90680f
6
+ metadata.gz: bed474abae726b41b17f0d8b773ab941a3ef43adf1223fc2d2ea39c0a66d64759746cffd615cbfd942cf99d95a909a2a2cd08f47cfa1b887653ab000633c7d58
7
+ data.tar.gz: 27ce4c182bdaa83d575267048beb782481e048cdb0e42516deaa804d891015171e5f5ac77d3e1afe464e8806801dc5f0d3964616744f700612e6c83d07144499
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.0 (2022-01-10)
2
+
3
+ - Dropped support for Ruby < 2.6 and Rails < 5.2
4
+
1
5
  ## 0.2.0 (2019-12-20)
2
6
 
3
7
  - Added support for custom migrations path
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015-2019 Andrew Kane
1
+ Copyright (c) 2015-2022 Andrew Kane
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  :speedboat: Instant **concurrent** index migrations for Rails
4
4
 
5
+ ## Installation
6
+
7
+ Add this line to your application’s Gemfile:
8
+
9
+ ```ruby
10
+ gem "gindex", group: :development
11
+ ```
12
+
13
+ ## How It Works
14
+
5
15
  ```sh
6
16
  rails g index users email
7
17
  ```
@@ -9,11 +19,11 @@ rails g index users email
9
19
  generates:
10
20
 
11
21
  ```ruby
12
- class AddIndexOnEmailToUsers < ActiveRecord::Migration[6.0]
22
+ class AddIndexOnEmailToUsers < ActiveRecord::Migration[6.1]
13
23
  disable_ddl_transaction!
14
24
 
15
25
  def change
16
- add_index :users, [:email], algorithm: :concurrently
26
+ add_index :users, :email, algorithm: :concurrently
17
27
  end
18
28
  end
19
29
  ```
@@ -24,24 +34,14 @@ Also works with multi-column indexes
24
34
  rails g index deliveries store_id delivered_at
25
35
  ```
26
36
 
27
- ## Installation
28
-
29
- Add this line to your application’s Gemfile:
30
-
31
- ```ruby
32
- gem 'gindex', group: :development
33
- ```
34
-
35
- And then execute:
36
-
37
- ```sh
38
- bundle
39
- ```
40
-
41
37
  ## TODO
42
38
 
43
39
  - add `:name` option to long index names
44
40
 
41
+ ## History
42
+
43
+ View the [changelog](https://github.com/ankane/gindex/blob/master/CHANGELOG.md)
44
+
45
45
  ## Contributing
46
46
 
47
47
  Everyone is encouraged to help improve this project. Here are a few ways you can help:
@@ -50,3 +50,11 @@ Everyone is encouraged to help improve this project. Here are a few ways you can
50
50
  - Fix bugs and [submit pull requests](https://github.com/ankane/gindex/pulls)
51
51
  - Write, clarify, or fix documentation
52
52
  - Suggest or add new features
53
+
54
+ To get started with development:
55
+
56
+ ```sh
57
+ git clone https://github.com/ankane/gindex.git
58
+ cd gindex
59
+ bundle install
60
+ ```
@@ -1,3 +1,3 @@
1
1
  module Gindex
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gindex
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
  - Andrew Kane
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-20 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -16,44 +16,16 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5'
19
+ version: '5.2'
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
- version: '5'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- description:
56
- email: andrew@chartkick.com
26
+ version: '5.2'
27
+ description:
28
+ email: andrew@ankane.org
57
29
  executables: []
58
30
  extensions: []
59
31
  extra_rdoc_files: []
@@ -69,7 +41,7 @@ homepage: https://github.com/ankane/gindex
69
41
  licenses:
70
42
  - MIT
71
43
  metadata: {}
72
- post_install_message:
44
+ post_install_message:
73
45
  rdoc_options: []
74
46
  require_paths:
75
47
  - lib
@@ -77,15 +49,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
49
  requirements:
78
50
  - - ">="
79
51
  - !ruby/object:Gem::Version
80
- version: '2.4'
52
+ version: '2.6'
81
53
  required_rubygems_version: !ruby/object:Gem::Requirement
82
54
  requirements:
83
55
  - - ">="
84
56
  - !ruby/object:Gem::Version
85
57
  version: '0'
86
58
  requirements: []
87
- rubygems_version: 3.0.3
88
- signing_key:
59
+ rubygems_version: 3.3.3
60
+ signing_key:
89
61
  specification_version: 4
90
62
  summary: Instant concurrent indexes for Rails
91
63
  test_files: []