brine-dsl 0.8.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.ruby-gemset +1 -0
- data/Gemfile.lock +24 -75
- data/Rakefile +5 -29
- data/brine-dsl.gemspec +3 -5
- data/feature_setup.rb +17 -0
- data/lib/brine/requester.rb +27 -2
- data/lib/brine/step_definitions/request_construction.rb +5 -0
- data/lib/brine/test_steps.rb +8 -2
- data/lib/brine/type_checks.rb +2 -1
- data/lib/brine/util.rb +13 -3
- metadata +6 -145
- data/.gitignore +0 -3
- data/.travis.yml +0 -11
- data/CHANGELOG.md +0 -170
- data/Guardfile +0 -12
- data/LICENSE +0 -21
- data/README.adoc +0 -29
- data/config/cucumber.yml +0 -2
- data/docs/build.gradle +0 -19
- data/docs/cookbook.html +0 -643
- data/docs/gradle/wrapper/gradle-wrapper.jar +0 -0
- data/docs/gradle/wrapper/gradle-wrapper.properties +0 -6
- data/docs/gradlew +0 -172
- data/docs/gradlew.bat +0 -84
- data/docs/guide.html +0 -1220
- data/docs/index.html +0 -486
- data/docs/specs.html +0 -2066
- data/docs/src/cookbook.adoc +0 -160
- data/docs/src/guide.adoc +0 -524
- data/docs/src/index.adoc +0 -28
- data/docs/src/spec.erb +0 -121
- data/docs/src/specs.adoc +0 -37
- data/features/argument_transforms/boolean.feature +0 -37
- data/features/argument_transforms/datetime.feature +0 -45
- data/features/argument_transforms/integer.feature +0 -41
- data/features/argument_transforms/list.feature +0 -46
- data/features/argument_transforms/object.feature +0 -66
- data/features/argument_transforms/quoted.feature +0 -41
- data/features/argument_transforms/regex.feature +0 -40
- data/features/argument_transforms/template.feature +0 -46
- data/features/argument_transforms/whitespace.feature +0 -51
- data/features/assertions/is_a_valid.feature +0 -184
- data/features/assertions/is_empty.feature +0 -67
- data/features/assertions/is_equal_to.feature +0 -60
- data/features/assertions/is_including.feature +0 -34
- data/features/assertions/is_matching.feature +0 -35
- data/features/assertions/is_of_length.feature +0 -43
- data/features/assignment/parameter.feature +0 -20
- data/features/assignment/random.feature +0 -25
- data/features/assignment/response_attribute.feature +0 -33
- data/features/assignment/timestamp.feature +0 -33
- data/features/deprecations/replaced_with.feature +0 -53
- data/features/request_construction/basic.feature +0 -29
- data/features/request_construction/body.feature +0 -26
- data/features/request_construction/clearing.feature +0 -46
- data/features/request_construction/headers.feature +0 -94
- data/features/request_construction/params.feature +0 -60
- data/features/resource_cleanup/cleanup.feature +0 -86
- data/features/selectors/all.feature +0 -55
- data/features/selectors/any.feature +0 -48
- data/features/step_definitions/test_steps.rb +0 -5
- data/features/support/env.rb +0 -10
- data/tutorial/missing.feature +0 -5
- data/tutorial/post_matching.feature +0 -12
- data/tutorial/post_status.feature +0 -10
- data/tutorial/support/env.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90f218b8154747a97c408360872b4dd8ba4a3be9
|
4
|
+
data.tar.gz: cd5eefa092fd1177ee60feb2960c234f29c079b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 182d3f8d311d2fa0b3c9dda73e6538de268492d1b0610b1f4cd826402e949f8d55d85e52216cedd3e1673e6ecc599aefb4b16e2a017070b000b59178ea4c5d82
|
7
|
+
data.tar.gz: 1645d45e940081720a945904248cb647e5296a032e01b04ded450e8b6612cb0c8060d4f68ec2966ca8c661ef2c5078cb24a8c69b4f6384993b431ecc1b88d025
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
brine
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
brine-dsl (0.
|
4
|
+
brine-dsl (0.9.0)
|
5
5
|
cucumber (~> 2.4)
|
6
6
|
faraday (~> 0.12)
|
7
7
|
faraday_middleware (~> 0.12)
|
@@ -13,19 +13,7 @@ PATH
|
|
13
13
|
GEM
|
14
14
|
remote: http://rubygems.org/
|
15
15
|
specs:
|
16
|
-
aruba (0.14.5)
|
17
|
-
childprocess (>= 0.6.3, < 0.10.0)
|
18
|
-
contracts (~> 0.9)
|
19
|
-
cucumber (>= 1.3.19)
|
20
|
-
ffi (~> 1.9.10)
|
21
|
-
rspec-expectations (>= 2.99)
|
22
|
-
thor (~> 0.19)
|
23
|
-
asciidoctor (1.5.6.2)
|
24
16
|
builder (3.2.3)
|
25
|
-
childprocess (0.9.0)
|
26
|
-
ffi (~> 1.0, >= 1.0.11)
|
27
|
-
coderay (1.1.2)
|
28
|
-
contracts (0.16.0)
|
29
17
|
cucumber (2.99.0)
|
30
18
|
builder (>= 2.1.2)
|
31
19
|
cucumber-core (~> 1.5.0)
|
@@ -38,88 +26,49 @@ GEM
|
|
38
26
|
gherkin (~> 4.0)
|
39
27
|
cucumber-wire (0.0.1)
|
40
28
|
diff-lcs (1.3)
|
41
|
-
faraday (0.
|
29
|
+
faraday (0.15.4)
|
42
30
|
multipart-post (>= 1.2, < 3)
|
43
|
-
faraday_middleware (0.
|
31
|
+
faraday_middleware (0.13.1)
|
44
32
|
faraday (>= 0.7.4, < 1.0)
|
45
|
-
ffi (1.9.23)
|
46
|
-
formatador (0.2.5)
|
47
33
|
gherkin (4.1.3)
|
48
|
-
|
49
|
-
formatador (>= 0.2.4)
|
50
|
-
listen (>= 2.7, < 4.0)
|
51
|
-
lumberjack (>= 1.0.12, < 2.0)
|
52
|
-
nenv (~> 0.1)
|
53
|
-
notiffany (~> 0.0)
|
54
|
-
pry (>= 0.9.12)
|
55
|
-
shellany (~> 0.0)
|
56
|
-
thor (>= 0.18.1)
|
57
|
-
guard-compat (1.2.1)
|
58
|
-
guard-cucumber (2.1.2)
|
59
|
-
cucumber (~> 2.0)
|
60
|
-
guard-compat (~> 1.0)
|
61
|
-
nenv (~> 0.1)
|
62
|
-
jsonpath (0.9.0)
|
34
|
+
jsonpath (0.9.9)
|
63
35
|
multi_json
|
64
36
|
to_regexp (~> 0.2.1)
|
65
|
-
jwt (
|
66
|
-
listen (3.1.5)
|
67
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
68
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
69
|
-
ruby_dep (~> 1.2)
|
70
|
-
lumberjack (1.0.13)
|
71
|
-
method_source (0.9.0)
|
37
|
+
jwt (2.2.1)
|
72
38
|
multi_json (1.13.1)
|
73
39
|
multi_test (0.1.2)
|
74
40
|
multi_xml (0.6.0)
|
75
|
-
multipart-post (2.
|
76
|
-
mustache (1.0
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
shellany (~> 0.0)
|
81
|
-
oauth2 (1.4.0)
|
82
|
-
faraday (>= 0.8, < 0.13)
|
83
|
-
jwt (~> 1.0)
|
41
|
+
multipart-post (2.1.1)
|
42
|
+
mustache (1.1.0)
|
43
|
+
oauth2 (1.4.1)
|
44
|
+
faraday (>= 0.8, < 0.16.0)
|
45
|
+
jwt (>= 1.0, < 3.0)
|
84
46
|
multi_json (~> 1.3)
|
85
47
|
multi_xml (~> 0.5)
|
86
48
|
rack (>= 1.2, < 3)
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
rspec (3.
|
96
|
-
rspec-core (~> 3.7.0)
|
97
|
-
rspec-expectations (~> 3.7.0)
|
98
|
-
rspec-mocks (~> 3.7.0)
|
99
|
-
rspec-core (3.7.1)
|
100
|
-
rspec-support (~> 3.7.0)
|
101
|
-
rspec-expectations (3.7.0)
|
49
|
+
rack (2.0.7)
|
50
|
+
rake (12.3.2)
|
51
|
+
rspec (3.8.0)
|
52
|
+
rspec-core (~> 3.8.0)
|
53
|
+
rspec-expectations (~> 3.8.0)
|
54
|
+
rspec-mocks (~> 3.8.0)
|
55
|
+
rspec-core (3.8.0)
|
56
|
+
rspec-support (~> 3.8.0)
|
57
|
+
rspec-expectations (3.8.3)
|
102
58
|
diff-lcs (>= 1.2.0, < 2.0)
|
103
|
-
rspec-support (~> 3.
|
104
|
-
rspec-mocks (3.
|
59
|
+
rspec-support (~> 3.8.0)
|
60
|
+
rspec-mocks (3.8.0)
|
105
61
|
diff-lcs (>= 1.2.0, < 2.0)
|
106
|
-
rspec-support (~> 3.
|
107
|
-
rspec-support (3.
|
108
|
-
ruby_dep (1.5.0)
|
109
|
-
shellany (0.0.1)
|
110
|
-
thor (0.20.0)
|
62
|
+
rspec-support (~> 3.8.0)
|
63
|
+
rspec-support (3.8.0)
|
111
64
|
to_regexp (0.2.1)
|
112
65
|
|
113
66
|
PLATFORMS
|
114
67
|
ruby
|
115
68
|
|
116
69
|
DEPENDENCIES
|
117
|
-
aruba (~> 0.14)!
|
118
|
-
asciidoctor (~> 1.5)!
|
119
70
|
brine-dsl!
|
120
|
-
guard (~> 2.14)!
|
121
|
-
guard-cucumber (~> 2.1)!
|
122
71
|
rake (~> 12.3)!
|
123
72
|
|
124
73
|
BUNDLED WITH
|
125
|
-
|
74
|
+
2.0.1
|
data/Rakefile
CHANGED
@@ -2,35 +2,11 @@
|
|
2
2
|
require 'bundler'
|
3
3
|
require 'cucumber/rake/task'
|
4
4
|
|
5
|
-
Cucumber::Rake::Task.new
|
6
|
-
|
7
|
-
|
8
|
-
task default: %w[check]
|
9
|
-
|
10
|
-
task :check do
|
11
|
-
ENV['ROOT_URL'] = 'http://www.example.com'
|
12
|
-
if (ENV['WATCH'])
|
13
|
-
Kernel.system("bundle exec guard -c")
|
14
|
-
else
|
15
|
-
Rake::Task['cucumber'].invoke
|
16
|
-
end
|
5
|
+
Cucumber::Rake::Task.new(:check) do |t|
|
6
|
+
# Cucumber needs some help to deal with the features and support being split.
|
7
|
+
t.libs = "#{__dir__}"
|
17
8
|
end
|
18
9
|
|
19
|
-
|
20
|
-
ENV['ROOT_URL'] = 'https://api.myjson.com/'
|
21
|
-
t.cucumber_opts = ['tutorial',
|
22
|
-
'-r tutorial/support/env.rb']
|
23
|
-
end
|
24
|
-
|
25
|
-
task :help do
|
26
|
-
puts """
|
27
|
-
Tasks
|
28
|
-
---
|
29
|
-
check - run tests
|
10
|
+
Bundler::GemHelper.install_tasks
|
30
11
|
|
31
|
-
|
32
|
-
---
|
33
|
-
WATCH - (guard) automatically rerun tests on file changes
|
34
|
-
FEATURE - path to specific cucumber feature to run
|
35
|
-
"""
|
36
|
-
end
|
12
|
+
task default: %w[check]
|
data/brine-dsl.gemspec
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
raise 'VERSION must be specified in environment' unless ENV['VERSION']
|
2
3
|
Gem::Specification.new do |s|
|
3
4
|
s.name = 'brine-dsl'
|
4
|
-
s.version = '0.
|
5
|
+
s.version = '0.9.0'
|
6
|
+
# s.version = ENV['VERSION']
|
5
7
|
s.platform = Gem::Platform::RUBY
|
6
8
|
s.authors = ["Matt Whipple"]
|
7
9
|
s.email = ["mwhipple@brightcove.com"]
|
@@ -21,10 +23,6 @@ Gem::Specification.new do |s|
|
|
21
23
|
s.add_runtime_dependency 'faraday_middleware', '~> 0.12'
|
22
24
|
|
23
25
|
s.add_development_dependency 'rake', '~> 12.3'
|
24
|
-
s.add_development_dependency 'aruba', '~> 0.14'
|
25
|
-
s.add_development_dependency 'guard', '~> 2.14'
|
26
|
-
s.add_development_dependency 'guard-cucumber', '~> 2.1'
|
27
|
-
s.add_development_dependency 'asciidoctor', '~> 1.5'
|
28
26
|
|
29
27
|
s.files = `git ls-files`.split("\n")
|
30
28
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/feature_setup.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
##
|
2
|
+
# @file feature_setup.rb
|
3
|
+
# Support needed to run Brine features.
|
4
|
+
#
|
5
|
+
# The Brine `features` directory is runtime-agnostic, so any
|
6
|
+
# provided runtime needs to configure itself to be able to
|
7
|
+
# execute the provided specs (docs to come).
|
8
|
+
# This file does that work for the ruby runtime.
|
9
|
+
#
|
10
|
+
# It is left at the top level to keep it slightly more isolated
|
11
|
+
# from the rest of the code and as a minor convenience for
|
12
|
+
# referencing the file from the top-level build.
|
13
|
+
##
|
14
|
+
|
15
|
+
require 'brine'
|
16
|
+
require 'brine/test_steps'
|
17
|
+
World(brine_mix)
|
data/lib/brine/requester.rb
CHANGED
@@ -1,10 +1,35 @@
|
|
1
|
-
|
1
|
+
##
|
2
|
+
# @file requester.rb
|
3
|
+
# Request construction and response storage
|
4
|
+
##
|
2
5
|
|
3
6
|
require 'oauth2'
|
4
7
|
require 'faraday_middleware'
|
8
|
+
require 'brine/util'
|
9
|
+
|
10
|
+
##
|
11
|
+
# The root url to which Brine will send requests.
|
12
|
+
#
|
13
|
+
# This will normally be the value of ENV['BRINE_ROOT_URL'],
|
14
|
+
# and that value should be directly usable after older
|
15
|
+
# ENV['ROOT_URL'] is end-of-lifed (at which point this can be removed.
|
16
|
+
#
|
17
|
+
# @return [String] The root URL to use or nil if none is provided.
|
18
|
+
##
|
19
|
+
def brine_root_url
|
20
|
+
if ENV['BRINE_ROOT_URL']
|
21
|
+
ENV['BRINE_ROOT_URL']
|
22
|
+
elsif ENV['ROOT_URL']
|
23
|
+
deprecation_message('1.0', 'ROOT_URL is deprecated, replace with BRINE_ROOT_URL') if ENV['ROOT_URL']
|
24
|
+
ENV['ROOT_URL']
|
25
|
+
end
|
26
|
+
end
|
5
27
|
|
28
|
+
##
|
6
29
|
# Parameter object used to configure OAuth2 middleware
|
30
|
+
#
|
7
31
|
# Also used to provide basic DSL for configuration
|
32
|
+
##
|
8
33
|
class OAuth2Params
|
9
34
|
attr_accessor :token, :token_type
|
10
35
|
|
@@ -85,7 +110,7 @@ module Requesting
|
|
85
110
|
# return Faraday client object so that it could be used directly
|
86
111
|
# or passed to another object
|
87
112
|
def client
|
88
|
-
@client ||= client_for_host(
|
113
|
+
@client ||= client_for_host(brine_root_url || 'http://localhost:8080',
|
89
114
|
logging: ENV['BRINE_LOG_HTTP'])
|
90
115
|
end
|
91
116
|
|
@@ -12,6 +12,11 @@ When(/^the request header `([^`]*)` is assigned `([^`]*)`$/) do |header, value|
|
|
12
12
|
add_header(header, value)
|
13
13
|
end
|
14
14
|
|
15
|
+
When(/^the request credentials are set for basic auth user `([^`]*)` and password `([^`]*)`$/) do |user, password|
|
16
|
+
base64_combined = Base64.strict_encode64("#{user}:#{password}")
|
17
|
+
add_header('Authorization', "Basic #{base64_combined}")
|
18
|
+
end
|
19
|
+
|
15
20
|
When(/^an? (GET|POST|PATCH|PUT|DELETE|HEAD|OPTIONS) is sent to `([^`]*)`$/) do |method, url|
|
16
21
|
send_request(parse_method(method), URI.escape(url))
|
17
22
|
bind('response', response)
|
data/lib/brine/test_steps.rb
CHANGED
@@ -6,11 +6,12 @@ require 'rspec'
|
|
6
6
|
HTTP_METHOD='GET|POST|PATCH|PUT|DELETE|HEAD|OPTIONS'
|
7
7
|
|
8
8
|
class StubResponse
|
9
|
-
attr_accessor :body, :status
|
9
|
+
attr_accessor :body, :status, :headers
|
10
10
|
|
11
11
|
def initialize
|
12
12
|
@body = ''
|
13
13
|
@status = 200
|
14
|
+
@headers = {}
|
14
15
|
end
|
15
16
|
end
|
16
17
|
|
@@ -81,7 +82,7 @@ end
|
|
81
82
|
|
82
83
|
Before do
|
83
84
|
$stubs = Faraday::Adapter::Test::Stubs.new
|
84
|
-
@client = Faraday.new(url:
|
85
|
+
@client = Faraday.new(url: brine_root_url ||
|
85
86
|
'http://localhost:8080') do |conn|
|
86
87
|
conn.response :logger, nil
|
87
88
|
conn.adapter :test, $stubs
|
@@ -115,6 +116,11 @@ When(/^the response body is assigned:$/) do |input|
|
|
115
116
|
@response.body = input
|
116
117
|
end
|
117
118
|
|
119
|
+
When(/^the response headers is assigned `([^`]*)`$/) do |input|
|
120
|
+
@response ||= StubResponse.new
|
121
|
+
@response.headers = input
|
122
|
+
end
|
123
|
+
|
118
124
|
When(/^the response body is assigned `([^`]*)`/) do |input|
|
119
125
|
@response ||= StubResponse.new
|
120
126
|
@response.body = input
|
data/lib/brine/type_checks.rb
CHANGED
@@ -15,6 +15,7 @@ class TypeChecks
|
|
15
15
|
Number: be_a_kind_of(Numeric),
|
16
16
|
Integer: be_a_kind_of(Integer),
|
17
17
|
Array: be_a_kind_of(Array),
|
18
|
+
DateTime: be_a_kind_of(Time),
|
18
19
|
Boolean: satisfy{|it| it == true || it == false }
|
19
20
|
}
|
20
21
|
end
|
@@ -32,4 +33,4 @@ module TypeChecking
|
|
32
33
|
def type_check_for(type)
|
33
34
|
type_checks.for_type(type)
|
34
35
|
end
|
35
|
-
end
|
36
|
+
end
|
data/lib/brine/util.rb
CHANGED
@@ -28,8 +28,18 @@ module BrineUtil
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def replaced_with(type, new_step, version, multiline=nil)
|
31
|
-
|
32
|
-
DEPRECATION: This step will be removed in version #{version}. Replace with:
|
33
|
-
#{type} #{new_step}\n#{multiline}""" unless ENV['BRINE_QUIET_DEPRECATIONS']
|
31
|
+
deprecation_message(version, "Replace with: #{type} #{new_step}\n#{multiline}")
|
34
32
|
step new_step, multiline
|
35
33
|
end
|
34
|
+
|
35
|
+
##
|
36
|
+
# Output a deprecation message with contents `msg`
|
37
|
+
#
|
38
|
+
# Nothing will be output if BRINE_QUIET_DEPRECATIONS is set.
|
39
|
+
#
|
40
|
+
# @param version [String] Version at which this feature will be removed.
|
41
|
+
# @param message [String] The message to log.
|
42
|
+
##
|
43
|
+
def deprecation_message(version, message)
|
44
|
+
warn "DEPRECATION - Removal planned for #{version}: #{message}" unless ENV['BRINE_QUIET_DEPRECATIONS']
|
45
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brine-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Whipple
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -122,62 +122,6 @@ dependencies:
|
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '12.3'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: aruba
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0.14'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0.14'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: guard
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '2.14'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '2.14'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: guard-cucumber
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '2.1'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '2.1'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: asciidoctor
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '1.5'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '1.5'
|
181
125
|
description: Cucumber@REST in Brine
|
182
126
|
email:
|
183
127
|
- mwhipple@brightcove.com
|
@@ -185,62 +129,13 @@ executables: []
|
|
185
129
|
extensions: []
|
186
130
|
extra_rdoc_files: []
|
187
131
|
files:
|
188
|
-
- ".
|
132
|
+
- ".ruby-gemset"
|
189
133
|
- ".ruby-version"
|
190
|
-
- ".travis.yml"
|
191
|
-
- CHANGELOG.md
|
192
134
|
- Gemfile
|
193
135
|
- Gemfile.lock
|
194
|
-
- Guardfile
|
195
|
-
- LICENSE
|
196
|
-
- README.adoc
|
197
136
|
- Rakefile
|
198
137
|
- brine-dsl.gemspec
|
199
|
-
-
|
200
|
-
- docs/build.gradle
|
201
|
-
- docs/cookbook.html
|
202
|
-
- docs/gradle/wrapper/gradle-wrapper.jar
|
203
|
-
- docs/gradle/wrapper/gradle-wrapper.properties
|
204
|
-
- docs/gradlew
|
205
|
-
- docs/gradlew.bat
|
206
|
-
- docs/guide.html
|
207
|
-
- docs/index.html
|
208
|
-
- docs/specs.html
|
209
|
-
- docs/src/cookbook.adoc
|
210
|
-
- docs/src/guide.adoc
|
211
|
-
- docs/src/index.adoc
|
212
|
-
- docs/src/spec.erb
|
213
|
-
- docs/src/specs.adoc
|
214
|
-
- features/argument_transforms/boolean.feature
|
215
|
-
- features/argument_transforms/datetime.feature
|
216
|
-
- features/argument_transforms/integer.feature
|
217
|
-
- features/argument_transforms/list.feature
|
218
|
-
- features/argument_transforms/object.feature
|
219
|
-
- features/argument_transforms/quoted.feature
|
220
|
-
- features/argument_transforms/regex.feature
|
221
|
-
- features/argument_transforms/template.feature
|
222
|
-
- features/argument_transforms/whitespace.feature
|
223
|
-
- features/assertions/is_a_valid.feature
|
224
|
-
- features/assertions/is_empty.feature
|
225
|
-
- features/assertions/is_equal_to.feature
|
226
|
-
- features/assertions/is_including.feature
|
227
|
-
- features/assertions/is_matching.feature
|
228
|
-
- features/assertions/is_of_length.feature
|
229
|
-
- features/assignment/parameter.feature
|
230
|
-
- features/assignment/random.feature
|
231
|
-
- features/assignment/response_attribute.feature
|
232
|
-
- features/assignment/timestamp.feature
|
233
|
-
- features/deprecations/replaced_with.feature
|
234
|
-
- features/request_construction/basic.feature
|
235
|
-
- features/request_construction/body.feature
|
236
|
-
- features/request_construction/clearing.feature
|
237
|
-
- features/request_construction/headers.feature
|
238
|
-
- features/request_construction/params.feature
|
239
|
-
- features/resource_cleanup/cleanup.feature
|
240
|
-
- features/selectors/all.feature
|
241
|
-
- features/selectors/any.feature
|
242
|
-
- features/step_definitions/test_steps.rb
|
243
|
-
- features/support/env.rb
|
138
|
+
- feature_setup.rb
|
244
139
|
- lib/brine.rb
|
245
140
|
- lib/brine/cleaner_upper.rb
|
246
141
|
- lib/brine/coercer.rb
|
@@ -258,10 +153,6 @@ files:
|
|
258
153
|
- lib/brine/transforms.rb
|
259
154
|
- lib/brine/type_checks.rb
|
260
155
|
- lib/brine/util.rb
|
261
|
-
- tutorial/missing.feature
|
262
|
-
- tutorial/post_matching.feature
|
263
|
-
- tutorial/post_status.feature
|
264
|
-
- tutorial/support/env.rb
|
265
156
|
homepage: http://github.com/brightcove/brine
|
266
157
|
licenses:
|
267
158
|
- MIT
|
@@ -282,38 +173,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
282
173
|
version: '0'
|
283
174
|
requirements: []
|
284
175
|
rubyforge_project:
|
285
|
-
rubygems_version: 2.5.
|
176
|
+
rubygems_version: 2.5.2.3
|
286
177
|
signing_key:
|
287
178
|
specification_version: 4
|
288
179
|
summary: Cucumber@REST in Brine
|
289
|
-
test_files:
|
290
|
-
- features/argument_transforms/boolean.feature
|
291
|
-
- features/argument_transforms/datetime.feature
|
292
|
-
- features/argument_transforms/integer.feature
|
293
|
-
- features/argument_transforms/list.feature
|
294
|
-
- features/argument_transforms/object.feature
|
295
|
-
- features/argument_transforms/quoted.feature
|
296
|
-
- features/argument_transforms/regex.feature
|
297
|
-
- features/argument_transforms/template.feature
|
298
|
-
- features/argument_transforms/whitespace.feature
|
299
|
-
- features/assertions/is_a_valid.feature
|
300
|
-
- features/assertions/is_empty.feature
|
301
|
-
- features/assertions/is_equal_to.feature
|
302
|
-
- features/assertions/is_including.feature
|
303
|
-
- features/assertions/is_matching.feature
|
304
|
-
- features/assertions/is_of_length.feature
|
305
|
-
- features/assignment/parameter.feature
|
306
|
-
- features/assignment/random.feature
|
307
|
-
- features/assignment/response_attribute.feature
|
308
|
-
- features/assignment/timestamp.feature
|
309
|
-
- features/deprecations/replaced_with.feature
|
310
|
-
- features/request_construction/basic.feature
|
311
|
-
- features/request_construction/body.feature
|
312
|
-
- features/request_construction/clearing.feature
|
313
|
-
- features/request_construction/headers.feature
|
314
|
-
- features/request_construction/params.feature
|
315
|
-
- features/resource_cleanup/cleanup.feature
|
316
|
-
- features/selectors/all.feature
|
317
|
-
- features/selectors/any.feature
|
318
|
-
- features/step_definitions/test_steps.rb
|
319
|
-
- features/support/env.rb
|
180
|
+
test_files: []
|