bddfire 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzFmOWVjMjk4YTY3NDNiOTc3Yjk3NDFmOWJmNmMxYzczYmJlZWQyMQ==
4
+ MDJiY2FlZTAxNGFlMDY0OGRlMWZkYjBmY2EzOGFjMjUyYmJlZTU0Mw==
5
5
  data.tar.gz: !binary |-
6
- ZGM4ZmY3YTdjYWRlYzhiMzMxZjIyODhkYTY2MTM1ZDhjOTY5YzQyYQ==
6
+ MTc2M2YwNzUwN2YwNGIyOWRmMWMyNDQ2M2JiZTE3YzBjYWQzYWQ2Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTBjZjVmMjZmYjYxYzdkNjAzOWY5MjRmNzdhNmZmZWM0MDM2OGU3MGNjNzc0
10
- Y2M2YjUyZDAxMjA0MDI1ZmQzNWIwZjI2MzJjMTk3MTg4YmFhNGY4ZjMyZWI4
11
- MTNhYTY5Yzg4ZDJkNzY1OTM2NzUxMTlmMmI4MGJjYzZjZDYwZWY=
9
+ MDdmZTBkMmVlOGM5MDZkOTcxMDZlZWEwZjA4NTlkNTJkMzkwOGU3OTM5NjMy
10
+ ZmJjMjYyNWE0YjYyNGZhODk0MmQ5NmI1YWJiZDE0MmIyYTg1MTc5YmZjZGMz
11
+ ZWM1ZjgyYmQ3MjQxMmQ5YzM2MzE2ZGRkZjFhN2IyOWZmZjkwZGE=
12
12
  data.tar.gz: !binary |-
13
- NDI2YWQwNWYyMWE1OGRjOTNmMTM2OTA2MzdlZDFmODg5NDQ5ZDFiNzlhNGI0
14
- YWMzODkyYWJmNWQ3OGU5NjEyZGI2NDcxN2RhZmFmNDMyMTllODk4N2E2ZDRl
15
- ZTdmMDRjOThlNDZhODRmZWQwZjNmMDU3MmVhNTVlNjNhYTIzNzA=
13
+ Yzg2YTk5YzY5MjRhZGYyNWQ3NTc3ZTJlODY4OWJmMzBiYmQyYTNhMTg2Mjhm
14
+ YjY4MzhhOTg5OWZhYmFmNzkyY2QwZTgwZGJmMzlkYjNjOGIzN2I4MmUyYTk5
15
+ YTcxOTk1MzZkZDg2YzNkNjg3NzNjODcyNGFjYTJhZDI2NzUwNGM=
@@ -1,3 +1,3 @@
1
1
  module BDDfire
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  # config/cucumber.yml
2
2
  ##YAML Template
3
3
  ---
4
- default: --profile html_report --profile test -p selenium
4
+ default: -p selenium
5
5
  html_report: --format pretty --format html --out=features_report.html
6
6
  bvt: --tags @test
7
7
  browserstack : DRIVER=browserstack
@@ -4,6 +4,7 @@ require "Capybara/cucumber"
4
4
  require "rspec"
5
5
  require 'capybara/poltergeist'
6
6
  require 'selenium-webdriver'
7
+ require 'rubocop'
7
8
 
8
9
  Capybara.default_driver = :selenium
9
10
 
@@ -1,13 +1,6 @@
1
1
  require 'cucumber/rake/task'
2
2
  Cucumber::Rake::Task.new(:features) do |features|
3
- features.cucumber_opts = "features --tags ~@wip --format progress"
4
- end
5
- namespace :features do
6
- Cucumber::Rake::Task.new(:pretty, "Run Cucumber features with output in pretty format") do |features|
7
- features.cucumber_opts = "features --tags ~@wip --format pretty"
8
- end
9
- Cucumber::Rake::Task.new(:wip, "Run @wip (Work In Progress) Cucumber features") do |features|
10
- features.cucumber_opts = "features --tags @wip --format progress"
11
- end
3
+ features.cucumber_opts = "features -p selenium --format progress"
12
4
  end
13
5
 
6
+
@@ -2,7 +2,11 @@ require 'rubocop/rake_task'
2
2
 
3
3
  desc "Run Rubocop"
4
4
 
5
- Rubocop::RakeTask.new(:rubocop) do |task|
5
+ Rubocop::RakeTask.new(:rubocop_rake) do |task|
6
6
  task.patterns = ['features/**/*.rb']
7
7
  end
8
+
9
+ task :rubocop do
10
+ sh 'bundle exec rubocop'
11
+ end
8
12
 
@@ -1,5 +1,11 @@
1
1
  require 'yard'
2
+
2
3
  YARD::Rake::YardocTask.new do |t|
3
- t.files = ['lib/**/*.rb', '-', 'CHANGELOG', 'LICENSE']
4
- t.options = ['--no-private', '--title', '{{project_name}} API Documentation']
4
+ t.files = ['features/**/*.feature', 'features/**/*.rb']
5
+ t.options = ['--any', '--extra', '--opts'] # optional
5
6
  end
7
+
8
+ task :yard_bundle do
9
+ sh "bundle exec yardoc 'example/**/*.rb' 'example/**/*.feature'"
10
+ end
11
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bddfire
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shashikant Jagtap