gito 0.4.2 → 0.4.3
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 +4 -4
- data/README.md +1 -1
- data/extras/WPEsWpAJgL-1.gif +0 -0
- data/extras/bootstrap.gif +0 -0
- data/extras/dryrun.gif +0 -0
- data/lib/gito.rb +3 -4
- data/lib/gito/config_manager.rb +1 -1
- data/lib/gito/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b8dd08ad0205a51aacc4fa00f1fb1a0bfdac163a
|
|
4
|
+
data.tar.gz: c74e9b1b3c109e2f91e40dc0d1f8d7c2e4279c47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a0e13648e26b1f56ae523dd20a7da5730494eeb098bdc2d2db16d6724b00c7ebf1ef6dd913d86809cfacc055161efe85dc20164c461765fcae89212bdebf1c7
|
|
7
|
+
data.tar.gz: 7ff99c78a6cbe034bceb471f1b7c5c4e139ce8a9b90e93d63540719f6d8b8584d1c996637605d2a6ff28a80fb67c9f263a40e653162f5411ea0c5b118a751713
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# gito
|
|
2
|
+

|
|
2
3
|
[](https://badge.fury.io/rb/gito)
|
|
3
4
|
[](https://travis-ci.org/cesarferreira/gito)
|
|
4
5
|
[](https://codeclimate.com/github/cesarferreira/gito)
|
|
5
|
-
[](http://inch-ci.org/github/cesarferreira/gito)
|
|
6
6
|
|
|
7
7
|
git helper tool to **clone**/**open**/**auto-install**/**edit** a git project with a one-liner.
|
|
8
8
|
|
|
Binary file
|
|
Binary file
|
data/extras/dryrun.gif
ADDED
|
Binary file
|
data/lib/gito.rb
CHANGED
|
@@ -12,7 +12,7 @@ require 'tempfile'
|
|
|
12
12
|
class MainApp
|
|
13
13
|
def initialize(arguments)
|
|
14
14
|
|
|
15
|
-
@url = %w(-h --help -v --version).include?(arguments.first) ? nil : arguments.shift
|
|
15
|
+
@url = %w(-h --help -v --version -s --set-editor).include?(arguments.first) ? nil : arguments.shift
|
|
16
16
|
|
|
17
17
|
# defaults
|
|
18
18
|
@options = {}
|
|
@@ -81,7 +81,6 @@ class MainApp
|
|
|
81
81
|
end
|
|
82
82
|
|
|
83
83
|
def call
|
|
84
|
-
|
|
85
84
|
if @options[:setting_up]
|
|
86
85
|
if @options[:editor].nil?
|
|
87
86
|
puts 'New new editor can\'t be empty'.red
|
|
@@ -89,12 +88,12 @@ class MainApp
|
|
|
89
88
|
update_configuration
|
|
90
89
|
puts 'Updated the editor to: ' + @options[:editor].yellow
|
|
91
90
|
end
|
|
92
|
-
exit
|
|
91
|
+
exit
|
|
93
92
|
end
|
|
94
93
|
|
|
95
94
|
if @url.nil?
|
|
96
95
|
puts 'You need to insert a valid GIT URL/folder'
|
|
97
|
-
exit
|
|
96
|
+
exit
|
|
98
97
|
end
|
|
99
98
|
|
|
100
99
|
# handle the configuration
|
data/lib/gito/config_manager.rb
CHANGED
data/lib/gito/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gito
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- cesar ferreira
|
|
@@ -111,6 +111,9 @@ files:
|
|
|
111
111
|
- bin/gito
|
|
112
112
|
- detector.json
|
|
113
113
|
- detector.rb
|
|
114
|
+
- extras/WPEsWpAJgL-1.gif
|
|
115
|
+
- extras/bootstrap.gif
|
|
116
|
+
- extras/dryrun.gif
|
|
114
117
|
- extras/recordit.gif
|
|
115
118
|
- extras/recordit2.gif
|
|
116
119
|
- extras/screenshot.png
|
|
@@ -141,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
141
144
|
version: '0'
|
|
142
145
|
requirements: []
|
|
143
146
|
rubyforge_project:
|
|
144
|
-
rubygems_version: 2.6.
|
|
147
|
+
rubygems_version: 2.6.11
|
|
145
148
|
signing_key:
|
|
146
149
|
specification_version: 4
|
|
147
150
|
summary: git helper tool to clone/open/auto-install/edit a git project with a one-liner
|