activerecord-simple_index_name 0.3.0.beta1 → 1.0.1

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
- SHA1:
3
- metadata.gz: 331455e2876faaeee9d150723bb84dfd0b9d8a44
4
- data.tar.gz: d92216ba7ba686d5c932cdd43b57af444ef51ed4
2
+ SHA256:
3
+ metadata.gz: 7e50274a424bd7bbeeed9d7513b5765f942f7c96be03a8f02e1c1500d019138c
4
+ data.tar.gz: 4e5159fb7eb1b34b764bb11912095700e7499a065d0e591764c070f8b344a375
5
5
  SHA512:
6
- metadata.gz: 93343a1cc0bc480e1fe49335b6b5a7f3683cf48aa184428107f3b6046e1e942072a92666bd6d08ab3d31c3b33023b1ae1d5610464d828085a7fcb1792d234385
7
- data.tar.gz: 22899579a965de0905f6dd1b853cb13fdaed14ecc08ff438cbbd4d07e457748b9f837d2eba446f432bcf9bf04c8fb6fc5d5d9875d229d4097cdc5dcd3b2eba85
6
+ metadata.gz: cd4e7cd63434a6bc7b31d999f3ab4f6a4c838573ec2afafeec2cb6387d0275efd207e46e51a32758e100f35451ba3c754e28427ea81726b831b17acb286957ca
7
+ data.tar.gz: 409675660eac35364d4310794e413425bae3f7103390031c9fead0a5b02a59dd0b9a24941fb714398847ac52f8c88b961f1999d1d88db114418a2753f34ec35d
@@ -0,0 +1,136 @@
1
+ name: test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types:
9
+ - opened
10
+ - synchronize
11
+ - reopened
12
+ schedule:
13
+ - cron: "0 10 * * 5" # JST 19:00 (Fri)
14
+
15
+ jobs:
16
+ test:
17
+ runs-on: ubuntu-latest
18
+
19
+ container: ${{ matrix.ruby }}
20
+
21
+ strategy:
22
+ fail-fast: false
23
+
24
+ matrix:
25
+ ruby:
26
+ - ruby:2.3
27
+ - ruby:2.4
28
+ - ruby:2.5
29
+ - ruby:2.6
30
+ - ruby:2.7
31
+ - ruby:3.0
32
+ - rubylang/ruby:master-nightly-bionic
33
+ gemfile:
34
+ - rails_5_0
35
+ - rails_5_1
36
+ - rails_5_2
37
+ - rails_6_0
38
+ - rails_6_1
39
+ include:
40
+ - ruby: rubylang/ruby:master-nightly-bionic
41
+ allow_failures: "true"
42
+
43
+ exclude:
44
+ # Rails 6.0+ requires Ruby 2.5+
45
+ - ruby: ruby:2.3
46
+ gemfile: rails_6_0
47
+ - ruby: ruby:2.4
48
+ gemfile: rails_6_0
49
+ - ruby: ruby:2.3
50
+ gemfile: rails_6_1
51
+ - ruby: ruby:2.4
52
+ gemfile: rails_6_1
53
+
54
+ # Rails 5.x doesn't work on Ruby 3.0+
55
+ - ruby: ruby:3.0
56
+ gemfile: rails_5_0
57
+ - ruby: ruby:3.0
58
+ gemfile: rails_5_1
59
+ - ruby: ruby:3.0
60
+ gemfile: rails_5_2
61
+
62
+ env:
63
+ BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
64
+
65
+ steps:
66
+ - uses: actions/checkout@v2
67
+
68
+ - run: apt-get update && apt-get install -y libsqlite3-dev
69
+
70
+ - name: Cache vendor/bundle
71
+ uses: actions/cache@v1
72
+ id: cache_gem
73
+ with:
74
+ path: vendor/bundle
75
+ key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ matrix.gemfile }}-${{ github.sha }}
76
+ restore-keys: |
77
+ v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ matrix.gemfile }}-
78
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
79
+
80
+ - name: bundle update
81
+ run: |
82
+ set -xe
83
+ bundle config path vendor/bundle
84
+ bundle update --jobs $(nproc) --retry 3
85
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
86
+
87
+ - name: Setup Code Climate Test Reporter
88
+ uses: aktions/codeclimate-test-reporter@v1
89
+ with:
90
+ codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
91
+ command: before-build
92
+ if: matrix.ruby >= 'ruby:2.4'
93
+ continue-on-error: true
94
+
95
+ - name: Run test
96
+ run: |
97
+ set -xe
98
+ bundle exec rspec
99
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
100
+
101
+ - name: Teardown Code Climate Test Reporter
102
+ uses: aktions/codeclimate-test-reporter@v1
103
+ with:
104
+ codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
105
+ command: after-build
106
+ if: matrix.ruby >= 'ruby:2.4' && always()
107
+ continue-on-error: true
108
+
109
+ - name: Slack Notification (not success)
110
+ uses: lazy-actions/slatify@master
111
+ if: "! success()"
112
+ continue-on-error: true
113
+ with:
114
+ job_name: ${{ format('*build* ({0}, {1})', matrix.ruby, matrix.gemfile) }}
115
+ type: ${{ job.status }}
116
+ icon_emoji: ":octocat:"
117
+ url: ${{ secrets.SLACK_WEBHOOK }}
118
+ token: ${{ secrets.GITHUB_TOKEN }}
119
+
120
+ notify:
121
+ needs:
122
+ - test
123
+
124
+ runs-on: ubuntu-latest
125
+
126
+ steps:
127
+ - name: Slack Notification (success)
128
+ uses: lazy-actions/slatify@master
129
+ if: always()
130
+ continue-on-error: true
131
+ with:
132
+ job_name: '*build*'
133
+ type: ${{ job.status }}
134
+ icon_emoji: ":octocat:"
135
+ url: ${{ secrets.SLACK_WEBHOOK }}
136
+ token: ${{ secrets.GITHUB_TOKEN }}
data/CHANGELOG.md CHANGED
@@ -1,7 +1,40 @@
1
1
  # Change Log
2
2
 
3
3
  ## Unreleased
4
- [full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v0.3.0.beta1...master)
4
+ [full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.0.1...master)
5
+
6
+ ## v1.0.1
7
+ [full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v1.0.0...v1.0.1)
8
+
9
+ * Enable MFA requirement for gem releasing
10
+ * https://github.com/sue445/activerecord-simple_index_name/pull/73
11
+
12
+ ## v1.0.0
13
+ ### Breaking changes :bomb:
14
+ [full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v0.4.0...v1.0.0)
15
+
16
+ * Drop support for Ruby 2.2 and Rails 4.2
17
+ * https://github.com/sue445/activerecord-simple_index_name/pull/50
18
+
19
+ ## v0.4.0
20
+ [full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v0.3.0...v0.4.0)
21
+
22
+ * Support `rename_table`
23
+ * https://github.com/sue445/activerecord-simple_index_name/issues/32
24
+ * https://github.com/sue445/activerecord-simple_index_name/pull/33
25
+
26
+ ## v0.3.0
27
+ [full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v0.3.0.beta1...v0.3.0)
28
+
29
+ ### Enhancements
30
+ * Support activerecord 5.0.0
31
+ * https://github.com/sue445/activerecord-simple_index_name/pull/30
32
+
33
+ ### Other
34
+ * Tiny
35
+ * https://github.com/sue445/activerecord-simple_index_name/pull/29
36
+ * https://github.com/sue445/activerecord-simple_index_name/pull/28
37
+ * https://github.com/sue445/activerecord-simple_index_name/pull/27
5
38
 
6
39
  ## v0.3.0.beta1
7
40
  [full changelog](http://github.com/sue445/activerecord-simple_index_name/compare/v0.2.0...v0.3.0.beta1)
@@ -9,7 +42,7 @@
9
42
  ### Enhancements
10
43
  * Support activerecord 5.0.0.beta2
11
44
  * https://github.com/sue445/activerecord-simple_index_name/pull/22
12
-
45
+
13
46
  ### Other
14
47
  * Keep ruby 2.3.x build on Travis CI
15
48
  * https://github.com/sue445/activerecord-simple_index_name/pull/25
@@ -24,7 +57,7 @@
24
57
  * https://github.com/sue445/activerecord-simple_index_name/pull/17
25
58
  * Move: `lib/activerecord/simple_index_name` -> `lib/active_record/simple_index_name`
26
59
  * Rename: `Activerecord::SimpleIndexName` -> `ActiveRecord::SimpleIndexName`
27
- * If use `require "activerecord/simple_index_name"`, change to `require "activer_ecord/simple_index_name"`
60
+ * If use `require "activerecord/simple_index_name"`, change to `require "active_record/simple_index_name"`
28
61
 
29
62
  ### Enhancements
30
63
  * Add `ActiveRecord::SimpleIndexName.config.auto_shorten` configuration
@@ -35,13 +68,13 @@
35
68
  ### Other
36
69
  * Test with Rails 4.0.x
37
70
  * https://github.com/sue445/activerecord-simple_index_name/pull/19
38
- * Other tiny refactorings
71
+ * Other tiny refactorings
39
72
  * https://github.com/sue445/activerecord-simple_index_name/pull/14
40
73
  * https://github.com/sue445/activerecord-simple_index_name/pull/15
41
74
  * https://github.com/sue445/activerecord-simple_index_name/pull/16
42
75
  * https://github.com/sue445/activerecord-simple_index_name/pull/21
43
76
  * https://github.com/sue445/activerecord-simple_index_name/pull/23
44
77
  * https://github.com/sue445/activerecord-simple_index_name/pull/24
45
-
78
+
46
79
  ## v0.1.0
47
80
  * First release
data/README.md CHANGED
@@ -3,14 +3,13 @@
3
3
  Shorten index name
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/activerecord-simple_index_name.svg)](https://badge.fury.io/rb/activerecord-simple_index_name)
6
- [![Build Status](https://travis-ci.org/sue445/activerecord-simple_index_name.svg?branch=master)](https://travis-ci.org/sue445/activerecord-simple_index_name)
7
- [![Dependency Status](https://gemnasium.com/sue445/activerecord-simple_index_name.svg)](https://gemnasium.com/sue445/activerecord-simple_index_name)
6
+ [![Build Status](https://github.com/sue445/activerecord-simple_index_name/workflows/test/badge.svg?branch=master)](https://github.com/sue445/activerecord-simple_index_name/actions?query=workflow%3Atest)
8
7
  [![Coverage Status](https://coveralls.io/repos/sue445/activerecord-simple_index_name/badge.svg?branch=master&service=github)](https://coveralls.io/github/sue445/activerecord-simple_index_name?branch=master)
9
8
  [![Code Climate](https://codeclimate.com/github/sue445/activerecord-simple_index_name/badges/gpa.svg)](https://codeclimate.com/github/sue445/activerecord-simple_index_name)
10
9
 
11
10
  ## Requirements
12
- * Ruby 2.1+
13
- * activerecord 4.0+
11
+ * Ruby 2.3+
12
+ * activerecord 5.0+
14
13
 
15
14
  ## Supported frameworks
16
15
  * [Ruby on Rails](https://github.com/rails/rails)
@@ -14,21 +14,25 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://github.com/sue445/activerecord-simple_index_name"
15
15
  spec.license = "MIT"
16
16
 
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = spec.homepage
19
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
20
+ spec.metadata["rubygems_mfa_required"] = "true"
21
+
17
22
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
23
  spec.bindir = "exe"
19
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
25
  spec.require_paths = ["lib"]
21
26
 
22
- spec.add_dependency "activerecord"
23
- spec.add_dependency "activesupport"
27
+ spec.add_dependency "activerecord", ">= 5.0.0"
28
+ spec.add_dependency "activesupport", ">= 5.0.0"
24
29
 
25
30
  spec.add_development_dependency "bundler"
26
31
  spec.add_development_dependency "coveralls"
27
- spec.add_development_dependency "codeclimate-test-reporter"
28
- spec.add_development_dependency "pry-byebug"
29
32
  spec.add_development_dependency "rails"
30
- spec.add_development_dependency "rake", "~> 10.0"
33
+ spec.add_development_dependency "rake"
31
34
  spec.add_development_dependency "rspec"
32
35
  spec.add_development_dependency "rspec-power_assert"
36
+ spec.add_development_dependency "simplecov"
33
37
  spec.add_development_dependency "sqlite3"
34
38
  end
@@ -1,5 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem "rails", "~> 5.0.0.beta2"
3
+ gem "rails", "~> 5.0.0"
4
+ gem "sqlite3", "~> 1.3.6"
4
5
 
5
6
  gemspec path: '../'
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "rails", "~> 5.1.0"
4
+ gem "sqlite3", "~> 1.3.6"
5
+
6
+ gemspec path: '../'
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "rails", "~> 5.2.0"
4
+ gem "sqlite3", "~> 1.3.6"
5
+
6
+ gemspec path: '../'
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "rails", "~> 6.0.0"
4
+
5
+ # c.f. https://github.com/rails/rails/blob/v6.0.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
6
+ gem "sqlite3", "~> 1.4"
7
+
8
+ gemspec path: '../'
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "rails", "~> 6.1.0"
4
+
5
+ # c.f. https://github.com/rails/rails/blob/v6.1.0/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L13
6
+ gem "sqlite3", "~> 1.4"
7
+
8
+ gemspec path: '../'
@@ -2,22 +2,20 @@ module ActiveRecord
2
2
  module SimpleIndexName
3
3
  module ActiveRecordExt
4
4
  def index_name(table_name, options)
5
- shorten_mode =
6
- case Thread.current[:simple_index_name_shorten_mode]
7
- when :enable
8
- true
9
- when :disable
10
- false
11
- else
12
- ActiveRecord::SimpleIndexName.config.auto_shorten
13
- end
14
-
15
- if shorten_mode && Hash === options && options[:column]
5
+ if ActiveRecord::SimpleIndexName.current_shorten? && Hash === options && options[:column]
16
6
  Array.wrap(options[:column]) * "_and_"
17
7
  else
18
8
  super
19
9
  end
20
10
  end
11
+
12
+ def rename_index(table_name, old_name, new_name)
13
+ if ActiveRecord::SimpleIndexName.current_shorten? && old_name == new_name
14
+ # nop
15
+ else
16
+ super
17
+ end
18
+ end
21
19
  end
22
20
  end
23
21
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module SimpleIndexName
3
- VERSION = "0.3.0.beta1"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -21,6 +21,17 @@ module ActiveRecord
21
21
  ensure
22
22
  Thread.current[:simple_index_name_shorten_mode] = nil
23
23
  end
24
+
25
+ def self.current_shorten?
26
+ case Thread.current[:simple_index_name_shorten_mode]
27
+ when :enable
28
+ true
29
+ when :disable
30
+ false
31
+ else
32
+ config.auto_shorten
33
+ end
34
+ end
24
35
  end
25
36
  end
26
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-simple_index_name
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.beta1
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-17 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 5.0.0
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: '0'
26
+ version: 5.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 5.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 5.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: codeclimate-test-reporter
70
+ name: rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: pry-byebug
84
+ name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: rails
98
+ name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,21 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: rake
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '10.0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '10.0'
125
- - !ruby/object:Gem::Dependency
126
- name: rspec
112
+ name: rspec-power_assert
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
115
  - - ">="
@@ -137,7 +123,7 @@ dependencies:
137
123
  - !ruby/object:Gem::Version
138
124
  version: '0'
139
125
  - !ruby/object:Gem::Dependency
140
- name: rspec-power_assert
126
+ name: simplecov
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
129
  - - ">="
@@ -172,9 +158,9 @@ extensions: []
172
158
  extra_rdoc_files: []
173
159
  files:
174
160
  - ".coveralls.yml"
161
+ - ".github/workflows/test.yml"
175
162
  - ".gitignore"
176
163
  - ".rspec"
177
- - ".travis.yml"
178
164
  - CHANGELOG.md
179
165
  - Gemfile
180
166
  - LICENSE.txt
@@ -183,10 +169,11 @@ files:
183
169
  - activerecord-simple_index_name.gemspec
184
170
  - bin/console
185
171
  - bin/setup
186
- - gemfiles/rails_4_0.gemfile
187
- - gemfiles/rails_4_1.gemfile
188
- - gemfiles/rails_4_2.gemfile
189
172
  - gemfiles/rails_5_0.gemfile
173
+ - gemfiles/rails_5_1.gemfile
174
+ - gemfiles/rails_5_2.gemfile
175
+ - gemfiles/rails_6_0.gemfile
176
+ - gemfiles/rails_6_1.gemfile
190
177
  - lib/active_record/simple_index_name.rb
191
178
  - lib/active_record/simple_index_name/active_record_ext.rb
192
179
  - lib/active_record/simple_index_name/configuration.rb
@@ -199,8 +186,12 @@ files:
199
186
  homepage: https://github.com/sue445/activerecord-simple_index_name
200
187
  licenses:
201
188
  - MIT
202
- metadata: {}
203
- post_install_message:
189
+ metadata:
190
+ homepage_uri: https://github.com/sue445/activerecord-simple_index_name
191
+ source_code_uri: https://github.com/sue445/activerecord-simple_index_name
192
+ changelog_uri: https://github.com/sue445/activerecord-simple_index_name/blob/master/CHANGELOG.md
193
+ rubygems_mfa_required: 'true'
194
+ post_install_message:
204
195
  rdoc_options: []
205
196
  require_paths:
206
197
  - lib
@@ -211,13 +202,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
202
  version: '0'
212
203
  required_rubygems_version: !ruby/object:Gem::Requirement
213
204
  requirements:
214
- - - ">"
205
+ - - ">="
215
206
  - !ruby/object:Gem::Version
216
- version: 1.3.1
207
+ version: '0'
217
208
  requirements: []
218
- rubyforge_project:
219
- rubygems_version: 2.5.1
220
- signing_key:
209
+ rubygems_version: 3.2.22
210
+ signing_key:
221
211
  specification_version: 4
222
212
  summary: Shorten index name
223
213
  test_files: []
data/.travis.yml DELETED
@@ -1,33 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1
4
- - 2.2.4
5
- - 2.3.0
6
- - ruby-head
7
- gemfile:
8
- - gemfiles/rails_4_0.gemfile
9
- - gemfiles/rails_4_1.gemfile
10
- - gemfiles/rails_4_2.gemfile
11
- - gemfiles/rails_5_0.gemfile
12
- cache: bundler
13
- sudo: false
14
- before_install: gem install bundler -v 1.10.6
15
- before_script:
16
- - export CODECLIMATE_REPO_TOKEN=900e51ca1a374ee25f9166b5eb3f2a1d86fa33ca47d4dee6e9746f4120fc7fef
17
- - export CI=true
18
- script:
19
- - bundle exec rspec
20
- branches:
21
- only:
22
- - master
23
- notifications:
24
- email: false
25
- slack:
26
- secure: iJVdq7jPe/vHRBDRZhGOBrvUNqXAVWtfP6yBoZ58RaMcboelaNxZm15o4+EhTCwNb3Sz3wM3MXQo9oQngB31UNpleavg0xK315oFBsQQ24M6oMWdCR6PndWH3sJtf5CZvXUZ0hEZDPG2dkDGTfXF2HyhyotHI3FzrvXAjI8R8sJKxGRVAga0uDAfUntsS19SS8Ftwt6ob3VNKl5GKYElZ4U/gZ3n2e+I8dxiTy9YNBaydNLf33lZe3iZHTQbcRDxH5HbLof0FItGPEvoPJSxnqa6OyfbsTajhRUUOU2m2RInJjSHCliHV1F8nzPjotCl6N7OegO2HJ93FepsZ2dOul/Hbxkb0BuxFxYFgGfS0bHDb66V6JiqmLpwBi/QibP1kVEiP4vizLdX5b32fi/p1L7FRDX00qsYsjEdDyBH5WrWF4yTKTpNotwHmb/E4nFfbtme3jawvSJq5Kg1FL07H3pTP6nUgEKKyYq1FQhxHEGgKHMZYmUG+B7kILgQj3ZM0w7M09Hb2NMDuv7PEr7CbOw6x7ulVUu8ZfgpU7+jKUlnSS8xPN7/kso3hnSWA4PRlNt0Ef9ingUstNpb4wJYDiAmYD7NfFLf4K6CikkcgGXJbV/XYwszb8DKV39vIYDgW0VzREerixo4+SQE0v7FFF1ZQQbQ3yZaQ26UnlYm/Ag=
27
- matrix:
28
- allow_failures:
29
- - rvm: ruby-head
30
- exclude:
31
- # NOTE: activesupport 5.x requires Ruby version >= 2.2.2
32
- - rvm: 2.1
33
- gemfile: gemfiles/rails_5_0.gemfile
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "activerecord", "~> 4.0.0"
4
- gem "activesupport", "~> 4.0.0"
5
-
6
- gemspec path: '../'
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "activerecord", "~> 4.1.0"
4
- gem "activesupport", "~> 4.1.0"
5
-
6
- gemspec path: '../'
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "activerecord", "~> 4.2.0"
4
- gem "activesupport", "~> 4.2.0"
5
-
6
- gemspec path: '../'