kender 0.6.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/rspec.feature +2 -2
- data/lib/kender/command.rb +1 -1
- data/lib/kender/commands/cypress_rails.rb +15 -0
- data/lib/kender/commands/factorygirl_lint.rb +1 -1
- data/lib/kender/version.rb +1 -1
- metadata +10 -10
- data/lib/kender/commands/rdlint.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18a2176d69c48feddc93b6232355f80eba3fead73e39aa97b4d2f90d5ceae8fa
|
4
|
+
data.tar.gz: bee22ea64f530c98ee17097ef90ceeb1d3d8d8fc2e2c70a231b29544660f046e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 910ae394fdd390f421e0e0b6d5f15cfb74c211c423fc07db30b48ce8e63ebcd759af3a6ffab2114e77521828304c34f23492f7e6a52f749309fbff848358fda9
|
7
|
+
data.tar.gz: 63e8706ebb64bdcdf66ae3caafbd742d4a7ecd5a5e3c30cf22190291bbcf9ad6d755ca5b31e2173a4bd5ad918294f41064269f5083d1f769c13bc9b3b3e15e44
|
data/features/rspec.feature
CHANGED
@@ -6,7 +6,7 @@ Feature: Rspec
|
|
6
6
|
Given a file named "Gemfile" with:
|
7
7
|
"""
|
8
8
|
source 'https://rubygems.org'
|
9
|
-
gem 'rspec', '~>
|
9
|
+
gem 'rspec', '~> 3.0'
|
10
10
|
gem 'kender', path: '../../' # needed to use the latest code
|
11
11
|
gem 'dice_bag', '~> 1.0'
|
12
12
|
"""
|
@@ -33,7 +33,7 @@ Feature: Rspec
|
|
33
33
|
"""
|
34
34
|
1 example, 0 failures
|
35
35
|
"""
|
36
|
-
|
36
|
+
|
37
37
|
Scenario: A project with failing specs should fail when running the ci:run task
|
38
38
|
Given a file named "spec/testing_spec.rb" with:
|
39
39
|
"""
|
data/lib/kender/command.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kender
|
2
|
+
class CypressRails < Command
|
3
|
+
|
4
|
+
# Kender might be in some projects which use cypress-rails but
|
5
|
+
# do not have this rake task.
|
6
|
+
def available?
|
7
|
+
in_gemfile?('cypress-rails') && Rake::Task.task_defined?('cypress_extended:enhanced_run')
|
8
|
+
end
|
9
|
+
|
10
|
+
def command
|
11
|
+
'bundle exec rake cypress_extended:enhanced_run'
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
data/lib/kender/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Smith
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2022-
|
14
|
+
date: 2022-12-30 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -53,14 +53,14 @@ dependencies:
|
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
56
|
+
version: '2.0'
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
63
|
+
version: '2.0'
|
64
64
|
- !ruby/object:Gem::Dependency
|
65
65
|
name: rake
|
66
66
|
requirement: !ruby/object:Gem::Requirement
|
@@ -97,11 +97,11 @@ files:
|
|
97
97
|
- lib/kender/commands/bundle_audit.rb
|
98
98
|
- lib/kender/commands/consistency_fail.rb
|
99
99
|
- lib/kender/commands/cucumber.rb
|
100
|
+
- lib/kender/commands/cypress_rails.rb
|
100
101
|
- lib/kender/commands/factorygirl_lint.rb
|
101
102
|
- lib/kender/commands/i18n_tasks.rb
|
102
103
|
- lib/kender/commands/jasmine.rb
|
103
104
|
- lib/kender/commands/pb_duplicates.rb
|
104
|
-
- lib/kender/commands/rdlint.rb
|
105
105
|
- lib/kender/commands/reek.rb
|
106
106
|
- lib/kender/commands/rspec.rb
|
107
107
|
- lib/kender/commands/shamus.rb
|
@@ -123,20 +123,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements:
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version:
|
126
|
+
version: 2.7.0
|
127
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
rubygems_version: 3.
|
133
|
+
rubygems_version: 3.1.6
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Rake tasks for continuous integration (CI).
|
137
137
|
test_files:
|
138
|
-
- features/rspec.feature
|
139
|
-
- features/support/hooks.rb
|
140
138
|
- features/support/env.rb
|
141
|
-
- features/
|
139
|
+
- features/support/hooks.rb
|
142
140
|
- features/scenarios.feature
|
141
|
+
- features/rspec.feature
|
142
|
+
- features/install.feature
|