cga 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/bin/cga +3 -0
- data/lib/change-github-account.rb +21 -0
- metadata +59 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 31cdc616228a5d13781eeaa24894b786b478853ad2f80813f2a08ec3353e9e3a
|
|
4
|
+
data.tar.gz: c287ab4eb6b3261880c89d8bbdf5711a60519e9c696fad19a311930eccce79d4
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 00735e8e78e3f965552fa6c2fca195a5674c48401ce26cf21d91ce89eff3cf64e62afc424a0eebbf1932d7a068d4bed7da4d52ed62f3053273891b95e7c71e2e
|
|
7
|
+
data.tar.gz: 15236fc2183a01254626662e565c096f421c1226271bbee8c83d3b420463cb8869da2b6950683b8b119542d53203b7c84ae671ecba6a12d82a13489da901a11e
|
data/bin/cga
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module Cga
|
|
2
|
+
|
|
3
|
+
require 'colorize'
|
|
4
|
+
|
|
5
|
+
print 'Insert your Git name'.bold.blue + ': '
|
|
6
|
+
name = gets
|
|
7
|
+
|
|
8
|
+
print 'Insert your Git email'.bold.blue + ': '
|
|
9
|
+
email = gets
|
|
10
|
+
|
|
11
|
+
`git config --global user.name "#{name}"`
|
|
12
|
+
`git config --global user.email "#{email}"`
|
|
13
|
+
|
|
14
|
+
puts "\n"
|
|
15
|
+
|
|
16
|
+
print "Your new Git name is ".bold.green + "#{name}".bold
|
|
17
|
+
puts "Your new Git email is ".bold.green + "#{email}".bold
|
|
18
|
+
|
|
19
|
+
puts 'Happy Hacking!'.bold.green
|
|
20
|
+
|
|
21
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: cga
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Ederson Ferreira
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2020-10-23 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: colorize
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 0.8.1
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 0.8.1
|
|
27
|
+
description: A gem to change your github account
|
|
28
|
+
email: edersondeveloper@gmail.com
|
|
29
|
+
executables:
|
|
30
|
+
- cga
|
|
31
|
+
extensions: []
|
|
32
|
+
extra_rdoc_files: []
|
|
33
|
+
files:
|
|
34
|
+
- bin/cga
|
|
35
|
+
- lib/change-github-account.rb
|
|
36
|
+
homepage: https://github.com/edersonferreira/hange-github-account
|
|
37
|
+
licenses:
|
|
38
|
+
- MIT
|
|
39
|
+
metadata: {}
|
|
40
|
+
post_install_message:
|
|
41
|
+
rdoc_options: []
|
|
42
|
+
require_paths:
|
|
43
|
+
- lib
|
|
44
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
45
|
+
requirements:
|
|
46
|
+
- - ">="
|
|
47
|
+
- !ruby/object:Gem::Version
|
|
48
|
+
version: '0'
|
|
49
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
54
|
+
requirements: []
|
|
55
|
+
rubygems_version: 3.1.4
|
|
56
|
+
signing_key:
|
|
57
|
+
specification_version: 4
|
|
58
|
+
summary: A gem to change your github account
|
|
59
|
+
test_files: []
|