faceter 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +2 -0
- data/.gitignore +9 -0
- data/.metrics +9 -0
- data/.rspec +2 -0
- data/.rubocop.yml +2 -0
- data/.travis.yml +18 -0
- data/.yardopts +3 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +9 -0
- data/Guardfile +10 -0
- data/LICENSE +21 -0
- data/README.md +295 -0
- data/Rakefile +37 -0
- data/benchmark/data.json +1 -0
- data/benchmark/faceter.rb +73 -0
- data/benchmark/rom.rb +85 -0
- data/benchmark/run.rb +54 -0
- data/config/metrics/STYLEGUIDE +230 -0
- data/config/metrics/cane.yml +5 -0
- data/config/metrics/churn.yml +6 -0
- data/config/metrics/flay.yml +2 -0
- data/config/metrics/metric_fu.yml +14 -0
- data/config/metrics/reek.yml +1 -0
- data/config/metrics/roodi.yml +24 -0
- data/config/metrics/rubocop.yml +75 -0
- data/config/metrics/saikuro.yml +3 -0
- data/config/metrics/simplecov.yml +6 -0
- data/config/metrics/yardstick.yml +37 -0
- data/faceter.gemspec +29 -0
- data/lib/faceter.rb +54 -0
- data/lib/faceter/coercers.rb +68 -0
- data/lib/faceter/functions.rb +30 -0
- data/lib/faceter/functions/add_prefix.rb +25 -0
- data/lib/faceter/functions/claster.rb +27 -0
- data/lib/faceter/functions/clean.rb +27 -0
- data/lib/faceter/functions/drop_prefix.rb +29 -0
- data/lib/faceter/functions/exclude.rb +27 -0
- data/lib/faceter/functions/group.rb +41 -0
- data/lib/faceter/functions/keep_symbol.rb +27 -0
- data/lib/faceter/functions/split.rb +28 -0
- data/lib/faceter/functions/ungroup.rb +31 -0
- data/lib/faceter/functions/unwrap.rb +32 -0
- data/lib/faceter/functions/wrap.rb +32 -0
- data/lib/faceter/mapper.rb +38 -0
- data/lib/faceter/nodes/add_prefix.rb +21 -0
- data/lib/faceter/nodes/change_prefix.rb +51 -0
- data/lib/faceter/nodes/create.rb +43 -0
- data/lib/faceter/nodes/exclude.rb +25 -0
- data/lib/faceter/nodes/field.rb +25 -0
- data/lib/faceter/nodes/fold.rb +25 -0
- data/lib/faceter/nodes/group.rb +26 -0
- data/lib/faceter/nodes/list.rb +25 -0
- data/lib/faceter/nodes/remove_prefix.rb +21 -0
- data/lib/faceter/nodes/rename.rb +25 -0
- data/lib/faceter/nodes/stringify_keys.rb +26 -0
- data/lib/faceter/nodes/symbolize_keys.rb +26 -0
- data/lib/faceter/nodes/unfold.rb +25 -0
- data/lib/faceter/nodes/ungroup.rb +26 -0
- data/lib/faceter/nodes/unwrap.rb +26 -0
- data/lib/faceter/nodes/wrap.rb +26 -0
- data/lib/faceter/rules/append_nested.rb +28 -0
- data/lib/faceter/rules/merge_branches.rb +41 -0
- data/lib/faceter/rules/merge_excludes.rb +29 -0
- data/lib/faceter/rules/merge_renames.rb +27 -0
- data/lib/faceter/rules/order_fields.rb +27 -0
- data/lib/faceter/rules/prepend_nested.rb +51 -0
- data/lib/faceter/version.rb +11 -0
- data/spec/integration/commands/add_prefix_spec.rb +37 -0
- data/spec/integration/commands/create_spec.rb +33 -0
- data/spec/integration/commands/exclude_spec.rb +55 -0
- data/spec/integration/commands/fold_spec.rb +41 -0
- data/spec/integration/commands/group_spec.rb +64 -0
- data/spec/integration/commands/remove_prefix_spec.rb +63 -0
- data/spec/integration/commands/rename_spec.rb +45 -0
- data/spec/integration/commands/stringify_keys_spec.rb +65 -0
- data/spec/integration/commands/symbolize_keys_spec.rb +49 -0
- data/spec/integration/commands/unfold_spec.rb +41 -0
- data/spec/integration/commands/ungroup_spec.rb +64 -0
- data/spec/integration/commands/unwrap_spec.rb +51 -0
- data/spec/integration/commands/wrap_spec.rb +51 -0
- data/spec/integration/rom_spec.rb +39 -0
- data/spec/spec_helper.rb +25 -0
- data/spec/unit/coercers/create_spec.rb +16 -0
- data/spec/unit/coercers/exclude_spec.rb +31 -0
- data/spec/unit/coercers/field_spec.rb +11 -0
- data/spec/unit/coercers/fold_spec.rb +11 -0
- data/spec/unit/coercers/prefix_spec.rb +38 -0
- data/spec/unit/coercers/rename_spec.rb +11 -0
- data/spec/unit/coercers/unfold_spec.rb +11 -0
- data/spec/unit/coercers/unwrap_spec.rb +35 -0
- data/spec/unit/coercers/wrap_spec.rb +35 -0
- data/spec/unit/functions/add_prefix_spec.rb +12 -0
- data/spec/unit/functions/claster_spec.rb +12 -0
- data/spec/unit/functions/clean_spec.rb +18 -0
- data/spec/unit/functions/drop_prefix_spec.rb +33 -0
- data/spec/unit/functions/exclude_spec.rb +64 -0
- data/spec/unit/functions/group_spec.rb +176 -0
- data/spec/unit/functions/keep_symbol_spec.rb +21 -0
- data/spec/unit/functions/split_spec.rb +64 -0
- data/spec/unit/functions/ungroup_spec.rb +87 -0
- data/spec/unit/functions/unwrap_spec.rb +54 -0
- data/spec/unit/functions/wrap_spec.rb +67 -0
- data/spec/unit/nodes/add_prefix_spec.rb +62 -0
- data/spec/unit/nodes/create_spec.rb +53 -0
- data/spec/unit/nodes/exclude_spec.rb +18 -0
- data/spec/unit/nodes/field_spec.rb +30 -0
- data/spec/unit/nodes/fold_spec.rb +19 -0
- data/spec/unit/nodes/group_spec.rb +163 -0
- data/spec/unit/nodes/list_spec.rb +27 -0
- data/spec/unit/nodes/remove_prefix_spec.rb +62 -0
- data/spec/unit/nodes/rename_spec.rb +16 -0
- data/spec/unit/nodes/stringify_keys_spec.rb +21 -0
- data/spec/unit/nodes/symbolize_keys_spec.rb +21 -0
- data/spec/unit/nodes/unfold_spec.rb +19 -0
- data/spec/unit/nodes/ungroup_spec.rb +92 -0
- data/spec/unit/nodes/unwrap_spec.rb +47 -0
- data/spec/unit/nodes/wrap_spec.rb +33 -0
- data/spec/unit/rules/append_nested_spec.rb +41 -0
- data/spec/unit/rules/merge_branches_spec.rb +58 -0
- data/spec/unit/rules/merge_excludes_spec.rb +31 -0
- data/spec/unit/rules/merge_renames_spec.rb +29 -0
- data/spec/unit/rules/order_fields_spec.rb +31 -0
- data/spec/unit/rules/prepend_nested_spec.rb +41 -0
- metadata +315 -0
@@ -0,0 +1,31 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module Faceter::Nodes # namespace for constants
|
4
|
+
|
5
|
+
describe Faceter::Rules::MergeExcludes do
|
6
|
+
|
7
|
+
let(:foo) { Selector.new(only: 1..2) }
|
8
|
+
let(:bar) { Selector.new(only: 3..5) }
|
9
|
+
|
10
|
+
let(:input) { [left, right] }
|
11
|
+
|
12
|
+
it_behaves_like :skipping_nodes do
|
13
|
+
let(:left) { Exclude.new(selector: foo) }
|
14
|
+
let(:right) { AddPrefix.new(prefix: :foo) }
|
15
|
+
end
|
16
|
+
|
17
|
+
it_behaves_like :skipping_nodes do
|
18
|
+
let(:left) { AddPrefix.new(prefix: :foo) }
|
19
|
+
let(:right) { Exclude.new(selector: foo) }
|
20
|
+
end
|
21
|
+
|
22
|
+
it_behaves_like :optimizing_nodes do
|
23
|
+
let(:left) { Exclude.new(selector: foo) }
|
24
|
+
let(:right) { Exclude.new(selector: bar) }
|
25
|
+
|
26
|
+
let(:output) { Exclude.new(selector: foo | bar) }
|
27
|
+
end
|
28
|
+
|
29
|
+
end # describe Faceter::Rules::MergeExcludes
|
30
|
+
|
31
|
+
end # module Faceter
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module Faceter::Nodes # namespace for constants
|
4
|
+
|
5
|
+
describe Faceter::Rules::MergeRenames do
|
6
|
+
|
7
|
+
it_behaves_like :skipping_nodes do
|
8
|
+
let(:left) { Rename.new(keys: { foo: :bar }) }
|
9
|
+
let(:right) { AbstractMapper::Node.new(keys: { foo: :bar }) }
|
10
|
+
let(:input) { [left, right] }
|
11
|
+
end
|
12
|
+
|
13
|
+
it_behaves_like :skipping_nodes do
|
14
|
+
let(:left) { AbstractMapper::Node.new(keys: { foo: :bar }) }
|
15
|
+
let(:right) { Rename.new(keys: { foo: :bar }) }
|
16
|
+
let(:input) { [left, right] }
|
17
|
+
end
|
18
|
+
|
19
|
+
it_behaves_like :optimizing_nodes do
|
20
|
+
let(:left) { Rename.new(keys: { foo: :bar }) }
|
21
|
+
let(:right) { Rename.new(keys: { baz: :qux }) }
|
22
|
+
let(:input) { [left, right] }
|
23
|
+
|
24
|
+
let(:output) { Rename.new(keys: { foo: :bar, baz: :qux }) }
|
25
|
+
end
|
26
|
+
|
27
|
+
end # describe Faceter::Rules::MergeRenames
|
28
|
+
|
29
|
+
end # module Faceter::Nodes
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module Faceter::Nodes # keyspace for constants
|
4
|
+
|
5
|
+
describe Faceter::Rules::OrderFields do
|
6
|
+
|
7
|
+
it_behaves_like :optimizing_nodes do
|
8
|
+
let(:nodes) do
|
9
|
+
[
|
10
|
+
Field.new(key: :foo),
|
11
|
+
Field.new(key: :bar),
|
12
|
+
Field.new(key: :foo),
|
13
|
+
Rename.new(keys: { foo: :bar }),
|
14
|
+
Field.new(key: :foo)
|
15
|
+
]
|
16
|
+
end
|
17
|
+
|
18
|
+
let(:output) do
|
19
|
+
[
|
20
|
+
Field.new(key: :bar),
|
21
|
+
Field.new(key: :foo),
|
22
|
+
Field.new(key: :foo),
|
23
|
+
Rename.new(keys: { foo: :bar }),
|
24
|
+
Field.new(key: :foo)
|
25
|
+
]
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
end # describe Faceter::Rules::OrderFields
|
30
|
+
|
31
|
+
end # module Faceter
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module Faceter::Nodes
|
4
|
+
|
5
|
+
describe Faceter::Rules::PrependNested do
|
6
|
+
|
7
|
+
let(:one) { ice_double }
|
8
|
+
let(:input) { [left, right] }
|
9
|
+
|
10
|
+
it_behaves_like :skipping_nodes do
|
11
|
+
let(:left) { AddPrefix.new(prefix: :foo) }
|
12
|
+
let(:right) { AddPrefix.new(prefix: :bar) }
|
13
|
+
end
|
14
|
+
|
15
|
+
it_behaves_like :skipping_nodes do
|
16
|
+
let(:left) { AddPrefix.new(prefix: :foo) }
|
17
|
+
let(:right) { Field.new(key: :bar) }
|
18
|
+
end
|
19
|
+
|
20
|
+
it_behaves_like :skipping_nodes do
|
21
|
+
let(:left) { Exclude.new(prefix: :foo) }
|
22
|
+
let(:right) { List.new }
|
23
|
+
end
|
24
|
+
|
25
|
+
it_behaves_like :optimizing_nodes do
|
26
|
+
let(:left) { AddPrefix.new(prefix: :foo) }
|
27
|
+
let(:right) { List.new { [one] } }
|
28
|
+
|
29
|
+
let(:output) { right }
|
30
|
+
end
|
31
|
+
|
32
|
+
it_behaves_like :optimizing_nodes do
|
33
|
+
let(:left) { AddPrefix.new(prefix: :foo, nested: true) }
|
34
|
+
let(:right) { List.new { [one] } }
|
35
|
+
|
36
|
+
let(:output) { List.new { [left, one] } }
|
37
|
+
end
|
38
|
+
|
39
|
+
end # describe Faceter::Rules::PrependNested
|
40
|
+
|
41
|
+
end # module Faceter::Nodes
|
metadata
ADDED
@@ -0,0 +1,315 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: faceter
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrew Kozin
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-08-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: abstract_mapper
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.0.2
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.0.2
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: selector
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0.0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: hexx-rspec
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.4'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.4'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rom
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0.8'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0.8'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: benchmark-ips
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '2.2'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '2.2'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: inflecto
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0.0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0.0'
|
103
|
+
description:
|
104
|
+
email: andrew.kozin@gmail.com
|
105
|
+
executables: []
|
106
|
+
extensions: []
|
107
|
+
extra_rdoc_files:
|
108
|
+
- README.md
|
109
|
+
- LICENSE
|
110
|
+
files:
|
111
|
+
- ".coveralls.yml"
|
112
|
+
- ".gitignore"
|
113
|
+
- ".metrics"
|
114
|
+
- ".rspec"
|
115
|
+
- ".rubocop.yml"
|
116
|
+
- ".travis.yml"
|
117
|
+
- ".yardopts"
|
118
|
+
- CHANGELOG.md
|
119
|
+
- Gemfile
|
120
|
+
- Guardfile
|
121
|
+
- LICENSE
|
122
|
+
- README.md
|
123
|
+
- Rakefile
|
124
|
+
- benchmark/data.json
|
125
|
+
- benchmark/faceter.rb
|
126
|
+
- benchmark/rom.rb
|
127
|
+
- benchmark/run.rb
|
128
|
+
- config/metrics/STYLEGUIDE
|
129
|
+
- config/metrics/cane.yml
|
130
|
+
- config/metrics/churn.yml
|
131
|
+
- config/metrics/flay.yml
|
132
|
+
- config/metrics/metric_fu.yml
|
133
|
+
- config/metrics/reek.yml
|
134
|
+
- config/metrics/roodi.yml
|
135
|
+
- config/metrics/rubocop.yml
|
136
|
+
- config/metrics/saikuro.yml
|
137
|
+
- config/metrics/simplecov.yml
|
138
|
+
- config/metrics/yardstick.yml
|
139
|
+
- faceter.gemspec
|
140
|
+
- lib/faceter.rb
|
141
|
+
- lib/faceter/coercers.rb
|
142
|
+
- lib/faceter/functions.rb
|
143
|
+
- lib/faceter/functions/add_prefix.rb
|
144
|
+
- lib/faceter/functions/claster.rb
|
145
|
+
- lib/faceter/functions/clean.rb
|
146
|
+
- lib/faceter/functions/drop_prefix.rb
|
147
|
+
- lib/faceter/functions/exclude.rb
|
148
|
+
- lib/faceter/functions/group.rb
|
149
|
+
- lib/faceter/functions/keep_symbol.rb
|
150
|
+
- lib/faceter/functions/split.rb
|
151
|
+
- lib/faceter/functions/ungroup.rb
|
152
|
+
- lib/faceter/functions/unwrap.rb
|
153
|
+
- lib/faceter/functions/wrap.rb
|
154
|
+
- lib/faceter/mapper.rb
|
155
|
+
- lib/faceter/nodes/add_prefix.rb
|
156
|
+
- lib/faceter/nodes/change_prefix.rb
|
157
|
+
- lib/faceter/nodes/create.rb
|
158
|
+
- lib/faceter/nodes/exclude.rb
|
159
|
+
- lib/faceter/nodes/field.rb
|
160
|
+
- lib/faceter/nodes/fold.rb
|
161
|
+
- lib/faceter/nodes/group.rb
|
162
|
+
- lib/faceter/nodes/list.rb
|
163
|
+
- lib/faceter/nodes/remove_prefix.rb
|
164
|
+
- lib/faceter/nodes/rename.rb
|
165
|
+
- lib/faceter/nodes/stringify_keys.rb
|
166
|
+
- lib/faceter/nodes/symbolize_keys.rb
|
167
|
+
- lib/faceter/nodes/unfold.rb
|
168
|
+
- lib/faceter/nodes/ungroup.rb
|
169
|
+
- lib/faceter/nodes/unwrap.rb
|
170
|
+
- lib/faceter/nodes/wrap.rb
|
171
|
+
- lib/faceter/rules/append_nested.rb
|
172
|
+
- lib/faceter/rules/merge_branches.rb
|
173
|
+
- lib/faceter/rules/merge_excludes.rb
|
174
|
+
- lib/faceter/rules/merge_renames.rb
|
175
|
+
- lib/faceter/rules/order_fields.rb
|
176
|
+
- lib/faceter/rules/prepend_nested.rb
|
177
|
+
- lib/faceter/version.rb
|
178
|
+
- spec/integration/commands/add_prefix_spec.rb
|
179
|
+
- spec/integration/commands/create_spec.rb
|
180
|
+
- spec/integration/commands/exclude_spec.rb
|
181
|
+
- spec/integration/commands/fold_spec.rb
|
182
|
+
- spec/integration/commands/group_spec.rb
|
183
|
+
- spec/integration/commands/remove_prefix_spec.rb
|
184
|
+
- spec/integration/commands/rename_spec.rb
|
185
|
+
- spec/integration/commands/stringify_keys_spec.rb
|
186
|
+
- spec/integration/commands/symbolize_keys_spec.rb
|
187
|
+
- spec/integration/commands/unfold_spec.rb
|
188
|
+
- spec/integration/commands/ungroup_spec.rb
|
189
|
+
- spec/integration/commands/unwrap_spec.rb
|
190
|
+
- spec/integration/commands/wrap_spec.rb
|
191
|
+
- spec/integration/rom_spec.rb
|
192
|
+
- spec/spec_helper.rb
|
193
|
+
- spec/unit/coercers/create_spec.rb
|
194
|
+
- spec/unit/coercers/exclude_spec.rb
|
195
|
+
- spec/unit/coercers/field_spec.rb
|
196
|
+
- spec/unit/coercers/fold_spec.rb
|
197
|
+
- spec/unit/coercers/prefix_spec.rb
|
198
|
+
- spec/unit/coercers/rename_spec.rb
|
199
|
+
- spec/unit/coercers/unfold_spec.rb
|
200
|
+
- spec/unit/coercers/unwrap_spec.rb
|
201
|
+
- spec/unit/coercers/wrap_spec.rb
|
202
|
+
- spec/unit/functions/add_prefix_spec.rb
|
203
|
+
- spec/unit/functions/claster_spec.rb
|
204
|
+
- spec/unit/functions/clean_spec.rb
|
205
|
+
- spec/unit/functions/drop_prefix_spec.rb
|
206
|
+
- spec/unit/functions/exclude_spec.rb
|
207
|
+
- spec/unit/functions/group_spec.rb
|
208
|
+
- spec/unit/functions/keep_symbol_spec.rb
|
209
|
+
- spec/unit/functions/split_spec.rb
|
210
|
+
- spec/unit/functions/ungroup_spec.rb
|
211
|
+
- spec/unit/functions/unwrap_spec.rb
|
212
|
+
- spec/unit/functions/wrap_spec.rb
|
213
|
+
- spec/unit/nodes/add_prefix_spec.rb
|
214
|
+
- spec/unit/nodes/create_spec.rb
|
215
|
+
- spec/unit/nodes/exclude_spec.rb
|
216
|
+
- spec/unit/nodes/field_spec.rb
|
217
|
+
- spec/unit/nodes/fold_spec.rb
|
218
|
+
- spec/unit/nodes/group_spec.rb
|
219
|
+
- spec/unit/nodes/list_spec.rb
|
220
|
+
- spec/unit/nodes/remove_prefix_spec.rb
|
221
|
+
- spec/unit/nodes/rename_spec.rb
|
222
|
+
- spec/unit/nodes/stringify_keys_spec.rb
|
223
|
+
- spec/unit/nodes/symbolize_keys_spec.rb
|
224
|
+
- spec/unit/nodes/unfold_spec.rb
|
225
|
+
- spec/unit/nodes/ungroup_spec.rb
|
226
|
+
- spec/unit/nodes/unwrap_spec.rb
|
227
|
+
- spec/unit/nodes/wrap_spec.rb
|
228
|
+
- spec/unit/rules/append_nested_spec.rb
|
229
|
+
- spec/unit/rules/merge_branches_spec.rb
|
230
|
+
- spec/unit/rules/merge_excludes_spec.rb
|
231
|
+
- spec/unit/rules/merge_renames_spec.rb
|
232
|
+
- spec/unit/rules/order_fields_spec.rb
|
233
|
+
- spec/unit/rules/prepend_nested_spec.rb
|
234
|
+
homepage: https://github.com/nepalez/faceter
|
235
|
+
licenses:
|
236
|
+
- MIT
|
237
|
+
metadata: {}
|
238
|
+
post_install_message:
|
239
|
+
rdoc_options: []
|
240
|
+
require_paths:
|
241
|
+
- lib
|
242
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
243
|
+
requirements:
|
244
|
+
- - ">="
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
version: '2.1'
|
247
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
|
+
requirements:
|
249
|
+
- - ">="
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '0'
|
252
|
+
requirements: []
|
253
|
+
rubyforge_project:
|
254
|
+
rubygems_version: 2.4.6
|
255
|
+
signing_key:
|
256
|
+
specification_version: 4
|
257
|
+
summary: ROM-compatible data mapper
|
258
|
+
test_files:
|
259
|
+
- spec/spec_helper.rb
|
260
|
+
- spec/integration/rom_spec.rb
|
261
|
+
- spec/integration/commands/remove_prefix_spec.rb
|
262
|
+
- spec/integration/commands/unfold_spec.rb
|
263
|
+
- spec/integration/commands/stringify_keys_spec.rb
|
264
|
+
- spec/integration/commands/fold_spec.rb
|
265
|
+
- spec/integration/commands/unwrap_spec.rb
|
266
|
+
- spec/integration/commands/create_spec.rb
|
267
|
+
- spec/integration/commands/wrap_spec.rb
|
268
|
+
- spec/integration/commands/ungroup_spec.rb
|
269
|
+
- spec/integration/commands/add_prefix_spec.rb
|
270
|
+
- spec/integration/commands/group_spec.rb
|
271
|
+
- spec/integration/commands/rename_spec.rb
|
272
|
+
- spec/integration/commands/exclude_spec.rb
|
273
|
+
- spec/integration/commands/symbolize_keys_spec.rb
|
274
|
+
- spec/unit/functions/unwrap_spec.rb
|
275
|
+
- spec/unit/functions/keep_symbol_spec.rb
|
276
|
+
- spec/unit/functions/wrap_spec.rb
|
277
|
+
- spec/unit/functions/ungroup_spec.rb
|
278
|
+
- spec/unit/functions/add_prefix_spec.rb
|
279
|
+
- spec/unit/functions/claster_spec.rb
|
280
|
+
- spec/unit/functions/group_spec.rb
|
281
|
+
- spec/unit/functions/clean_spec.rb
|
282
|
+
- spec/unit/functions/exclude_spec.rb
|
283
|
+
- spec/unit/functions/drop_prefix_spec.rb
|
284
|
+
- spec/unit/functions/split_spec.rb
|
285
|
+
- spec/unit/rules/order_fields_spec.rb
|
286
|
+
- spec/unit/rules/prepend_nested_spec.rb
|
287
|
+
- spec/unit/rules/append_nested_spec.rb
|
288
|
+
- spec/unit/rules/merge_branches_spec.rb
|
289
|
+
- spec/unit/rules/merge_excludes_spec.rb
|
290
|
+
- spec/unit/rules/merge_renames_spec.rb
|
291
|
+
- spec/unit/coercers/unfold_spec.rb
|
292
|
+
- spec/unit/coercers/fold_spec.rb
|
293
|
+
- spec/unit/coercers/unwrap_spec.rb
|
294
|
+
- spec/unit/coercers/create_spec.rb
|
295
|
+
- spec/unit/coercers/wrap_spec.rb
|
296
|
+
- spec/unit/coercers/rename_spec.rb
|
297
|
+
- spec/unit/coercers/prefix_spec.rb
|
298
|
+
- spec/unit/coercers/exclude_spec.rb
|
299
|
+
- spec/unit/coercers/field_spec.rb
|
300
|
+
- spec/unit/nodes/list_spec.rb
|
301
|
+
- spec/unit/nodes/remove_prefix_spec.rb
|
302
|
+
- spec/unit/nodes/unfold_spec.rb
|
303
|
+
- spec/unit/nodes/stringify_keys_spec.rb
|
304
|
+
- spec/unit/nodes/fold_spec.rb
|
305
|
+
- spec/unit/nodes/unwrap_spec.rb
|
306
|
+
- spec/unit/nodes/create_spec.rb
|
307
|
+
- spec/unit/nodes/wrap_spec.rb
|
308
|
+
- spec/unit/nodes/ungroup_spec.rb
|
309
|
+
- spec/unit/nodes/add_prefix_spec.rb
|
310
|
+
- spec/unit/nodes/group_spec.rb
|
311
|
+
- spec/unit/nodes/rename_spec.rb
|
312
|
+
- spec/unit/nodes/exclude_spec.rb
|
313
|
+
- spec/unit/nodes/field_spec.rb
|
314
|
+
- spec/unit/nodes/symbolize_keys_spec.rb
|
315
|
+
has_rdoc:
|