scv 0.0.3 → 0.0.4
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.
- data/README.md +6 -4
- data/lib/scv/cli.rb +1 -1
- data/lib/scv/version.rb +1 -1
- metadata +10 -10
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
[](https://codeclimate.com/github/dmitriy-kiriyenko/SCV)
|
2
|
+
|
3
|
+
**"SCV ready to go, sir!"** -- *some scv*.
|
2
4
|
|
3
5
|
A set of thor scripts with most general tasks to administer Rails applications.
|
4
6
|
|
@@ -16,7 +18,7 @@ gem 'scv', :group => 'development', :require => false
|
|
16
18
|
|
17
19
|
It's a common pattern, especially for open source projects not to keep development configuration files in version control, keeping their example versions instead. The most common is config/database.yml.example. While I'm going to support this patten in future, I currently suggest another one, which is keeping all example configuration files in config/examples, which structure repeats config directory. For support of this patter there is a setup:config script in this set. Run
|
18
20
|
|
19
|
-
```
|
21
|
+
```console
|
20
22
|
scv config
|
21
23
|
```
|
22
24
|
|
@@ -26,7 +28,7 @@ to copy all example configuration files to their natural locations. You may use
|
|
26
28
|
|
27
29
|
Pretty often you need to create a database, tune it's schema to current and load seeds after checking out a new application. I advice you to use a
|
28
30
|
|
29
|
-
```
|
31
|
+
```console
|
30
32
|
scv db
|
31
33
|
```
|
32
34
|
|
@@ -41,7 +43,7 @@ The `no-` options are also available with `--skip` prefix as usual (e.g., `--ski
|
|
41
43
|
|
42
44
|
Again, pretty often you need to populate database with a test data, needed for development. I suggest a solution when near `db/seeds.rb` file you place `db/populate.rb` with the similar purpose and content, but containing data you'd like to insert to database for development. If you do so, you may use
|
43
45
|
|
44
|
-
```
|
46
|
+
```console
|
45
47
|
scv populate
|
46
48
|
```
|
47
49
|
|
data/lib/scv/cli.rb
CHANGED
data/lib/scv/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &2171197940 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2171197940
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: thor
|
27
|
-
requirement: &
|
27
|
+
requirement: &2171196980 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2171196980
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: database_cleaner
|
38
|
-
requirement: &
|
38
|
+
requirement: &2171195780 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2171195780
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: railties
|
49
|
-
requirement: &
|
49
|
+
requirement: &2171194900 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2171194900
|
58
58
|
description: ! "A set of thor scripts to manage rails application basic tasks.\n Such
|
59
59
|
as managing local configuration files, dropping, creating\n and
|
60
60
|
populating db, etc."
|