homesteading-tasks 0.0.9 → 0.0.10
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/History.md +6 -0
- data/README.md +1 -1
- data/lib/homesteading-tasks/db.rb +2 -2
- data/lib/homesteading_tasks.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e7cf3d4c18f4384e59f48777675a7ffc0097167
|
|
4
|
+
data.tar.gz: 969bbfbb0b5d4e4b03d63dcd31dab84df14a2cd8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50203aaa9acc838637f1e2e827ad79ea2716a652b15a85661e6b16b877051f2dd4cc3a1091e4cb7d44f07afcd8b1ac9995858bb4529150b6d19d6dd5a75befa5
|
|
7
|
+
data.tar.gz: b3ab02c054ec0d6572a5360fa0245a698c77cfe020f1878dbc6d886e6b0e05444ed4f73346ba5fe2c8ff5b665c22d8b88bedd16b182f415cd6fb3d0d2deb1f9e
|
data/History.md
CHANGED
data/README.md
CHANGED
|
@@ -50,7 +50,7 @@ This will `cp config/database.example.yml config/database.yml` to use the exampl
|
|
|
50
50
|
|
|
51
51
|
This will load the seed data from `db/seeds.rb` and then from `db/dev.seeds.rb`.
|
|
52
52
|
|
|
53
|
-
rake hs:db:seed:
|
|
53
|
+
rake hs:db:seed:rerename
|
|
54
54
|
|
|
55
55
|
This can be used to rename the files back to `db/seeds.rb` and `db/dev.seeds.rb` in case `rake hs:db:seed` dumps out in the middle of running with an error.
|
|
56
56
|
|
|
@@ -7,7 +7,7 @@ namespace :hs do
|
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
desc "HS: Load the seed data from db/seeds.rb, then your db/dev.seeds.rb"
|
|
10
|
-
task :seed => ["db:seed", "hs:seed:rename", "hs:seed:
|
|
10
|
+
task :seed => ["db:seed", "hs:db:seed:rename", "hs:db:seed:again", "hs:db:seed:rerename"]
|
|
11
11
|
|
|
12
12
|
namespace :seed do
|
|
13
13
|
desc "HS: Rename seeds.rb to production.seeds.rb & dev.seeds.rb to seeds.rb"
|
|
@@ -23,7 +23,7 @@ namespace :hs do
|
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
desc "HS: Seed again after db:seed-ing"
|
|
26
|
-
task :
|
|
26
|
+
task :again do
|
|
27
27
|
Rake::Task["db:seed"].invoke # .execute
|
|
28
28
|
end
|
|
29
29
|
end
|
data/lib/homesteading_tasks.rb
CHANGED