geordi 9.4.1 → 9.5.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: acfbd833f5f9da8e6b157b99109fdb1568d496678446b80d23f972e997601fb6
4
- data.tar.gz: 4baee0e83ea956375deb9a379ae620e2c27482045e5f1a0b75f2fcc16017de57
3
+ metadata.gz: ed94a4f4c3730adc498969884b6019bc690f7348404d87681741a368fad3d9d4
4
+ data.tar.gz: 71be7102e51bde905e8ce266e024642ddce03007cada78eaff3f56bb1a604391
5
5
  SHA512:
6
- metadata.gz: 0b98db037dd7d2b647236996c529102e486c30abb7b5037b138db6048ad366a6dfb39d367df8354f3a2a51441eb59382ff908d777bca04a6320efb6ea1fc1562
7
- data.tar.gz: 4fd187318f0439a29e1ecf59de2bfebabc3de278b02a82a9b1587e493b11a6d2a24e74f25d702108b3b45b1fd252ad4c1360e66e1399ec034db3684cfce826a6
6
+ metadata.gz: 829799256546ace81d2e17cb6dcb194aafcb4060cdcb65b337a0d4811967a616fcced13e93337291bde7aa052b6d8b7e08cf07e2984e23a5dd1aa80843014030
7
+ data.tar.gz: a88924470f394329db5f1cff666e2df6b3b2004eba892a9623c741aaa1de7e28dc705953c14cd88a83da5893aadd1f68e0152d11cd695c298690b78a77f42143
data/CHANGELOG.md CHANGED
@@ -10,11 +10,18 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
10
10
  ### Breaking changes
11
11
 
12
12
 
13
- ## 9.4.1 2023-01-09
13
+ # 9.5.0 2023-03-22
14
14
 
15
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
+
16
20
 
17
- - Ruby 3.2 support
21
+ ## 9.4.1 2023-01-09
22
+
23
+ ### Compatible changes
24
+ * Ruby 3.2 support
18
25
 
19
26
 
20
27
  ## 9.4.0 2022-12-09
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- geordi (9.4.1)
4
+ geordi (9.5.0)
5
5
  thor (~> 1)
6
6
 
7
7
  GEM
@@ -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)}.vcap.me:#{port}"
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(message, *git_args)
131
+ def create_commit(title, description, *git_args)
132
132
  extra = highline.ask("\nAdd an optional message").strip
133
- message << ' - ' << extra if extra != ''
133
+ title << ' - ' << extra if extra != ''
134
134
 
135
- Util.run!(['git', 'commit', '--allow-empty', '-m', message, *git_args])
135
+ Util.run!(['git', 'commit', '--allow-empty', '-m', title, '-m', description, *git_args])
136
136
  end
137
137
 
138
138
  def bold(string)
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '9.4.1'.freeze
2
+ VERSION = '9.5.0'.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: 9.4.1
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: 2023-01-09 00:00:00.000000000 Z
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.3.9
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