cucumber-blendle-steps 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -10
- data/Rakefile +14 -0
- data/lib/cucumber/blendle/steps/resource_steps.rb +2 -2
- data/lib/cucumber/blendle/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c409b31ccbcf91050864f00ea6e100d1f3e59a1
|
4
|
+
data.tar.gz: 03550d41613abbbf9715bbeda2d2b6eaac102b1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f964fafa9b6362d9f36b9c4867f31ddd152715f13275b0a1968a2e1d86be2fd7b9d291dc0c389395d063e39eef71e1521acb2bc724c4648b52c516010bd0db75
|
7
|
+
data.tar.gz: c244dbf3983fa87640b0c112eac80ee64730ecc79e019dbeac9c21bed81d9eb619a70c6ea2efc37141267b79727494de9cf1b9a3383c602d4112b1c24ad178a6
|
data/CHANGELOG.md
CHANGED
@@ -1,15 +1,23 @@
|
|
1
|
-
|
1
|
+
# CHANGELOG
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
* show error message if Halidator JSON parsing fails [9e2e6ab]
|
6
|
-
* don't create mkmf.log when copying output to clipboard [59c63f4]
|
7
|
-
* add descriptions to all steps [37d5bd4]
|
3
|
+
## [v0.3.1](https://github.com/blendle/cucumber-blendle-steps/tree/v0.3.1) (2015-12-12)
|
4
|
+
[Full Changelog](https://github.com/blendle/cucumber-blendle-steps/compare/v0.3.0...v0.3.1)
|
8
5
|
|
9
|
-
|
6
|
+
## [v0.3.0](https://github.com/blendle/cucumber-blendle-steps/tree/v0.3.0) (2015-12-04)
|
7
|
+
[Full Changelog](https://github.com/blendle/cucumber-blendle-steps/compare/v0.2.0...v0.3.0)
|
10
8
|
|
11
|
-
|
9
|
+
**Merged pull requests:**
|
12
10
|
|
13
|
-
|
11
|
+
- allow value casting before saving to database [\#2](https://github.com/blendle/cucumber-blendle-steps/pull/2) ([JeanMertz](https://github.com/JeanMertz))
|
14
12
|
|
15
|
-
|
13
|
+
## [v0.2.0](https://github.com/blendle/cucumber-blendle-steps/tree/v0.2.0) (2015-11-30)
|
14
|
+
[Full Changelog](https://github.com/blendle/cucumber-blendle-steps/compare/v0.1.0...v0.2.0)
|
15
|
+
|
16
|
+
## [v0.1.0](https://github.com/blendle/cucumber-blendle-steps/tree/v0.1.0) (2015-11-30)
|
17
|
+
**Merged pull requests:**
|
18
|
+
|
19
|
+
- initial cucumber-blendle-steps implementation [\#1](https://github.com/blendle/cucumber-blendle-steps/pull/1) ([JeanMertz](https://github.com/JeanMertz))
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/Rakefile
CHANGED
@@ -5,6 +5,20 @@ require 'cucumber/rake/task'
|
|
5
5
|
require 'rubocop/rake_task'
|
6
6
|
require 'rake/testtask'
|
7
7
|
|
8
|
+
task 'changelog' do
|
9
|
+
args = %w(
|
10
|
+
--user=blendle
|
11
|
+
--project=cucumber-blendle-steps
|
12
|
+
--header-label="# CHANGELOG"
|
13
|
+
--bug-labels=type/bug,bug
|
14
|
+
--enhancement-labels=type/enhancement,enhancement
|
15
|
+
--future-release=unreleased
|
16
|
+
--no-verbose
|
17
|
+
)
|
18
|
+
|
19
|
+
sh %(github_changelog_generator #{args.join(' ')})
|
20
|
+
end
|
21
|
+
|
8
22
|
RuboCop::RakeTask.new
|
9
23
|
|
10
24
|
Cucumber::Rake::Task.new(:features) do |t|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# * When the client does a GET request to the "items" resource
|
4
4
|
#
|
5
5
|
When(/^the client does a (GET|POST|DELETE) request to the "([^"]*)" resource$/) do |method, resource|
|
6
|
-
step %(the client does a #{method} request to the "#{resource}" resource with these
|
6
|
+
step %(the client does a #{method} request to the "#{resource}" resource with these template variables:), table([[]])
|
7
7
|
end
|
8
8
|
|
9
9
|
# * When the client does a GET request to the "item" resource with the template variable "item_uid" set to "hello"
|
@@ -11,7 +11,7 @@ end
|
|
11
11
|
When(/^the client does a (GET|POST|DELETE) request to the "([^"]*)" resource with the template variable "([^"]*)" set to "([^"]*)"$/) do |method, resource, key, value|
|
12
12
|
tables = [%w(key value), [key, value]]
|
13
13
|
|
14
|
-
step %(the client does a #{method} request to the "#{resource}" resource with these
|
14
|
+
step %(the client does a #{method} request to the "#{resource}" resource with these template variables:), table(tables)
|
15
15
|
end
|
16
16
|
|
17
17
|
# * When the client does a GET request to the "item" resource with these template variables:
|