git_helper 1.3.0 → 3.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 +4 -4
- data/Gemfile.lock +17 -13
- data/README.md +37 -44
- data/Rakefile +1 -37
- data/bin/git-helper +10 -28
- data/lib/git_helper.rb +3 -5
- data/lib/git_helper/change_remote.rb +53 -40
- data/lib/git_helper/checkout_default.rb +1 -1
- data/lib/git_helper/clean_branches.rb +1 -4
- data/lib/git_helper/code_request.rb +95 -0
- data/lib/git_helper/empty_commit.rb +1 -1
- data/lib/git_helper/forget_local_commits.rb +7 -0
- data/lib/git_helper/git_config_reader.rb +1 -1
- data/lib/git_helper/gitlab_client.rb +0 -1
- data/lib/git_helper/highline_cli.rb +21 -17
- data/lib/git_helper/local_code.rb +67 -19
- data/lib/git_helper/merge_request.rb +55 -73
- data/lib/git_helper/new_branch.rb +2 -13
- data/lib/git_helper/octokit_client.rb +0 -1
- data/lib/git_helper/pull_request.rb +44 -67
- data/lib/git_helper/version.rb +1 -1
- data/plugins.zip +0 -0
- data/spec/git_helper/change_remote_spec.rb +173 -0
- data/spec/git_helper/checkout_default_spec.rb +19 -0
- data/spec/git_helper/clean_branches_spec.rb +19 -0
- data/spec/git_helper/code_request_spec.rb +259 -0
- data/spec/git_helper/empty_commit_spec.rb +19 -0
- data/spec/git_helper/forget_local_commits_spec.rb +19 -0
- data/spec/git_helper/git_config_reader_spec.rb +60 -0
- data/spec/git_helper/gitlab_client_spec.rb +26 -0
- data/spec/git_helper/highline_cli_spec.rb +215 -0
- data/spec/git_helper/local_code_spec.rb +231 -0
- data/spec/git_helper/merge_request_spec.rb +234 -0
- data/spec/git_helper/new_branch_spec.rb +44 -0
- data/spec/git_helper/octokit_client_spec.rb +26 -0
- data/spec/git_helper/pull_request_spec.rb +246 -0
- data/spec/spec_helper.rb +0 -7
- metadata +41 -24
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,3 @@
|
|
1
|
-
require 'simplecov'
|
2
|
-
|
3
|
-
SimpleCov.start do
|
4
|
-
add_filter '/spec/'
|
5
|
-
end
|
6
|
-
|
7
1
|
# This file was generated by the `rspec --init` command. Conventionally, all
|
8
2
|
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
9
3
|
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
@@ -37,7 +31,6 @@ RSpec.configure do |config|
|
|
37
31
|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
38
32
|
end
|
39
33
|
|
40
|
-
config.use_transactional_fixtures = true
|
41
34
|
config.filter_run :focus => true
|
42
35
|
config.run_all_when_everything_filtered = true
|
43
36
|
|
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:
|
4
|
+
version: 3.0.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: 2020-10-
|
11
|
+
date: 2020-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.1'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: guard
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '2.6'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '2.6'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: guard-rspec
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,29 +100,30 @@ dependencies:
|
|
114
100
|
requirements:
|
115
101
|
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
103
|
+
version: '13.0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
108
|
- - "~>"
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
110
|
+
version: '13.0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: rspec
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
128
114
|
requirements:
|
129
115
|
- - "~>"
|
130
116
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
117
|
+
version: '3.9'
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
122
|
- - "~>"
|
137
123
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
139
|
-
description: A set of GitHub and GitLab workflow scripts
|
124
|
+
version: '3.9'
|
125
|
+
description: A set of GitHub and GitLab workflow scripts to provide a smoother development
|
126
|
+
process for your git projects.
|
140
127
|
email:
|
141
128
|
- emma.sax4@gmail.com
|
142
129
|
executables:
|
@@ -155,7 +142,9 @@ files:
|
|
155
142
|
- lib/git_helper/change_remote.rb
|
156
143
|
- lib/git_helper/checkout_default.rb
|
157
144
|
- lib/git_helper/clean_branches.rb
|
145
|
+
- lib/git_helper/code_request.rb
|
158
146
|
- lib/git_helper/empty_commit.rb
|
147
|
+
- lib/git_helper/forget_local_commits.rb
|
159
148
|
- lib/git_helper/git_config_reader.rb
|
160
149
|
- lib/git_helper/gitlab_client.rb
|
161
150
|
- lib/git_helper/highline_cli.rb
|
@@ -165,6 +154,21 @@ files:
|
|
165
154
|
- lib/git_helper/octokit_client.rb
|
166
155
|
- lib/git_helper/pull_request.rb
|
167
156
|
- lib/git_helper/version.rb
|
157
|
+
- plugins.zip
|
158
|
+
- spec/git_helper/change_remote_spec.rb
|
159
|
+
- spec/git_helper/checkout_default_spec.rb
|
160
|
+
- spec/git_helper/clean_branches_spec.rb
|
161
|
+
- spec/git_helper/code_request_spec.rb
|
162
|
+
- spec/git_helper/empty_commit_spec.rb
|
163
|
+
- spec/git_helper/forget_local_commits_spec.rb
|
164
|
+
- spec/git_helper/git_config_reader_spec.rb
|
165
|
+
- spec/git_helper/gitlab_client_spec.rb
|
166
|
+
- spec/git_helper/highline_cli_spec.rb
|
167
|
+
- spec/git_helper/local_code_spec.rb
|
168
|
+
- spec/git_helper/merge_request_spec.rb
|
169
|
+
- spec/git_helper/new_branch_spec.rb
|
170
|
+
- spec/git_helper/octokit_client_spec.rb
|
171
|
+
- spec/git_helper/pull_request_spec.rb
|
168
172
|
- spec/spec_helper.rb
|
169
173
|
homepage: https://github.com/emmasax4/git_helper
|
170
174
|
licenses:
|
@@ -185,10 +189,23 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
189
|
- !ruby/object:Gem::Version
|
186
190
|
version: '0'
|
187
191
|
requirements: []
|
188
|
-
rubygems_version: 3.1.
|
192
|
+
rubygems_version: 3.1.4
|
189
193
|
signing_key:
|
190
194
|
specification_version: 4
|
191
|
-
summary: A set of GitHub and GitLab workflow scripts
|
192
|
-
process for your git projects.
|
195
|
+
summary: A set of GitHub and GitLab workflow scripts.
|
193
196
|
test_files:
|
194
197
|
- spec/spec_helper.rb
|
198
|
+
- spec/git_helper/octokit_client_spec.rb
|
199
|
+
- spec/git_helper/new_branch_spec.rb
|
200
|
+
- spec/git_helper/forget_local_commits_spec.rb
|
201
|
+
- spec/git_helper/clean_branches_spec.rb
|
202
|
+
- spec/git_helper/change_remote_spec.rb
|
203
|
+
- spec/git_helper/checkout_default_spec.rb
|
204
|
+
- spec/git_helper/pull_request_spec.rb
|
205
|
+
- spec/git_helper/gitlab_client_spec.rb
|
206
|
+
- spec/git_helper/code_request_spec.rb
|
207
|
+
- spec/git_helper/empty_commit_spec.rb
|
208
|
+
- spec/git_helper/highline_cli_spec.rb
|
209
|
+
- spec/git_helper/git_config_reader_spec.rb
|
210
|
+
- spec/git_helper/merge_request_spec.rb
|
211
|
+
- spec/git_helper/local_code_spec.rb
|