cartup 0.1.7 → 0.1.7.1

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
  SHA1:
3
- metadata.gz: dcd6e089fd83e2932b3d0985f7e1cc9a51797bf0
4
- data.tar.gz: 30e129a6649a51ed0d2eb1b9be25900b3ce6149b
3
+ metadata.gz: cf97736e1e2ec336438ccf1d72a783814f17e5f7
4
+ data.tar.gz: 9abbec7ebac6a0e92a2fcf68532a9904b45c1ac7
5
5
  SHA512:
6
- metadata.gz: b251cc6c6c72985f2b565e97ad0b531a3595d0116302416d5f71487da402ebac5c0deb8b732c71439e7bbabdb9982823573b767fbe8ad0c80a36f7efa1d38215
7
- data.tar.gz: 5d55cd40037c9a67f5c02ec98c7fe5365e38074140254a75a0343ccf10c67c3fdb9311ac59a3ded25521bfc78a6c412e4058c555cc3b6b870fa2f0b40ff8ab62
6
+ metadata.gz: cf763ead52ba72c9f017cf28679b752b628fb4933cdb9d280ea1ccc174eec985b64e2d967b943d8e08b59a0a310c4bf1e52728a71f7531e4030701e8b4f9311b
7
+ data.tar.gz: 4aa29649794acbb58b9fe6ca523bf0acd653787ec82c76b72d477e5ca47e18b7e9a049a5086add65bb8875f5538c49584b6d5a5bfd5c09d465a18c6038b84c27
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cartup (0.1.7)
4
+ cartup (0.1.7.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module CartBinaryUploader
2
- VERSION = '0.1.7'.freeze
2
+ VERSION = '0.1.7.1'.freeze
3
3
  end
@@ -1,28 +1,29 @@
1
1
  require 'cart_logger'
2
2
 
3
- class GitHelper
3
+ module CartBinaryUploader
4
+ class GitHelper
4
5
 
5
- def tag_to version
6
- CartLogger.log_info "Tagging version to: #{version}"
7
- begin
8
- cmd = "git tag -f #{version}"
9
- exec(cmd)
10
- CartLogger.log_info 'Version tagged'
11
- rescue
12
- CartLogger.log_error 'Problem to generate tag on git'
6
+ def tag_to(version)
7
+ CartLogger.log_info "Tagging version to: #{version}"
8
+ begin
9
+ cmd = "git tag -f #{version}"
10
+ exec(cmd)
11
+ CartLogger.log_info 'Version tagged'
12
+ rescue
13
+ CartLogger.log_error 'Problem to generate tag on git'
14
+ end
13
15
  end
14
- end
15
16
 
16
- def push
17
- CartLogger.log_info 'Pushing tag to Git '
18
- begin
19
- cmd = 'git push --tags'
20
- exec( cmd )
21
- CartLogger.log_info 'Tag pushed'
22
- rescue
23
- CartLogger.log_error 'Problem to push tag on git'
24
- end
17
+ def push
18
+ CartLogger.log_info 'Pushing tag to Git '
19
+ begin
20
+ cmd = 'git push --tags'
21
+ exec( cmd )
22
+ CartLogger.log_info 'Tag pushed'
23
+ rescue
24
+ CartLogger.log_error 'Problem to push tag on git'
25
+ end
25
26
 
27
+ end
26
28
  end
27
-
28
- end
29
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cartup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Mendes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-03-05 00:00:00.000000000 Z
12
+ date: 2018-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler