geordi 6.0.0 → 7.0.1

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: 972d947bfb273cec9f5bb3a586ab1ead5021b63466b4322a42b047947c846c45
4
- data.tar.gz: fd796ff8f25567d340e24012929ffda3a54eafba1f3b98c718ccdfab4c7b213b
3
+ metadata.gz: 2f337449e17755555cb74cf3e63e6bef4529f46463f9c10194b3e7d7f9ea9146
4
+ data.tar.gz: 68702b98b7a81999334dd49fe7a70585fef245004036eaee3f967817d590b368
5
5
  SHA512:
6
- metadata.gz: 889947c5d0139c9cc1fe4b7cc95ae7b08e83a0966696fce6e800db777c214544a6b8879b478e2999073c863405ff8e98a33c15ec4ad5ac73c92ab35f6084d1ae
7
- data.tar.gz: c2771b0ca090e9d68557a6f8e9e1539a7b573f78caa7f66e6bdecc441710a4617fe390735a8f0b97304d10b5583d85b63dec13e7a0d74df421d41820262cd604
6
+ metadata.gz: 1f346dcc7bee9e66585cc649290306366e2986febdee02a1a0c81092d1481a0bc9382b3940264edc0f10494a9f74841402f4a56eed0e68887854f7f9e894afa4
7
+ data.tar.gz: 2518973bceb664d2cb321c57f1d05e32c629ef240cd26d29ac997cdeca8a2f97eba9d2d9e76177a82f26422276176415b14c68b16cf5fd8fa8bea141a292a726
@@ -8,25 +8,17 @@ on:
8
8
  - master
9
9
  jobs:
10
10
  test:
11
- runs-on: ubuntu-18.04
11
+ runs-on: ubuntu-20.04
12
12
  strategy:
13
13
  fail-fast: false
14
14
  matrix:
15
15
  include:
16
- - ruby: 2.2.10
17
- gemfile: Gemfile
18
- - ruby: 2.3.8
19
- gemfile: Gemfile
20
- - ruby: 2.4.10
21
- gemfile: Gemfile
22
- - ruby: 2.5.8
23
- gemfile: Gemfile
24
- - ruby: 2.6.6
25
- gemfile: Gemfile
26
- - ruby: 2.7.2
27
- gemfile: Gemfile
28
- - ruby: 3.0.0
29
- gemfile: Gemfile
16
+ - ruby: 2.5.7
17
+ gemfile: Gemfile
18
+ - ruby: 2.7.4
19
+ gemfile: Gemfile
20
+ - ruby: 3.0.2
21
+ gemfile: Gemfile
30
22
  env:
31
23
  BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
32
24
  steps:
@@ -37,7 +29,7 @@ jobs:
37
29
  ruby-version: "${{ matrix.ruby }}"
38
30
  - name: Bundle
39
31
  run: |
40
- gem install bundler:1.17.3
32
+ gem install bundler:2.2.26
41
33
  bundle install --no-deployment
42
34
  - name: Install VNC viewer
43
35
  run: |
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2
1
+ 2.5.7
data/CHANGELOG.md CHANGED
@@ -6,19 +6,42 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
6
6
  ## Unreleased
7
7
 
8
8
  ### Compatible changes
9
- * Removed support for serial execution of scenarios tagged with @solo.
9
+ ### Breaking changes
10
+
11
+
12
+ ## 7.0.1 2021-08-13
13
+
14
+ ### Compatible changes
15
+ * Fix missing `thor` dependency
16
+
17
+ ## 7.0.0 2021-08-25
10
18
 
11
19
  ### Breaking changes
20
+ * Drop support for Ruby < 2.5.0
12
21
 
13
- ## 6.0.0 2021-04-06
22
+
23
+ ## 6.1.0 2021-07-15
24
+
25
+ ### Compatible changes
26
+ * Improve parsing of Capistrano files ([#162](https://github.com/makandra/geordi/issues/162))
27
+ * `geordi tests` now takes test files as arguments and passes them to either RSpec or Cucumber ([#152](https://github.com/makandra/geordi/issues/152))
28
+
29
+
30
+ ## 6.0.0 2021-06-02
14
31
 
15
32
  ### Compatible changes
16
33
  * `geordi commit` will continue even if one of the given projects is inaccessible. It will only fail if no stories could be found at all.
17
34
 
18
35
  ### Breaking changes
19
- * Removed VNC test browser support for integration tests.
36
+ * Removed VNC test browser support for integration tests – Headless Chrome has
37
+ matured and is almost a drop-in replacement. Also, key binding issues have
38
+ increased with VNC and recent Linux.
20
39
  * Please use a headless Chrome setup <https://makandracards.com/makandra/492109-capybara-running-tests-with-headless-chrome>.
21
40
  * You might also want to get rid of your local VNC server `sudo apt remove tightvncserver`.
41
+ * Removed support for serial execution of scenarios tagged with @solo. Serial
42
+ execution is not needed with Headless Chrome, as Headless instances cannot
43
+ interfere (like, stealing focus).
44
+
22
45
 
23
46
  ## 5.4.0 2021-02-01
24
47
 
data/Gemfile CHANGED
@@ -9,5 +9,6 @@ gem 'rspec'
9
9
  gem 'highline'
10
10
  gem 'parallel_tests'
11
11
  gem 'launchy'
12
- gem 'pry'
12
+ gem 'pry-byebug'
13
13
  gem 'tracker_api'
14
+ gem 'cucumber', '~> 4'
data/Gemfile.lock CHANGED
@@ -1,12 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- geordi (6.0.0)
4
+ geordi (7.0.1)
5
5
  thor (~> 1)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
+ activesupport (6.1.4.1)
11
+ concurrent-ruby (~> 1.0, >= 1.0.2)
12
+ i18n (>= 1.6, < 2)
13
+ minitest (>= 5.1)
14
+ tzinfo (~> 2.0)
15
+ zeitwerk (~> 2.3)
10
16
  addressable (2.7.0)
11
17
  public_suffix (>= 2.0.2, < 5.0)
12
18
  aruba (0.14.14)
@@ -20,30 +26,42 @@ GEM
20
26
  descendants_tracker (~> 0.0.4)
21
27
  ice_nine (~> 0.11.0)
22
28
  thread_safe (~> 0.3, >= 0.3.1)
23
- backports (3.18.2)
24
29
  builder (3.2.4)
30
+ byebug (11.1.3)
25
31
  childprocess (1.0.1)
26
32
  rake (< 13.0)
27
33
  coderay (1.1.3)
28
34
  coercible (1.0.0)
29
35
  descendants_tracker (~> 0.0.1)
36
+ concurrent-ruby (1.1.9)
30
37
  contracts (0.16.0)
31
- cucumber (3.2.0)
32
- builder (>= 2.1.2)
33
- cucumber-core (~> 3.2.0)
34
- cucumber-expressions (~> 6.0.1)
35
- cucumber-wire (~> 0.0.1)
36
- diff-lcs (~> 1.3)
37
- gherkin (~> 5.1.0)
38
- multi_json (>= 1.7.5, < 2.0)
39
- multi_test (>= 0.1.2)
40
- cucumber-core (3.2.1)
41
- backports (>= 3.8.0)
42
- cucumber-tag_expressions (~> 1.1.0)
43
- gherkin (~> 5.0)
44
- cucumber-expressions (6.0.1)
45
- cucumber-tag_expressions (1.1.1)
46
- cucumber-wire (0.0.1)
38
+ cucumber (4.0.0)
39
+ builder (~> 3.2, >= 3.2.3)
40
+ cucumber-core (~> 7.0, >= 7.0.0)
41
+ cucumber-cucumber-expressions (~> 10.1, >= 10.1.0)
42
+ cucumber-gherkin (~> 13.0, >= 13.0.0)
43
+ cucumber-html-formatter (~> 6.0, >= 6.0.1)
44
+ cucumber-messages (~> 12.1, >= 12.1.1)
45
+ cucumber-wire (~> 3.0, >= 3.0.0)
46
+ diff-lcs (~> 1.3, >= 1.3)
47
+ multi_test (~> 0.1, >= 0.1.2)
48
+ sys-uname (~> 1.0, >= 1.0.2)
49
+ cucumber-core (7.0.0)
50
+ cucumber-gherkin (~> 13.0, >= 13.0.0)
51
+ cucumber-messages (~> 12.1, >= 12.1.1)
52
+ cucumber-tag-expressions (~> 2.0, >= 2.0.4)
53
+ cucumber-cucumber-expressions (10.3.0)
54
+ cucumber-gherkin (13.0.0)
55
+ cucumber-messages (~> 12.0, >= 12.0.0)
56
+ cucumber-html-formatter (6.0.3)
57
+ cucumber-messages (~> 12.1, >= 12.1.1)
58
+ cucumber-messages (12.4.0)
59
+ protobuf-cucumber (~> 3.10, >= 3.10.8)
60
+ cucumber-tag-expressions (2.0.4)
61
+ cucumber-wire (3.0.0)
62
+ cucumber-core (~> 7.0, >= 7.0.0)
63
+ cucumber-cucumber-expressions (~> 10.1, >= 10.1.0)
64
+ cucumber-messages (~> 12.1, >= 12.1.1)
47
65
  declarative (0.0.10)
48
66
  declarative-option (0.1.0)
49
67
  descendants_tracker (0.0.4)
@@ -56,16 +74,19 @@ GEM
56
74
  faraday_middleware (0.14.0)
57
75
  faraday (>= 0.7.4, < 1.0)
58
76
  ffi (1.12.2)
59
- gherkin (5.1.0)
60
77
  highline (2.0.3)
78
+ i18n (1.8.10)
79
+ concurrent-ruby (~> 1.0)
61
80
  ice_nine (0.11.2)
62
81
  launchy (2.4.3)
63
82
  addressable (~> 2.3)
64
83
  method_source (1.0.0)
84
+ middleware (0.1.0)
65
85
  mimemagic (0.3.9)
66
86
  nokogiri (~> 1)
67
87
  rake
68
88
  mini_portile2 (2.4.0)
89
+ minitest (5.14.4)
69
90
  multi_json (1.15.0)
70
91
  multi_test (0.1.2)
71
92
  multipart-post (2.1.1)
@@ -74,9 +95,17 @@ GEM
74
95
  parallel (1.19.2)
75
96
  parallel_tests (2.32.0)
76
97
  parallel
98
+ protobuf-cucumber (3.10.8)
99
+ activesupport (>= 3.2)
100
+ middleware
101
+ thor
102
+ thread_safe
77
103
  pry (0.13.1)
78
104
  coderay (~> 1.1)
79
105
  method_source (~> 1.0)
106
+ pry-byebug (3.9.0)
107
+ byebug (~> 11.0)
108
+ pry (~> 0.13.0)
80
109
  public_suffix (3.1.1)
81
110
  rake (12.3.3)
82
111
  representable (3.0.4)
@@ -96,6 +125,8 @@ GEM
96
125
  diff-lcs (>= 1.2.0, < 2.0)
97
126
  rspec-support (~> 3.10.0)
98
127
  rspec-support (3.10.0)
128
+ sys-uname (1.2.2)
129
+ ffi (~> 1.1)
99
130
  thor (1.0.1)
100
131
  thread_safe (0.3.6)
101
132
  tracker_api (1.11.0)
@@ -108,26 +139,30 @@ GEM
108
139
  multi_json
109
140
  representable
110
141
  virtus
142
+ tzinfo (2.0.4)
143
+ concurrent-ruby (~> 1.0)
111
144
  uber (0.1.0)
112
145
  virtus (1.0.5)
113
146
  axiom-types (~> 0.1)
114
147
  coercible (~> 1.0)
115
148
  descendants_tracker (~> 0.0, >= 0.0.3)
116
149
  equalizer (~> 0.0, >= 0.0.9)
150
+ zeitwerk (2.4.2)
117
151
 
118
152
  PLATFORMS
119
153
  ruby
120
154
 
121
155
  DEPENDENCIES
122
156
  aruba (< 1)
157
+ cucumber (~> 4)
123
158
  geordi!
124
159
  highline
125
160
  launchy
126
161
  parallel_tests
127
- pry
162
+ pry-byebug
128
163
  rake (< 13)
129
164
  rspec
130
165
  tracker_api
131
166
 
132
167
  BUNDLED WITH
133
- 1.17.3
168
+ 2.2.26
data/README.md CHANGED
@@ -342,9 +342,15 @@ servers. When passed a number, directly connects to the selected server.
342
342
  - `-s, [--select-server=[SERVER_NUMBER]]`: Select a server to connect to
343
343
 
344
344
 
345
- ### `geordi tests`
345
+ ### `geordi tests [FILES]`
346
346
  Run all employed tests.
347
347
 
348
+ When running `geordi tests` without any arguments, all unit tests, rspec specs
349
+ and cucumber features will be run.
350
+
351
+ When passing arguments, Geordi will forward them to either `rspec` or `cucumber`,
352
+ depending on what the first argument indicates.
353
+
348
354
 
349
355
  ### `geordi unit`
350
356
  Run Test::Unit.
data/geordi.gemspec CHANGED
@@ -5,25 +5,26 @@ require 'geordi/version'
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'geordi'
7
7
  spec.version = Geordi::VERSION
8
- spec.required_ruby_version = '>= 2.2.0'
8
+ spec.required_ruby_version = '>= 2.3.0'
9
9
  spec.authors = ['Henning Koch']
10
10
  spec.email = ['henning.koch@makandra.de']
11
11
 
12
12
  spec.summary = 'Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.'
13
- spec.description = 'Collection of command line tools we use in our daily work with Ruby, Rails and Linux at makandra.'
13
+ spec.description = spec.summary
14
14
  spec.homepage = 'https://makandra.com'
15
15
  spec.license = 'MIT'
16
16
 
17
17
  # Specify which files should be added to the gem when it is released.
18
18
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
19
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
20
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|features)/}) }
20
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
21
  end
22
22
  spec.bindir = 'exe'
23
23
  spec.executables = spec.files.grep(%r(^exe/)) { |f| File.basename(f) }
24
24
  spec.require_paths = ['lib']
25
25
 
26
26
  spec.add_runtime_dependency 'thor', '~> 1'
27
+ # Development dependencies are defined in the Gemfile (therefore no `spec.add_development_dependency` directives)
27
28
 
28
29
  spec.post_install_message = <<-ATTENTION
29
30
  Support for sequential running of integration tests tagged with @solo has been dropped.
@@ -11,7 +11,7 @@ module Geordi
11
11
 
12
12
  def user(server)
13
13
  cap2user = deploy_info[/^\s*set\s*:user,\s*['"](.*?)['"]/, 1]
14
- cap2user || deploy_info[/^\s*server\s*['"]#{server}['"],.*user.{1,4}['"](.*?)['"]/m, 1]
14
+ cap2user || deploy_info[/^\s*server\s*['"]#{server}['"],.*user.{1,4}['"](.*?)['"]/, 1]
15
15
  end
16
16
 
17
17
  def servers
@@ -42,14 +42,23 @@ module Geordi
42
42
  attr_accessor :deploy_info, :stage
43
43
 
44
44
  def load_deploy_info
45
+ lines = []
45
46
  self.deploy_info = ''
46
47
 
47
48
  if stage
48
- deploy_info << File.read(File.join(root, "config/deploy/#{stage}.rb"))
49
- deploy_info << "\n"
49
+ lines += File.readlines(File.join(root, "config/deploy/#{stage}.rb"))
50
50
  end
51
51
 
52
- deploy_info << File.read(File.join(root, 'config/deploy.rb'))
52
+ lines += File.readlines(File.join(root, 'config/deploy.rb'))
53
+
54
+ lines.each do |line|
55
+ next if line =~ /^\s*#/ # Omit comment lines
56
+ line.chomp! if line =~ /[\\,]\s*$/ # Join wrapped lines
57
+
58
+ deploy_info << line
59
+ end
60
+
61
+ deploy_info
53
62
  end
54
63
 
55
64
  def find_project_root!
@@ -57,11 +66,11 @@ module Geordi
57
66
 
58
67
  until File.exist?(File.join(current, 'Capfile'))
59
68
  if current == '/' || current == '/home' || !File.directory?(current)
60
- raise <<-ERROR
61
- Could not locate Capfile.
69
+ raise <<~ERROR
70
+ Could not locate Capfile.
62
71
 
63
- Are you calling me from within a Rails project?
64
- Maybe Capistrano is not installed in this project.
72
+ Are you calling me from within a Rails project?
73
+ Maybe Capistrano is not installed in this project.
65
74
  ERROR
66
75
  else
67
76
  current = File.dirname(current)
@@ -48,11 +48,11 @@ def deploy(target_stage = nil)
48
48
  target_stage ||= Interaction.prompt 'Deployment stage:', branch_stage_map.fetch(Util.current_branch, 'staging')
49
49
  if options.current_branch
50
50
  stage_file = "config/deploy/#{target_stage}.rb"
51
- Util.file_containing?(stage_file, 'DEPLOY_BRANCH') || Interaction.fail(<<-ERROR)
52
- To deploy from the current branch, configure #{stage_file} to respect the
53
- environment variable DEPLOY_BRANCH. Example:
51
+ Util.file_containing?(stage_file, 'DEPLOY_BRANCH') || Interaction.fail(<<~ERROR)
52
+ To deploy from the current branch, configure #{stage_file} to respect the
53
+ environment variable DEPLOY_BRANCH. Example:
54
54
 
55
- set :branch, ENV['DEPLOY_BRANCH'] || 'master'
55
+ set :branch, ENV['DEPLOY_BRANCH'] || 'master'
56
56
  ERROR
57
57
 
58
58
  source_branch = target_branch = Util.current_branch
@@ -1,14 +1,38 @@
1
- desc 'tests', 'Run all employed tests'
2
- def tests
3
- rake_result = invoke_geordi 'with_rake'
4
-
5
- # Since `rake` usually is configured to run all tests, only run them if `rake`
6
- # did not perform
7
- if rake_result == :did_not_perform
8
- invoke_geordi 'unit'
9
- invoke_geordi 'rspec'
10
- invoke_geordi 'cucumber'
11
- end
1
+ desc 'tests [FILES]', 'Run all employed tests'
2
+ long_desc <<-LONGDESC
3
+ When running `geordi tests` without any arguments, all unit tests, rspec specs
4
+ and cucumber features will be run.
5
+
6
+ When passing arguments, Geordi will forward them to either `rspec` or `cucumber`,
7
+ depending on what the first argument indicates.
8
+ LONGDESC
9
+
10
+ def tests(*args)
11
+ if args.any?
12
+ args, opts = Thor::Options.split(args)
13
+ error_message = "When passing arguments, the first argument must be either an RSpec or a Cucumber path."
14
+
15
+ if args.empty?
16
+ Interaction.fail error_message
17
+ elsif args.first.start_with? 'spec'
18
+ invoke 'rspec', args, opts
19
+ elsif args.first.start_with? 'features'
20
+ invoke 'cucumber', args, opts
21
+ else
22
+ Interaction.fail error_message
23
+ end
12
24
 
13
- Interaction.success 'Successfully ran tests.'
25
+ else
26
+ rake_result = invoke_geordi 'with_rake'
27
+
28
+ # Since `rake` usually is configured to run all tests, only run them if `rake`
29
+ # did not perform
30
+ if rake_result == :did_not_perform
31
+ invoke_geordi 'unit'
32
+ invoke_geordi 'rspec'
33
+ invoke_geordi 'cucumber'
34
+ end
35
+
36
+ Interaction.success 'Successfully ran tests.'
37
+ end
14
38
  end
@@ -30,15 +30,15 @@ module Geordi
30
30
  end
31
31
  all_dbs = list_all_dbs(dbtype)
32
32
  tmp = Tempfile.open("geordi_whitelist_#{dbtype}")
33
- tmp.write <<-HEREDOC
34
- # Put each whitelisted database on a new line.
35
- # System databases will never be deleted.
36
- # When you whitelist foo, foo_development and foo_test\\d* are whitelisted, too.
37
- # This works even if foo does not exist. Also, you will only see foo in this list.
38
- #
39
- # Syntax: keep foo
40
- # drop bar
41
- HEREDOC
33
+ tmp.write <<~HEREDOC
34
+ # Put each whitelisted database on a new line.
35
+ # System databases will never be deleted.
36
+ # When you whitelist foo, foo_development and foo_test\\d* are whitelisted, too.
37
+ # This works even if foo does not exist. Also, you will only see foo in this list.
38
+ #
39
+ # Syntax: keep foo
40
+ # drop bar
41
+ HEREDOC
42
42
  tmpfile_content = Array.new
43
43
  all_dbs.each do |db|
44
44
  next if is_whitelisted?(dbtype, db)
@@ -65,11 +65,11 @@ HEREDOC
65
65
  tmpfile_content.push(['keep', db_name]) unless db_name.empty?
66
66
  end
67
67
  if warn_manual_whitelist
68
- Interaction.warn <<-ERROR_MSG.gsub(/^\s*/, '')
69
- Your whitelist #{whitelist} seems to have been generated manually.
70
- In that case, make sure to use only one database name per line and omit the 'keep' prefix."
68
+ Interaction.warn <<~ERROR_MSG
69
+ Your whitelist #{whitelist} seems to have been generated manually.
70
+ In that case, make sure to use only one database name per line and omit the 'keep' prefix."
71
71
 
72
- Launching the editor.
72
+ Launching the editor.
73
73
  ERROR_MSG
74
74
  end
75
75
  tmpfile_content.sort_by! { |k| k[1] }
data/lib/geordi/docker.rb CHANGED
@@ -50,8 +50,8 @@ module Geordi
50
50
  end
51
51
 
52
52
  puts
53
- puts Util.strip_heredoc <<-TEXT
54
- Done. You can view the VNC window with `geordi docker vnc`.
53
+ puts <<~TEXT
54
+ Done. You can view the VNC window with `geordi docker vnc`.
55
55
  TEXT
56
56
 
57
57
  Interaction.success 'Happy cuking!'
data/lib/geordi/gitpt.rb CHANGED
@@ -16,8 +16,8 @@ module Geordi
16
16
  end
17
17
 
18
18
  def run_commit(git_args)
19
- Interaction.warn <<-WARNING unless Util.staged_changes?
20
- No staged changes. Will create an empty commit.
19
+ Interaction.warn <<~WARNING unless Util.staged_changes?
20
+ No staged changes. Will create an empty commit.
21
21
  WARNING
22
22
 
23
23
  story = choose_story
@@ -173,7 +173,7 @@ No staged changes. Will create an empty commit.
173
173
  stdout_str.strip.split(' ').map(&:chars).map(&:first).join.downcase
174
174
  end
175
175
 
176
- git_user_initials = Interaction.prompt 'Enter your initals:', git_user_initials
176
+ git_user_initials = Interaction.prompt 'Enter your initials:', git_user_initials
177
177
 
178
178
  if git_user_initials.nil?
179
179
  Interaction.fail('Could not determine the git user\'s initials.')
@@ -138,7 +138,7 @@ module Geordi
138
138
  project_ids = File.read('.pt_project_id')
139
139
  puts # Make sure to start on a new line (e.g. when invoked after a #print)
140
140
  Geordi::Interaction.warn "The usage of the .pt_project_id file is deprecated."
141
- Geordi::Interaction.note Util.strip_heredoc(<<-INSTRUCTIONS)
141
+ Geordi::Interaction.note(<<~INSTRUCTIONS)
142
142
  Please remove this file from your project and add or extend the .geordi.yml file with the following content:
143
143
  pivotal_tracker_project_ids: #{project_ids}
144
144
  INSTRUCTIONS
data/lib/geordi/util.rb CHANGED
@@ -182,12 +182,6 @@ module Geordi
182
182
  !!ENV['GEORDI_TESTING']
183
183
  end
184
184
 
185
- def strip_heredoc(string)
186
- leading_whitespace = (string.match(/\A( +)[^ ]+/) || [])[1]
187
- string.gsub! /^#{leading_whitespace}/, '' if leading_whitespace
188
- string
189
- end
190
-
191
185
  end
192
186
  end
193
187
  end
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '6.0.0'.freeze
2
+ VERSION = '7.0.1'.freeze
3
3
  end
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: 6.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-02 00:00:00.000000000 Z
11
+ date: 2021-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -102,7 +102,7 @@ metadata: {}
102
102
  post_install_message: 'Support for sequential running of integration tests tagged
103
103
  with @solo has been dropped.
104
104
 
105
- '
105
+ '
106
106
  rdoc_options: []
107
107
  require_paths:
108
108
  - lib
@@ -110,14 +110,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - ">="
112
112
  - !ruby/object:Gem::Version
113
- version: 2.2.0
113
+ version: 2.3.0
114
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ">="
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
- rubygems_version: 3.0.3
120
+ rubygems_version: 3.2.26
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Collection of command line tools we use in our daily work with Ruby, Rails