capistrano-detect-migrations 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capistrano/detect_migrations.rb +1 -1
- metadata +49 -72
@@ -8,7 +8,7 @@ module Capistrano
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def pending_migrations?
|
11
|
-
!(`git diff --shortstat #{
|
11
|
+
!(`git diff --shortstat #{last_git_tag_for(stage)} #{branch} db/migrate`.strip.empty?)
|
12
12
|
end
|
13
13
|
|
14
14
|
def show_pending_migrations
|
metadata
CHANGED
@@ -1,109 +1,86 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-detect-migrations
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 6
|
9
|
-
- 0
|
10
|
-
version: 0.6.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Karl Matthias
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-05-30 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: capistrano
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2152557640 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
32
22
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: capistrano-ext
|
36
23
|
prerelease: false
|
37
|
-
|
24
|
+
version_requirements: *2152557640
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: capistrano-ext
|
27
|
+
requirement: &2152557160 !ruby/object:Gem::Requirement
|
38
28
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
segments:
|
44
|
-
- 0
|
45
|
-
version: "0"
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
46
33
|
type: :runtime
|
47
|
-
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: capistrano-deploytags
|
50
34
|
prerelease: false
|
51
|
-
|
35
|
+
version_requirements: *2152557160
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: capistrano-deploytags
|
38
|
+
requirement: &2152556340 !ruby/object:Gem::Requirement
|
52
39
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
segments:
|
58
|
-
- 0
|
59
|
-
version: "0"
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
60
44
|
type: :runtime
|
61
|
-
|
62
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *2152556340
|
47
|
+
description: ! ' Capistrano Detect Migrations lets you detect pending Rails migrations
|
48
|
+
before you deploy to any remote hosts. It leverages Git tagging to determine changes
|
49
|
+
that have happened since the last deployment. At deployment time you can choose
|
50
|
+
to continue to deploy or not after being presented with a list of pending migrations.
|
51
|
+
|
52
|
+
'
|
63
53
|
email: relistan@gmail.com
|
64
54
|
executables: []
|
65
|
-
|
66
55
|
extensions: []
|
67
|
-
|
68
56
|
extra_rdoc_files: []
|
69
|
-
|
70
|
-
files:
|
57
|
+
files:
|
71
58
|
- lib/capistrano/detect_migrations.rb
|
72
59
|
- lib/capistrano-detect-migrations.rb
|
73
60
|
- README.md
|
74
61
|
- LICENSE
|
75
62
|
homepage: http://github.com/mydrive/capistrano-detect-migrations
|
76
63
|
licenses: []
|
77
|
-
|
78
64
|
post_install_message:
|
79
65
|
rdoc_options: []
|
80
|
-
|
81
|
-
require_paths:
|
66
|
+
require_paths:
|
82
67
|
- lib
|
83
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
84
69
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
89
|
-
|
90
|
-
- 0
|
91
|
-
version: "0"
|
92
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ! '>='
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
75
|
none: false
|
94
|
-
requirements:
|
95
|
-
- -
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
|
98
|
-
segments:
|
99
|
-
- 0
|
100
|
-
version: "0"
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
101
80
|
requirements: []
|
102
|
-
|
103
81
|
rubyforge_project:
|
104
|
-
rubygems_version: 1.8.
|
82
|
+
rubygems_version: 1.8.11
|
105
83
|
signing_key:
|
106
84
|
specification_version: 3
|
107
85
|
summary: Detect pending Rails migrations with Git before you deploy.
|
108
86
|
test_files: []
|
109
|
-
|