capistrano-rails-collection 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-rails-collection.gemspec +4 -3
- data/lib/capistrano-rails-collection.rb +3 -0
- data/lib/capistrano/tasks/db.rake +6 -6
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7780025ba26aca9f304ee17ff07c46f74e0cc565
|
4
|
+
data.tar.gz: 2ff9daa0a210c9bc944821ea6ecc0776a1c5fbe6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72a4cea7d7aaacbfac160c2dc0041c69bdad2d73243bf952ab15e51380d40c8d2cfc73bea2143560a90082c1977135ce95ac6fa9e02d49b6327dc951ea869a62
|
7
|
+
data.tar.gz: 17ad2ed32f429b8c767c96966f85907622285a176e776b11aedcf58a8e506094c9bfec708fc61c09a12cd47b1d77c6fc47d9632c51309643f51a2d419dad7b6b
|
@@ -1,15 +1,16 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'capistrano-rails-collection'
|
4
5
|
|
5
6
|
Gem::Specification.new do |spec|
|
6
7
|
spec.name = "capistrano-rails-collection"
|
7
|
-
spec.version =
|
8
|
+
spec.version = CapistranoRailsCollection::VERSION
|
8
9
|
spec.authors = ["dei79"]
|
9
10
|
spec.email = ["dirk.eisenberg@gmail.com"]
|
10
11
|
spec.description = %q{Rails specific Capistrano tasks which are not part of the official rails gem}
|
11
12
|
spec.summary = %q{Rails specific Capistrano tasks which are not part of the official rails gem}
|
12
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/dei79/capistrano-rails-collection"
|
13
14
|
spec.license = "MIT"
|
14
15
|
|
15
16
|
spec.files = `git ls-files`.split($/)
|
@@ -17,5 +18,5 @@ Gem::Specification.new do |spec|
|
|
17
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
19
|
spec.require_paths = ["lib"]
|
19
20
|
|
20
|
-
spec.add_dependency 'capistrano-rails', '~> 1.1
|
21
|
+
spec.add_dependency 'capistrano-rails', '~> 1.1'
|
21
22
|
end
|
@@ -5,7 +5,7 @@ namespace :rails do
|
|
5
5
|
task :drop do
|
6
6
|
on primary :db do
|
7
7
|
within release_path do
|
8
|
-
with rails_env: fetch(:
|
8
|
+
with rails_env: fetch(:rails_env) do
|
9
9
|
execute :rake, 'db:drop'
|
10
10
|
end
|
11
11
|
end
|
@@ -16,7 +16,7 @@ namespace :rails do
|
|
16
16
|
task :reset do
|
17
17
|
on primary :db do
|
18
18
|
within release_path do
|
19
|
-
with rails_env: fetch(:
|
19
|
+
with rails_env: fetch(:rails_env) do
|
20
20
|
execute :rake, 'db:reset'
|
21
21
|
end
|
22
22
|
end
|
@@ -30,7 +30,7 @@ namespace :rails do
|
|
30
30
|
task :setup do
|
31
31
|
on primary :db do
|
32
32
|
within release_path do
|
33
|
-
with rails_env: fetch(:
|
33
|
+
with rails_env: fetch(:rails_env) do
|
34
34
|
execute :rake, 'db:setup'
|
35
35
|
end
|
36
36
|
end
|
@@ -41,7 +41,7 @@ namespace :rails do
|
|
41
41
|
task :seed do
|
42
42
|
on primary :db do
|
43
43
|
within release_path do
|
44
|
-
with rails_env: fetch(:
|
44
|
+
with rails_env: fetch(:rails_env) do
|
45
45
|
execute :rake, 'db:seed'
|
46
46
|
end
|
47
47
|
end
|
@@ -52,7 +52,7 @@ namespace :rails do
|
|
52
52
|
task :migrate do
|
53
53
|
on primary :db do
|
54
54
|
within release_path do
|
55
|
-
with rails_env: fetch(:
|
55
|
+
with rails_env: fetch(:rails_env) do
|
56
56
|
execute :rake, 'db:migrate'
|
57
57
|
end
|
58
58
|
end
|
@@ -63,7 +63,7 @@ namespace :rails do
|
|
63
63
|
task :rollback do
|
64
64
|
on primary :db do
|
65
65
|
within release_path do
|
66
|
-
with rails_env: fetch(:
|
66
|
+
with rails_env: fetch(:rails_env) do
|
67
67
|
execute :rake, 'db:rollback'
|
68
68
|
end
|
69
69
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rails-collection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dei79
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano-rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.1
|
19
|
+
version: '1.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.1
|
26
|
+
version: '1.1'
|
27
27
|
description: Rails specific Capistrano tasks which are not part of the official rails
|
28
28
|
gem
|
29
29
|
email:
|
@@ -32,7 +32,7 @@ executables: []
|
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
|
-
- .gitignore
|
35
|
+
- ".gitignore"
|
36
36
|
- Gemfile
|
37
37
|
- LICENSE.txt
|
38
38
|
- README.md
|
@@ -44,7 +44,7 @@ files:
|
|
44
44
|
- lib/capistrano/rails/collection/general.rb
|
45
45
|
- lib/capistrano/tasks/db.rake
|
46
46
|
- lib/capistrano/tasks/general.rake
|
47
|
-
homepage:
|
47
|
+
homepage: https://github.com/dei79/capistrano-rails-collection
|
48
48
|
licenses:
|
49
49
|
- MIT
|
50
50
|
metadata: {}
|
@@ -54,17 +54,17 @@ require_paths:
|
|
54
54
|
- lib
|
55
55
|
required_ruby_version: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
61
|
requirements:
|
62
|
-
- -
|
62
|
+
- - ">="
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
66
|
rubyforge_project:
|
67
|
-
rubygems_version: 2.
|
67
|
+
rubygems_version: 2.5.1
|
68
68
|
signing_key:
|
69
69
|
specification_version: 4
|
70
70
|
summary: Rails specific Capistrano tasks which are not part of the official rails
|