cql 1.4.0 → 1.6.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 +5 -5
- data/lib/cql.rb +4 -169
- data/lib/cql/dsl.rb +39 -5
- data/lib/cql/feature_filters.rb +2 -0
- data/lib/cql/filters.rb +25 -1
- data/lib/cql/map_reduce.rb +3 -0
- data/lib/cql/model_dsl.rb +7 -1
- data/lib/cql/queriable.rb +6 -1
- data/lib/cql/query.rb +157 -0
- data/lib/cql/repository.rb +25 -0
- data/lib/cql/sso_filters.rb +4 -0
- data/lib/cql/version.rb +2 -1
- data/testing/cucumber/features/clauses/as_clause.feature +10 -9
- data/testing/cucumber/features/clauses/from_clause.feature +15 -20
- data/testing/cucumber/features/clauses/predefined_with_filters.feature +392 -0
- data/testing/cucumber/features/clauses/select_clause.feature +11 -14
- data/testing/cucumber/features/clauses/transform_clause.feature +10 -9
- data/testing/cucumber/features/clauses/with_clause.feature +10 -170
- data/testing/cucumber/features/dsl.feature +15 -34
- data/testing/cucumber/step_definitions/setup_steps.rb +1 -13
- data/testing/cucumber/step_definitions/verification_steps.rb +6 -7
- data/testing/cucumber/support/env.rb +9 -9
- data/testing/gemfiles/cuke_modeler0.gemfile +10 -7
- data/testing/gemfiles/cuke_modeler1.gemfile +6 -7
- data/testing/gemfiles/cuke_modeler2.gemfile +33 -0
- data/testing/gemfiles/cuke_modeler3.gemfile +10 -0
- data/testing/helper_methods.rb +13 -0
- data/testing/model_helper.rb +28 -0
- data/testing/rspec/spec/clauses/as_clause_spec.rb +1 -0
- data/testing/rspec/spec/clauses/from_clause_spec.rb +146 -0
- data/testing/rspec/spec/clauses/select_clause_spec.rb +184 -0
- data/testing/rspec/spec/clauses/transform_clause_spec.rb +35 -0
- data/testing/rspec/spec/clauses/with_clause_spec.rb +84 -0
- data/testing/rspec/spec/clauses/without_clause_spec.rb +171 -0
- data/testing/rspec/spec/cql_spec.rb +25 -0
- data/testing/rspec/spec/dsl_spec.rb +3 -575
- data/testing/rspec/spec/filter_example_spec.rb +1 -1
- data/testing/rspec/spec/filter_feature_dsl_spec.rb +13 -13
- data/testing/rspec/spec/filter_sso_spec.rb +2 -2
- data/testing/rspec/spec/line_filterable_specs.rb +1 -1
- data/testing/rspec/spec/map_reduce_spec.rb +1 -1
- data/testing/rspec/spec/model_query_spec.rb +1 -1
- data/testing/rspec/spec/multiple_queries_spec.rb +1 -1
- data/testing/rspec/spec/name_filterable_specs.rb +1 -1
- data/testing/rspec/spec/predefined_filters_spec.rb +284 -0
- data/testing/rspec/spec/repository_spec.rb +3 -3
- data/testing/rspec/spec/select_feature_dsl_spec.rb +8 -8
- data/testing/rspec/spec/select_scen_outline_dsl_spec.rb +14 -14
- data/testing/rspec/spec/select_scenario_dsl_spec.rb +9 -9
- data/testing/rspec/spec/spec_helper.rb +7 -17
- metadata +52 -23
- data/testing/cucumber/support/transforms.rb +0 -3
@@ -4,7 +4,7 @@ require "#{File.dirname(__FILE__)}/spec_helper"
|
|
4
4
|
describe 'CQL::Repository' do
|
5
5
|
|
6
6
|
let(:clazz) { CQL::Repository }
|
7
|
-
let(:seed_arguments) {
|
7
|
+
let(:seed_arguments) { CQL_FEATURE_FIXTURES_DIRECTORY }
|
8
8
|
|
9
9
|
|
10
10
|
describe 'common behavior' do
|
@@ -19,7 +19,7 @@ describe 'CQL::Repository' do
|
|
19
19
|
end
|
20
20
|
|
21
21
|
it 'can use a file path as a source' do
|
22
|
-
expect { clazz.new(
|
22
|
+
expect { clazz.new(CQL_FEATURE_FIXTURES_DIRECTORY) }.to_not raise_error
|
23
23
|
end
|
24
24
|
|
25
25
|
it 'can use a model as a source' do
|
@@ -33,7 +33,7 @@ describe 'CQL::Repository' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
it 'does not modify the repository during a query' do
|
36
|
-
repo = CQL::Repository.new("#{
|
36
|
+
repo = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple")
|
37
37
|
|
38
38
|
original_state = Marshal.dump(repo)
|
39
39
|
|
@@ -5,7 +5,7 @@ describe "select" do
|
|
5
5
|
describe "from features" do
|
6
6
|
|
7
7
|
it 'should return names from features' do
|
8
|
-
gs = CQL::Repository.new("#{
|
8
|
+
gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple")
|
9
9
|
|
10
10
|
result = gs.query do
|
11
11
|
select name
|
@@ -17,7 +17,7 @@ describe "select" do
|
|
17
17
|
end
|
18
18
|
|
19
19
|
# it 'should return descriptions from features' do
|
20
|
-
# gs = CQL::Repository.new("#{
|
20
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple2")
|
21
21
|
#
|
22
22
|
# result = gs.query do
|
23
23
|
# select description_text
|
@@ -28,7 +28,7 @@ describe "select" do
|
|
28
28
|
# end
|
29
29
|
|
30
30
|
it 'should return paths from from feature files' do
|
31
|
-
repo_path = "#{
|
31
|
+
repo_path = "#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple"
|
32
32
|
gs = CQL::Repository.new(repo_path)
|
33
33
|
|
34
34
|
result = gs.query do
|
@@ -43,7 +43,7 @@ describe "select" do
|
|
43
43
|
end
|
44
44
|
|
45
45
|
# it 'should return tags from features' do
|
46
|
-
# gs = CQL::Repository.new("#{
|
46
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/tagged_features")
|
47
47
|
#
|
48
48
|
# result = gs.query do
|
49
49
|
# select tags
|
@@ -58,7 +58,7 @@ describe "select" do
|
|
58
58
|
#
|
59
59
|
#
|
60
60
|
# it 'should return multiple things from features' do
|
61
|
-
# gs = CQL::Repository.new("#{
|
61
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/tagged_features")
|
62
62
|
#
|
63
63
|
# result = gs.query do
|
64
64
|
# select name, tags
|
@@ -72,7 +72,7 @@ describe "select" do
|
|
72
72
|
# end
|
73
73
|
|
74
74
|
it 'should return things from multiple feature files' do
|
75
|
-
gr = CQL::Repository.new("#{
|
75
|
+
gr = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/combined/b")
|
76
76
|
|
77
77
|
result = gr.query do
|
78
78
|
select name
|
@@ -85,7 +85,7 @@ describe "select" do
|
|
85
85
|
end
|
86
86
|
|
87
87
|
it 'should return multiple features as a list of maps' do
|
88
|
-
gr = CQL::Repository.new("#{
|
88
|
+
gr = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/combined/b")
|
89
89
|
|
90
90
|
result = gr.query do
|
91
91
|
select name
|
@@ -98,7 +98,7 @@ describe "select" do
|
|
98
98
|
end
|
99
99
|
|
100
100
|
# it 'should return ids from features' do
|
101
|
-
# gs = CQL::Repository.new("#{
|
101
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple2")
|
102
102
|
#
|
103
103
|
# result = gs.query do
|
104
104
|
# select raw_element
|
@@ -5,7 +5,7 @@ describe "select" do
|
|
5
5
|
describe 'from scenario_outlines' do
|
6
6
|
|
7
7
|
# it 'should return tags from scenario outlines' do
|
8
|
-
# gs = CQL::Repository.new("#{
|
8
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/filters/tags2")
|
9
9
|
#
|
10
10
|
# result = gs.query do
|
11
11
|
# select tags
|
@@ -25,7 +25,7 @@ describe "select" do
|
|
25
25
|
# end
|
26
26
|
#
|
27
27
|
# it 'should return descriptions from scenario outlines' do
|
28
|
-
# gs = CQL::Repository.new("#{
|
28
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/multiple_examples")
|
29
29
|
#
|
30
30
|
# result = gs.query do
|
31
31
|
# select description_text
|
@@ -37,7 +37,7 @@ describe "select" do
|
|
37
37
|
#
|
38
38
|
|
39
39
|
it 'should return lines from scenario outlines' do
|
40
|
-
gs = CQL::Repository.new("#{
|
40
|
+
gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/basic")
|
41
41
|
|
42
42
|
result = gs.query do
|
43
43
|
select source_line
|
@@ -48,7 +48,7 @@ describe "select" do
|
|
48
48
|
end
|
49
49
|
|
50
50
|
it 'should return names from scenario outlines' do
|
51
|
-
gs = CQL::Repository.new("#{
|
51
|
+
gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/basic")
|
52
52
|
|
53
53
|
result = gs.query do
|
54
54
|
select name
|
@@ -59,7 +59,7 @@ describe "select" do
|
|
59
59
|
end
|
60
60
|
|
61
61
|
# it 'should return types from scenario outlines' do
|
62
|
-
# gs = CQL::Repository.new("#{
|
62
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/basic")
|
63
63
|
#
|
64
64
|
# result = gs.query do
|
65
65
|
# select raw_element
|
@@ -72,7 +72,7 @@ describe "select" do
|
|
72
72
|
# end
|
73
73
|
#
|
74
74
|
# it 'should return step lines from scenario outlines' do
|
75
|
-
# gs = CQL::Repository.new("#{
|
75
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/basic")
|
76
76
|
#
|
77
77
|
# result = gs.query do
|
78
78
|
# select raw_element
|
@@ -85,7 +85,7 @@ describe "select" do
|
|
85
85
|
# end
|
86
86
|
#
|
87
87
|
# it 'should return ids from scenario outlines' do
|
88
|
-
# gs = CQL::Repository.new("#{
|
88
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/basic")
|
89
89
|
#
|
90
90
|
# result = gs.query do
|
91
91
|
# select raw_element
|
@@ -98,7 +98,7 @@ describe "select" do
|
|
98
98
|
# end
|
99
99
|
#
|
100
100
|
# it 'should return steps from scenario outlines' do
|
101
|
-
# gs = CQL::Repository.new("#{
|
101
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/basic")
|
102
102
|
#
|
103
103
|
# result = gs.query do
|
104
104
|
# select raw_element
|
@@ -112,7 +112,7 @@ describe "select" do
|
|
112
112
|
#
|
113
113
|
#
|
114
114
|
# it 'should return multiple things from scenario outlines' do
|
115
|
-
# gs = CQL::Repository.new("#{
|
115
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/multiple_examples")
|
116
116
|
#
|
117
117
|
# result = gs.query do
|
118
118
|
# select name, tags
|
@@ -124,7 +124,7 @@ describe "select" do
|
|
124
124
|
# end
|
125
125
|
|
126
126
|
it 'should return things from multiple feature files' do
|
127
|
-
gr = CQL::Repository.new("#{
|
127
|
+
gr = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/filters/tags2")
|
128
128
|
|
129
129
|
result = gr.query do
|
130
130
|
select name
|
@@ -144,7 +144,7 @@ describe "select" do
|
|
144
144
|
end
|
145
145
|
|
146
146
|
it 'should return multiple scenario outlines as a list of maps' do
|
147
|
-
gr = CQL::Repository.new("#{
|
147
|
+
gr = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines")
|
148
148
|
|
149
149
|
result = gr.query do
|
150
150
|
select name
|
@@ -159,7 +159,7 @@ describe "select" do
|
|
159
159
|
end
|
160
160
|
|
161
161
|
# it "should return the examples from scenario outlines" do
|
162
|
-
# gr = CQL::Repository.new("#{
|
162
|
+
# gr = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/basic")
|
163
163
|
# result = gr.query do
|
164
164
|
# select raw_element
|
165
165
|
# as examples
|
@@ -177,7 +177,7 @@ describe "select" do
|
|
177
177
|
# end
|
178
178
|
|
179
179
|
# it "should return multiple examples used for a single scenario outline" do
|
180
|
-
# gr = CQL::Repository.new("#{
|
180
|
+
# gr = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/multiple_examples")
|
181
181
|
# result = gr.query do
|
182
182
|
# select raw_element
|
183
183
|
# as examples
|
@@ -204,7 +204,7 @@ describe "select" do
|
|
204
204
|
# end
|
205
205
|
#
|
206
206
|
# it 'should return scenario outlines name and line numbers as a map' do
|
207
|
-
# gs = CQL::Repository.new("#{
|
207
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scen_outlines/basic")
|
208
208
|
# result = gs.query do
|
209
209
|
# select name, source_line, raw_element, raw_element, raw_element, raw_element
|
210
210
|
# as 'source_line' => 'line'
|
@@ -5,7 +5,7 @@ describe "select" do
|
|
5
5
|
describe 'from scenarios' do
|
6
6
|
|
7
7
|
it 'should return lines from scenarios' do
|
8
|
-
gr = CQL::Repository.new("#{
|
8
|
+
gr = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple2")
|
9
9
|
|
10
10
|
result = gr.query do
|
11
11
|
select source_line
|
@@ -16,7 +16,7 @@ describe "select" do
|
|
16
16
|
end
|
17
17
|
|
18
18
|
it 'should return names from scenarios' do
|
19
|
-
gr = CQL::Repository.new("#{
|
19
|
+
gr = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple2")
|
20
20
|
|
21
21
|
result = gr.query do
|
22
22
|
select name
|
@@ -28,7 +28,7 @@ describe "select" do
|
|
28
28
|
end
|
29
29
|
|
30
30
|
# it 'should return types from scenarios' do
|
31
|
-
# gs = CQL::Repository.new("#{
|
31
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple2")
|
32
32
|
#
|
33
33
|
# result = gs.query do
|
34
34
|
# select raw_element
|
@@ -42,7 +42,7 @@ describe "select" do
|
|
42
42
|
# end
|
43
43
|
#
|
44
44
|
# it 'should return step lines from scenarios' do
|
45
|
-
# gs = CQL::Repository.new("#{
|
45
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple2")
|
46
46
|
#
|
47
47
|
# result = gs.query do
|
48
48
|
# select raw_element
|
@@ -58,7 +58,7 @@ describe "select" do
|
|
58
58
|
# end
|
59
59
|
#
|
60
60
|
# it 'should return ids from scenarios' do
|
61
|
-
# gs = CQL::Repository.new("#{
|
61
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple2")
|
62
62
|
#
|
63
63
|
# result = gs.query do
|
64
64
|
# select raw_element
|
@@ -74,7 +74,7 @@ describe "select" do
|
|
74
74
|
# end
|
75
75
|
#
|
76
76
|
# it 'should return steps from scenarios' do
|
77
|
-
# gs = CQL::Repository.new("#{
|
77
|
+
# gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple2")
|
78
78
|
#
|
79
79
|
# result = gs.query do
|
80
80
|
# select raw_element
|
@@ -90,7 +90,7 @@ describe "select" do
|
|
90
90
|
# end
|
91
91
|
|
92
92
|
it 'should return multiple things from scenarios' do
|
93
|
-
gs = CQL::Repository.new("#{
|
93
|
+
gs = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple2")
|
94
94
|
|
95
95
|
result = gs.query do
|
96
96
|
select name, source_line
|
@@ -104,7 +104,7 @@ describe "select" do
|
|
104
104
|
end
|
105
105
|
|
106
106
|
it 'should return things from multiple feature files' do
|
107
|
-
gr = CQL::Repository.new("#{
|
107
|
+
gr = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple")
|
108
108
|
|
109
109
|
result = gr.query do
|
110
110
|
select name
|
@@ -118,7 +118,7 @@ describe "select" do
|
|
118
118
|
end
|
119
119
|
|
120
120
|
it 'should get multiple scenarios as a list of maps' do
|
121
|
-
gr = CQL::Repository.new("#{
|
121
|
+
gr = CQL::Repository.new("#{CQL_FEATURE_FIXTURES_DIRECTORY}/scenario/simple2")
|
122
122
|
result = gr.query do
|
123
123
|
select source_line, name
|
124
124
|
from scenarios
|
@@ -11,32 +11,22 @@ require "#{this_dir}/../../../lib/cql/model_dsl"
|
|
11
11
|
|
12
12
|
|
13
13
|
require "#{this_dir}/../../cql_test_model"
|
14
|
+
require "#{this_dir}/../../model_helper"
|
15
|
+
require "#{this_dir}/../../helper_methods"
|
14
16
|
require "#{this_dir}/tag_filterable_specs"
|
15
17
|
require "#{this_dir}/name_filterable_specs"
|
16
18
|
require "#{this_dir}/line_count_filterable_specs"
|
17
19
|
require "#{this_dir}/line_filterable_specs"
|
18
20
|
require "#{this_dir}/queriable_specs"
|
19
21
|
|
20
|
-
|
21
|
-
|
22
|
+
require 'rubygems/mock_gem_ui'
|
22
23
|
|
23
|
-
|
24
|
+
CQL_FEATURE_FIXTURES_DIRECTORY = "#{this_dir}/../../fixtures/features"
|
24
25
|
|
25
|
-
if Gem.loaded_specs['cuke_modeler'].version.version[/^0/]
|
26
|
-
config.filter_run_excluding :cuke_modeler_1x => true
|
27
|
-
end
|
28
26
|
|
29
|
-
|
30
|
-
@feature_fixtures_directory = CQL_FEATURE_FIXTURES_DIRECTORY
|
31
|
-
end
|
27
|
+
RSpec.configure do |_config|
|
32
28
|
|
33
|
-
|
34
|
-
|
35
|
-
end
|
29
|
+
include CQL::ModelHelper
|
30
|
+
include CQL::HelperMethods
|
36
31
|
|
37
|
-
config.after(:each) do
|
38
|
-
# Nothing yet
|
39
|
-
end
|
40
32
|
end
|
41
|
-
|
42
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Kessler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-06-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cuke_modeler
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "<"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '4.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "<"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '4.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "<"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: 13.0.0
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "<"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
41
|
+
version: 13.0.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,14 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 5.0.0
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "<"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 5.0.0
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: simplecov
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,34 +110,34 @@ dependencies:
|
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: 1.0.0
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
|
-
name:
|
113
|
+
name: bundler
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- - "
|
116
|
+
- - "<"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: '
|
118
|
+
version: '3.0'
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
|
-
- - "
|
123
|
+
- - "<"
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: '
|
125
|
+
version: '3.0'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
127
|
+
name: rainbow
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- - "
|
130
|
+
- - "<"
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version:
|
132
|
+
version: 4.0.0
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - "
|
137
|
+
- - "<"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
140
|
-
description: CQL is a domain specific language used for querying a Cucumber (other
|
139
|
+
version: 4.0.0
|
140
|
+
description: CQL is a domain specific language used for querying a Cucumber (or other
|
141
141
|
Gherkin based) test suite. The goal of CQL is to increase the ease with which useful
|
142
142
|
information can be extracted from a modeled test suite and turned into summarized
|
143
143
|
data or reports.
|
@@ -153,11 +153,14 @@ files:
|
|
153
153
|
- lib/cql/map_reduce.rb
|
154
154
|
- lib/cql/model_dsl.rb
|
155
155
|
- lib/cql/queriable.rb
|
156
|
+
- lib/cql/query.rb
|
157
|
+
- lib/cql/repository.rb
|
156
158
|
- lib/cql/sso_filters.rb
|
157
159
|
- lib/cql/version.rb
|
158
160
|
- testing/cql_test_model.rb
|
159
161
|
- testing/cucumber/features/clauses/as_clause.feature
|
160
162
|
- testing/cucumber/features/clauses/from_clause.feature
|
163
|
+
- testing/cucumber/features/clauses/predefined_with_filters.feature
|
161
164
|
- testing/cucumber/features/clauses/select_clause.feature
|
162
165
|
- testing/cucumber/features/clauses/transform_clause.feature
|
163
166
|
- testing/cucumber/features/clauses/with_clause.feature
|
@@ -168,7 +171,6 @@ files:
|
|
168
171
|
- testing/cucumber/step_definitions/setup_steps.rb
|
169
172
|
- testing/cucumber/step_definitions/verification_steps.rb
|
170
173
|
- testing/cucumber/support/env.rb
|
171
|
-
- testing/cucumber/support/transforms.rb
|
172
174
|
- testing/fixtures/features/combined/a/f1_4_scenarios_5_so.feature
|
173
175
|
- testing/fixtures/features/combined/a/f2_7_scenarios_2_so.feature
|
174
176
|
- testing/fixtures/features/combined/a/f3_2_scenarios_3_so.feature
|
@@ -218,6 +220,17 @@ files:
|
|
218
220
|
- testing/fixtures/features/scenario/tags3/simple.feature
|
219
221
|
- testing/gemfiles/cuke_modeler0.gemfile
|
220
222
|
- testing/gemfiles/cuke_modeler1.gemfile
|
223
|
+
- testing/gemfiles/cuke_modeler2.gemfile
|
224
|
+
- testing/gemfiles/cuke_modeler3.gemfile
|
225
|
+
- testing/helper_methods.rb
|
226
|
+
- testing/model_helper.rb
|
227
|
+
- testing/rspec/spec/clauses/as_clause_spec.rb
|
228
|
+
- testing/rspec/spec/clauses/from_clause_spec.rb
|
229
|
+
- testing/rspec/spec/clauses/select_clause_spec.rb
|
230
|
+
- testing/rspec/spec/clauses/transform_clause_spec.rb
|
231
|
+
- testing/rspec/spec/clauses/with_clause_spec.rb
|
232
|
+
- testing/rspec/spec/clauses/without_clause_spec.rb
|
233
|
+
- testing/rspec/spec/cql_spec.rb
|
221
234
|
- testing/rspec/spec/dsl_spec.rb
|
222
235
|
- testing/rspec/spec/filter_example_spec.rb
|
223
236
|
- testing/rspec/spec/filter_feature_dsl_spec.rb
|
@@ -228,6 +241,7 @@ files:
|
|
228
241
|
- testing/rspec/spec/model_query_spec.rb
|
229
242
|
- testing/rspec/spec/multiple_queries_spec.rb
|
230
243
|
- testing/rspec/spec/name_filterable_specs.rb
|
244
|
+
- testing/rspec/spec/predefined_filters_spec.rb
|
231
245
|
- testing/rspec/spec/queriable_specs.rb
|
232
246
|
- testing/rspec/spec/repository_spec.rb
|
233
247
|
- testing/rspec/spec/select_feature_dsl_spec.rb
|
@@ -255,7 +269,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
255
269
|
requirements:
|
256
270
|
- - ">="
|
257
271
|
- !ruby/object:Gem::Version
|
258
|
-
version:
|
272
|
+
version: 1.8.7
|
273
|
+
- - "<"
|
274
|
+
- !ruby/object:Gem::Version
|
275
|
+
version: '3.0'
|
259
276
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
260
277
|
requirements:
|
261
278
|
- - ">="
|
@@ -263,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
263
280
|
version: '0'
|
264
281
|
requirements: []
|
265
282
|
rubyforge_project:
|
266
|
-
rubygems_version: 2.
|
283
|
+
rubygems_version: 2.7.6
|
267
284
|
signing_key:
|
268
285
|
specification_version: 4
|
269
286
|
summary: A gem providing functionality to query a Cucumber test suite.
|
@@ -271,6 +288,7 @@ test_files:
|
|
271
288
|
- testing/cql_test_model.rb
|
272
289
|
- testing/cucumber/features/clauses/as_clause.feature
|
273
290
|
- testing/cucumber/features/clauses/from_clause.feature
|
291
|
+
- testing/cucumber/features/clauses/predefined_with_filters.feature
|
274
292
|
- testing/cucumber/features/clauses/select_clause.feature
|
275
293
|
- testing/cucumber/features/clauses/transform_clause.feature
|
276
294
|
- testing/cucumber/features/clauses/with_clause.feature
|
@@ -281,7 +299,6 @@ test_files:
|
|
281
299
|
- testing/cucumber/step_definitions/setup_steps.rb
|
282
300
|
- testing/cucumber/step_definitions/verification_steps.rb
|
283
301
|
- testing/cucumber/support/env.rb
|
284
|
-
- testing/cucumber/support/transforms.rb
|
285
302
|
- testing/fixtures/features/combined/a/f1_4_scenarios_5_so.feature
|
286
303
|
- testing/fixtures/features/combined/a/f2_7_scenarios_2_so.feature
|
287
304
|
- testing/fixtures/features/combined/a/f3_2_scenarios_3_so.feature
|
@@ -331,6 +348,17 @@ test_files:
|
|
331
348
|
- testing/fixtures/features/scen_outlines/name_filter/name.feature
|
332
349
|
- testing/gemfiles/cuke_modeler0.gemfile
|
333
350
|
- testing/gemfiles/cuke_modeler1.gemfile
|
351
|
+
- testing/gemfiles/cuke_modeler2.gemfile
|
352
|
+
- testing/gemfiles/cuke_modeler3.gemfile
|
353
|
+
- testing/helper_methods.rb
|
354
|
+
- testing/model_helper.rb
|
355
|
+
- testing/rspec/spec/clauses/as_clause_spec.rb
|
356
|
+
- testing/rspec/spec/clauses/from_clause_spec.rb
|
357
|
+
- testing/rspec/spec/clauses/select_clause_spec.rb
|
358
|
+
- testing/rspec/spec/clauses/transform_clause_spec.rb
|
359
|
+
- testing/rspec/spec/clauses/without_clause_spec.rb
|
360
|
+
- testing/rspec/spec/clauses/with_clause_spec.rb
|
361
|
+
- testing/rspec/spec/cql_spec.rb
|
334
362
|
- testing/rspec/spec/dsl_spec.rb
|
335
363
|
- testing/rspec/spec/filter_example_spec.rb
|
336
364
|
- testing/rspec/spec/filter_feature_dsl_spec.rb
|
@@ -341,6 +369,7 @@ test_files:
|
|
341
369
|
- testing/rspec/spec/model_query_spec.rb
|
342
370
|
- testing/rspec/spec/multiple_queries_spec.rb
|
343
371
|
- testing/rspec/spec/name_filterable_specs.rb
|
372
|
+
- testing/rspec/spec/predefined_filters_spec.rb
|
344
373
|
- testing/rspec/spec/queriable_specs.rb
|
345
374
|
- testing/rspec/spec/repository_spec.rb
|
346
375
|
- testing/rspec/spec/select_feature_dsl_spec.rb
|