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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d701436a27e903057e86b3b808921a186870d9dc2edc8b09c543a41a3331592
4
- data.tar.gz: 6f360ca488e49a3c29f9ac2f770b94b03e0cb44869be8303b2639e85af773d05
3
+ metadata.gz: cfcbc28f228385ef7c190c9b2908fd8a99cb68942cd68ec91c1b8d10f5fb97ce
4
+ data.tar.gz: fe644587b526c748d6a4141a7b22a89d53d93f6886011886f4a20a6b86690d91
5
5
  SHA512:
6
- metadata.gz: 63c3ea7ce39e36187d479ff11985c00ee9330f8323c38c48d992b30f4ddde4eac57de7d75c7311c6f836283c00bf04a2b3d22be48de8e65d71a8f116e7c711f3
7
- data.tar.gz: c5f372d3cd6b4f4575b5d120102207e6aae07ecfc64494036b5f8b0f4ca2773959dc53741113a356c82bad4296842c8b7b19a59e344ced12c1ccae2a17d75dae
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
@@ -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.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
metadata.gz.sig CHANGED
Binary file