geordi 2.7.0 → 2.8.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 +7 -2
- data/Gemfile +5 -2
- data/Gemfile.lock +7 -1
- data/Rakefile +5 -1
- data/features/commit.feature +1 -1
- data/features/firefox.feature +0 -14
- data/features/support/env.rb +4 -1
- data/lib/geordi/util.rb +10 -1
- data/lib/geordi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d495c07776a3b37bbc4a8a631fefc1faef059e39622bbb7d23ea7ae80e422a5d
|
4
|
+
data.tar.gz: 59e32fcc08b223576f916b32e39f11444474d3815add10cb8df8ea290b4beb49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8090e437315b256f12e64dfff74b52d96734417af94d46dd5303aa74a41d2bf45b47d7abbb9d483f7f8794052e6bebaed336a0320c242b9a1c4eecfdde4cf69
|
7
|
+
data.tar.gz: bb359062fd81a8129bd48b3548bb4db513e6211bc1740003082e759d6cc5a3ba10abbf0db4e2d9a515c181b9b15b15950eafe9d733104a00e1f0789c20400750
|
data/CHANGELOG.md
CHANGED
@@ -9,7 +9,13 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
9
9
|
### Breaking changes
|
10
10
|
|
11
11
|
|
12
|
-
##
|
12
|
+
## 2.8.0 2020-01-02
|
13
|
+
|
14
|
+
### Compatible changes
|
15
|
+
- Fixed [#77](https://github.com/makandra/geordi/issues/77): Remove deprecation warning for "Bundler.clean_system"
|
16
|
+
|
17
|
+
|
18
|
+
## 2.7.0 2019-11-25
|
13
19
|
|
14
20
|
### Compatible changes
|
15
21
|
- Fixed [#68](https://github.com/makandra/geordi/issues/68): The "cucumber" command now fails early when @solo features fail.
|
@@ -22,7 +28,6 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
22
28
|
## 2.6.0 2019-11-04
|
23
29
|
|
24
30
|
### Compatible changes
|
25
|
-
|
26
31
|
- Added [#73](https://github.com/makandra/geordi/issues/73): New command `chromdriver-update` allows you to update your
|
27
32
|
chromedriver to the newest matching version.
|
28
33
|
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
geordi (2.
|
4
|
+
geordi (2.8.0)
|
5
5
|
thor (>= 0.18.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -19,6 +19,7 @@ GEM
|
|
19
19
|
builder (3.2.3)
|
20
20
|
childprocess (1.0.1)
|
21
21
|
rake (< 13.0)
|
22
|
+
coderay (1.1.2)
|
22
23
|
coercible (1.0.0)
|
23
24
|
descendants_tracker (~> 0.0.1)
|
24
25
|
cucumber (1.3.20)
|
@@ -44,6 +45,7 @@ GEM
|
|
44
45
|
ice_nine (0.11.2)
|
45
46
|
launchy (2.4.3)
|
46
47
|
addressable (~> 2.3)
|
48
|
+
method_source (0.9.2)
|
47
49
|
mimemagic (0.3.3)
|
48
50
|
multi_json (1.13.1)
|
49
51
|
multi_test (0.1.2)
|
@@ -51,6 +53,9 @@ GEM
|
|
51
53
|
parallel (0.5.16)
|
52
54
|
parallel_tests (0.6.18)
|
53
55
|
parallel
|
56
|
+
pry (0.12.2)
|
57
|
+
coderay (~> 1.1.0)
|
58
|
+
method_source (~> 0.9.0)
|
54
59
|
rake (10.5.0)
|
55
60
|
representable (3.0.4)
|
56
61
|
declarative (< 0.1.0)
|
@@ -91,6 +96,7 @@ DEPENDENCIES
|
|
91
96
|
highline
|
92
97
|
launchy
|
93
98
|
parallel_tests
|
99
|
+
pry
|
94
100
|
rspec-mocks
|
95
101
|
tracker_api
|
96
102
|
|
data/Rakefile
CHANGED
@@ -5,7 +5,11 @@ desc 'Default: Run all tests'
|
|
5
5
|
task :default => :features
|
6
6
|
|
7
7
|
task :features do
|
8
|
-
|
8
|
+
if Gem::Version.new(RUBY_VERSION) > Gem::Version.new('1.8.7')
|
9
|
+
system 'bundle exec cucumber'
|
10
|
+
else
|
11
|
+
system 'bundle exec cucumber --tags "~@ruby>=1.9"'
|
12
|
+
end
|
9
13
|
end
|
10
14
|
|
11
15
|
task :readme do
|
data/features/commit.feature
CHANGED
data/features/firefox.feature
CHANGED
@@ -18,20 +18,6 @@ Feature: The firefox/chrome command
|
|
18
18
|
Then the output should contain "> Run `geordi vnc` to view the Selenium test browsers"
|
19
19
|
And the output should contain "testcontent"
|
20
20
|
|
21
|
-
|
22
|
-
# Could not get this to work
|
23
|
-
# Scenario: Running a command with VNC and Firefox set up
|
24
|
-
# Given a mocked home directory
|
25
|
-
# Given a file named ".firefox-version" with "1337"
|
26
|
-
# And a file named "bin/firefoxes/1337/firefox" with "<fake>"
|
27
|
-
# And a file named "testfile" with "testcontent"
|
28
|
-
#
|
29
|
-
# When I run `geordi firefox cat testfile`
|
30
|
-
# Then the output should contain "> VNC is ready"
|
31
|
-
# And the output should contain "> Firefox for Selenium set up"
|
32
|
-
# And the output should contain "testcontent"
|
33
|
-
|
34
|
-
|
35
21
|
Scenario: Having a .firefox-version that is not installed yet
|
36
22
|
Given a file named ".firefox-version" with "1337"
|
37
23
|
And a file named "testfile" with "testcontent"
|
data/features/support/env.rb
CHANGED
data/lib/geordi/util.rb
CHANGED
@@ -49,7 +49,16 @@ module Geordi
|
|
49
49
|
puts "Util.system! #{ commands.join ', ' }"
|
50
50
|
else
|
51
51
|
# Remove Geordi's Bundler environment when running commands.
|
52
|
-
success = defined?(Bundler)
|
52
|
+
success = if !defined?(Bundler)
|
53
|
+
system(*commands)
|
54
|
+
elsif Gem::Version.new(Bundler::VERSION) >= Gem::Version.new('2.1.2')
|
55
|
+
Bundler.with_unbundled_env do
|
56
|
+
system(*commands)
|
57
|
+
end
|
58
|
+
else
|
59
|
+
Bundler.clean_system(*commands)
|
60
|
+
end
|
61
|
+
|
53
62
|
success or fail(options[:fail_message] || 'Something went wrong.')
|
54
63
|
end
|
55
64
|
end
|
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: 2.
|
4
|
+
version: 2.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henning Koch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|