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 CHANGED
@@ -1 +1,2 @@
1
1
  tags
2
+ pkg
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongoid_seeder (0.0.2)
4
+ mongoid_seeder (0.0.3)
5
5
  mixlib-config (~> 1.1)
6
6
  mongoid (~> 3.1)
7
7
  mongoid-shell (= 0.2.0)
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module MongoidSeeder
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -34,7 +34,7 @@ module MongoidSeeder
34
34
  end
35
35
 
36
36
  def self.db_path
37
- File.expand_path("db/seed_data", Dir.pwd)
37
+ Config.seed_dir
38
38
  end
39
39
 
40
40
  def self.dump
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.2
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: 1806728559804855945
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: 1806728559804855945
138
+ hash: -951118916329851109
140
139
  requirements: []
141
140
  rubyforge_project:
142
141
  rubygems_version: 1.8.25
Binary file