deploy-context 2.1.23 → 2.1.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/deploy-context/deploy.rb +65 -0
- data/lib/deploy-context.rb +0 -65
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfcbc28f228385ef7c190c9b2908fd8a99cb68942cd68ec91c1b8d10f5fb97ce
|
4
|
+
data.tar.gz: fe644587b526c748d6a4141a7b22a89d53d93f6886011886f4a20a6b86690d91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9e6dc76340cfe36d15da4b9828d05c269ff48dea98720ac35a06527effefff313ee9b318aacdc0e2713ec8e70f509a7e775455bc532032e59132783fa5c7182
|
7
|
+
data.tar.gz: 80b1e848266d1d4fcb01fb678dcf5f5aa1c9fdf86728eca3794e4e8e456f725a38d516fa6cae47cb2c45079b69ff899300944f4f4db358c75e9e09f5bd79b8c2
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -24,5 +24,70 @@ module Context
|
|
24
24
|
Dir.chdir(context_folder)
|
25
25
|
Gem::Version.new(GVB.version)
|
26
26
|
end
|
27
|
+
|
28
|
+
def cycle
|
29
|
+
ruby_cycle(self)
|
30
|
+
end
|
31
|
+
|
32
|
+
def test_context_successful?
|
33
|
+
puts "Check if deploy-context is install #{version}"
|
34
|
+
if gem_installed?(self)
|
35
|
+
puts "Test context was successfully install on version #{version}"
|
36
|
+
true
|
37
|
+
else
|
38
|
+
abort "Test context has failed to install #{version}"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def build
|
43
|
+
ruby_build(self)
|
44
|
+
check_folder get_context_folder(self, 'contexts')
|
45
|
+
end
|
46
|
+
|
47
|
+
def commit
|
48
|
+
git_commit(self)
|
49
|
+
end
|
50
|
+
|
51
|
+
def release
|
52
|
+
ruby_release(self)
|
53
|
+
git_release(self)
|
54
|
+
end
|
55
|
+
|
56
|
+
def install
|
57
|
+
ruby_install(self)
|
58
|
+
end
|
59
|
+
|
60
|
+
def clean
|
61
|
+
clean_folder(self, 'contexts')
|
62
|
+
ruby_clean(self)
|
63
|
+
end
|
64
|
+
|
65
|
+
def patch_bump
|
66
|
+
git_bump(self, 'patch')
|
67
|
+
end
|
68
|
+
|
69
|
+
def minor_bump
|
70
|
+
git_bump(self, 'minor')
|
71
|
+
end
|
72
|
+
|
73
|
+
def major_bump
|
74
|
+
git_bump(self, 'major')
|
75
|
+
end
|
76
|
+
|
77
|
+
def wait_until_release_available
|
78
|
+
wait_until_release_available unless is_present_publicly?
|
79
|
+
end
|
80
|
+
|
81
|
+
def is_present_publicly?
|
82
|
+
ruby_check_if_available_public(self)
|
83
|
+
end
|
84
|
+
|
85
|
+
def new_update_available?
|
86
|
+
git_update_available?(self)
|
87
|
+
end
|
88
|
+
|
89
|
+
def ready_for_major_update?
|
90
|
+
false
|
91
|
+
end
|
27
92
|
end
|
28
93
|
end
|
data/lib/deploy-context.rb
CHANGED
@@ -21,70 +21,5 @@ module Context
|
|
21
21
|
def initialize(deploycontext_folder)
|
22
22
|
super('deploy-context', deploycontext_folder)
|
23
23
|
end
|
24
|
-
|
25
|
-
def cycle
|
26
|
-
ruby_cycle(self)
|
27
|
-
end
|
28
|
-
|
29
|
-
def test_context_successful?
|
30
|
-
puts "Check if deploy-context is install #{version}"
|
31
|
-
if gem_installed?(self)
|
32
|
-
puts "Test context was successfully install on version #{version}"
|
33
|
-
true
|
34
|
-
else
|
35
|
-
abort "Test context has failed to install #{version}"
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
def build
|
40
|
-
ruby_build(self)
|
41
|
-
check_folder get_context_folder(self, 'contexts')
|
42
|
-
end
|
43
|
-
|
44
|
-
def commit
|
45
|
-
git_commit(self)
|
46
|
-
end
|
47
|
-
|
48
|
-
def release
|
49
|
-
ruby_release(self)
|
50
|
-
git_release(self)
|
51
|
-
end
|
52
|
-
|
53
|
-
def install
|
54
|
-
ruby_install(self)
|
55
|
-
end
|
56
|
-
|
57
|
-
def clean
|
58
|
-
clean_folder(self, 'contexts')
|
59
|
-
ruby_clean(self)
|
60
|
-
end
|
61
|
-
|
62
|
-
def patch_bump
|
63
|
-
git_bump(self, 'patch')
|
64
|
-
end
|
65
|
-
|
66
|
-
def minor_bump
|
67
|
-
git_bump(self, 'minor')
|
68
|
-
end
|
69
|
-
|
70
|
-
def major_bump
|
71
|
-
git_bump(self, 'major')
|
72
|
-
end
|
73
|
-
|
74
|
-
def wait_until_release_available
|
75
|
-
wait_until_release_available unless is_present_publicly?
|
76
|
-
end
|
77
|
-
|
78
|
-
def is_present_publicly?
|
79
|
-
ruby_check_if_available_public(self)
|
80
|
-
end
|
81
|
-
|
82
|
-
def new_update_available?
|
83
|
-
git_update_available?(self)
|
84
|
-
end
|
85
|
-
|
86
|
-
def ready_for_major_update?
|
87
|
-
false
|
88
|
-
end
|
89
24
|
end
|
90
25
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|