hookup 1.2.2 → 1.2.3
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.
- checksums.yaml +7 -0
- data/hookup.gemspec +1 -1
- data/lib/hookup.rb +6 -2
- metadata +8 -9
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 70820867b9752ec2ecbc3ab1401c0e216e01b2f9
|
|
4
|
+
data.tar.gz: abe373824ef50ab0c41cbaf53d27faa64a5c30e5
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 627629152cb201179573371eef16f8c547c8f0577d414ac41385955c5ff090d33e05660c1812caec19fa58d5aed85435a4fb84596dadfbde29cd008c8ab3c342
|
|
7
|
+
data.tar.gz: 1431da32d144716b13c5fbed4f90b93d4b0bb1892f81b2d30e0d814ad3bebf9b44c0a13f40b0d82003395c6d85902a4d4833386c897e77bb4d814c464d9f364e
|
data/hookup.gemspec
CHANGED
data/lib/hookup.rb
CHANGED
|
@@ -79,7 +79,7 @@ class Hookup
|
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
def schema_dir
|
|
82
|
-
File.
|
|
82
|
+
File.join(working_dir, env['HOOKUP_SCHEMA_DIR'])
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
def working_dir
|
|
@@ -115,7 +115,7 @@ class Hookup
|
|
|
115
115
|
end
|
|
116
116
|
|
|
117
117
|
def run
|
|
118
|
-
return if env['GIT_REFLOG_ACTION'] =~ /^(?:pull|rebase)/
|
|
118
|
+
return if skipped? || env['GIT_REFLOG_ACTION'] =~ /^(?:pull|rebase)/
|
|
119
119
|
unless partial?
|
|
120
120
|
bundle
|
|
121
121
|
migrate
|
|
@@ -202,6 +202,10 @@ class Hookup
|
|
|
202
202
|
end
|
|
203
203
|
end
|
|
204
204
|
|
|
205
|
+
def skipped?
|
|
206
|
+
env['SKIP_HOOKUP']
|
|
207
|
+
end
|
|
208
|
+
|
|
205
209
|
end
|
|
206
210
|
|
|
207
211
|
def resolve_schema(a, o, b, marker_size = 7)
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hookup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.2.3
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Tim Pope
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
11
|
+
date: 2013-11-20 00:00:00.000000000 Z
|
|
13
12
|
dependencies: []
|
|
14
13
|
description: Automatically bundle and migrate your Rails app when switching branches,
|
|
15
14
|
merging upstream changes, and bisecting.
|
|
@@ -30,26 +29,26 @@ files:
|
|
|
30
29
|
- lib/hookup.rb
|
|
31
30
|
homepage: https://github.com/tpope/hookup
|
|
32
31
|
licenses: []
|
|
32
|
+
metadata: {}
|
|
33
33
|
post_install_message:
|
|
34
34
|
rdoc_options: []
|
|
35
35
|
require_paths:
|
|
36
36
|
- lib
|
|
37
37
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
|
-
none: false
|
|
39
38
|
requirements:
|
|
40
|
-
- -
|
|
39
|
+
- - '>='
|
|
41
40
|
- !ruby/object:Gem::Version
|
|
42
41
|
version: '0'
|
|
43
42
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
|
-
none: false
|
|
45
43
|
requirements:
|
|
46
|
-
- -
|
|
44
|
+
- - '>='
|
|
47
45
|
- !ruby/object:Gem::Version
|
|
48
46
|
version: '0'
|
|
49
47
|
requirements: []
|
|
50
48
|
rubyforge_project: hookup
|
|
51
|
-
rubygems_version:
|
|
49
|
+
rubygems_version: 2.0.3
|
|
52
50
|
signing_key:
|
|
53
|
-
specification_version:
|
|
51
|
+
specification_version: 4
|
|
54
52
|
summary: Automate the bundle/migration tedium of Rails with Git hooks
|
|
55
53
|
test_files: []
|
|
54
|
+
has_rdoc:
|