git_helper 3.4.1 → 3.5.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 +4 -4
- data/Gemfile.lock +146 -0
- data/Guardfile +1 -1
- data/LICENSE.md +24 -6
- data/README.md +3 -1
- data/lib/git_helper/setup.rb +3 -1
- data/lib/git_helper/version.rb +1 -1
- metadata +4 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 37d1cb4ca342aac0362a8e7bd6f9726731315aead8c49ee2462d34ccdd6026c8
|
|
4
|
+
data.tar.gz: d5d4193926ecfc3d37ab4f5289be2364d5cca527aec32fcae7fa1ede7406d9da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d44f55e02a52b3c419a06b10d99755fb1858270b82e505d134a97b2a61b53378c15fea01f54c9f421bf097a403ba9cdc029f5872529a5db051932e9b036df75
|
|
7
|
+
data.tar.gz: c31682a0cb41f8ccf74ecf70ec1f302904d209dcdd043730207127f428541a91f4619db9d23e493bfd5d67481d769d2c84fb496f4dee6402c0ce0dee2d5c3357
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
git_helper (3.5.0)
|
|
5
|
+
gitlab (~> 4.16)
|
|
6
|
+
gli (~> 2.13)
|
|
7
|
+
highline_wrapper (~> 1.1)
|
|
8
|
+
octokit (~> 4.18)
|
|
9
|
+
psych (< 4)
|
|
10
|
+
|
|
11
|
+
GEM
|
|
12
|
+
remote: https://rubygems.org/
|
|
13
|
+
specs:
|
|
14
|
+
addressable (2.8.0)
|
|
15
|
+
public_suffix (>= 2.0.2, < 5.0)
|
|
16
|
+
ast (2.4.2)
|
|
17
|
+
coderay (1.1.3)
|
|
18
|
+
concurrent-ruby (1.1.9)
|
|
19
|
+
diff-lcs (1.4.4)
|
|
20
|
+
faker (2.18.0)
|
|
21
|
+
i18n (>= 1.6, < 2)
|
|
22
|
+
faraday (1.5.0)
|
|
23
|
+
faraday-em_http (~> 1.0)
|
|
24
|
+
faraday-em_synchrony (~> 1.0)
|
|
25
|
+
faraday-excon (~> 1.1)
|
|
26
|
+
faraday-httpclient (~> 1.0.1)
|
|
27
|
+
faraday-net_http (~> 1.0)
|
|
28
|
+
faraday-net_http_persistent (~> 1.1)
|
|
29
|
+
faraday-patron (~> 1.0)
|
|
30
|
+
multipart-post (>= 1.2, < 3)
|
|
31
|
+
ruby2_keywords (>= 0.0.4)
|
|
32
|
+
faraday-em_http (1.0.0)
|
|
33
|
+
faraday-em_synchrony (1.0.0)
|
|
34
|
+
faraday-excon (1.1.0)
|
|
35
|
+
faraday-httpclient (1.0.1)
|
|
36
|
+
faraday-net_http (1.0.1)
|
|
37
|
+
faraday-net_http_persistent (1.1.0)
|
|
38
|
+
faraday-patron (1.0.0)
|
|
39
|
+
ffi (1.15.3)
|
|
40
|
+
formatador (0.3.0)
|
|
41
|
+
gitlab (4.17.0)
|
|
42
|
+
httparty (~> 0.18)
|
|
43
|
+
terminal-table (~> 1.5, >= 1.5.1)
|
|
44
|
+
gli (2.20.1)
|
|
45
|
+
guard (2.17.0)
|
|
46
|
+
formatador (>= 0.2.4)
|
|
47
|
+
listen (>= 2.7, < 4.0)
|
|
48
|
+
lumberjack (>= 1.0.12, < 2.0)
|
|
49
|
+
nenv (~> 0.1)
|
|
50
|
+
notiffany (~> 0.0)
|
|
51
|
+
pry (>= 0.9.12)
|
|
52
|
+
shellany (~> 0.0)
|
|
53
|
+
thor (>= 0.18.1)
|
|
54
|
+
guard-compat (1.2.1)
|
|
55
|
+
guard-rspec (4.7.3)
|
|
56
|
+
guard (~> 2.1)
|
|
57
|
+
guard-compat (~> 1.1)
|
|
58
|
+
rspec (>= 2.99.0, < 4.0)
|
|
59
|
+
highline (2.0.3)
|
|
60
|
+
highline_wrapper (1.2.2)
|
|
61
|
+
highline (~> 2.0)
|
|
62
|
+
httparty (0.18.1)
|
|
63
|
+
mime-types (~> 3.0)
|
|
64
|
+
multi_xml (>= 0.5.2)
|
|
65
|
+
i18n (1.8.10)
|
|
66
|
+
concurrent-ruby (~> 1.0)
|
|
67
|
+
listen (3.5.1)
|
|
68
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
69
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
|
70
|
+
lumberjack (1.2.8)
|
|
71
|
+
method_source (1.0.0)
|
|
72
|
+
mime-types (3.3.1)
|
|
73
|
+
mime-types-data (~> 3.2015)
|
|
74
|
+
mime-types-data (3.2021.0704)
|
|
75
|
+
multi_xml (0.6.0)
|
|
76
|
+
multipart-post (2.1.1)
|
|
77
|
+
nenv (0.3.0)
|
|
78
|
+
notiffany (0.1.3)
|
|
79
|
+
nenv (~> 0.1)
|
|
80
|
+
shellany (~> 0.0)
|
|
81
|
+
octokit (4.21.0)
|
|
82
|
+
faraday (>= 0.9)
|
|
83
|
+
sawyer (~> 0.8.0, >= 0.5.3)
|
|
84
|
+
parallel (1.20.1)
|
|
85
|
+
parser (3.0.1.1)
|
|
86
|
+
ast (~> 2.4.1)
|
|
87
|
+
pry (0.14.1)
|
|
88
|
+
coderay (~> 1.1)
|
|
89
|
+
method_source (~> 1.0)
|
|
90
|
+
psych (3.3.2)
|
|
91
|
+
public_suffix (4.0.6)
|
|
92
|
+
rainbow (3.0.0)
|
|
93
|
+
rb-fsevent (0.11.0)
|
|
94
|
+
rb-inotify (0.10.1)
|
|
95
|
+
ffi (~> 1.0)
|
|
96
|
+
regexp_parser (2.1.1)
|
|
97
|
+
rexml (3.2.5)
|
|
98
|
+
rspec (3.10.0)
|
|
99
|
+
rspec-core (~> 3.10.0)
|
|
100
|
+
rspec-expectations (~> 3.10.0)
|
|
101
|
+
rspec-mocks (~> 3.10.0)
|
|
102
|
+
rspec-core (3.10.1)
|
|
103
|
+
rspec-support (~> 3.10.0)
|
|
104
|
+
rspec-expectations (3.10.1)
|
|
105
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
106
|
+
rspec-support (~> 3.10.0)
|
|
107
|
+
rspec-mocks (3.10.2)
|
|
108
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
109
|
+
rspec-support (~> 3.10.0)
|
|
110
|
+
rspec-support (3.10.2)
|
|
111
|
+
rubocop (1.18.2)
|
|
112
|
+
parallel (~> 1.10)
|
|
113
|
+
parser (>= 3.0.0.0)
|
|
114
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
115
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
116
|
+
rexml
|
|
117
|
+
rubocop-ast (>= 1.7.0, < 2.0)
|
|
118
|
+
ruby-progressbar (~> 1.7)
|
|
119
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
120
|
+
rubocop-ast (1.7.0)
|
|
121
|
+
parser (>= 3.0.1.1)
|
|
122
|
+
ruby-progressbar (1.11.0)
|
|
123
|
+
ruby2_keywords (0.0.4)
|
|
124
|
+
sawyer (0.8.2)
|
|
125
|
+
addressable (>= 2.3.5)
|
|
126
|
+
faraday (> 0.8, < 2.0)
|
|
127
|
+
shellany (0.0.1)
|
|
128
|
+
terminal-table (1.8.0)
|
|
129
|
+
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
130
|
+
thor (1.1.0)
|
|
131
|
+
unicode-display_width (1.7.0)
|
|
132
|
+
|
|
133
|
+
PLATFORMS
|
|
134
|
+
x86_64-darwin-19
|
|
135
|
+
|
|
136
|
+
DEPENDENCIES
|
|
137
|
+
bundler (~> 2.2)
|
|
138
|
+
faker (~> 2.15)
|
|
139
|
+
git_helper!
|
|
140
|
+
guard-rspec (~> 4.3)
|
|
141
|
+
pry (~> 0.13)
|
|
142
|
+
rspec (~> 3.9)
|
|
143
|
+
rubocop (~> 1.10)
|
|
144
|
+
|
|
145
|
+
BUNDLED WITH
|
|
146
|
+
2.2.21
|
data/Guardfile
CHANGED
data/LICENSE.md
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
BSD 3-Clause "New" or "Revised" License
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) 2020 Emma Sax.
|
|
4
|
+
All rights reserved.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions, and the following disclaimer.
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions, and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
10
15
|
|
|
11
|
-
|
|
16
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/README.md
CHANGED
|
@@ -180,7 +180,9 @@ The command either accepts a branch name right away or it will ask you for the n
|
|
|
180
180
|
|
|
181
181
|
### Contributing
|
|
182
182
|
|
|
183
|
-
To submit a feature request, bug ticket, etc, please submit an official [GitHub
|
|
183
|
+
To submit a feature request, bug ticket, etc, please submit an official [GitHub issue](https://github.com/emmahsax/git_helper/issues/new). To copy or make changes, please [fork this repository](https://github.com/emmahsax/git_helper/fork). When/if you'd like to contribute back to this upstream, please create a pull request on this repository.
|
|
184
|
+
|
|
185
|
+
Please follow included Issue Template(s) and Pull Request Template(s) when creating issues or pull requests.
|
|
184
186
|
|
|
185
187
|
### Security Policy
|
|
186
188
|
|
data/lib/git_helper/setup.rb
CHANGED
|
@@ -33,7 +33,7 @@ module GitHelper
|
|
|
33
33
|
|
|
34
34
|
create_or_update_plugin_files
|
|
35
35
|
puts "\nNow add this line to your ~/.bash_profile:\n" \
|
|
36
|
-
|
|
36
|
+
' export PATH=/path/to/computer/home/.git_helper/plugins:$PATH'
|
|
37
37
|
puts "\nDone!"
|
|
38
38
|
end
|
|
39
39
|
|
|
@@ -49,6 +49,7 @@ module GitHelper
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# rubocop:disable Metrics/MethodLength
|
|
52
|
+
# rubocop:disable Layout/LineEndStringConcatenationIndentation
|
|
52
53
|
private def generate_file_contents
|
|
53
54
|
file_contents = ''.dup
|
|
54
55
|
|
|
@@ -75,6 +76,7 @@ module GitHelper
|
|
|
75
76
|
file_contents.strip
|
|
76
77
|
end
|
|
77
78
|
# rubocop:enable Metrics/MethodLength
|
|
79
|
+
# rubocop:enable Layout/LineEndStringConcatenationIndentation
|
|
78
80
|
|
|
79
81
|
private def ask_question(prompt, secret: false)
|
|
80
82
|
highline.ask(prompt, { required: true, secret: secret })
|
data/lib/git_helper/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: git_helper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Emma Sax
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-06
|
|
11
|
+
date: 2021-07-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gitlab
|
|
@@ -136,20 +136,6 @@ dependencies:
|
|
|
136
136
|
- - "~>"
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: '0.13'
|
|
139
|
-
- !ruby/object:Gem::Dependency
|
|
140
|
-
name: rake
|
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
|
142
|
-
requirements:
|
|
143
|
-
- - "~>"
|
|
144
|
-
- !ruby/object:Gem::Version
|
|
145
|
-
version: '13.0'
|
|
146
|
-
type: :development
|
|
147
|
-
prerelease: false
|
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
-
requirements:
|
|
150
|
-
- - "~>"
|
|
151
|
-
- !ruby/object:Gem::Version
|
|
152
|
-
version: '13.0'
|
|
153
139
|
- !ruby/object:Gem::Dependency
|
|
154
140
|
name: rspec
|
|
155
141
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -187,6 +173,7 @@ extensions: []
|
|
|
187
173
|
extra_rdoc_files: []
|
|
188
174
|
files:
|
|
189
175
|
- Gemfile
|
|
176
|
+
- Gemfile.lock
|
|
190
177
|
- Guardfile
|
|
191
178
|
- LICENSE.md
|
|
192
179
|
- README.md
|
|
@@ -246,7 +233,7 @@ requirements: []
|
|
|
246
233
|
rubygems_version: 3.2.15
|
|
247
234
|
signing_key:
|
|
248
235
|
specification_version: 4
|
|
249
|
-
summary: A set of GitHub and GitLab workflow scripts
|
|
236
|
+
summary: A set of GitHub and GitLab workflow scripts
|
|
250
237
|
test_files:
|
|
251
238
|
- spec/spec_helper.rb
|
|
252
239
|
- spec/git_helper/change_remote_spec.rb
|