capistrano-rails-collection 0.0.2 → 0.0.3

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: 2362d53a86985398e3cb848ba15e095f5bf46e2e
4
- data.tar.gz: f9c43c04a5a2136c54155fe78ce827003be6fd3f
3
+ metadata.gz: a31af6abe5f7e5cf72abfd3b91d01770f191455e
4
+ data.tar.gz: 707985513e583084084566634b8bf9ed99b833fe
5
5
  SHA512:
6
- metadata.gz: fe42d55211f9eb9671fa22cfe15d5f66f4a6a32e88b35b4267b8c9cc00c078414cc19356544554208384850cd8d79d563415ee17efbc5424aba504e140f22fa6
7
- data.tar.gz: ef95242b81a8579b802932d8f83fd91f6139e50b6a974c6b0def06f08cb3984f21df9e4fbed7192a30b6d2cbd05cc0a9c22612e4a786e86d94eeb179ef4ef296
6
+ metadata.gz: 69eb80b0aaf468083460faded77893374879f23a1090aabd57bef9059c1b725a70790afb3e5bcf063f3cdf03ce1a2842ad84b5eb2552a68412890278c1e62e36
7
+ data.tar.gz: dabb86968f636d550bcac502695f4545466f866e13538d6851c6183d00e6a712b314e3a55461966d33b8e0195482d69e36de68c2beed8b32b4842d73a2390993
data/README.md CHANGED
@@ -1,15 +1,17 @@
1
1
  # Capistrano::Rails::Collection
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/capistrano-rails-collection.png)](http://badge.fury.io/rb/capistrano-rails-collection)
4
+
3
5
  Rails specific task collection for Capistrano v3 as extension of the official capistrano rails gem:
4
6
 
5
- * cap rails:rake:log:clear
6
- * cap rails:rake:tmp:clear
7
- * cap rails:rake:db:drop
8
- * cap rails:rake:db:reset
9
- * cap rails:rake:db:setup
10
- * cap rails:rake:db:seed
11
- * cap rails:rake:db:migrate
12
- * cap rails:rake:db:rollback
7
+ cap production rails:rake:log:clear
8
+ cap production rails:rake:tmp:clear
9
+ cap production rails:rake:db:drop
10
+ cap production rails:rake:db:reset
11
+ cap production rails:rake:db:setup
12
+ cap production rails:rake:db:seed
13
+ cap production rails:rake:db:migrate
14
+ cap production rails:rake:db:rollback
13
15
 
14
16
  ## Installation
15
17
 
@@ -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 = "capistrano-rails-collection"
7
- spec.version = "0.0.2"
7
+ spec.version = "0.0.3"
8
8
  spec.authors = ["dei79"]
9
9
  spec.email = ["dirk.eisenberg@gmail.com"]
10
10
  spec.description = %q{Rails specific Capistrano tasks which are not part of the official rails gem}
@@ -4,7 +4,7 @@ namespace :rails do
4
4
  desc 'Drops the database to an empty state'
5
5
  task :drop do
6
6
  on primary :db do
7
- within current_path do
7
+ within release_path do
8
8
  with rails_env: fetch(:stage) do
9
9
  execute :rake, 'db:drop'
10
10
  end
@@ -15,7 +15,7 @@ namespace :rails do
15
15
  desc 'Resets the database to an empty state'
16
16
  task :reset do
17
17
  on primary :db do
18
- within current_path do
18
+ within release_path do
19
19
  with rails_env: fetch(:stage) do
20
20
  execute :rake, 'db:reset'
21
21
  end
@@ -29,7 +29,7 @@ namespace :rails do
29
29
  DESC
30
30
  task :setup do
31
31
  on primary :db do
32
- within current_path do
32
+ within release_path do
33
33
  with rails_env: fetch(:stage) do
34
34
  execute :rake, 'db:setup'
35
35
  end
@@ -40,7 +40,7 @@ namespace :rails do
40
40
  desc "Load the seed data from db/seeds.rb"
41
41
  task :seed do
42
42
  on primary :db do
43
- within current_path do
43
+ within release_path do
44
44
  with rails_env: fetch(:stage) do
45
45
  execute :rake, 'db:seed'
46
46
  end
@@ -49,9 +49,9 @@ namespace :rails do
49
49
  end
50
50
 
51
51
  desc "Migrate the database"
52
- task :rollback do
52
+ task :migrate do
53
53
  on primary :db do
54
- within current_path do
54
+ within release_path do
55
55
  with rails_env: fetch(:stage) do
56
56
  execute :rake, 'db:migrate'
57
57
  end
@@ -62,7 +62,7 @@ namespace :rails do
62
62
  desc "Rolls the schema back to the previous version"
63
63
  task :rollback do
64
64
  on primary :db do
65
- within current_path do
65
+ within release_path do
66
66
  with rails_env: fetch(:stage) do
67
67
  execute :rake, 'db:rollback'
68
68
  end
@@ -4,7 +4,7 @@ namespace :rails do
4
4
  desc 'Truncates all *.log files in log/ to zero bytes'
5
5
  task :clear do
6
6
  on primary :db do
7
- within current_path do
7
+ within release_path do
8
8
  with rails_env: fetch(:stage) do
9
9
  execute :rake, 'log:clear'
10
10
  end
@@ -17,7 +17,7 @@ namespace :rails do
17
17
  desc 'Clear session, cache, and socket files from tmp/'
18
18
  task :clear do
19
19
  on primary :db do
20
- within current_path do
20
+ within release_path do
21
21
  with rails_env: fetch(:stage) do
22
22
  execute :rake, 'tmp:clear'
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-rails-collection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - dei79
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-25 00:00:00.000000000 Z
11
+ date: 2014-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano-rails
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  version: '0'
65
65
  requirements: []
66
66
  rubyforge_project:
67
- rubygems_version: 2.1.11
67
+ rubygems_version: 2.2.2
68
68
  signing_key:
69
69
  specification_version: 4
70
70
  summary: Rails specific Capistrano tasks which are not part of the official rails