deploy-context 0.6.0.1.ge54bf72 → 0.6.0.1.ge54bf72.1.g3590b37.1.g08f003f
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/features/support/env.rb +0 -0
- data/lib/deploy-context/context/deploy.rb +4 -0
- data/lib/deploy-context/deploy/cucumber.rb +10 -0
- data/lib/deploy-context/deploy/git.rb +5 -0
- data/lib/deploy-context/deploy/ruby.rb +0 -5
- data/lib/deploy-context.rb +13 -5
- data.tar.gz.sig +0 -0
- metadata +3 -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: de34182e01d553cf698c436dea89841e625877578c2451608d7dc3d5aaa85241
|
4
|
+
data.tar.gz: 9d05b61a5706a692566a8a0db1f1d66afcac8fbf29610415b8a19968635adef2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 330616cf2d8e375677fb74548c8e213ae8b0bc5bca948d6b92cbacffca2f827ce4be39a3264050411ca95a140e60ce45642a5da24cbe4b06b05a0b4bc5c2a29d
|
7
|
+
data.tar.gz: b96f19bd797658b132314a044b2af2da72384b7466692f5072b4091d354f246388c31f111a8b1ee71a15bdabd44ffe66193059898c9e363596a3ebd715212f0f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
File without changes
|
data/lib/deploy-context.rb
CHANGED
@@ -3,14 +3,16 @@ require 'fileutils'
|
|
3
3
|
require 'git-version-bump'
|
4
4
|
|
5
5
|
require_relative 'deploy-context/deploy'
|
6
|
-
require_relative 'deploy-context/deploy/ruby'
|
7
6
|
require_relative 'deploy-context/deploy/git'
|
7
|
+
require_relative 'deploy-context/deploy/ruby'
|
8
|
+
require_relative 'deploy-context/deploy/cucumber'
|
8
9
|
|
9
10
|
module Context
|
10
11
|
class DeployContext < Deploy
|
11
12
|
include DeployHelper
|
12
13
|
include GitDeployerHelper
|
13
14
|
include RubyDeployerHelper
|
15
|
+
include CucumberDeployerHelper
|
14
16
|
|
15
17
|
def initialize(deploycontext_folder)
|
16
18
|
super('deploy-context', deploycontext_folder)
|
@@ -23,7 +25,12 @@ module Context
|
|
23
25
|
commit
|
24
26
|
release
|
25
27
|
install
|
26
|
-
|
28
|
+
if test_context_successful?
|
29
|
+
minor_bump
|
30
|
+
else
|
31
|
+
puts "newer version not installed"
|
32
|
+
exit 1
|
33
|
+
end
|
27
34
|
end
|
28
35
|
|
29
36
|
def test_context_successful?
|
@@ -40,6 +47,7 @@ module Context
|
|
40
47
|
git_build(self)
|
41
48
|
check_folder get_context_folder(self, 'build')
|
42
49
|
check_folder get_context_folder(self, 'contexts')
|
50
|
+
cucumber_build(self)
|
43
51
|
ruby_build(self)
|
44
52
|
end
|
45
53
|
|
@@ -62,15 +70,15 @@ module Context
|
|
62
70
|
end
|
63
71
|
|
64
72
|
def patch_bump
|
65
|
-
|
73
|
+
git_bump(self, 'patch')
|
66
74
|
end
|
67
75
|
|
68
76
|
def minor_bump
|
69
|
-
|
77
|
+
git_bump(self, 'minor')
|
70
78
|
end
|
71
79
|
|
72
80
|
def major_bump
|
73
|
-
|
81
|
+
git_bump(self, 'major')
|
74
82
|
end
|
75
83
|
end
|
76
84
|
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: 0.6.0.1.ge54bf72
|
4
|
+
version: 0.6.0.1.ge54bf72.1.g3590b37.1.g08f003f
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Provencher
|
@@ -97,9 +97,11 @@ files:
|
|
97
97
|
- Rakefile
|
98
98
|
- bin/deploy-context
|
99
99
|
- deploy-context.gemspec
|
100
|
+
- features/support/env.rb
|
100
101
|
- lib/deploy-context.rb
|
101
102
|
- lib/deploy-context/context/deploy.rb
|
102
103
|
- lib/deploy-context/deploy.rb
|
104
|
+
- lib/deploy-context/deploy/cucumber.rb
|
103
105
|
- lib/deploy-context/deploy/git.rb
|
104
106
|
- lib/deploy-context/deploy/ruby.rb
|
105
107
|
homepage: https://github.com/JimboDragonGit/deploy-context
|
metadata.gz.sig
CHANGED
Binary file
|