gitsflow 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gitsflow might be problematic. Click here for more details.

@@ -0,0 +1,42 @@
1
+ class String
2
+ # colorization
3
+ def colorize(color_code)
4
+ "\e[#{color_code}m#{self}\e[0m"
5
+ end
6
+
7
+ def red
8
+ colorize(31)
9
+ end
10
+
11
+ def green
12
+ colorize(32)
13
+ end
14
+
15
+ def yellow
16
+ colorize(33)
17
+ end
18
+
19
+ def gray
20
+ colorize(37)
21
+ end
22
+
23
+ def blue
24
+ colorize(34)
25
+ end
26
+
27
+ def pink
28
+ colorize(35)
29
+ end
30
+
31
+ def light_blue
32
+ colorize(36)
33
+ end
34
+ def bg_black; "\e[40m#{self}\e[0m" end
35
+ def bg_red; "\e[41m#{self}\e[0m" end
36
+ def bg_green; "\e[42m#{self}\e[0m" end
37
+ def bg_brown; "\e[43m#{self}\e[0m" end
38
+ def bg_blue; "\e[44m#{self}\e[0m" end
39
+ def bg_magenta; "\e[45m#{self}\e[0m" end
40
+ def bg_cyan; "\e[46m#{self}\e[0m" end
41
+ def bg_gray; "\e[47m#{self}\e[0m" end
42
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitsflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Wherbet
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: dotenv
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: pry
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -87,7 +101,26 @@ executables:
87
101
  extensions: []
88
102
  extra_rdoc_files: []
89
103
  files:
104
+ - ".gitignore"
105
+ - CODE_OF_CONDUCT.md
106
+ - Gemfile
107
+ - Gemfile.lock
108
+ - LICENSE.txt
109
+ - README.md
110
+ - Rakefile
90
111
  - bin/sflow
112
+ - gitsflow.gemspec
113
+ - lib/Git/git.rb
114
+ - lib/GitLab/comment.rb
115
+ - lib/GitLab/gitlab.rb
116
+ - lib/GitLab/issue.rb
117
+ - lib/GitLab/list.rb
118
+ - lib/GitLab/merge_request.rb
119
+ - lib/GitLab/user.rb
120
+ - lib/config.rb
121
+ - lib/sflow.rb
122
+ - lib/string.rb
123
+ - src/common/images/get_token.gif
91
124
  homepage: https://github.com/carloswherbet/GitSFlow
92
125
  licenses:
93
126
  - MIT
@@ -108,8 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
141
  - !ruby/object:Gem::Version
109
142
  version: '0'
110
143
  requirements: []
111
- rubyforge_project:
112
- rubygems_version: 2.7.6
144
+ rubygems_version: 3.1.2
113
145
  signing_key:
114
146
  specification_version: 4
115
147
  summary: GitSFlow is a tool that integrate Git custom commands with GitLab and it's