brine-dsl 0.12.7 → 0.13.0.pre.SNAPSHOT
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +0 -2
- data/brine-dsl.gemspec +0 -2
- data/lib/brine/cleaning_up.rb +1 -1
- data/lib/brine/mustache_expanding.rb +28 -0
- data/lib/brine/selecting.rb +0 -1
- data/lib/brine/transforming.rb +0 -1
- data/lib/brine.rb +0 -1
- metadata +3 -19
- data/Rakefile +0 -5
- data/lib/brine/assigning.rb +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fdab59095bb86493430ffa5c2955d2cdf0cbb98e7c2bfe2ee133559977b1fc8
|
4
|
+
data.tar.gz: fb98a637de5bf522adf48c15300b7992801d4a6f80581a63839a7b1e448d7da8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 914a86ae7b9bc11cb03168668ccffce0df44d06b5f6173120ce0c73d6184873f1313a47d6740d6694fe3ae9ee6a9773079f496d5a2d44bdb1b51d9282a8eb154
|
7
|
+
data.tar.gz: 47e4f002a3c0ed1d4c640f66d4369e92b619a37943e076945bdbf9da13fa9ba8c1855f7c96014277cb739bc62cd4801bfdfd42ca87c9fc93ce4ff4a5adb55a26
|
data/Gemfile.lock
CHANGED
@@ -53,7 +53,6 @@ GEM
|
|
53
53
|
multi_xml (~> 0.5)
|
54
54
|
rack (>= 1.2, < 3)
|
55
55
|
rack (2.0.7)
|
56
|
-
rake (12.3.3)
|
57
56
|
rspec (3.8.0)
|
58
57
|
rspec-core (~> 3.8.0)
|
59
58
|
rspec-expectations (~> 3.8.0)
|
@@ -74,7 +73,6 @@ PLATFORMS
|
|
74
73
|
|
75
74
|
DEPENDENCIES
|
76
75
|
brine-dsl!
|
77
|
-
rake (~> 12.3)!
|
78
76
|
|
79
77
|
BUNDLED WITH
|
80
78
|
2.0.1
|
data/brine-dsl.gemspec
CHANGED
@@ -21,8 +21,6 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_runtime_dependency 'faraday', '~> 0.12'
|
22
22
|
s.add_runtime_dependency 'faraday_middleware', '~> 0.12'
|
23
23
|
|
24
|
-
s.add_development_dependency 'rake', '~> 12.3'
|
25
|
-
|
26
24
|
s.files = `git ls-files`.split("\n")
|
27
25
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
28
26
|
s.require_paths = ['lib']
|
data/lib/brine/cleaning_up.rb
CHANGED
@@ -88,3 +88,31 @@ module Brine
|
|
88
88
|
##
|
89
89
|
include MustacheExpanding
|
90
90
|
end
|
91
|
+
|
92
|
+
##
|
93
|
+
# Assign the provided value to the specified identifier.
|
94
|
+
#
|
95
|
+
# @param name [Object] Specify the identifier to which the value will be bound.
|
96
|
+
# @param value [Object} Provide the value to bind to the identifier.
|
97
|
+
##
|
98
|
+
When('{grave_param} is assigned {grave_param}') do |name, value|
|
99
|
+
perform { bind(expand(name, binding), value) }
|
100
|
+
end
|
101
|
+
|
102
|
+
##
|
103
|
+
# Assign a random string (UUID) to the specified identifier.
|
104
|
+
#
|
105
|
+
# @param name [Object] Specify the identifier to which a random string will be bound.
|
106
|
+
##
|
107
|
+
When('{grave_param} is assigned a random string') do |name|
|
108
|
+
perform { bind(expand(name, binding), SecureRandom.uuid) }
|
109
|
+
end
|
110
|
+
|
111
|
+
##
|
112
|
+
# Assign a current timestamp to the specified identifier.
|
113
|
+
#
|
114
|
+
# @param name [Object] Specify the identifier to which the timestamp will be bound.
|
115
|
+
##
|
116
|
+
When('{grave_param} is assigned a timestamp') do |name|
|
117
|
+
perform { bind(expand(name, binding), DateTime.now) }
|
118
|
+
end
|
data/lib/brine/selecting.rb
CHANGED
data/lib/brine/transforming.rb
CHANGED
data/lib/brine.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brine-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0.pre.SNAPSHOT
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Whipple
|
@@ -108,20 +108,6 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0.12'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rake
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '12.3'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '12.3'
|
125
111
|
description: Cucumber@REST in Brine
|
126
112
|
email:
|
127
113
|
- mwhipple@brightcove.com
|
@@ -133,12 +119,10 @@ files:
|
|
133
119
|
- ".ruby-version"
|
134
120
|
- Gemfile
|
135
121
|
- Gemfile.lock
|
136
|
-
- Rakefile
|
137
122
|
- brine-dsl.gemspec
|
138
123
|
- feature_setup.rb
|
139
124
|
- lib/brine.rb
|
140
125
|
- lib/brine/assertions.rb
|
141
|
-
- lib/brine/assigning.rb
|
142
126
|
- lib/brine/cleaning_up.rb
|
143
127
|
- lib/brine/client_building.rb
|
144
128
|
- lib/brine/coercing.rb
|
@@ -165,9 +149,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
165
149
|
version: 2.3.0
|
166
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
151
|
requirements:
|
168
|
-
- - "
|
152
|
+
- - ">"
|
169
153
|
- !ruby/object:Gem::Version
|
170
|
-
version:
|
154
|
+
version: 1.3.1
|
171
155
|
requirements: []
|
172
156
|
rubygems_version: 3.0.6
|
173
157
|
signing_key:
|
data/Rakefile
DELETED
data/lib/brine/assigning.rb
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
##
|
2
|
-
# @file assigning.rb
|
3
|
-
# Provide some assignment steps.
|
4
|
-
##
|
5
|
-
|
6
|
-
##
|
7
|
-
# Assign the provided value to the specified identifier.
|
8
|
-
#
|
9
|
-
# @param name [Object] Specify the identifier to which the value will be bound.
|
10
|
-
# @param value [Object} Provide the value to bind to the identifier.
|
11
|
-
##
|
12
|
-
When('{grave_param} is assigned {grave_param}') do |name, value|
|
13
|
-
perform { bind(expand(name, binding), value) }
|
14
|
-
end
|
15
|
-
|
16
|
-
##
|
17
|
-
# Assign a random string (UUID) to the specified identifier.
|
18
|
-
#
|
19
|
-
# @param name [Object] Specify the identifier to which a random string will be bound.
|
20
|
-
##
|
21
|
-
When('{grave_param} is assigned a random string') do |name|
|
22
|
-
perform { bind(expand(name, binding), SecureRandom.uuid) }
|
23
|
-
end
|
24
|
-
|
25
|
-
##
|
26
|
-
# Assign a current timestamp to the specified identifier.
|
27
|
-
#
|
28
|
-
# @param name [Object] Specify the identifier to which the timestamp will be bound.
|
29
|
-
##
|
30
|
-
When('{grave_param} is assigned a timestamp') do |name|
|
31
|
-
perform { bind(expand(name, binding), DateTime.now) }
|
32
|
-
end
|
33
|
-
|