geordi 3.0.1 → 3.0.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: 6526d69319548d39cfe259c4c62788ae997bffec2d305f5bd8ee63bef9a5e12e
4
- data.tar.gz: e19060563af6fad488e1521aa3574c36499ff74dfca2e782283a35ca34f7301f
3
+ metadata.gz: d986326069739e97e8b46b2ce91a663b6093e9a664c178f531db389604e1541d
4
+ data.tar.gz: 1e859ace1b375e7991f4bae8ef4bb7119b8225dfe4c37a945ec6e745c3a5911b
5
5
  SHA512:
6
- metadata.gz: 429dc10291a955e101c6ba802475d2daef6a05eaad3c5e6737853194bc4565797d86820c2b20bc97ad387b5eeebeb4bfdec4651c99f12bc325c75a9ed6eece54
7
- data.tar.gz: 2196c5fb48bbc1365fbf2731441d0fac73a57944414a99a97b61f4cbff6c95ab551346ebb418c844f89ea21c96182e66110d9b842405ceaf6e1119c8c10e928a
6
+ metadata.gz: 0c6fd3c2e616e309751be4e32fbc34680add641a3b9b87e843a28da0514f0b64d19ada3928f1f14426ddf12ed9dec12c702cf8e1d345346b7e5e763f959e65b9
7
+ data.tar.gz: a3f45c1931254a0a61fd06dbdaad148cad1fa6627518e1209797a41c6c55816ef0a9cefee6a95444dec2f819960298bac0e4ccfcb132fc3011b4ee43429e8e05
data/CHANGELOG.md CHANGED
@@ -11,6 +11,15 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
11
11
  ### Breaking changes
12
12
 
13
13
 
14
+ ## 3.0.2 2020-05-18
15
+
16
+ ### Compatible changes
17
+
18
+ - Fix #95: Method change from `! *.include?` to `*.exclude?` was not valid as we do not have active support in Geordi. Affected commands where `geordi cucumber` and `geordi deploy`.
19
+
20
+ ### Breaking changes
21
+
22
+
14
23
  ## 3.0.1 2020-05-13
15
24
 
16
25
  ### Compatible changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- geordi (3.0.1)
4
+ geordi (3.0.2)
5
5
  thor (~> 1)
6
6
 
7
7
  GEM
@@ -34,7 +34,7 @@ def cucumber(*args)
34
34
  if options.modified?
35
35
  modified_features = `git status --short`.split($INPUT_RECORD_SEPARATOR).map do |line|
36
36
  indicators = line.slice!(0..2) # Remove leading indicators
37
- line if line.include?('.feature') && indicators.exclude?('D')
37
+ line if line.include?('.feature') && !indicators.include?('D')
38
38
  end.compact
39
39
  args = modified_features
40
40
  end
@@ -38,7 +38,7 @@ option :current_branch, aliases: '-c', type: :boolean,
38
38
  def deploy(target_stage = nil)
39
39
  # Set/Infer default values
40
40
  branch_stage_map = { 'master' => 'staging', 'production' => 'production' }
41
- if target_stage && (Util.deploy_targets.exclude? target_stage)
41
+ if target_stage && !Util.deploy_targets.include?(target_stage)
42
42
  # Target stage autocompletion from available stages
43
43
  target_stage = Util.deploy_targets.find { |t| t.start_with? target_stage }
44
44
  target_stage || Interaction.warn('Given deployment stage not found')
@@ -1,3 +1,3 @@
1
1
  module Geordi
2
- VERSION = '3.0.1'.freeze
2
+ VERSION = '3.0.2'.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: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-13 00:00:00.000000000 Z
11
+ date: 2020-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor