chutney 3.8.0 → 3.8.2

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: 0e46a3bdaaed4652c5e7aa856c15b40995602a17f5b0c0d5ff1258e4a59c6842
4
- data.tar.gz: f47caf4ee93c1e74499a6f1291de4e95643f7beab1f8ec9cee555d2bd7298f17
3
+ metadata.gz: 7d591126bb019a5a5805ea5ee0678e19e848e3c6dd6f36baf48ea398f5bd2832
4
+ data.tar.gz: 4d2579c84397ff586ca987f5824432958deffdcaa08a429eccaff8c8ab29ec51
5
5
  SHA512:
6
- metadata.gz: 7a75ae98a45dc49284d3b4acd395bb887e6726aefe23c585aae3181e4d014ea23682f29427a7d87d00db6f964db26a89c8ce4554838899b6f721d6bbc90c5262
7
- data.tar.gz: a97f98ccbb8254dd8940144ae24cea907e70df9c60b8582b0b76365217d620fcd78f23d908a59543d4ad1851f91cc1df07ec44bab8cc07b3452b17456b84d364
6
+ metadata.gz: f71bbc66a6a5c9d81b240d08e4bc6817a0c9b98ec9a8c80f31f71a4a0104239e4b674f303453761bcab8c4785fc6bd12ba8c15e64963e466f8dea3b7bea0a635
7
+ data.tar.gz: c6a8ae299506b6f1519275f2aa9f5e962c6191958265e154e51e98625aa8825f0869cc4e580cef7340708dd15416241aa81f2eff94423022dae2ce9ecf9e85f9
data/chutney.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  'files. ' \
23
23
  'It supports any spoken language Cucumber supports.'
24
24
 
25
- spec.homepage = 'https://billyruffian.github.io/chutney/'
25
+ spec.homepage = 'https://www.usechutney.com/'
26
26
  spec.license = 'MIT'
27
27
 
28
28
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
data/docs/index.md CHANGED
@@ -5,6 +5,9 @@ nav_order: 1
5
5
  permalink: /
6
6
  ---
7
7
 
8
+ # These docs are deprecated
9
+ ## Please visit [usechutney.com](https://www.usechutney.com/) for the latest documentation
10
+
8
11
  # Best practice for Cucumber
9
12
  {: .fs-9 }
10
13
 
data/exe/chutney-lsp CHANGED
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'language_server-protocol'
5
5
  require 'logger'
6
+ require 'optparse'
6
7
  require 'uri'
7
8
 
8
9
  require 'chutney'
@@ -10,4 +11,13 @@ require 'chutney/lsp'
10
11
  require 'chutney/lsp/result'
11
12
  require 'chutney/lsp/server'
12
13
 
14
+ OptionParser.new do |opts|
15
+ opts.banner = 'Usage: chutney-lsp'
16
+
17
+ opts.on('-v', '--version', 'Display the version.') do
18
+ puts Chutney::VERSION
19
+ exit
20
+ end
21
+ end.parse!
22
+
13
23
  Chutney::LSP::Server.new.start
@@ -8,7 +8,7 @@ module Chutney
8
8
  def lint
9
9
  filled_scenarios do |feature, scenario|
10
10
  characters = scenario.steps.map { |step| step.text.length }.inject(0, :+)
11
- next if characters < 400
11
+ next if characters <= 400
12
12
 
13
13
  add_issue(
14
14
  I18n.t('linters.too_clumsy', length: characters), feature, scenario
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Chutney
4
- VERSION = '3.8.0'
4
+ VERSION = '3.8.2'
5
5
  end
@@ -142,9 +142,9 @@ author:
142
142
  # - label: "Email"
143
143
  # icon: "fas fa-fw fa-envelope-square"
144
144
  # # url: "mailto:your.name@email.com"
145
- # - label: "Website"
146
- # icon: "fas fa-fw fa-link"
147
- # # url: "https://your-website.com"
145
+ - label: "Website"
146
+ icon: "fas fa-fw fa-link"
147
+ url: "https://www.billy-ruffian.co.uk"
148
148
  # - label: "Twitter"
149
149
  # icon: "fab fa-fw fa-twitter-square"
150
150
  # # url: "https://twitter.com/"
@@ -159,17 +159,18 @@ author:
159
159
  # url: "https://instagram.com/"
160
160
 
161
161
  # Site Footer
162
- # footer:
163
- # links:
164
- # - label: "Twitter"
165
- # icon: "fab fa-fw fa-twitter-square"
166
- # # url:
167
- # - label: "Facebook"
168
- # icon: "fab fa-fw fa-facebook-square"
169
- # # url:
170
- # - label: "GitHub"
171
- # icon: "fab fa-fw fa-github"
172
- # # url:
162
+ footer:
163
+ links:
164
+ # - label: "Twitter"
165
+ # icon: "fab fa-fw fa-twitter-square"
166
+ # # url:
167
+ # - label: "Facebook"
168
+ # icon: "fab fa-fw fa-facebook-square"
169
+ # # url:
170
+
171
+ - label: "GitHub"
172
+ icon: "fab fa-fw fa-github"
173
+ url: https://github.com/BillyRuffian/chutney
173
174
  # - label: "GitLab"
174
175
  # icon: "fab fa-fw fa-gitlab"
175
176
  # # url:
@@ -216,7 +217,7 @@ paginate_path: /page:num/
216
217
  # for configuration details
217
218
  pagination:
218
219
  # Set enabled to true to use paginate v2
219
- enabled: true
220
+ enabled: false
220
221
  debug: false
221
222
  collection: "posts"
222
223
  per_page: 10
@@ -21,4 +21,8 @@ It will listen for open / close and save events to evaluate the current feature
21
21
 
22
22
  ## Editor integrations
23
23
 
24
- TBD.
24
+ ### VS Code
25
+
26
+ [vscode-chutney](https://github.com/BillyRuffian/vscode-chutney) adds Chutney LSP integration into VS Code,
27
+
28
+ You can install this extension from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=NigelBrookes-Thomas.vscode-chutney).
@@ -12,3 +12,11 @@ It is much beloved by me. Although it's a personal project, it's used extensivel
12
12
  Chutney is licenced under the [MIT licence](https://raw.githubusercontent.com/BillyRuffian/chutney/refs/heads/master/LICENSE.txt). Do with it what you will and have fun.
13
13
 
14
14
  A huge hat tip to Eric Kessler for his work on [cuke_modeler](https://github.com/enkessler/cuke_modeler) which is used to parse the Gherkin files (he also publishes the gherkin linter [cuke_linter](https://github.com/enkessler/cuke_linter) if chutney does not fit your needs).
15
+
16
+ ### What's the Billy Ruffian thing?
17
+
18
+ HMS Bellerophon was a 74-gun third-rate ship of the line of the Royal Navy. Launched in 1786, she served during the French Revolutionary and Napoleonic Wars, mostly on blockades or convoy escort duties. She fought in three fleet actions: the Glorious First of June, the Battle of the Nile and the Battle of Trafalgar. She became famous as the ship upon which Napoleon surrendered and which transported him into exile in 1815.
19
+
20
+ Her sailors, not being educated in the Classics, struggled to pronounce her name and so she became known as the Billy Ruffian and her crew as the "Billy Ruffians". The name stuck and was used as a nickname for the ship for the rest of her career.
21
+
22
+ Since no one in coffee shops can spell my name, I adopted 'Billy' which turned into 'Billy Ruffian'. It's also a bloody good story.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chutney
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.8.0
4
+ version: 3.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Brookes-Thomas
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2024-09-24 00:00:00.000000000 Z
14
+ date: 2024-10-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: amatch
@@ -255,11 +255,11 @@ files:
255
255
  - usechutney.com/pages/404.html
256
256
  - usechutney.com/pages/about/index.md
257
257
  - usechutney.com/pages/index.markdown
258
- homepage: https://billyruffian.github.io/chutney/
258
+ homepage: https://www.usechutney.com/
259
259
  licenses:
260
260
  - MIT
261
261
  metadata:
262
- homepage_uri: https://billyruffian.github.io/chutney/
262
+ homepage_uri: https://www.usechutney.com/
263
263
  source_code_uri: https://github.com/BillyRuffian/chutney
264
264
  changelog_uri: https://github.com/BillyRuffian/chutney/releases
265
265
  post_install_message:
@@ -277,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
277
277
  - !ruby/object:Gem::Version
278
278
  version: '0'
279
279
  requirements: []
280
- rubygems_version: 3.5.19
280
+ rubygems_version: 3.5.11
281
281
  signing_key:
282
282
  specification_version: 4
283
283
  summary: A linter for multi-lingual Gherkin