geordi 9.4.0 → 9.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -1
- data/Gemfile.lock +1 -1
- data/exe/b +1 -2
- data/exe/dumple +1 -1
- data/lib/geordi/commands/rspec.rb +7 -0
- data/lib/geordi/commands/server.rb +1 -1
- data/lib/geordi/gitpt.rb +5 -5
- data/lib/geordi/settings.rb +3 -3
- data/lib/geordi/util.rb +1 -1
- data/lib/geordi/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed94a4f4c3730adc498969884b6019bc690f7348404d87681741a368fad3d9d4
|
4
|
+
data.tar.gz: 71be7102e51bde905e8ce266e024642ddce03007cada78eaff3f56bb1a604391
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 829799256546ace81d2e17cb6dcb194aafcb4060cdcb65b337a0d4811967a616fcced13e93337291bde7aa052b6d8b7e08cf07e2984e23a5dd1aa80843014030
|
7
|
+
data.tar.gz: a88924470f394329db5f1cff666e2df6b3b2004eba892a9623c741aaa1de7e28dc705953c14cd88a83da5893aadd1f68e0152d11cd695c298690b78a77f42143
|
data/CHANGELOG.md
CHANGED
@@ -10,7 +10,21 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
10
10
|
### Breaking changes
|
11
11
|
|
12
12
|
|
13
|
-
|
13
|
+
# 9.5.0 2023-03-22
|
14
|
+
|
15
|
+
### Compatible changes
|
16
|
+
* `commit` command: The pivotal tracker story is linked in the description of the commit
|
17
|
+
* `server` command: Use `daho.im` instead of `vcap.me` when offering the local development URL
|
18
|
+
* `rspec` command: chromedriver is updated automatically, if auto-update is configured and the app uses selenium-webdriver
|
19
|
+
|
20
|
+
|
21
|
+
## 9.4.1 2023-01-09
|
22
|
+
|
23
|
+
### Compatible changes
|
24
|
+
* Ruby 3.2 support
|
25
|
+
|
26
|
+
|
27
|
+
## 9.4.0 2022-12-09
|
14
28
|
|
15
29
|
### Compatible changes
|
16
30
|
* `branch` command: Git user initials are now stored in config file
|
data/Gemfile.lock
CHANGED
data/exe/b
CHANGED
data/exe/dumple
CHANGED
@@ -10,8 +10,15 @@ LONGDESC
|
|
10
10
|
|
11
11
|
def rspec(*files)
|
12
12
|
if File.exist?('spec/spec_helper.rb')
|
13
|
+
require 'geordi/settings'
|
14
|
+
|
15
|
+
settings = Geordi::Settings.new
|
16
|
+
|
13
17
|
invoke_geordi 'bundle_install'
|
14
18
|
invoke_geordi 'yarn_install'
|
19
|
+
if settings.auto_update_chromedriver && Util.gem_available?('selenium-webdriver')
|
20
|
+
invoke_geordi 'chromedriver_update', quiet_if_matching: true
|
21
|
+
end
|
15
22
|
|
16
23
|
Interaction.announce 'Running specs'
|
17
24
|
|
@@ -12,7 +12,7 @@ def server(port = nil)
|
|
12
12
|
|
13
13
|
Interaction.announce 'Booting a development server'
|
14
14
|
port ||= options.port
|
15
|
-
Interaction.note "URL: http://#{File.basename(Dir.pwd)}.
|
15
|
+
Interaction.note "URL: http://#{File.basename(Dir.pwd)}.daho.im:#{port}"
|
16
16
|
puts
|
17
17
|
|
18
18
|
command = Util.server_command
|
data/lib/geordi/gitpt.rb
CHANGED
@@ -22,7 +22,7 @@ module Geordi
|
|
22
22
|
|
23
23
|
story = choose_story
|
24
24
|
if story
|
25
|
-
create_commit "[##{story.id}] #{story.name}", *git_args
|
25
|
+
create_commit "[##{story.id}] #{story.name}", "Story: #{story.url}", *git_args
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
@@ -76,7 +76,7 @@ module Geordi
|
|
76
76
|
|
77
77
|
def applicable_stories
|
78
78
|
if Util.testing?
|
79
|
-
return ENV['GEORDI_TESTING_NO_PT_STORIES'] == 'true' ? [] : [OpenStruct.new(id: 12, name: 'Test Story')]
|
79
|
+
return ENV['GEORDI_TESTING_NO_PT_STORIES'] == 'true' ? [] : [OpenStruct.new(id: 12, name: 'Test Story', url: 'https://www.story-url.com')]
|
80
80
|
end
|
81
81
|
|
82
82
|
projects = load_projects
|
@@ -128,11 +128,11 @@ module Geordi
|
|
128
128
|
nil # Return nothing
|
129
129
|
end
|
130
130
|
|
131
|
-
def create_commit(
|
131
|
+
def create_commit(title, description, *git_args)
|
132
132
|
extra = highline.ask("\nAdd an optional message").strip
|
133
|
-
|
133
|
+
title << ' - ' << extra if extra != ''
|
134
134
|
|
135
|
-
Util.run!(['git', 'commit', '--allow-empty', '-m',
|
135
|
+
Util.run!(['git', 'commit', '--allow-empty', '-m', title, '-m', description, *git_args])
|
136
136
|
end
|
137
137
|
|
138
138
|
def bold(string)
|
data/lib/geordi/settings.rb
CHANGED
@@ -77,10 +77,10 @@ module Geordi
|
|
77
77
|
global_path = GLOBAL_SETTINGS_FILE_NAME
|
78
78
|
local_path = LOCAL_SETTINGS_FILE_NAME
|
79
79
|
|
80
|
-
global_settings = if File.
|
80
|
+
global_settings = if File.exist?(global_path)
|
81
81
|
YAML.safe_load(File.read(global_path))
|
82
82
|
end
|
83
|
-
local_settings = if File.
|
83
|
+
local_settings = if File.exist?(local_path)
|
84
84
|
YAML.safe_load(File.read(local_path))
|
85
85
|
end
|
86
86
|
|
@@ -88,7 +88,7 @@ module Geordi
|
|
88
88
|
unless ENV[SETTINGS_WARNED]
|
89
89
|
check_for_invalid_keys(global_settings, ALLOWED_GLOBAL_SETTINGS, global_path)
|
90
90
|
check_for_invalid_keys(local_settings, ALLOWED_LOCAL_SETTINGS, local_path)
|
91
|
-
Interaction.warn "Unsupported config file \".firefox-version\". Please remove it." if File.
|
91
|
+
Interaction.warn "Unsupported config file \".firefox-version\". Please remove it." if File.exist?('.firefox-version')
|
92
92
|
|
93
93
|
ENV[SETTINGS_WARNED] = 'true'
|
94
94
|
end
|
data/lib/geordi/util.rb
CHANGED
@@ -80,7 +80,7 @@ module Geordi
|
|
80
80
|
def binstub_or_fallback(executable)
|
81
81
|
binstub_file = "bin/#{executable}"
|
82
82
|
|
83
|
-
File.
|
83
|
+
File.exist?(binstub_file) ? binstub_file : "bundle exec #{executable}"
|
84
84
|
end
|
85
85
|
|
86
86
|
def console_command(environment)
|
data/lib/geordi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geordi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henning Koch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
|
-
rubygems_version: 3.
|
122
|
+
rubygems_version: 3.1.6
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: Collection of command line tools we use in our daily work with Ruby, Rails
|