deploy-context 2.1.22.1.g7cd8ccb → 2.1.23.1.g8776c45
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 +4 -4
- checksums.yaml.gz.sig +2 -3
- 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: ce0dd99eda76ca7f312be343e67cf3b7c0cbba626cc166c5da6f966c8fd8707e
|
4
|
+
data.tar.gz: a4a13ef883963d43a0cb5c8896e1957cf709b5a3d0ac8a33e1371f72ccd97887
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cd734c7d0b1a061ca10d84b64aac2d0f72bf461f42ff763e1b5ed883ffd250ae6670b4f2c8b5d201ccdeb3f3749677b518cce20612bc06f22135eed9915ac59
|
7
|
+
data.tar.gz: c563e7c122fd38806e05cc6ef74b785624e55bdc0d695f8d1c026918880dfd56ef3a7a7dbb3513996843cf46358d2a68069a4b0f722cee91a8033395c428b9e4
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
S�����ʰkН�b�
|
1
|
+
5S�r\à�#(d�EkS�*X筣��ߡ�������,��=�W�7�xZ�4BGE��r�4X��x��GB'go�Џf�)KHϣ\�� K�E��r�*e#���h�TEF����[�4�.a�l,�߆�o�V3Ϝ��G��E@���'Oh��j���S
|
2
|
+
�_��P���wޑ7�?�'S�Q�%�y�m�� ���x��&�|_>�M�5c��|�D���K��J�Xu!ˤ�VtZ�R�/�7g���1^�B��J���'H/'�5+�L�7O���`ܔ!�y�P�k�3o9EL�m|a*��q�=T�����
|
@@ -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
|