quke 0.2.1 → 0.2.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
- OTlhZDFiYmU5OWZhOGEwZDMzZDg0ODAwZmQ3MzcyYjgzMDI2OWZmNw==
4
+ OTdkYzQ5MTgyZTA0MGJlNmY3MTAxZGU0OGNhNjk0ZDliZDhiZDcyMQ==
5
5
  data.tar.gz: !binary |-
6
- NWUxYTM5NTUwNzMzNjYxNGVkNjMyYWRlYzhjZDJiNDc3ZGMzYjg2Yg==
6
+ MGZiMjA4YzFkYjM3YmM2ZTYzZDFlMzBmYjcyYzYzY2MyNTk5NTlkNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWNiNDAwMTQ3NTU0ZThlNDhmNzk4YjhlYmMzNTQ1NDY5N2YzODI1NDVjNjVi
10
- ZDcxZDJlOTFiOWNjZjc2OWMxYmFjMDZhNDc1NWZhZmRiMzA2NzJhNDYzMjY0
11
- NGVlZWQ5NzA2M2UyYmJmOTFmMDBmZDQ4NGE3ODc3OGQwMjk1NGI=
9
+ MThkNzI3MjJiM2U2ZjM2OTU3MmRmNDlmYjQwZmM0YTQwY2I5OTU4ZGI3YTdk
10
+ OWY2MzE3OGJlMmZkZmRjNmFjNTE5NTgzMTUyMmNiZjEyOTk5MmMxYmJjNjUw
11
+ ODY0NDE2M2QxNjBkZGI5OTNjOWZiMjk2OGVhMTRiMjM1NmM2ODg=
12
12
  data.tar.gz: !binary |-
13
- MjViZWVkMGUxZDIzNTY1ZWY4MDIwMTY0ODdmYTEwZTU1OGUxMmFhNTJmZDYw
14
- YTk2NjQ3YmVlZDA3N2I1ZTdjNTE4NGZiZTliMDdhMGRhODcwNmNjZmU1ZGJh
15
- NDE1NGJlYzllMDIzOGJhYjlhMjA3OWRhZjZjM2JjMTRkMTg5YzI=
13
+ YmYyNzBjMDRlYWFlYzdiZDRiNDc4OTI5MmQ2NmYxYTYzZTUwN2ZmMjhjOGEx
14
+ YjI3OWUzODhjNDNmZGViNjMxZjE4Mzc1YzJjMThmNGRkMjI2ZjA3Mjg5ZDA0
15
+ YmJlYzUwYTNmMDc0NmI5YWY1NGE1ZWYwZmMyZWE3NjA4NzhmZDE=
@@ -0,0 +1,62 @@
1
+ # Change Log
2
+
3
+ ## [Unreleased](https://github.com/EnvironmentAgency/quke/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/EnvironmentAgency/quke/compare/v0.2.1...HEAD)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Add Rubygems version badge to README [\#33](https://github.com/EnvironmentAgency/quke/pull/33) ([Cruikshanks](https://github.com/Cruikshanks))
10
+
11
+ ## [v0.2.1](https://github.com/EnvironmentAgency/quke/tree/v0.2.1) (2016-10-05)
12
+ [Full Changelog](https://github.com/EnvironmentAgency/quke/compare/v0.2.0...v0.2.1)
13
+
14
+ **Merged pull requests:**
15
+
16
+ - Remove bundler-audit from codeclimate config [\#32](https://github.com/EnvironmentAgency/quke/pull/32) ([Cruikshanks](https://github.com/Cruikshanks))
17
+
18
+ ## [v0.2.0](https://github.com/EnvironmentAgency/quke/tree/v0.2.0) (2016-10-04)
19
+ [Full Changelog](https://github.com/EnvironmentAgency/quke/compare/v0.1.0...v0.2.0)
20
+
21
+ **Merged pull requests:**
22
+
23
+ - Convert to gem [\#31](https://github.com/EnvironmentAgency/quke/pull/31) ([Cruikshanks](https://github.com/Cruikshanks))
24
+
25
+ ## [v0.1.0](https://github.com/EnvironmentAgency/quke/tree/v0.1.0) (2016-08-01)
26
+ **Closed issues:**
27
+
28
+ - save\_and\_open\_page\(\) outputs to project root [\#12](https://github.com/EnvironmentAgency/quke/issues/12)
29
+ - Use Capybara's implicit wait system [\#9](https://github.com/EnvironmentAgency/quke/issues/9)
30
+ - Running tests against different environments [\#8](https://github.com/EnvironmentAgency/quke/issues/8)
31
+
32
+ **Merged pull requests:**
33
+
34
+ - Add browserstack support [\#30](https://github.com/EnvironmentAgency/quke/pull/30) ([Cruikshanks](https://github.com/Cruikshanks))
35
+ - Add dependencyci badge to README.md [\#29](https://github.com/EnvironmentAgency/quke/pull/29) ([Cruikshanks](https://github.com/Cruikshanks))
36
+ - Clear up references to poltergeist and phantomjs [\#28](https://github.com/EnvironmentAgency/quke/pull/28) ([Cruikshanks](https://github.com/Cruikshanks))
37
+ - Add support for multiple config filespty message aborts the commit [\#26](https://github.com/EnvironmentAgency/quke/pull/26) ([Cruikshanks](https://github.com/Cruikshanks))
38
+ - Move poltergeist driver options to Quke::Config [\#25](https://github.com/EnvironmentAgency/quke/pull/25) ([Cruikshanks](https://github.com/Cruikshanks))
39
+ - Add support for a yaml \(.yml\) config file [\#24](https://github.com/EnvironmentAgency/quke/pull/24) ([Cruikshanks](https://github.com/Cruikshanks))
40
+ - Add missing @quke tag to css\_selectors feature [\#23](https://github.com/EnvironmentAgency/quke/pull/23) ([Cruikshanks](https://github.com/Cruikshanks))
41
+ - Add examples of CSS selectors to project [\#22](https://github.com/EnvironmentAgency/quke/pull/22) ([Cruikshanks](https://github.com/Cruikshanks))
42
+ - Add explanation to demo pages on what tests show [\#21](https://github.com/EnvironmentAgency/quke/pull/21) ([Cruikshanks](https://github.com/Cruikshanks))
43
+ - Replace title in README with new logo image [\#20](https://github.com/EnvironmentAgency/quke/pull/20) ([Cruikshanks](https://github.com/Cruikshanks))
44
+ - Integrate quke with codeclimate [\#19](https://github.com/EnvironmentAgency/quke/pull/19) ([Cruikshanks](https://github.com/Cruikshanks))
45
+ - Integrate with Travis-CI [\#18](https://github.com/EnvironmentAgency/quke/pull/18) ([Cruikshanks](https://github.com/Cruikshanks))
46
+ - Stop saving to root when save\_and\_open\_page used [\#17](https://github.com/EnvironmentAgency/quke/pull/17) ([Cruikshanks](https://github.com/Cruikshanks))
47
+ - Tidy up of the code [\#16](https://github.com/EnvironmentAgency/quke/pull/16) ([Cruikshanks](https://github.com/Cruikshanks))
48
+ - Add example of interacting with radio-buttons [\#15](https://github.com/EnvironmentAgency/quke/pull/15) ([Cruikshanks](https://github.com/Cruikshanks))
49
+ - Add embedded test website [\#14](https://github.com/EnvironmentAgency/quke/pull/14) ([Cruikshanks](https://github.com/Cruikshanks))
50
+ - Enable Capybara implicit waits in Quke [\#13](https://github.com/EnvironmentAgency/quke/pull/13) ([Cruikshanks](https://github.com/Cruikshanks))
51
+ - Make url endpoint to be tested configurable [\#11](https://github.com/EnvironmentAgency/quke/pull/11) ([Cruikshanks](https://github.com/Cruikshanks))
52
+ - Expand readme with better documentation [\#7](https://github.com/EnvironmentAgency/quke/pull/7) ([Cruikshanks](https://github.com/Cruikshanks))
53
+ - Add function to open page on fail [\#6](https://github.com/EnvironmentAgency/quke/pull/6) ([Cruikshanks](https://github.com/Cruikshanks))
54
+ - Save custom quke args to global env vars [\#5](https://github.com/EnvironmentAgency/quke/pull/5) ([Cruikshanks](https://github.com/Cruikshanks))
55
+ - Make use of hooks clearer in project [\#4](https://github.com/EnvironmentAgency/quke/pull/4) ([Cruikshanks](https://github.com/Cruikshanks))
56
+ - Fix use of BROWSER instead of DRIVER in rake [\#3](https://github.com/EnvironmentAgency/quke/pull/3) ([Cruikshanks](https://github.com/Cruikshanks))
57
+ - Structure project 2 avoid conflicts with upstream [\#2](https://github.com/EnvironmentAgency/quke/pull/2) ([Cruikshanks](https://github.com/Cruikshanks))
58
+ - Rename env var BROWSER to DRIVER to fix Launchy [\#1](https://github.com/EnvironmentAgency/quke/pull/1) ([Cruikshanks](https://github.com/Cruikshanks))
59
+
60
+
61
+
62
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  [![Code Climate](https://codeclimate.com/github/EnvironmentAgency/quke/badges/gpa.svg)](https://codeclimate.com/github/EnvironmentAgency/quke)
6
6
  [![Test Coverage](https://codeclimate.com/github/EnvironmentAgency/quke/badges/coverage.svg)](https://codeclimate.com/github/EnvironmentAgency/quke/coverage)
7
7
  [![Dependency Status](https://dependencyci.com/github/EnvironmentAgency/quke/badge)](https://dependencyci.com/github/EnvironmentAgency/quke)
8
+ [![Gem Version](https://badge.fury.io/rb/quke.svg)](https://badge.fury.io/rb/quke)
8
9
 
9
10
  Quke is a gem that helps you to build a suite of [Cucumber](https://cucumber.io/) acceptance tests.
10
11
 
data/Rakefile CHANGED
@@ -1,6 +1,9 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
3
  require 'rdoc/task'
4
+ require 'github_changelog_generator/task'
5
+
6
+ task :default => :spec
4
7
 
5
8
  RSpec::Core::RakeTask.new(:spec)
6
9
 
@@ -10,4 +13,5 @@ RDoc::Task.new do |doc|
10
13
  doc.rdoc_files = FileList.new %w[README.md lib LICENSE]
11
14
  end
12
15
 
13
- task :default => :spec
16
+ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
17
+ end
@@ -30,7 +30,15 @@ module Quke #:nodoc:
30
30
  def initialize(features_folder, args = [])
31
31
  @args = [
32
32
  features_folder,
33
- '-r', 'lib/features',
33
+ # Because cucumber is called in the context of the executing script it
34
+ # will take the next argument from that position, not from where the gem
35
+ # currently sits. This means to Cucumber 'lib/features' doesn't exist,
36
+ # which means our env.rb never gets loaded. Instead we first have to
37
+ # determing where this file is running from when called, then we simply
38
+ # replace the last part of that result (which we know will be lib/quke)
39
+ # with lib/features. We then pass this full path to Cucumber so it can
40
+ # correctly find the folder holding our predefined env.rb file.
41
+ '-r', __dir__.sub!('lib/quke', 'lib/features'),
34
42
  '-r', features_folder
35
43
  ] + args
36
44
  end
@@ -1,3 +1,3 @@
1
1
  module Quke #:nodoc:
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.2.2'.freeze
3
3
  end
@@ -89,4 +89,5 @@ Gem::Specification.new do |spec|
89
89
  spec.add_development_dependency 'rspec', '~> 3.5'
90
90
  spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.6'
91
91
  spec.add_development_dependency 'simplecov', '~> 0.12'
92
+ spec.add_development_dependency 'github_changelog_generator', '~> 1.13'
92
93
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan Cruikshanks
@@ -206,6 +206,20 @@ dependencies:
206
206
  - - ~>
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0.12'
209
+ - !ruby/object:Gem::Dependency
210
+ name: github_changelog_generator
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ~>
214
+ - !ruby/object:Gem::Version
215
+ version: '1.13'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ~>
221
+ - !ruby/object:Gem::Version
222
+ version: '1.13'
209
223
  description: Quke tries to simplify the process of writing and running acceptance
210
224
  tests by setting up Cucumber for you. It handles the config to allow you to run
211
225
  your tests in Firefox and Chrome, or the headless browser PhantomJS. It also has
@@ -224,6 +238,7 @@ files:
224
238
  - .rspec
225
239
  - .rubocop.yml
226
240
  - .travis.yml
241
+ - CHANGELOG.md
227
242
  - Gemfile
228
243
  - LICENSE
229
244
  - README.md