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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec3d8fbca30fbb5a95f44d8a3ca031428b9370cfb9fee30281d8227af1a63d59
4
- data.tar.gz: 6be9094d370dea4781f4fccfb8b62bdc0f74a4a75d32f4f28d66568597acc470
3
+ metadata.gz: 18a2176d69c48feddc93b6232355f80eba3fead73e39aa97b4d2f90d5ceae8fa
4
+ data.tar.gz: bee22ea64f530c98ee17097ef90ceeb1d3d8d8fc2e2c70a231b29544660f046e
5
5
  SHA512:
6
- metadata.gz: d8de5beffee352b80dbe89f861f3929d0a139556c4f8cecb278d490b7dbf94fcfae1f115729ce86a41414e220e5b216891bfa43b30e1d17c7db7914da1c49663
7
- data.tar.gz: 2a924b56f3b53c47fffb73d6bb17a9368182710c7a6ed7786fd714562e78cb89341899873bf05811b0ea94073559758aba417d053cf99f161978c866558b2f3f
6
+ metadata.gz: 910ae394fdd390f421e0e0b6d5f15cfb74c211c423fc07db30b48ce8e63ebcd759af3a6ffab2114e77521828304c34f23492f7e6a52f749309fbff848358fda9
7
+ data.tar.gz: 63e8706ebb64bdcdf66ae3caafbd742d4a7ecd5a5e3c30cf22190291bbcf9ad6d755ca5b31e2173a4bd5ad918294f41064269f5083d1f769c13bc9b3b3e15e44
@@ -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', '~> 2.14'
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
  """
@@ -76,4 +76,4 @@ require_relative 'commands/cucumber'
76
76
  require_relative 'commands/reek'
77
77
  require_relative 'commands/i18n_tasks'
78
78
  require_relative 'commands/pb_duplicates'
79
- require_relative 'commands/rdlint'
79
+ require_relative 'commands/cypress_rails'
@@ -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
@@ -2,7 +2,7 @@ module Kender
2
2
  class FactoryGirlLint < Command
3
3
 
4
4
  def available?
5
- File.exists?(File.join(Dir.pwd, 'lib', 'tasks', 'factory_girl_lint.rake'))
5
+ File.exist?(File.join(Dir.pwd, 'lib', 'tasks', 'factory_girl_lint.rake'))
6
6
  end
7
7
 
8
8
  def command
@@ -1,3 +1,3 @@
1
1
  module Kender
2
- VERSION = '0.6.2'.freeze
2
+ VERSION = '0.8.0'.freeze
3
3
  end
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.6.2
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-01-13 00:00:00.000000000 Z
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: '1.0'
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: '1.0'
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: '0'
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.0.6
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/install.feature
139
+ - features/support/hooks.rb
142
140
  - features/scenarios.feature
141
+ - features/rspec.feature
142
+ - features/install.feature
@@ -1,13 +0,0 @@
1
- module Kender
2
- class Rdlint < Command
3
-
4
- def available?
5
- in_gemfile?('crichton') && Dir.exists?(File.join(Dir.pwd, 'api_descriptors'))
6
- end
7
-
8
- def command
9
- 'bundle exec rdlint -as'
10
- end
11
-
12
- end
13
- end