deploy-context 2.1.23 → 2.1.23.1.g8776c45
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 +3 -3
- 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
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
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deploy-context
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.23
|
4
|
+
version: 2.1.23.1.g8776c45
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Provencher
|
@@ -131,9 +131,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
|
-
- - "
|
134
|
+
- - ">"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version:
|
136
|
+
version: 1.3.1
|
137
137
|
requirements: []
|
138
138
|
rubygems_version: 3.2.32
|
139
139
|
signing_key:
|
metadata.gz.sig
CHANGED
Binary file
|