seedbank 0.3.0.pre2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NTE3NWRlOGJlYzUzNDIyYjcyZTU0ZGZhZDllZDE5MmZmODM3NzE5Mw==
5
+ data.tar.gz: !binary |-
6
+ ODFhMmMxNTNhYTViNDY2NjA1ZGZiYWVmYTU2M2QxMTk0YWQ5ZmU4Mg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ MWZkODAzNDBhYTg0MzQ0NDc1MzZkMWI5OTczYzhiZWJjYzAzMjE4MDQxNjU1
10
+ NmFhZGIyYTM0MDY0OWQ5NDI5NDMxNTJkM2ZiNDczM2IyYTkxN2I1NmEyZTI4
11
+ MDYyYTlkNmNmODU2MWJiMzRmMGZiOTQ1ZDQzNmZmZTU3OGVkMGQ=
12
+ data.tar.gz: !binary |-
13
+ MmJjZjc4ZjBhNmU0MGFkZGExYjdhYzcxNGE5ZTQ4ZGEzNzMwOGI1NWUwYzE3
14
+ OGJiMGI5MDY5NWM1Nzc1ZmRiZDhhYTBmNTdmNWQ1OWNhNGQxYTAyZGVkYTJh
15
+ NTk0N2FiZjUwMTU5NTIyNDQ4MjUxZDQ5YzVmZGJkNDkxZGRhNmU=
@@ -1,3 +1,3 @@
1
1
  module Seedbank
2
- VERSION = "0.3.0.pre2"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -28,8 +28,10 @@ namespace :db do
28
28
 
29
29
  if Rails.version > '4'
30
30
  original_seeds_file = Rails.application.paths["db/seeds.rb"].existent.first
31
- else
31
+ elsif Rails.version > '3'
32
32
  original_seeds_file = Rails.application.paths["db/seeds"].existent.first
33
+ else
34
+ original_seeds_file = Rails.root.join("db","seeds").children.first.to_s
33
35
  end
34
36
  define_seed_task original_seeds_file, :original if original_seeds_file
35
37
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seedbank
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.pre2
5
- prerelease: 6
4
+ version: 0.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - James McCarthy
@@ -14,7 +13,6 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: minitest
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: flexmock
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rails
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -119,6 +112,7 @@ files:
119
112
  homepage: http://github.com/james2m/seedbank
120
113
  licenses:
121
114
  - MIT
115
+ metadata: {}
122
116
  post_install_message: ! "\n ================================================================================\n\n
123
117
  \ Rails 2.x\n ---------\n If you are using Seedbank with Rails 2.x you will need
124
118
  to place the following at \n the end of your Rakefile so Rubygems can load the
@@ -130,22 +124,20 @@ rdoc_options:
130
124
  require_paths:
131
125
  - lib
132
126
  required_ruby_version: !ruby/object:Gem::Requirement
133
- none: false
134
127
  requirements:
135
128
  - - ! '>='
136
129
  - !ruby/object:Gem::Version
137
130
  version: '0'
138
131
  required_rubygems_version: !ruby/object:Gem::Requirement
139
- none: false
140
132
  requirements:
141
133
  - - ! '>='
142
134
  - !ruby/object:Gem::Version
143
135
  version: 1.2.0
144
136
  requirements: []
145
137
  rubyforge_project:
146
- rubygems_version: 1.8.25
138
+ rubygems_version: 2.0.5
147
139
  signing_key:
148
- specification_version: 3
140
+ specification_version: 4
149
141
  summary: Extends Rails seeds to split out complex seeds into their own file and have
150
142
  different seeds for each environment.
151
143
  test_files: