gindex 0.2.0 → 0.4.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: 6ce9d396994cebf96b83e64f0ca9a33f37f90d6a5db05805095e453d4821699c
4
+ data.tar.gz: 07c2f418fa7ff7191f14131a4e69aaa6ed521e6bc81c73099aa7ce4c48bcf0cf
5
5
  SHA512:
6
- metadata.gz: ca3037522cf1b9dfa8d02fad92f781ceab8cc8d120bfb769bc7e373544b06c706385823f9f49c83759844a259010edffeafd3fbd86aff5b9c86a3b3704465b38
7
- data.tar.gz: 9a41396ce868f949d39c99c93372eabb9c85eeb3572dbc2303d3b97eb1ae352309004610f0c5e298911bc267c33437879c376c96bd39968c4fe9ecf40b90680f
6
+ metadata.gz: 9dda8a7e6c2ffe6ccca95b867d99c976cf7e5f43228b0d9072214e56a55146eaa524f6f429c9be1e20f3597309c37cbaac0893ba8e024fbd82a85d1fb1030ca0
7
+ data.tar.gz: 2d65af7aae71aa48b313ca8e4a9bc33671b53f3e8e4a96ba37049030a5d7b8fc784f8c956f0748be9b6af5d77795e782b4d435eb2d289ea93192573f7fbae5e6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.4.0 (2023-07-02)
2
+
3
+ - Dropped support for Ruby < 3 and Rails < 6.1
4
+
5
+ ## 0.3.0 (2022-01-10)
6
+
7
+ - Dropped support for Ruby < 2.6 and Rails < 5.2
8
+
1
9
  ## 0.2.0 (2019-12-20)
2
10
 
3
11
  - 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-2023 Andrew Kane
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  :speedboat: Instant **concurrent** index migrations for Rails
4
4
 
5
+ [![Build Status](https://github.com/ankane/gindex/workflows/build/badge.svg?branch=master)](https://github.com/ankane/gindex/actions)
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application’s Gemfile:
10
+
11
+ ```ruby
12
+ gem "gindex", group: :development
13
+ ```
14
+
15
+ ## How It Works
16
+
5
17
  ```sh
6
18
  rails g index users email
7
19
  ```
@@ -9,11 +21,11 @@ rails g index users email
9
21
  generates:
10
22
 
11
23
  ```ruby
12
- class AddIndexOnEmailToUsers < ActiveRecord::Migration[6.0]
24
+ class AddIndexOnEmailToUsers < ActiveRecord::Migration[7.0]
13
25
  disable_ddl_transaction!
14
26
 
15
27
  def change
16
- add_index :users, [:email], algorithm: :concurrently
28
+ add_index :users, :email, algorithm: :concurrently
17
29
  end
18
30
  end
19
31
  ```
@@ -24,24 +36,14 @@ Also works with multi-column indexes
24
36
  rails g index deliveries store_id delivered_at
25
37
  ```
26
38
 
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
39
  ## TODO
42
40
 
43
41
  - add `:name` option to long index names
44
42
 
43
+ ## History
44
+
45
+ View the [changelog](https://github.com/ankane/gindex/blob/master/CHANGELOG.md)
46
+
45
47
  ## Contributing
46
48
 
47
49
  Everyone is encouraged to help improve this project. Here are a few ways you can help:
@@ -50,3 +52,11 @@ Everyone is encouraged to help improve this project. Here are a few ways you can
50
52
  - Fix bugs and [submit pull requests](https://github.com/ankane/gindex/pulls)
51
53
  - Write, clarify, or fix documentation
52
54
  - Suggest or add new features
55
+
56
+ To get started with development:
57
+
58
+ ```sh
59
+ git clone https://github.com/ankane/gindex.git
60
+ cd gindex
61
+ bundle install
62
+ ```
@@ -1,3 +1,3 @@
1
1
  module Gindex
2
- VERSION = "0.2.0"
2
+ VERSION = "0.4.0"
3
3
  end
data/lib/gindex.rb CHANGED
@@ -1 +1 @@
1
- require "gindex/version"
1
+ require_relative "gindex/version"
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.4.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: 2023-07-02 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: '6.1'
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: '6.1'
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: '3'
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.4.10
60
+ signing_key:
89
61
  specification_version: 4
90
62
  summary: Instant concurrent indexes for Rails
91
63
  test_files: []