succotash 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/LICENSE.txt +1 -1
- data/VERSION +1 -1
- data/lib/tasks/seed.rake +1 -1
- data/lib/tasks/succotash.rake +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4458f099bbe3f5893bc5135845a5e469e6f26f99
|
|
4
|
+
data.tar.gz: af36ecc7b6d16c1fbbc40a6ab1511e75adde7fc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d904ecafae7246ea5c70fa10fd3e599a9cb86e99708a35f7052a48754e349bd5af270875ee2bfde8c0d039b4c9eda75fb5217197f0d41b9350aff6c4a67169ad
|
|
7
|
+
data.tar.gz: 087244af8edc5af8e84809f2d847e1016651727f0156b0e26cc1371f753bd6d48489b8711786d4a8f4943adf04db759d453b67a6021214aadb9b2b6c98e565de
|
data/.gitignore
CHANGED
data/LICENSE.txt
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.2
|
data/lib/tasks/seed.rake
CHANGED
|
@@ -5,7 +5,7 @@ Rake::Task['db:seed'].clear
|
|
|
5
5
|
namespace :db do
|
|
6
6
|
desc "Run db:seed:static and db:seed:sample"
|
|
7
7
|
task seed: %w{seed:static seed:sample} do
|
|
8
|
-
warn "[WARNING] `db/seed.rb` and it
|
|
8
|
+
warn "[WARNING] `db/seed.rb` and it's task `rake db:seed` have been disabled by the succotash gem. Please move seed data to db/static.rb or db/sample.rb".light_yellow if File.exist? File.join(Rails.root, 'db/seeds.rb')
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
namespace :seed do
|
data/lib/tasks/succotash.rake
CHANGED
|
@@ -4,7 +4,6 @@ namespace :succotash do
|
|
|
4
4
|
spec = Gem::Specification.find_by_name 'succotash'
|
|
5
5
|
|
|
6
6
|
puts "*** Creating seed dirs ***".green
|
|
7
|
-
system("mkdir -p #{Rails.root}/db/seeds/{static,sample}") unless Dir.exist?("#{Rails.root}/db/seeds")
|
|
8
7
|
system("mkdir -p #{Rails.root}/db/seeds/static") unless Dir.exist?("#{Rails.root}/db/seeds/static")
|
|
9
8
|
system("mkdir -p #{Rails.root}/db/seeds/sample") unless Dir.exist?("#{Rails.root}/db/seeds/sample")
|
|
10
9
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: succotash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hassan Khalid
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-01-
|
|
12
|
+
date: 2016-01-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|