git-story-workflow 0.6.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7844efbe4b522c8415e7271f9d5c341b9598bb26f17a3558926486398b000bf
4
- data.tar.gz: a8369ff5809c912f2664f84fd53cd1a0088adb7b61c1706dd21f6dc136d7fe92
3
+ metadata.gz: c9b121392b31f4acd013e0de7dba5e85468280d89decdc25fce8598dedc32cb5
4
+ data.tar.gz: 87fe905fec7cfe951cf3295dd8adc571ad394eea76205ac393dbc0d87641afbc
5
5
  SHA512:
6
- metadata.gz: 25491084ebb086cad3d8230a6d184438e908681edd145f201450eea0a4d854df81e31310eac7b4bffba67b72b112d860a3811bdaba73e101692ad99c0951b493
7
- data.tar.gz: b7056ccdbc760f516e9c73583a1bd9cf75ef1131e264ab1733edfac8d8722c83fd76e6f0cb35615e67b72f089abc14678b4b74c4f262ad5301690b2dacb1565e
6
+ metadata.gz: 44a5e75342705155a8d8cd17be417235dbb33ae5887c239047626beebbe4e85b15f18d12736d8a51f198417beeeab55322e27621936a6d9763d98dfa6f8c6a46
7
+ data.tar.gz: aacb3eae438b9c999878c708e934f40cf89f70820b2ce87fcf593b94cc7dc405fc39e264e6e27908c773b984bb546405ef57d50a4a57e6571ccd7f30937a02dd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.2
1
+ 0.7.0
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: git-story-workflow 0.6.2 ruby lib
2
+ # stub: git-story-workflow 0.7.0 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "git-story-workflow".freeze
6
- s.version = "0.6.2"
6
+ s.version = "0.7.0"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Florian Frank".freeze]
11
- s.date = "2019-02-06"
11
+ s.date = "2019-04-11"
12
12
  s.description = "Gem abstracting a git workflow\u2026".freeze
13
13
  s.email = "flori@ping.de".freeze
14
14
  s.executables = ["git-story".freeze]
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.homepage = "http://flori.github.com/git-story-workflow".freeze
18
18
  s.licenses = ["Apache-2.0".freeze]
19
19
  s.rdoc_options = ["--title".freeze, "Git-story-workflow".freeze, "--main".freeze, "README.md".freeze]
20
- s.rubygems_version = "3.0.1".freeze
20
+ s.rubygems_version = "3.0.3".freeze
21
21
  s.summary = "Gem abstracting a git workflow".freeze
22
22
  s.test_files = ["spec/git/story/app_spec.rb".freeze, "spec/spec_helper.rb".freeze]
23
23
 
@@ -112,25 +112,12 @@ class Git::Story::App
112
112
  "Getting #{url.inspect} => #{e.class}: #{e}".red
113
113
  end
114
114
 
115
- command doc: '[BRANCH] display docker build status of branch, -n SECONDS refreshes'
116
- def docker_status
117
- url = nil
118
- watch do
119
- auth_token = complex_config.story.semaphore_auth_token
120
- project = complex_config.story.semaphore_docker_project
121
- url = "https://semaphoreci.com/api/v1/projects/#{project}/docker/status?auth_token=#{auth_token}"
122
- Git::Story::SemaphoreResponse.get(url, debug: @debug)
123
- end
124
- rescue => e
125
- "Getting #{url.inspect} => #{e.class}: #{e}".red
126
- end
127
-
128
115
  command doc: '[SERVER] display deploy status of branch, -n SECONDS refreshes'
129
116
  def deploy_status(server = complex_config.story.semaphore_default_server)
130
117
  url = nil
131
118
  watch do
132
119
  auth_token = complex_config.story.semaphore_auth_token
133
- project = complex_config.story.semaphore_docker_project
120
+ project = complex_config.story.semaphore_test_project
134
121
  url = "https://semaphoreci.com/api/v1/projects/#{project}/servers/#{server}?auth_token=#{auth_token}"
135
122
  server = Git::Story::SemaphoreResponse.get(url, debug: @debug)
136
123
  deploys = server.deploys
@@ -161,8 +148,6 @@ class Git::Story::App
161
148
  [
162
149
  "Test Status".bold,
163
150
  test_status(branch) || 'n/a',
164
- "Docker Status".bold,
165
- docker_status || 'n/a',
166
151
  "Deploy Status".bold,
167
152
  deploy_status || 'n/a',
168
153
  ] * "\n\n"
@@ -1,6 +1,6 @@
1
1
  module Git::Story
2
2
  # Git::Story version
3
- VERSION = '0.6.2'
3
+ VERSION = '0.7.0'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-story-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-06 00:00:00.000000000 Z
11
+ date: 2019-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  - !ruby/object:Gem::Version
192
192
  version: '0'
193
193
  requirements: []
194
- rubygems_version: 3.0.1
194
+ rubygems_version: 3.0.3
195
195
  signing_key:
196
196
  specification_version: 4
197
197
  summary: Gem abstracting a git workflow