semaph 0.4.0 → 0.9.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/.rubocop.yml +39 -0
- data/.semaph +9 -0
- data/.semaphore/semaphore.yml +5 -1
- data/Gemfile.lock +21 -1
- data/README.md +12 -8
- data/Rakefile +4 -1
- data/lib/semaph.rb +43 -8
- data/lib/semaph/{api.rb → client.rb} +24 -3
- data/lib/semaph/commands.rb +63 -0
- data/lib/semaph/commands/rerun_workflow_command.rb +0 -2
- data/lib/semaph/commands/stop_workflow_command.rb +0 -2
- data/lib/semaph/formatting.rb +19 -1
- data/lib/semaph/model/job.rb +21 -2
- data/lib/semaph/model/job_collection.rb +19 -3
- data/lib/semaph/model/pipeline.rb +29 -3
- data/lib/semaph/model/promotion.rb +31 -0
- data/lib/semaph/model/promotion_collection.rb +21 -0
- data/lib/semaph/model/workflow.rb +17 -3
- data/lib/semaph/shells/organisation/organisation_shell.rb +4 -4
- data/lib/semaph/shells/organisation/projects_select_command.rb +6 -0
- data/lib/semaph/shells/organisations/organisations_list_command.rb +2 -2
- data/lib/semaph/shells/organisations/organisations_select_command.rb +11 -2
- data/lib/semaph/shells/organisations/organisations_shell.rb +2 -2
- data/lib/semaph/shells/pipeline/job_debug_command.rb +29 -0
- data/lib/semaph/shells/pipeline/job_log_command.rb +17 -15
- data/lib/semaph/shells/pipeline/job_log_grep_command.rb +5 -11
- data/lib/semaph/shells/pipeline/job_show_command.rb +28 -0
- data/lib/semaph/shells/pipeline/job_stop_command.rb +28 -0
- data/lib/semaph/shells/pipeline/jobs_list_command.rb +4 -2
- data/lib/semaph/shells/pipeline/jobs_poll_command.rb +58 -22
- data/lib/semaph/shells/pipeline/pipeline_shell.rb +28 -68
- data/lib/semaph/shells/pipeline/promote_command.rb +21 -0
- data/lib/semaph/shells/pipeline/promotions_list_command.rb +21 -0
- data/lib/semaph/shells/project/project_shell.rb +4 -2
- data/lib/semaph/shells/project/save_command.rb +26 -0
- data/lib/semaph/shells/project/workflows_list_command.rb +11 -17
- data/lib/semaph/shells/workflow/pipelines_list_command.rb +3 -1
- data/lib/semaph/shells/workflow/workflow_shell.rb +6 -66
- data/lib/semaph/version.rb +1 -1
- data/semaph.gemspec +1 -0
- metadata +30 -6
data/lib/semaph/version.rb
CHANGED
data/semaph.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semaph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Ryall
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
description: api client and shell for api
|
70
84
|
email:
|
71
85
|
- mark@ryall.name
|
@@ -76,6 +90,7 @@ extra_rdoc_files: []
|
|
76
90
|
files:
|
77
91
|
- ".gitignore"
|
78
92
|
- ".rubocop.yml"
|
93
|
+
- ".semaph"
|
79
94
|
- ".semaphore/semaphore.yml"
|
80
95
|
- ".tool-versions"
|
81
96
|
- ".travis.yml"
|
@@ -89,7 +104,8 @@ files:
|
|
89
104
|
- bin/setup
|
90
105
|
- exe/semaph
|
91
106
|
- lib/semaph.rb
|
92
|
-
- lib/semaph/
|
107
|
+
- lib/semaph/client.rb
|
108
|
+
- lib/semaph/commands.rb
|
93
109
|
- lib/semaph/commands/reload_command.rb
|
94
110
|
- lib/semaph/commands/rerun_workflow_command.rb
|
95
111
|
- lib/semaph/commands/stop_workflow_command.rb
|
@@ -101,6 +117,8 @@ files:
|
|
101
117
|
- lib/semaph/model/pipeline_collection.rb
|
102
118
|
- lib/semaph/model/project.rb
|
103
119
|
- lib/semaph/model/project_collection.rb
|
120
|
+
- lib/semaph/model/promotion.rb
|
121
|
+
- lib/semaph/model/promotion_collection.rb
|
104
122
|
- lib/semaph/model/workflow.rb
|
105
123
|
- lib/semaph/model/workflow_collection.rb
|
106
124
|
- lib/semaph/shells/organisation/organisation_shell.rb
|
@@ -109,12 +127,18 @@ files:
|
|
109
127
|
- lib/semaph/shells/organisations/organisations_list_command.rb
|
110
128
|
- lib/semaph/shells/organisations/organisations_select_command.rb
|
111
129
|
- lib/semaph/shells/organisations/organisations_shell.rb
|
130
|
+
- lib/semaph/shells/pipeline/job_debug_command.rb
|
112
131
|
- lib/semaph/shells/pipeline/job_log_command.rb
|
113
132
|
- lib/semaph/shells/pipeline/job_log_grep_command.rb
|
133
|
+
- lib/semaph/shells/pipeline/job_show_command.rb
|
134
|
+
- lib/semaph/shells/pipeline/job_stop_command.rb
|
114
135
|
- lib/semaph/shells/pipeline/jobs_list_command.rb
|
115
136
|
- lib/semaph/shells/pipeline/jobs_poll_command.rb
|
116
137
|
- lib/semaph/shells/pipeline/pipeline_shell.rb
|
138
|
+
- lib/semaph/shells/pipeline/promote_command.rb
|
139
|
+
- lib/semaph/shells/pipeline/promotions_list_command.rb
|
117
140
|
- lib/semaph/shells/project/project_shell.rb
|
141
|
+
- lib/semaph/shells/project/save_command.rb
|
118
142
|
- lib/semaph/shells/project/workflows_list_command.rb
|
119
143
|
- lib/semaph/shells/project/workflows_select_command.rb
|
120
144
|
- lib/semaph/shells/workflow/pipelines_list_command.rb
|
@@ -129,7 +153,7 @@ metadata:
|
|
129
153
|
homepage_uri: http://github.com/markryall/semaph
|
130
154
|
source_code_uri: http://github.com/markryall/semaph
|
131
155
|
changelog_uri: http://github.com/markryall/semaph
|
132
|
-
post_install_message:
|
156
|
+
post_install_message:
|
133
157
|
rdoc_options: []
|
134
158
|
require_paths:
|
135
159
|
- lib
|
@@ -145,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
169
|
version: '0'
|
146
170
|
requirements: []
|
147
171
|
rubygems_version: 3.1.2
|
148
|
-
signing_key:
|
172
|
+
signing_key:
|
149
173
|
specification_version: 4
|
150
174
|
summary: client for semaphore 2
|
151
175
|
test_files: []
|