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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 692169c272fc9f9191f722bb95ed116ef9862df2
4
- data.tar.gz: 6a79c3cb2037a4100a1207983009fca6f59102bf
3
+ metadata.gz: 0a615a71d7ed58b92681a80bfce7ce03b3579982
4
+ data.tar.gz: c98e744650641abc19bf46d2a60e7ded19ace5ea
5
5
  SHA512:
6
- metadata.gz: c5ab64cfd024df69d5ce73f0e3765a7a3d3ada51a73634da2c4dd9f4cc2e0d139992eb9e0b7e1ff2dd430568c7ac4d19b15a94e910b62eda320bb349f11e5ee5
7
- data.tar.gz: 64726bb032bd8075dc80f96c0e724977dd40e41d533de38cbb2446b1dac0c60a605cfacf44b9cdb16426b169f2c74a29e6cf3f675964204f82f96e7cfe2df7a5
6
+ metadata.gz: 842e2d1c224d9e5a13b04279c32beb0be4b2d2740d479502c940923c5f93d14780bb7b30786fb7560b2f1fdb7a3b37cee2cfde90e38ec540661a9edde512c1fe
7
+ data.tar.gz: 473e3f636bbc986650d100b38f4c8bbf18988a502ca2d0b65717f3f55545049ecf177f44a7138e25ecd22a34fcf44feda75435222787bd66cdc6c99262eca7bf
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'database_manager'
7
- spec.version = '0.0.3'
7
+ spec.version = '0.0.4'
8
8
  spec.authors = ['SaleMove TechMovers']
9
9
  spec.email = ['techmovers@salemove.com']
10
10
 
@@ -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.3
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-01 00:00:00.000000000 Z
11
+ date: 2017-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inflecto