git_helper 1.1.1 → 2.0.1
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 +28 -32
- 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/gitlab_client.rb +0 -1
- data/lib/git_helper/highline_cli.rb +72 -6
- data/lib/git_helper/local_code.rb +124 -0
- data/lib/git_helper/merge_request.rb +59 -97
- data/lib/git_helper/new_branch.rb +2 -11
- data/lib/git_helper/octokit_client.rb +0 -1
- data/lib/git_helper/pull_request.rb +47 -81
- data/lib/git_helper/version.rb +1 -1
- 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 +40 -23
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: 2.0.1
|
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-
|
11
|
+
date: 2020-10-02 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,15 +142,32 @@ 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
|
151
|
+
- lib/git_helper/local_code.rb
|
162
152
|
- lib/git_helper/merge_request.rb
|
163
153
|
- lib/git_helper/new_branch.rb
|
164
154
|
- lib/git_helper/octokit_client.rb
|
165
155
|
- lib/git_helper/pull_request.rb
|
166
156
|
- lib/git_helper/version.rb
|
157
|
+
- spec/git_helper/change_remote_spec.rb
|
158
|
+
- spec/git_helper/checkout_default_spec.rb
|
159
|
+
- spec/git_helper/clean_branches_spec.rb
|
160
|
+
- spec/git_helper/code_request_spec.rb
|
161
|
+
- spec/git_helper/empty_commit_spec.rb
|
162
|
+
- spec/git_helper/forget_local_commits_spec.rb
|
163
|
+
- spec/git_helper/git_config_reader_spec.rb
|
164
|
+
- spec/git_helper/gitlab_client_spec.rb
|
165
|
+
- spec/git_helper/highline_cli_spec.rb
|
166
|
+
- spec/git_helper/local_code_spec.rb
|
167
|
+
- spec/git_helper/merge_request_spec.rb
|
168
|
+
- spec/git_helper/new_branch_spec.rb
|
169
|
+
- spec/git_helper/octokit_client_spec.rb
|
170
|
+
- spec/git_helper/pull_request_spec.rb
|
167
171
|
- spec/spec_helper.rb
|
168
172
|
homepage: https://github.com/emmasax4/git_helper
|
169
173
|
licenses:
|
@@ -187,7 +191,20 @@ requirements: []
|
|
187
191
|
rubygems_version: 3.1.2
|
188
192
|
signing_key:
|
189
193
|
specification_version: 4
|
190
|
-
summary: A set of GitHub and GitLab workflow scripts
|
191
|
-
process for your git projects.
|
194
|
+
summary: A set of GitHub and GitLab workflow scripts.
|
192
195
|
test_files:
|
193
196
|
- spec/spec_helper.rb
|
197
|
+
- spec/git_helper/octokit_client_spec.rb
|
198
|
+
- spec/git_helper/new_branch_spec.rb
|
199
|
+
- spec/git_helper/forget_local_commits_spec.rb
|
200
|
+
- spec/git_helper/clean_branches_spec.rb
|
201
|
+
- spec/git_helper/change_remote_spec.rb
|
202
|
+
- spec/git_helper/checkout_default_spec.rb
|
203
|
+
- spec/git_helper/pull_request_spec.rb
|
204
|
+
- spec/git_helper/gitlab_client_spec.rb
|
205
|
+
- spec/git_helper/code_request_spec.rb
|
206
|
+
- spec/git_helper/empty_commit_spec.rb
|
207
|
+
- spec/git_helper/highline_cli_spec.rb
|
208
|
+
- spec/git_helper/git_config_reader_spec.rb
|
209
|
+
- spec/git_helper/merge_request_spec.rb
|
210
|
+
- spec/git_helper/local_code_spec.rb
|