app_reset 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/app_reset/version.rb +1 -1
- data/lib/tasks/app_reset_tasks.rake +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80f88449fdc1d3e307eb66aac34009f578e00a9a
|
4
|
+
data.tar.gz: 098730752aad2aa7e020d5778738c8bc68a26b63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fba15d93957daac8a5e9d6b347b7133d298ebc8951e9f5a173ab5c297d1083c2a4b2cd3761e68e059f22ad31d94232bf4bc63bed39bb56e5c28a47c66a505fc3
|
7
|
+
data.tar.gz: 38208f031e59f5c5b255bce9957983cfd2157fd8019088f2e5de504ee4d9db91da61c1fdf52d1dad377afa5cb382cc3330ae0e7160c7a51f67129f2fa123dc7d
|
data/lib/app_reset/version.rb
CHANGED
@@ -6,6 +6,8 @@ rails_envs = rails_env.nil? ? ['test', 'development'] : [rails_env]
|
|
6
6
|
|
7
7
|
desc 'Resets (and if available, seeds) your development and test databases'
|
8
8
|
task task_name => 'db:create' do
|
9
|
+
`spring stop &> /dev/null`
|
10
|
+
|
9
11
|
rails_envs.each do |env|
|
10
12
|
puts '=' * 35
|
11
13
|
puts "Resetting #{env} database ..."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_reset
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred Wu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
61
|
rubyforge_project:
|
62
|
-
rubygems_version: 2.
|
62
|
+
rubygems_version: 2.1.11
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: Resets (and if available, seeds) your development and test databases.
|