deploy-context 2.1.30 → 2.1.31

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: 48a2f8e08137d25b8b838a83781044ebbf5e64310a9677aea48a5d56eda2e5c2
4
- data.tar.gz: 2603a280b0d843f5ec82276bf48e14bdf605306d1defa17b3b28236eb3d20d59
3
+ metadata.gz: d50b99ffe8da130b45df5f3106b9a22cb3110a9553c5262d77f2ae4ab65342e5
4
+ data.tar.gz: 7a1f64548fea98c8607c15149557fd50683921a99fe451054e8ba121081090ff
5
5
  SHA512:
6
- metadata.gz: dcb6ac4945b1ac0c5480b4a251d8cc26e40ca887368815c73728e92a55fe575af790e772e3fd9ec02f1edbe8dd1a885e930613095d60d2aafe0857509912bba8
7
- data.tar.gz: 734c585e610df53b0d3cd0ea0a0b70f80bc2d373e714e94b6c75d6a54de172e83d12daf4f43b7fbf03c9442691a1104efb154eccb92f296e7042e942f495a142
6
+ metadata.gz: ffca5cda89b1a3135408b9dd91a9bf55de83bf3319bae67848b9edd6ad3be13c16f0b1d553691210fe81c7f7d2e26a161ed90c42c8a06fbbcbc4fd103e0078c8
7
+ data.tar.gz: 671f234a7d8220b1eba505923811d5ea9bd8b2cca89694564f6dae00f5ce15fd244f8401d8f1df21236356722af819c334d4a8f3d223c107eb8a8a5cc9e06643
checksums.yaml.gz.sig CHANGED
Binary file
@@ -29,9 +29,9 @@ module Context
29
29
  end
30
30
 
31
31
  def version
32
- puts "Getting version info for #{context_folder} and version should be #{GVB.version}"
33
- Dir.chdir(context_folder)
34
- Gem::Version.new(GVB.version)
32
+ git_build(self)
33
+ puts "Getting version info for #{context_folder} and version should be #{GitVersionBump.version}"
34
+ Gem::Version.new(GitVersionBump.version)
35
35
  end
36
36
 
37
37
  def cycle
@@ -41,10 +41,10 @@ module Context
41
41
  def test_context_successful?
42
42
  puts "Check if #{context_name} is install #{version}"
43
43
  if gem_installed?(self)
44
- puts "Test context was successfully install on version #{version}"
44
+ puts "Test context #{context_name} was successfully install on version #{version}"
45
45
  true
46
46
  else
47
- abort "Test context has failed to install #{version}"
47
+ abort "Test context #{context_name} has failed to install #{version}"
48
48
  end
49
49
  end
50
50
 
@@ -72,15 +72,15 @@ module Context
72
72
  end
73
73
 
74
74
  def patch_bump
75
- git_bump(self, 'patch')
75
+ GitVersionBump.tag_version "#{GitVersionBump.major_version}.#{GitVersionBump.minor_version}.#{GitVersionBump.patch_version+1}"
76
76
  end
77
77
 
78
78
  def minor_bump
79
- git_bump(self, 'minor')
79
+ GitVersionBump.tag_version "#{GitVersionBump.major_version}.#{GitVersionBump.minor_version+1}.0"
80
80
  end
81
81
 
82
82
  def major_bump
83
- git_bump(self, 'major')
83
+ GitVersionBump.tag_version "#{GitVersionBump.major_version + 1}.0.0"
84
84
  end
85
85
 
86
86
  def wait_until_release_available
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.30
4
+ version: 2.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
metadata.gz.sig CHANGED
Binary file