seed_dump 3.2.4 → 3.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
- SHA1:
3
- metadata.gz: e45348bd633ee31389d05784d8245f4901fd6f9f
4
- data.tar.gz: c206280da2f2cf3dfbb777ef4354c961e3ea097e
2
+ SHA256:
3
+ metadata.gz: 6ad701d741d9d678ca2d18480816402ba57d0210ad05850f831071b97ee17dc2
4
+ data.tar.gz: 2cddc929053a270b34504df28b864aedbd883cf33f05897541a663fe89794c7e
5
5
  SHA512:
6
- metadata.gz: 514d8fbe85d91f41738dd6f68d13d96338b5c7d95c7d9169d456c71ea81954489ad51e970c1a4fe56a37891c072f3f033c6b001de12e1f3a57423542a91c0dfe
7
- data.tar.gz: d8c406d03f95cd8135dd521a9f89e54894d0a7e333dcced76d09fb2f78ba1ae896a30a71ffb995c17da03b7d31ce942f570da114816151b0e6e3176a798e512d
6
+ metadata.gz: c89bbe066ed9ebf63299cbb3d3b097c672e7f1ca2ea9897f52a07d152f2946e525715f7ba29eccedb7369601d70a38c261b55190be4175b2f6925a569fa27e52
7
+ data.tar.gz: e316ce680fa0266bb1b6ee7ae85b76780812e23ef48ad1a72a78fe9a5ed6390d3db7f913bb9741def118850a8b15fd2a633faf552c0ca41a9c09ef306f4a7e10
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ gem 'activerecord', '>= 4'
5
5
 
6
6
  group :development, :test do
7
7
  gem 'byebug', '~> 2.0'
8
- gem 'factory_girl', '~> 4.0'
8
+ gem 'factory_bot', '~> 4.8.2'
9
9
  gem 'activerecord-import', '~> 0.4'
10
10
  end
11
11
 
@@ -14,7 +14,7 @@ group :development do
14
14
  end
15
15
 
16
16
  group :test do
17
- gem 'rspec', '~> 2.0'
17
+ gem 'rspec', '~> 3.7.0'
18
18
  gem 'sqlite3', '~> 1.0'
19
19
  gem 'database_cleaner', '~> 1.0'
20
20
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.4
1
+ 3.3.0
@@ -42,6 +42,8 @@ class SeedDump
42
42
  value.to_s(:db)
43
43
  when Range
44
44
  range_to_string(value)
45
+ when ->(v) { v.class.ancestors.map(&:to_s).include?('RGeo::Feature::Instance') }
46
+ value.to_s
45
47
  else
46
48
  value
47
49
  end
@@ -87,7 +89,7 @@ class SeedDump
87
89
  io.write(",\n ") unless last_batch
88
90
  end
89
91
 
90
- io.write("\n])\n")
92
+ io.write("\n]#{active_record_import_options(options)})\n")
91
93
 
92
94
  if options[:file].present?
93
95
  nil
@@ -97,6 +99,12 @@ class SeedDump
97
99
  end
98
100
  end
99
101
 
102
+ def active_record_import_options(options)
103
+ return unless options[:import] && options[:import].is_a?(Hash)
104
+
105
+ ', ' + options[:import].map { |key, value| "#{key}: #{value}" }.join(', ')
106
+ end
107
+
100
108
  def attribute_names(records, options)
101
109
  attribute_names = if records.is_a?(ActiveRecord::Relation) || records.is_a?(Class)
102
110
  records.attribute_names
@@ -4,7 +4,60 @@ class SeedDump
4
4
  def dump_using_environment(env = {})
5
5
  Rails.application.eager_load!
6
6
 
7
+ models = retrieve_models(env) - retrieve_models_exclude(env)
8
+
9
+ limit = retrieve_limit_value(env)
10
+ append = retrieve_append_value(env)
11
+ models.each do |model|
12
+ model = model.limit(limit) if limit.present?
13
+
14
+ SeedDump.dump(model,
15
+ append: append,
16
+ batch_size: retrieve_batch_size_value(env),
17
+ exclude: retrieve_exclude_value(env),
18
+ file: retrieve_file_value(env),
19
+ import: retrieve_import_value(env))
20
+
21
+ append = true # Always append for every model after the first
22
+ # (append for the first model is determined by
23
+ # the APPEND environment variable).
24
+ end
25
+ end
26
+
27
+ private
28
+ # Internal: Array of Strings corresponding to Active Record model class names
29
+ # that should be excluded from the dump.
30
+ ACTIVE_RECORD_INTERNAL_MODELS = ['ActiveRecord::SchemaMigration',
31
+ 'ActiveRecord::InternalMetadata']
32
+
33
+ # Internal: Retrieves an Array of Active Record model class constants to be
34
+ # dumped.
35
+ #
36
+ # If a "MODEL" or "MODELS" environment variable is specified, there will be
37
+ # an attempt to parse the environment variable String by splitting it on
38
+ # commmas and then converting it to constant.
39
+ #
40
+ # Model classes that do not have corresponding database tables or database
41
+ # records will be filtered out, as will model classes internal to Active
42
+ # Record.
43
+ #
44
+ # env - Hash of environment variables from which to parse Active Record
45
+ # model classes. The Hash is not optional but the "MODEL" and "MODELS"
46
+ # keys are optional.
47
+ #
48
+ # Returns the Array of Active Record model classes to be dumped.
49
+ def retrieve_models(env)
50
+ # Parse either the "MODEL" environment variable or the "MODELS"
51
+ # environment variable, with "MODEL" taking precedence.
7
52
  models_env = env['MODEL'] || env['MODELS']
53
+
54
+ # If there was a use models environment variable, split it and
55
+ # convert the given model string (e.g. "User") to an actual
56
+ # model constant (e.g. User).
57
+ #
58
+ # If a models environment variable was not given, use descendants of
59
+ # ActiveRecord::Base as the target set of models. This should be all
60
+ # model classes in the project.
8
61
  models = if models_env
9
62
  models_env.split(',')
10
63
  .collect {|x| x.strip.underscore.singularize.camelize.constantize }
@@ -12,33 +65,75 @@ class SeedDump
12
65
  ActiveRecord::Base.descendants
13
66
  end
14
67
 
15
- models = models.select do |model|
16
- (model.to_s != 'ActiveRecord::SchemaMigration') && \
17
- model.table_exists? && \
18
- model.exists?
19
- end
20
68
 
21
- append = (env['APPEND'] == 'true')
69
+ # Filter the set of models to exclude:
70
+ # - The ActiveRecord::SchemaMigration model which is internal to Rails
71
+ # and should not be part of the dumped data.
72
+ # - Models that don't have a corresponding table in the database.
73
+ # - Models whose corresponding database tables are empty.
74
+ filtered_models = models.select do |model|
75
+ !ACTIVE_RECORD_INTERNAL_MODELS.include?(model.to_s) && \
76
+ model.table_exists? && \
77
+ model.exists?
78
+ end
79
+ end
22
80
 
23
- models_exclude_env = env['MODELS_EXCLUDE']
24
- if models_exclude_env
25
- models_exclude_env.split(',')
26
- .collect {|x| x.strip.underscore.singularize.camelize.constantize }
27
- .each { |exclude| models.delete(exclude) }
28
- end
81
+ # Internal: Returns a Boolean indicating whether the value for the "APPEND"
82
+ # key in the given Hash is equal to the String "true" (ignoring case),
83
+ # false if no value exists.
84
+ def retrieve_append_value(env)
85
+ parse_boolean_value(env['APPEND'])
86
+ end
29
87
 
30
- models.each do |model|
31
- model = model.limit(env['LIMIT'].to_i) if env['LIMIT']
88
+ # Internal: Returns a Boolean indicating whether the value for the "IMPORT"
89
+ # key in the given Hash is equal to the String "true" (ignoring case),
90
+ # false if no value exists.
91
+ def retrieve_import_value(env)
92
+ parse_boolean_value(env['IMPORT'])
93
+ end
32
94
 
33
- SeedDump.dump(model,
34
- append: append,
35
- batch_size: (env['BATCH_SIZE'] ? env['BATCH_SIZE'].to_i : nil),
36
- exclude: (env['EXCLUDE'] ? env['EXCLUDE'].split(',').map {|e| e.strip.to_sym} : nil),
37
- file: (env['FILE'] || 'db/seeds.rb'),
38
- import: (env['IMPORT'] == 'true'))
95
+ # Internal: Retrieves an Array of Class constants parsed from the value for
96
+ # the "MODELS_EXCLUDE" key in the given Hash, and an empty Array if such
97
+ # key exists.
98
+ def retrieve_models_exclude(env)
99
+ env['MODELS_EXCLUDE'].to_s
100
+ .split(',')
101
+ .collect { |x| x.strip.underscore.singularize.camelize.constantize }
102
+ end
39
103
 
40
- append = true
41
- end
104
+ # Internal: Retrieves an Integer from the value for the "LIMIT" key in the
105
+ # given Hash, and nil if no such key exists.
106
+ def retrieve_limit_value(env)
107
+ retrieve_integer_value('LIMIT', env)
108
+ end
109
+
110
+ # Internal: Retrieves an Array of Symbols from the value for the "EXCLUDE"
111
+ # key from the given Hash, and nil if no such key exists.
112
+ def retrieve_exclude_value(env)
113
+ env['EXCLUDE'] ? env['EXCLUDE'].split(',').map {|e| e.strip.to_sym} : nil
114
+ end
115
+
116
+ # Internal: Retrieves the value for the "FILE" key from the given Hash, and
117
+ # 'db/seeds.rb' if no such key exists.
118
+ def retrieve_file_value(env)
119
+ env['FILE'] || 'db/seeds.rb'
120
+ end
121
+
122
+ # Internal: Retrieves an Integer from the value for the "BATCH_SIZE" key in
123
+ # the given Hash, and nil if no such key exists.
124
+ def retrieve_batch_size_value(env)
125
+ retrieve_integer_value('BATCH_SIZE', env)
126
+ end
127
+
128
+ # Internal: Retrieves an Integer from the value for the given key in
129
+ # the given Hash, and nil if no such key exists.
130
+ def retrieve_integer_value(key, hash)
131
+ hash[key] ? hash[key].to_i : nil
132
+ end
133
+
134
+ # Internal: Parses a Boolean from the given value.
135
+ def parse_boolean_value(value)
136
+ value.to_s.downcase == 'true'
42
137
  end
43
138
  end
44
139
  end
@@ -2,18 +2,18 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: seed_dump 3.2.4 ruby lib
5
+ # stub: seed_dump 3.3.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "seed_dump"
9
- s.version = "3.2.4"
8
+ s.name = "seed_dump".freeze
9
+ s.version = "3.3.0"
10
10
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["Rob Halff", "Ryan Oblak"]
14
- s.date = "2015-12-25"
15
- s.description = "Dump (parts) of your database to db/seeds.rb to get a headstart creating a meaningful seeds.rb file"
16
- s.email = "rroblak@gmail.com"
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Rob Halff".freeze, "Ryan Oblak".freeze]
14
+ s.date = "2018-04-20"
15
+ s.description = "Dump (parts) of your database to db/seeds.rb to get a headstart creating a meaningful seeds.rb file".freeze
16
+ s.email = "rroblak@gmail.com".freeze
17
17
  s.extra_rdoc_files = [
18
18
  "README.md"
19
19
  ]
@@ -39,36 +39,36 @@ Gem::Specification.new do |s|
39
39
  "spec/helpers.rb",
40
40
  "spec/spec_helper.rb"
41
41
  ]
42
- s.homepage = "https://github.com/rroblak/seed_dump"
43
- s.licenses = ["MIT"]
44
- s.rubygems_version = "2.4.5"
45
- s.summary = "{Seed Dumper for Rails}"
42
+ s.homepage = "https://github.com/rroblak/seed_dump".freeze
43
+ s.licenses = ["MIT".freeze]
44
+ s.rubygems_version = "2.7.6".freeze
45
+ s.summary = "{Seed Dumper for Rails}".freeze
46
46
 
47
47
  if s.respond_to? :specification_version then
48
48
  s.specification_version = 4
49
49
 
50
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
- s.add_runtime_dependency(%q<activesupport>, [">= 4"])
52
- s.add_runtime_dependency(%q<activerecord>, [">= 4"])
53
- s.add_development_dependency(%q<byebug>, ["~> 2.0"])
54
- s.add_development_dependency(%q<factory_girl>, ["~> 4.0"])
55
- s.add_development_dependency(%q<activerecord-import>, ["~> 0.4"])
56
- s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
51
+ s.add_runtime_dependency(%q<activesupport>.freeze, [">= 4"])
52
+ s.add_runtime_dependency(%q<activerecord>.freeze, [">= 4"])
53
+ s.add_development_dependency(%q<byebug>.freeze, ["~> 2.0"])
54
+ s.add_development_dependency(%q<factory_bot>.freeze, ["~> 4.8.2"])
55
+ s.add_development_dependency(%q<activerecord-import>.freeze, ["~> 0.4"])
56
+ s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.0"])
57
57
  else
58
- s.add_dependency(%q<activesupport>, [">= 4"])
59
- s.add_dependency(%q<activerecord>, [">= 4"])
60
- s.add_dependency(%q<byebug>, ["~> 2.0"])
61
- s.add_dependency(%q<factory_girl>, ["~> 4.0"])
62
- s.add_dependency(%q<activerecord-import>, ["~> 0.4"])
63
- s.add_dependency(%q<jeweler>, ["~> 2.0"])
58
+ s.add_dependency(%q<activesupport>.freeze, [">= 4"])
59
+ s.add_dependency(%q<activerecord>.freeze, [">= 4"])
60
+ s.add_dependency(%q<byebug>.freeze, ["~> 2.0"])
61
+ s.add_dependency(%q<factory_bot>.freeze, ["~> 4.8.2"])
62
+ s.add_dependency(%q<activerecord-import>.freeze, ["~> 0.4"])
63
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
64
64
  end
65
65
  else
66
- s.add_dependency(%q<activesupport>, [">= 4"])
67
- s.add_dependency(%q<activerecord>, [">= 4"])
68
- s.add_dependency(%q<byebug>, ["~> 2.0"])
69
- s.add_dependency(%q<factory_girl>, ["~> 4.0"])
70
- s.add_dependency(%q<activerecord-import>, ["~> 0.4"])
71
- s.add_dependency(%q<jeweler>, ["~> 2.0"])
66
+ s.add_dependency(%q<activesupport>.freeze, [">= 4"])
67
+ s.add_dependency(%q<activerecord>.freeze, [">= 4"])
68
+ s.add_dependency(%q<byebug>.freeze, ["~> 2.0"])
69
+ s.add_dependency(%q<factory_bot>.freeze, ["~> 4.8.2"])
70
+ s.add_dependency(%q<activerecord-import>.freeze, ["~> 0.4"])
71
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
72
72
  end
73
73
  end
74
74
 
@@ -19,7 +19,7 @@ describe SeedDump do
19
19
 
20
20
  create_db
21
21
 
22
- FactoryGirl.create_list(:sample, 3)
22
+ FactoryBot.create_list(:sample, 3)
23
23
  end
24
24
 
25
25
  context 'without file option' do
@@ -30,7 +30,7 @@ describe SeedDump do
30
30
 
31
31
  context 'with file option' do
32
32
  before do
33
- @filename = Dir::Tmpname.make_tmpname(File.join(Dir.tmpdir, 'foo'), nil)
33
+ @filename = Tempfile.new(File.join(Dir.tmpdir, 'foo'), nil)
34
34
  end
35
35
 
36
36
  after do
@@ -61,7 +61,7 @@ describe SeedDump do
61
61
  context 'with an order parameter' do
62
62
  it 'should dump the models in the specified order' do
63
63
  Sample.delete_all
64
- samples = 3.times {|i| FactoryGirl.create(:sample, integer: i) }
64
+ samples = 3.times {|i| FactoryBot.create(:sample, integer: i) }
65
65
 
66
66
  SeedDump.dump(Sample.order('integer DESC')).should eq("Sample.create!([\n {string: \"string\", text: \"text\", integer: 2, float: 3.14, decimal: \"2.72\", datetime: \"1776-07-04 19:14:00\", time: \"2000-01-01 03:15:00\", date: \"1863-11-19\", binary: \"binary\", boolean: false},\n {string: \"string\", text: \"text\", integer: 1, float: 3.14, decimal: \"2.72\", datetime: \"1776-07-04 19:14:00\", time: \"2000-01-01 03:15:00\", date: \"1863-11-19\", binary: \"binary\", boolean: false},\n {string: \"string\", text: \"text\", integer: 0, float: 3.14, decimal: \"2.72\", datetime: \"1776-07-04 19:14:00\", time: \"2000-01-01 03:15:00\", date: \"1863-11-19\", binary: \"binary\", boolean: false}\n])\n")
67
67
  end
@@ -82,7 +82,7 @@ describe SeedDump do
82
82
 
83
83
  it 'should dump the number of models specified by the limit when the limit is larger than the batch size but not a multiple of the batch size' do
84
84
  Sample.delete_all
85
- 4.times { FactoryGirl.create(:sample) }
85
+ 4.times { FactoryBot.create(:sample) }
86
86
 
87
87
  SeedDump.dump(Sample.limit(3), batch_size: 2).should eq(expected_output(false, 3))
88
88
  end
@@ -147,6 +147,18 @@ Sample.import([:string, :text, :integer, :float, :decimal, :datetime, :time, :da
147
147
  ])
148
148
  RUBY
149
149
  end
150
+
151
+ context 'should add the params to the output if they are specified' do
152
+ it 'should dump in the activerecord-import format when import is true' do
153
+ SeedDump.dump(Sample, import: { validate: false }, exclude: []).should eq <<-RUBY
154
+ Sample.import([:id, :string, :text, :integer, :float, :decimal, :datetime, :time, :date, :binary, :boolean, :created_at, :updated_at], [
155
+ [1, "string", "text", 42, 3.14, "2.72", "1776-07-04 19:14:00", "2000-01-01 03:15:00", "1863-11-19", "binary", false, "1969-07-20 20:18:00", "1989-11-10 04:20:00"],
156
+ [2, "string", "text", 42, 3.14, "2.72", "1776-07-04 19:14:00", "2000-01-01 03:15:00", "1863-11-19", "binary", false, "1969-07-20 20:18:00", "1989-11-10 04:20:00"],
157
+ [3, "string", "text", 42, 3.14, "2.72", "1776-07-04 19:14:00", "2000-01-01 03:15:00", "1863-11-19", "binary", false, "1969-07-20 20:18:00", "1989-11-10 04:20:00"]
158
+ ], validate: false)
159
+ RUBY
160
+ end
161
+ end
150
162
  end
151
163
  end
152
164
  end
@@ -9,7 +9,7 @@ describe SeedDump do
9
9
  before(:each) do
10
10
  Rails.application.eager_load!
11
11
 
12
- FactoryGirl.create(:sample)
12
+ FactoryBot.create(:sample)
13
13
  end
14
14
 
15
15
  describe 'APPEND' do
@@ -19,8 +19,14 @@ describe SeedDump do
19
19
  SeedDump.dump_using_environment('APPEND' => 'true')
20
20
  end
21
21
 
22
+ it "should specify append as true if the APPEND env var is 'TRUE'" do
23
+ SeedDump.should_receive(:dump).with(anything, include(append: true))
24
+
25
+ SeedDump.dump_using_environment('APPEND' => 'TRUE')
26
+ end
27
+
22
28
  it "should specify append as false the first time if the APPEND env var is not 'true' (and true after that)" do
23
- FactoryGirl.create(:another_sample)
29
+ FactoryBot.create(:another_sample)
24
30
 
25
31
  SeedDump.should_receive(:dump).with(anything, include(append: false)).ordered
26
32
  SeedDump.should_receive(:dump).with(anything, include(append: true)).ordered
@@ -83,7 +89,7 @@ describe SeedDump do
83
89
  describe model_env do
84
90
  context "if #{model_env} is not specified" do
85
91
  it "should dump all non-empty models" do
86
- FactoryGirl.create(:another_sample)
92
+ FactoryBot.create(:another_sample)
87
93
 
88
94
  [Sample, AnotherSample].each do |model|
89
95
  SeedDump.should_receive(:dump).with(model, anything)
@@ -95,7 +101,7 @@ describe SeedDump do
95
101
 
96
102
  context "if #{model_env} is specified" do
97
103
  it "should dump only the specified model" do
98
- FactoryGirl.create(:another_sample)
104
+ FactoryBot.create(:another_sample)
99
105
 
100
106
  SeedDump.should_receive(:dump).with(Sample, anything)
101
107
 
@@ -113,7 +119,7 @@ describe SeedDump do
113
119
 
114
120
  describe "MODELS_EXCLUDE" do
115
121
  it "should dump all non-empty models except the specified models" do
116
- FactoryGirl.create(:another_sample)
122
+ FactoryBot.create(:another_sample)
117
123
 
118
124
  SeedDump.should_receive(:dump).with(Sample, anything)
119
125
 
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  factory :another_sample do
3
3
  string 'string'
4
4
  text 'text'
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  factory :sample do
3
3
  string 'string'
4
4
  text 'text'
@@ -1,4 +1,4 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  factory :yet_another_sample do
3
3
  string 'string'
4
4
  text 'text'
@@ -8,17 +8,15 @@ require 'tempfile'
8
8
  require 'byebug'
9
9
 
10
10
  require 'database_cleaner'
11
- require 'factory_girl'
11
+ require 'factory_bot'
12
12
 
13
13
  require './spec/helpers'
14
14
 
15
15
  ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')
16
16
 
17
- FactoryGirl.find_definitions
17
+ FactoryBot.find_definitions
18
18
 
19
19
  RSpec.configure do |config|
20
- config.treat_symbols_as_metadata_keys_with_true_values = true
21
-
22
20
  config.order = 'random'
23
21
 
24
22
  config.include Helpers
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seed_dump
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.4
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Halff
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-25 00:00:00.000000000 Z
12
+ date: 2018-04-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -54,19 +54,19 @@ dependencies:
54
54
  - !ruby/object:Gem::Version
55
55
  version: '2.0'
56
56
  - !ruby/object:Gem::Dependency
57
- name: factory_girl
57
+ name: factory_bot
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '4.0'
62
+ version: 4.8.2
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '4.0'
69
+ version: 4.8.2
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: activerecord-import
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  version: '0'
144
144
  requirements: []
145
145
  rubyforge_project:
146
- rubygems_version: 2.4.5
146
+ rubygems_version: 2.7.6
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: "{Seed Dumper for Rails}"