app_reset 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/app_reset/version.rb +1 -1
- data/lib/tasks/app_reset_tasks.rake +1 -1
- metadata +9 -19
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 228702aeb9b42331c299b08e620e783c47e66faa
|
4
|
+
data.tar.gz: 3575fe60551aa970dfb0dc756cc7408ef75be2a7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ba617672e2ee7e49a25401cf09889d69b1175c5b0f1b3cc627f914ce6ced3c649a377b1f638718a843bdca84a2793ebba7ebdf2e913954d81f56769d9a4b3217
|
7
|
+
data.tar.gz: cd730ce2ffb3f99daae9de5b9f402edd36f029a68cce539451efd87b977e957bbaa7d5059fb6596f8dca5972a839499e14bef74aa415390f4d92f70f52758801
|
data/lib/app_reset/version.rb
CHANGED
@@ -2,7 +2,7 @@ host_is_engine = ! Rake::Task.tasks.map { |t| t.name =~ /app:/ }.uniq.compact.em
|
|
2
2
|
task_name = host_is_engine ? 'reset' : 'app:reset'
|
3
3
|
|
4
4
|
rails_env = ENV['RAILS_ENV']
|
5
|
-
rails_envs = rails_env.nil? ? ['
|
5
|
+
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
|
metadata
CHANGED
@@ -1,30 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_reset
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.9
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Fred Wu
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-05-25 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
description: Resets (and if available, seeds) your development and test databases.
|
@@ -45,32 +42,25 @@ files:
|
|
45
42
|
- lib/tasks/app_reset_tasks.rake
|
46
43
|
homepage: https://github.com/fredwu/app_reset
|
47
44
|
licenses: []
|
45
|
+
metadata: {}
|
48
46
|
post_install_message:
|
49
47
|
rdoc_options: []
|
50
48
|
require_paths:
|
51
49
|
- lib
|
52
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
51
|
requirements:
|
55
|
-
- -
|
52
|
+
- - '>='
|
56
53
|
- !ruby/object:Gem::Version
|
57
54
|
version: '0'
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
hash: 140975577514646687
|
61
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
-
none: false
|
63
56
|
requirements:
|
64
|
-
- -
|
57
|
+
- - '>='
|
65
58
|
- !ruby/object:Gem::Version
|
66
59
|
version: '0'
|
67
|
-
segments:
|
68
|
-
- 0
|
69
|
-
hash: 140975577514646687
|
70
60
|
requirements: []
|
71
61
|
rubyforge_project:
|
72
|
-
rubygems_version:
|
62
|
+
rubygems_version: 2.0.3
|
73
63
|
signing_key:
|
74
|
-
specification_version:
|
64
|
+
specification_version: 4
|
75
65
|
summary: Resets (and if available, seeds) your development and test databases.
|
76
66
|
test_files: []
|