database_manager 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/database_manager.gemspec +1 -1
- data/lib/database_manager/tasks.rake +7 -0
- 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: 0a615a71d7ed58b92681a80bfce7ce03b3579982
|
4
|
+
data.tar.gz: c98e744650641abc19bf46d2a60e7ded19ace5ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 842e2d1c224d9e5a13b04279c32beb0be4b2d2740d479502c940923c5f93d14780bb7b30786fb7560b2f1fdb7a3b37cee2cfde90e38ec540661a9edde512c1fe
|
7
|
+
data.tar.gz: 473e3f636bbc986650d100b38f4c8bbf18988a502ca2d0b65717f3f55545049ecf177f44a7138e25ecd22a34fcf44feda75435222787bd66cdc6c99262eca7bf
|
data/database_manager.gemspec
CHANGED
@@ -73,6 +73,13 @@ end
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
desc 'Creates the database'
|
77
|
+
task :create do
|
78
|
+
ActiveRecord::Tasks::DatabaseTasks.create(
|
79
|
+
DatabaseManager::Tasks.config.stringify_keys
|
80
|
+
)
|
81
|
+
end
|
82
|
+
|
76
83
|
desc 'Create the database, load the schema, and initialize with the seed data (use db:reset to also drop the database first)'
|
77
84
|
task :setup do
|
78
85
|
ActiveRecord::Tasks::DatabaseTasks.purge DatabaseManager::Tasks.config.stringify_keys
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: database_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SaleMove TechMovers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inflecto
|