mongoid_seeder 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/lib/mongoid_seeder/config.rb +1 -0
- data/lib/mongoid_seeder/version.rb +1 -1
- data/lib/mongoid_seeder.rb +1 -1
- metadata +3 -4
- data/pkg/mongoid_seeder-0.0.1.gem +0 -0
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -10,6 +10,7 @@ module MongoidSeeder
|
|
10
10
|
after_suite -> { true } # no-op
|
11
11
|
condition_to_drop_collection lambda { |collection| false } # drop nothing
|
12
12
|
config_file File.join(Dir.pwd, 'config', 'mongoid_seeder.rb') # app_root/config/mongoid_seeder.rb
|
13
|
+
seed_dir File.join(Dir.pwd, 'db', 'seed_data') # app_root/db/seed_data
|
13
14
|
end
|
14
15
|
|
15
16
|
require Config.config_file if File.exists?(Config.config_file)
|
data/lib/mongoid_seeder.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid_seeder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -111,7 +111,6 @@ files:
|
|
111
111
|
- lib/mongoid_seeder/config.rb
|
112
112
|
- lib/mongoid_seeder/version.rb
|
113
113
|
- mongoid_seeder.gemspec
|
114
|
-
- pkg/mongoid_seeder-0.0.1.gem
|
115
114
|
homepage: ''
|
116
115
|
licenses:
|
117
116
|
- MIT
|
@@ -127,7 +126,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
127
126
|
version: '0'
|
128
127
|
segments:
|
129
128
|
- 0
|
130
|
-
hash:
|
129
|
+
hash: -951118916329851109
|
131
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
131
|
none: false
|
133
132
|
requirements:
|
@@ -136,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
135
|
version: '0'
|
137
136
|
segments:
|
138
137
|
- 0
|
139
|
-
hash:
|
138
|
+
hash: -951118916329851109
|
140
139
|
requirements: []
|
141
140
|
rubyforge_project:
|
142
141
|
rubygems_version: 1.8.25
|
Binary file
|