scv 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +6 -4
  2. data/lib/scv/cli.rb +1 -1
  3. data/lib/scv/version.rb +1 -1
  4. metadata +10 -10
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
- **"SCV ready to go, sir!"** -- *some scv*.
1
+ [![Code Climate](https://codeclimate.com/badge.png)](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
- ```shell
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
- ```shell
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
- ```shell
46
+ ```console
45
47
  scv populate
46
48
  ```
47
49
 
data/lib/scv/cli.rb CHANGED
@@ -38,7 +38,7 @@ module SCV
38
38
  commands.push "db:create"
39
39
  commands.push "db:migrate"
40
40
  commands.push "db:seed" if options.seed?
41
- commands.push "db:test:clone"
41
+ commands.push "db:test:prepare"
42
42
  end.join(" "))
43
43
  end
44
44
 
data/lib/scv/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SCV
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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.3
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-06-06 00:00:00.000000000 Z
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: &2171433300 !ruby/object:Gem::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: *2171433300
24
+ version_requirements: *2171197940
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thor
27
- requirement: &2171432560 !ruby/object:Gem::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: *2171432560
35
+ version_requirements: *2171196980
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: database_cleaner
38
- requirement: &2171431460 !ruby/object:Gem::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: *2171431460
46
+ version_requirements: *2171195780
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: railties
49
- requirement: &2171430000 !ruby/object:Gem::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: *2171430000
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."