evil-seed 0.1.2 → 0.1.3

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: b241703e95ddb394e93723c78bc574b53263cb5c12b14dec89c04bd1546e86f9
4
- data.tar.gz: c0b3a2c17a43706094afcb5ddcb7102aaaa8c2fb422c1abc73a481c03458db14
3
+ metadata.gz: 16e2debd96436300fcb0428895a7483a599303ac6819b01f343077153b6c5802
4
+ data.tar.gz: '09b8b97f80484b8904e4fe6283d4cd2652b8cbdbe14e1dfd9d1ff11ec7739a10'
5
5
  SHA512:
6
- metadata.gz: b5f9171b1c00fb4bd3665670b30f4f26eb427dc8202dcb1fc9a03856ce403b358754b90668e3c96ba8bcc147de39ebf451749be8ff4eed2b56f9b34c26b0a336
7
- data.tar.gz: 0b258a881c6eda7fa7a8c0b87bb3602822203490bc2415418f793735f55fd8403010bfe18790e8c4befb01a691f3d47e715bb63dfabf8aa86d6234f7a4d98667
6
+ metadata.gz: 947a49967d2703291fcfd35a7841b5ed821b6edd348184d5a6a4205d2d98b42d36b45a61f70bdab2245864e161db8f3d716907152a2842740c8124b25d5db9ef
7
+ data.tar.gz: e589e7c129d730802c802bf7a630ab09c088d8479e2e39e304fb94b51b36d07e7827d5bc703bc29c74e74f1d20c8c28dc23ffd5f3bcc8a0a9e6eb75901045c58
data/.travis.yml CHANGED
@@ -1,56 +1,82 @@
1
+ dist: xenial
2
+ language: ruby
1
3
  cache: bundler
2
4
  sudo: false
3
- language: ruby
4
5
 
5
6
  addons:
7
+ postgresql: "10"
6
8
  apt:
7
9
  sources:
8
10
  - travis-ci/sqlite3
9
11
  packages:
10
12
  - sqlite3
11
13
 
14
+ services:
15
+ - mysql
16
+ - postgresql
17
+
18
+ before_install: gem install bundler -v '~> 1.17'
19
+
12
20
  matrix:
13
21
  include:
14
- - rvm: 2.5.0
22
+ - rvm: 3.0.2
15
23
  gemfile: gemfiles/activerecord_master.gemfile
16
24
  env: "DB=sqlite"
17
- - rvm: 2.5.0
25
+ - rvm: 3.0.2
18
26
  gemfile: gemfiles/activerecord_master.gemfile
19
27
  env: "DB=postgresql"
20
- - rvm: 2.5.0
28
+ - rvm: 3.0.2
21
29
  gemfile: gemfiles/activerecord_master.gemfile
22
30
  env: "DB=mysql"
23
- - rvm: 2.5.0
31
+ - rvm: 2.7.4
32
+ gemfile: gemfiles/activerecord_6_1.gemfile
33
+ env: "DB=sqlite"
34
+ - rvm: 2.7.4
35
+ gemfile: gemfiles/activerecord_6_1.gemfile
36
+ env: "DB=postgresql"
37
+ - rvm: 2.7.4
38
+ gemfile: gemfiles/activerecord_6_1.gemfile
39
+ env: "DB=mysql"
40
+ - rvm: 2.7.4
41
+ gemfile: gemfiles/activerecord_6_0.gemfile
42
+ env: "DB=sqlite"
43
+ - rvm: 2.7.4
44
+ gemfile: gemfiles/activerecord_6_0.gemfile
45
+ env: "DB=postgresql"
46
+ - rvm: 2.7.4
47
+ gemfile: gemfiles/activerecord_6_0.gemfile
48
+ env: "DB=mysql"
49
+ - rvm: 2.6.8
24
50
  gemfile: gemfiles/activerecord_5_2.gemfile
25
51
  env: "DB=sqlite"
26
- - rvm: 2.5.0
52
+ - rvm: 2.6.8
27
53
  gemfile: gemfiles/activerecord_5_2.gemfile
28
54
  env: "DB=postgresql"
29
- - rvm: 2.5.0
55
+ - rvm: 2.6.8
30
56
  gemfile: gemfiles/activerecord_5_2.gemfile
31
57
  env: "DB=mysql"
32
- - rvm: 2.5.0
58
+ - rvm: 2.5.9
33
59
  gemfile: gemfiles/activerecord_5_1.gemfile
34
60
  env: "DB=sqlite"
35
- - rvm: 2.5.0
61
+ - rvm: 2.5.9
36
62
  gemfile: gemfiles/activerecord_5_1.gemfile
37
63
  env: "DB=postgresql"
38
- - rvm: 2.5.0
64
+ - rvm: 2.5.9
39
65
  gemfile: gemfiles/activerecord_5_1.gemfile
40
66
  env: "DB=mysql"
41
- - rvm: 2.4.3
67
+ - rvm: 2.4.10
42
68
  gemfile: gemfiles/activerecord_5_0.gemfile
43
69
  env: "DB=sqlite"
44
- - rvm: 2.4.3
70
+ - rvm: 2.4.10
45
71
  gemfile: gemfiles/activerecord_5_0.gemfile
46
72
  env: "DB=postgresql"
47
- - rvm: 2.4.3
73
+ - rvm: 2.4.10
48
74
  gemfile: gemfiles/activerecord_5_0.gemfile
49
75
  env: "DB=mysql"
50
- - rvm: 2.3.6
76
+ - rvm: 2.3.8
51
77
  gemfile: gemfiles/activerecord_4_2.gemfile
52
78
  env: "DB=postgresql"
53
- - rvm: 2.3.6
79
+ - rvm: 2.3.8
54
80
  gemfile: gemfiles/activerecord_4_2.gemfile
55
81
  env: "DB=sqlite"
56
82
  # Please note that gem can't be tested against MySQL on ActiveRecord 4.2 (Dump and restore test doesn't work)!
data/Appraisals CHANGED
@@ -2,24 +2,54 @@ appraise 'activerecord-4-2' do
2
2
  gem 'activerecord', '~> 4.2.0'
3
3
  gem 'pg', '~> 0.20'
4
4
  gem 'mysql2', '~> 0.3.18'
5
+ gem 'sqlite3', '~> 1.3.6'
5
6
  end
6
7
 
7
8
  appraise 'activerecord-5-0' do
8
9
  gem 'activerecord', '~> 5.0.0'
9
- gem 'pg', '~> 0.20'
10
+ gem "pg", ">= 0.20", "< 2.0"
10
11
  gem 'mysql2', '~> 0.4.4'
12
+ gem 'sqlite3', '~> 1.3.6'
11
13
  end
12
14
 
13
15
  appraise 'activerecord-5-1' do
14
16
  gem 'activerecord', '~> 5.1.0'
17
+ gem "pg", ">= 0.20", "< 2.0"
15
18
  gem 'mysql2', '~> 0.4.4'
19
+ gem 'sqlite3', '~> 1.3'
16
20
  end
17
21
 
18
22
  appraise 'activerecord-5-2' do
19
- gem 'activerecord', '~> 5.2.0.rc2'
23
+ gem 'activerecord', '~> 5.2.0'
24
+ gem "pg", ">= 0.20", "< 2.0"
20
25
  gem 'mysql2', '~> 0.4.4'
26
+ gem 'sqlite3', '~> 1.3'
27
+ end
28
+
29
+ appraise 'activerecord-6-0' do
30
+ gem 'activerecord', '~> 6.0.0'
31
+ gem "pg", ">= 0.20", "< 2.0"
32
+ gem 'mysql2', '~> 0.4.4'
33
+ gem 'sqlite3', '~> 1.4'
34
+ end
35
+
36
+ appraise 'activerecord-6-0' do
37
+ gem 'activerecord', '~> 6.0.0'
38
+ gem "pg", ">= 0.20", "< 2.0"
39
+ gem 'mysql2', '~> 0.4.4'
40
+ gem 'sqlite3', '~> 1.4'
41
+ end
42
+
43
+ appraise 'activerecord-6-1' do
44
+ gem 'activerecord', '~> 6.1.0'
45
+ gem "pg", "~> 1.1"
46
+ gem 'mysql2', '~> 0.5'
47
+ gem 'sqlite3', '~> 1.4'
21
48
  end
22
49
 
23
50
  appraise 'activerecord-master' do
24
51
  gem 'activerecord', git: 'https://github.com/rails/rails.git'
52
+ gem "pg", "~> 1.1"
53
+ gem 'mysql2', '~> 0.5'
54
+ gem 'sqlite3', '~> 1.4'
25
55
  end
data/evil-seed.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ['lib']
27
27
 
28
- spec.required_ruby_version = '~> 2.0'
28
+ spec.required_ruby_version = '>= 2.0'
29
29
 
30
30
  spec.add_dependency 'activerecord', '>= 4.2'
31
31
 
@@ -5,5 +5,6 @@ source "https://rubygems.org"
5
5
  gem "activerecord", "~> 4.2.0"
6
6
  gem "pg", "~> 0.20"
7
7
  gem "mysql2", "~> 0.3.18"
8
+ gem "sqlite3", "~> 1.3.6"
8
9
 
9
10
  gemspec path: "../"
@@ -3,7 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 5.0.0"
6
- gem "pg", "~> 0.20"
6
+ gem "pg", ">= 0.20", "< 2.0"
7
7
  gem "mysql2", "~> 0.4.4"
8
+ gem "sqlite3", "~> 1.3.6"
8
9
 
9
10
  gemspec path: "../"
@@ -3,6 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 5.1.0"
6
+ gem "pg", ">= 0.20", "< 2.0"
6
7
  gem "mysql2", "~> 0.4.4"
8
+ gem "sqlite3", "~> 1.3"
7
9
 
8
10
  gemspec path: "../"
@@ -2,7 +2,9 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 5.2.0.rc2"
5
+ gem "activerecord", "~> 5.2.0"
6
+ gem "pg", ">= 0.20", "< 2.0"
6
7
  gem "mysql2", "~> 0.4.4"
8
+ gem "sqlite3", "~> 1.3"
7
9
 
8
10
  gemspec path: "../"
@@ -0,0 +1,10 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 6.0.0"
6
+ gem "pg", ">= 0.20", "< 2.0"
7
+ gem "mysql2", "~> 0.4.4"
8
+ gem "sqlite3", "~> 1.4"
9
+
10
+ gemspec path: "../"
@@ -0,0 +1,10 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 6.1.0"
6
+ gem "pg", "~> 1.1"
7
+ gem "mysql2", "~> 0.5"
8
+ gem "sqlite3", "~> 1.4"
9
+
10
+ gemspec path: "../"
@@ -3,5 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", git: "https://github.com/rails/rails.git"
6
+ gem "pg", "~> 1.1"
7
+ gem "mysql2", "~> 0.5"
8
+ gem "sqlite3", "~> 1.4"
6
9
 
7
10
  gemspec path: "../"
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'active_support/core_ext/array/grouping'
4
+
3
5
  # As method ActiveRecord::Relation#in_batches is available only since ActiveRecord 5.0
4
6
  # we will backport it only for us via refinements for ActiveRecord 4.2 compatibility.
5
7
  unless ActiveRecord::Batches.instance_methods(false).include?(:in_batches)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EvilSeed
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evil-seed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Novikov
8
8
  - Vladimir Dementyev
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-03-26 00:00:00.000000000 Z
12
+ date: 2021-09-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -176,6 +176,8 @@ files:
176
176
  - gemfiles/activerecord_5_0.gemfile
177
177
  - gemfiles/activerecord_5_1.gemfile
178
178
  - gemfiles/activerecord_5_2.gemfile
179
+ - gemfiles/activerecord_6_0.gemfile
180
+ - gemfiles/activerecord_6_1.gemfile
179
181
  - gemfiles/activerecord_master.gemfile
180
182
  - lib/evil-seed.rb
181
183
  - lib/evil/seed.rb
@@ -194,13 +196,13 @@ homepage: https://github.com/palkan/evil-seed
194
196
  licenses:
195
197
  - MIT
196
198
  metadata: {}
197
- post_install_message:
199
+ post_install_message:
198
200
  rdoc_options: []
199
201
  require_paths:
200
202
  - lib
201
203
  required_ruby_version: !ruby/object:Gem::Requirement
202
204
  requirements:
203
- - - "~>"
205
+ - - ">="
204
206
  - !ruby/object:Gem::Version
205
207
  version: '2.0'
206
208
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -209,9 +211,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
211
  - !ruby/object:Gem::Version
210
212
  version: '0'
211
213
  requirements: []
212
- rubyforge_project:
213
- rubygems_version: 2.7.6
214
- signing_key:
214
+ rubygems_version: 3.2.22
215
+ signing_key:
215
216
  specification_version: 4
216
217
  summary: Create partial and anonymized production database dumps for use in development
217
218
  test_files: []