howitzer 2.6.0 → 2.6.1

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: 3b59a8a3bed744aeb4c97b117d141bbec762d24d398b97fe6ddfa4f955838360
4
- data.tar.gz: 20b21155002eb01cb5e680b610b57f1d64d6b68ede1a683e32b74165d5d3c00e
3
+ metadata.gz: e852d31ef96f01da8783feb0688f34901f36958feb9502a4acaf039b0222a784
4
+ data.tar.gz: db26af1725f61c09a8eada615759f7faf328eb31842f1037fe8c3c420b3a5f0a
5
5
  SHA512:
6
- metadata.gz: 16a09f131e9b6f9ec714e654f1ee6796a8ffd4779f75fd3d8c13e7b42ad6267abbd9f1e258e5ae8552f6cf59d1a3aa4914345734bcd4738e305e5e62561da2b1
7
- data.tar.gz: 4bad2e4917e4e19bb0eae5da2c699af26e70adbc558c52b21da9f12781d0c714f23e0d7ea02c8bbf6dc03df44402b488bd87ead92adbeb2d93a06be43e334d69
6
+ metadata.gz: f186c042c5e2e408b447efab984d7ee29c02da4f3914ae6fc8c78fd7e0c9a07a4cbbfd4e82d09b498b66dc77bcebdde0b33413d1321bc03a45ca276184308e39
7
+ data.tar.gz: 87cf762790229be3a790c03958d2bd1320b91a7b4383b183ada710b85f56f77ff222fda0d4fbe629331a850a31e0f9565688beab1462406a4d460bd1d27855a4
data/CHANGELOG.md CHANGED
@@ -1,9 +1,3 @@
1
- ## [In git](https://github.com/strongqa/howitzer/compare/v2.3.0...master)
2
-
3
- ### New Features
4
-
5
- ### Bug-fixes
6
-
7
1
  ## [2.6.0](https://github.com/strongqa/howitzer/compare/v2.5.0...v2.6.0) (2023-01-16)
8
2
 
9
3
 
@@ -18,6 +12,15 @@
18
12
  * Handle section options ([#324](https://github.com/strongqa/howitzer/issues/324)) ([b976e5b](https://github.com/strongqa/howitzer/commit/b976e5b83800fa1c0671857daba796dd8a1048f4))
19
13
  * Section method typo ([#318](https://github.com/strongqa/howitzer/issues/318)) ([984deeb](https://github.com/strongqa/howitzer/commit/984deebe817d27278b93517b3f0e1338af25128a))
20
14
 
15
+ ## [2.6.1](https://github.com/strongqa/howitzer/compare/v2.6.0...v2.6.1) (2023-02-24)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add missing hidden files to gem ([#335](https://github.com/strongqa/howitzer/issues/335)) ([60d0559](https://github.com/strongqa/howitzer/commit/60d0559df9e639d72eaf3428979e2fd4de04137b))
21
+ * changed Target ruby version ([#329](https://github.com/strongqa/howitzer/issues/329)) ([911d4a7](https://github.com/strongqa/howitzer/commit/911d4a7ce7690d0d1edd2e14ae34ae0a8d5d23a7))
22
+ * dev dependecies moved to Gemfile ([#333](https://github.com/strongqa/howitzer/issues/333)) ([ed289de](https://github.com/strongqa/howitzer/commit/ed289deada87bf18d80a5104e7b3cb774499c90f))
23
+
21
24
  ## [2.5.0](https://github.com/strongqa/howitzer/compare/v2.4.0...v2.5.0) (2022-08-16)
22
25
 
23
26
 
data/MAINTENANCE.md ADDED
@@ -0,0 +1,31 @@
1
+ # Howitzer Maintenance
2
+
3
+ This guide provides detailed instructions how to release a new Howitzer version
4
+
5
+ To release a new Howitzer version:
6
+
7
+ * Make sure all pull requests have been merged to master branch
8
+ * Make sure last build is passed in [TravisCI](https://app.travis-ci.com/github/strongqa/howitzer)
9
+ * Make sure the code is covered 100% in [Codecov](https://codecov.io/gh/strongqa/howitzer/branch/master)
10
+ * Make sure the code is documented 100% with following command:
11
+ ```
12
+ rake yard
13
+ ```
14
+ * [Upgrade](https://github.com/strongqa/howitzer/wiki/Migration-to-new-version) Howitzer examples [Cucumber](https://github.com/strongqa/howitzer_example_cucumber), [Rspec](https://github.com/strongqa/howitzer_example_rspec) and [Turnip](https://github.com/strongqa/howitzer_example_turnip) to last version of code from master and make sure all builds are green
15
+ * Bump [version](lib/howitzer/version.rb). Please note howitzer uses [semantic versioning](https://semver.org/)
16
+ * Verify and actualize [ChangeLog](CHANGELOG.md)
17
+ * Commit all changes and push to origin master
18
+ * Specify credentials for Rubygems.org (once only) with following commands:
19
+ ```bash
20
+ curl https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials
21
+ chmod 0600 ~/.gem/credentials
22
+ ```
23
+ * Release Gem with following command:
24
+ ```bash
25
+ rake release
26
+ ```
27
+ * Verify successful release on [Rubygems](https://rubygems.org/gems/howitzer)
28
+ * Force API documentation indexing for the new version on [Rubygems](https://rubygems.org/gems/howitzer)
29
+ * Update new link to documentation on [web site](https://github.com/romikoops/howitzer-framework.io/tree/gh-pages) Note: The web site will be updated automatically after pushing code to Github
30
+ * Update [Howitzer Guides](https://github.com/strongqa/docs.howitzer-framework.io/blob/gh-pages/README.md) regarding new changes
31
+ * Notify Community (Gitter, Twitter, Google Group) about the new release
data/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  <p align="center">
12
12
  <a href="https://gitter.im/strongqa/howitzer"><img src="https://badges.gitter.im/Join%20Chat.svg" /></a>
13
13
  <a href="https://rubygems.org/gems/howitzer"><img src="https://img.shields.io/gem/v/howitzer.svg" /></a>
14
- <a href="https://app.travis-ci.com/github/strongqa/howitzer"><img src="https://app.travis-ci.com/strongqa/howitzer.svg?branch=master" /></a>
14
+ <a href="https://github.com/strongqa/howitzer/actions/workflows/ci.yml"><img src="https://github.com/strongqa/howitzer/actions/workflows/ci.yml/badge.svg" /></a>
15
15
  <a href="https://codeclimate.com/github/strongqa/howitzer"><img src="https://codeclimate.com/github/strongqa/howitzer.png" /></a>
16
16
  <a href="https://codecov.io/gh/strongqa/howitzer">
17
17
  <img src="https://codecov.io/gh/strongqa/howitzer/branch/master/graph/badge.svg?token=vB8DYQtmjA"/>
data/Rakefile ADDED
@@ -0,0 +1,40 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ Bundler.setup
4
+
5
+ require 'rake'
6
+ require 'yard'
7
+ require 'stringio'
8
+ require 'rspec/core/rake_task'
9
+ require 'cucumber/rake/task'
10
+ require 'rubocop/rake_task'
11
+
12
+ Bundler::GemHelper.install_tasks
13
+ RSpec::Core::RakeTask.new(:spec) { |_spec| nil }
14
+
15
+ Cucumber::Rake::Task.new(:cucumber, 'Run all cucumber features') do |t|
16
+ t.fork = false
17
+ t.cucumber_opts = %w[--publish-quiet]
18
+ end
19
+
20
+ RuboCop::RakeTask.new
21
+
22
+ YARD::Rake::YardocTask.new { |_t| nil }
23
+
24
+ namespace :yard do
25
+ desc 'Validate yard coverage'
26
+ task :validate do
27
+ log = StringIO.new
28
+ YARD::Logger.instance(log)
29
+ doc = YARD::CLI::Yardoc.new
30
+ doc.use_document_file = false
31
+ doc.use_yardopts_file = false
32
+ doc.generate = false
33
+ doc.run('stats --list-undoc')
34
+ output = log.string
35
+ puts output
36
+ exit(1) unless output.include?('100.00% documented')
37
+ end
38
+ end
39
+
40
+ task default: %i[rubocop yard:validate spec cucumber]
@@ -0,0 +1,13 @@
1
+ .git
2
+ .gitmodules
3
+ .gitignore
4
+ .idea
5
+ log
6
+ eylogs
7
+ spec/results
8
+ spec/sandbox
9
+ tmp
10
+ .DS_STORE
11
+ .DS_Store
12
+ .travis.yml
13
+ .circleci
@@ -0,0 +1,21 @@
1
+ .idea/
2
+ custom.yml
3
+ bin/
4
+ log/
5
+ eylogs/
6
+ spec/results/
7
+ spec/sandbox/
8
+ tmp/
9
+ *.swp
10
+ *.orig
11
+ .rakeTasks
12
+ .bundle
13
+ .DS_STORE
14
+ .DS_Store
15
+ *.xml
16
+ *.log
17
+ *.pem
18
+ build-number.txt
19
+ sauce_connect.log*
20
+ *.*~
21
+ capybara-*.html
@@ -0,0 +1,71 @@
1
+ # See full list of defaults here: https://github.com/bbatsov/rubocop/blob/master/config/default.yml
2
+ # To see all cops used see here: https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml
3
+ <% if rspec || turnip -%>
4
+ require: rubocop-rspec
5
+ <% end -%>
6
+
7
+ AllCops:
8
+ DisplayCopNames: true
9
+ NewCops: enable
10
+ TargetRubyVersion: 3
11
+
12
+ Layout/CaseIndentation:
13
+ Enabled: false
14
+
15
+ Layout/LineLength:
16
+ Max: 120
17
+ <% if cucumber -%>
18
+
19
+ Lint/AmbiguousBlockAssociation:
20
+ Enabled: false
21
+ <% end -%>
22
+
23
+ Lint/AmbiguousRegexpLiteral:
24
+ Enabled: false
25
+
26
+ Metrics/BlockLength:
27
+ Enabled: false
28
+
29
+ Metrics/ModuleLength:
30
+ Max: 150
31
+
32
+ Style/CaseEquality:
33
+ Enabled: false
34
+
35
+ Style/Documentation:
36
+ Enabled: false
37
+
38
+ Style/EmptyElse:
39
+ Enabled: false
40
+
41
+ Style/FrozenStringLiteralComment:
42
+ Enabled: false
43
+ <% if turnip -%>
44
+
45
+ Style/MixinGrouping:
46
+ EnforcedStyle: separated
47
+ Exclude:
48
+ - '**/*_steps.rb'
49
+ <% end -%>
50
+ <% if cucumber || turnip -%>
51
+
52
+ Style/SymbolProc:
53
+ Exclude:
54
+ <% if cucumber -%>
55
+ - 'features/step_definitions/**/*.rb'
56
+ <%- end -%>
57
+ <% if turnip -%>
58
+ - 'spec/steps/**/*.rb'
59
+ <%- end -%>
60
+ <% end -%>
61
+ <% if rspec || turnip -%>
62
+
63
+ RSpec/Capybara/FeatureMethods:
64
+ Enabled: false
65
+
66
+ RSpec/ExampleLength:
67
+ Max: 40
68
+
69
+ RSpec/MultipleExpectations:
70
+ Max: 8
71
+ <% end -%>
@@ -0,0 +1 @@
1
+ -r turnip/rspec
data/howitzer.gemspec ADDED
@@ -0,0 +1,48 @@
1
+ require File.expand_path('lib/howitzer/version', __dir__)
2
+
3
+ Gem::Specification.new do |gem|
4
+ gem.author = 'Roman Parashchenko'
5
+ gem.email = 'howitzer@strongqa.com'
6
+ gem.description = 'Howitzer uses the best practices and design patterns allowing to generate a test project in ' \
7
+ 'less than 5 minutes. It has out-of-the-box configurations for parallel cross-browser testing ' \
8
+ 'in the cloud.'
9
+ gem.summary = 'Ruby based framework for acceptance testing'
10
+ gem.homepage = 'https://howitzer-framework.io/'
11
+ gem.metadata = {
12
+ 'bug_tracker_uri' => 'https://github.com/strongqa/howitzer/issues',
13
+ 'changelog_uri' => 'https://github.com/strongqa/howitzer/blob/master/CHANGELOG.md',
14
+ 'documentation_uri' => "https://www.rubydoc.info/gems/howitzer/#{Howitzer::VERSION}",
15
+ 'source_code_uri' => 'https://github.com/strongqa/howitzer',
16
+ 'rubygems_mfa_required' => 'false'
17
+ }
18
+ gem.license = 'MIT'
19
+ gem.files = Dir.glob('{bin,generators,lib}/**/*', File::FNM_DOTMATCH) +
20
+ %w[
21
+ .yardopts
22
+ CHANGELOG.md
23
+ CONTRIBUTING.md
24
+ howitzer.gemspec
25
+ LICENSE
26
+ MAINTENANCE.md
27
+ Rakefile
28
+ README.md
29
+ ]
30
+ gem.executables = ['howitzer']
31
+ gem.name = 'howitzer'
32
+ gem.require_path = 'lib'
33
+ gem.version = Howitzer::VERSION
34
+ gem.required_ruby_version = '>= 2.7.7'
35
+
36
+ gem.add_runtime_dependency 'activesupport', ['>= 5', '< 8']
37
+ gem.add_runtime_dependency 'capybara', '< 4.0'
38
+ gem.add_runtime_dependency 'colorize'
39
+ gem.add_runtime_dependency 'gli'
40
+ gem.add_runtime_dependency 'launchy'
41
+ gem.add_runtime_dependency 'log4r', '~>1.1.10'
42
+ gem.add_runtime_dependency 'nokogiri', '~> 1.6' if gem.platform.to_s =~ /mswin|mingw/
43
+ gem.add_runtime_dependency 'rake'
44
+ gem.add_runtime_dependency 'rspec', '~>3.2'
45
+ gem.add_runtime_dependency 'rspec-wait'
46
+ gem.add_runtime_dependency 'selenium-webdriver', '>= 3.4.1'
47
+ gem.add_runtime_dependency 'sexy_settings'
48
+ end
@@ -1,4 +1,4 @@
1
1
  # This module holds howitzer version
2
2
  module Howitzer
3
- VERSION = '2.6.0'.freeze # :nodoc:
3
+ VERSION = '2.6.1'.freeze # :nodoc:
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: howitzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Parashchenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-16 00:00:00.000000000 Z
11
+ date: 2023-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -170,62 +170,6 @@ dependencies:
170
170
  - - ">="
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
- - !ruby/object:Gem::Dependency
174
- name: aruba
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - ">="
178
- - !ruby/object:Gem::Version
179
- version: '0'
180
- type: :development
181
- prerelease: false
182
- version_requirements: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - ">="
185
- - !ruby/object:Gem::Version
186
- version: '0'
187
- - !ruby/object:Gem::Dependency
188
- name: ffaker
189
- requirement: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - ">="
192
- - !ruby/object:Gem::Version
193
- version: '0'
194
- type: :development
195
- prerelease: false
196
- version_requirements: !ruby/object:Gem::Requirement
197
- requirements:
198
- - - ">="
199
- - !ruby/object:Gem::Version
200
- version: '0'
201
- - !ruby/object:Gem::Dependency
202
- name: fuubar
203
- requirement: !ruby/object:Gem::Requirement
204
- requirements:
205
- - - ">="
206
- - !ruby/object:Gem::Version
207
- version: '0'
208
- type: :development
209
- prerelease: false
210
- version_requirements: !ruby/object:Gem::Requirement
211
- requirements:
212
- - - ">="
213
- - !ruby/object:Gem::Version
214
- version: '0'
215
- - !ruby/object:Gem::Dependency
216
- name: yard
217
- requirement: !ruby/object:Gem::Requirement
218
- requirements:
219
- - - ">="
220
- - !ruby/object:Gem::Version
221
- version: '0'
222
- type: :development
223
- prerelease: false
224
- version_requirements: !ruby/object:Gem::Requirement
225
- requirements:
226
- - - ">="
227
- - !ruby/object:Gem::Version
228
- version: '0'
229
173
  description: Howitzer uses the best practices and design patterns allowing to generate
230
174
  a test project in less than 5 minutes. It has out-of-the-box configurations for
231
175
  parallel cross-browser testing in the cloud.
@@ -239,7 +183,9 @@ files:
239
183
  - CHANGELOG.md
240
184
  - CONTRIBUTING.md
241
185
  - LICENSE
186
+ - MAINTENANCE.md
242
187
  - README.md
188
+ - Rakefile
243
189
  - bin/howitzer
244
190
  - generators/base_generator.rb
245
191
  - generators/config/config_generator.rb
@@ -272,6 +218,9 @@ files:
272
218
  - generators/prerequisites/templates/user.rb
273
219
  - generators/prerequisites/templates/users.rb
274
220
  - generators/root/root_generator.rb
221
+ - generators/root/templates/.dockerignore
222
+ - generators/root/templates/.gitignore
223
+ - generators/root/templates/.rubocop.yml.erb
275
224
  - generators/root/templates/Dockerfile
276
225
  - generators/root/templates/Gemfile.erb
277
226
  - generators/root/templates/README.md.erb
@@ -283,6 +232,7 @@ files:
283
232
  - generators/rspec/templates/spec_helper.rb
284
233
  - generators/tasks/tasks_generator.rb
285
234
  - generators/tasks/templates/common.rake
235
+ - generators/turnip/templates/.rspec
286
236
  - generators/turnip/templates/common_steps.rb
287
237
  - generators/turnip/templates/example.feature
288
238
  - generators/turnip/templates/spec_helper.rb
@@ -292,6 +242,7 @@ files:
292
242
  - generators/web/templates/example_page.rb
293
243
  - generators/web/templates/menu_section.rb
294
244
  - generators/web/web_generator.rb
245
+ - howitzer.gemspec
295
246
  - lib/howitzer.rb
296
247
  - lib/howitzer/cache.rb
297
248
  - lib/howitzer/capybara_helpers.rb
@@ -346,7 +297,7 @@ licenses:
346
297
  metadata:
347
298
  bug_tracker_uri: https://github.com/strongqa/howitzer/issues
348
299
  changelog_uri: https://github.com/strongqa/howitzer/blob/master/CHANGELOG.md
349
- documentation_uri: https://www.rubydoc.info/gems/howitzer/2.6.0
300
+ documentation_uri: https://www.rubydoc.info/gems/howitzer/2.6.1
350
301
  source_code_uri: https://github.com/strongqa/howitzer
351
302
  rubygems_mfa_required: 'false'
352
303
  post_install_message:
@@ -357,7 +308,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
357
308
  requirements:
358
309
  - - ">="
359
310
  - !ruby/object:Gem::Version
360
- version: 2.6.8
311
+ version: 2.7.7
361
312
  required_rubygems_version: !ruby/object:Gem::Requirement
362
313
  requirements:
363
314
  - - ">="