martyr 0.1.75.pre → 0.1.76.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/martyr/version.rb +1 -1
- data/lib/martyr.rb +93 -93
- 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: d9fd1d0ff7c212752d35116d1ae524ff33431471
|
4
|
+
data.tar.gz: d7125f11e0686eca48a9eafa92472a4e33b112c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9db0e38bc3fa8e1467dfee1fab51cc9a40a6a8a485a9ba3de20810f2072d1facd9dedf1d1e19be776705de734ef702cfab754192e304c90cb3eee5d2ee6c7f9f
|
7
|
+
data.tar.gz: d468cd8df0dea9d68b4e457b71b353da16c83ac34df1f78885419055afd7f646bf6f2913b3bf74356a8320bd2d04fc27b8828754e69700667c5ae7664788b787
|
data/lib/martyr/version.rb
CHANGED
data/lib/martyr.rb
CHANGED
@@ -9,108 +9,108 @@ require 'active_record'
|
|
9
9
|
require_relative 'martyr/errors'
|
10
10
|
|
11
11
|
module Martyr
|
12
|
-
autoload :Translations, File.expand_path('
|
13
|
-
autoload :Delegators, File.expand_path('
|
14
|
-
autoload :IntervalSet, File.expand_path('
|
15
|
-
autoload :Interval, File.expand_path('
|
16
|
-
autoload :PointInterval, File.expand_path('
|
17
|
-
autoload :MetricIdStandardizer, File.expand_path('
|
18
|
-
autoload :Registrable, File.expand_path('
|
19
|
-
autoload :Sorter, File.expand_path('
|
12
|
+
autoload :Translations, File.expand_path('../martyr/helpers/translations', __FILE__)
|
13
|
+
autoload :Delegators, File.expand_path('../martyr/helpers/delegators', __FILE__)
|
14
|
+
autoload :IntervalSet, File.expand_path('../martyr/helpers/intervals', __FILE__)
|
15
|
+
autoload :Interval, File.expand_path('../martyr/helpers/intervals', __FILE__)
|
16
|
+
autoload :PointInterval, File.expand_path('../martyr/helpers/intervals', __FILE__)
|
17
|
+
autoload :MetricIdStandardizer, File.expand_path('../martyr/helpers/metric_id_standardizer', __FILE__)
|
18
|
+
autoload :Registrable, File.expand_path('../martyr/helpers/registrable', __FILE__)
|
19
|
+
autoload :Sorter, File.expand_path('../martyr/helpers/sorter', __FILE__)
|
20
20
|
|
21
|
-
autoload :HasLevelCollection, File.expand_path('
|
22
|
-
autoload :Level, File.expand_path('
|
23
|
-
autoload :LevelCollection, File.expand_path('
|
24
|
-
autoload :LevelComparator, File.expand_path('
|
25
|
-
autoload :LevelDefinitionsByDimension, File.expand_path('
|
21
|
+
autoload :HasLevelCollection, File.expand_path('../martyr/level_concern/has_level_collection', __FILE__)
|
22
|
+
autoload :Level, File.expand_path('../martyr/level_concern/level', __FILE__)
|
23
|
+
autoload :LevelCollection, File.expand_path('../martyr/level_concern/level_collection', __FILE__)
|
24
|
+
autoload :LevelComparator, File.expand_path('../martyr/level_concern/level_comparator', __FILE__)
|
25
|
+
autoload :LevelDefinitionsByDimension, File.expand_path('../martyr/level_concern/level_definitions_by_dimension', __FILE__)
|
26
26
|
|
27
|
-
autoload :BaseCube, File.expand_path('
|
28
|
-
autoload :Cube, File.expand_path('
|
29
|
-
autoload :DimensionReference, File.expand_path('
|
30
|
-
autoload :VirtualCube, File.expand_path('
|
27
|
+
autoload :BaseCube, File.expand_path('../martyr/base_cube', __FILE__)
|
28
|
+
autoload :Cube, File.expand_path('../martyr/cube', __FILE__)
|
29
|
+
autoload :DimensionReference, File.expand_path('../martyr/dimension_reference', __FILE__)
|
30
|
+
autoload :VirtualCube, File.expand_path('../martyr/virtual_cube', __FILE__)
|
31
31
|
|
32
32
|
module Schema
|
33
|
-
autoload :DimensionAssociationCollection, File.expand_path('
|
34
|
-
autoload :LevelAssociation, File.expand_path('
|
35
|
-
autoload :LevelAssociationCollection, File.expand_path('
|
36
|
-
autoload :DimensionDefinitionCollection, File.expand_path('
|
37
|
-
autoload :PlainDimensionDefinition, File.expand_path('
|
38
|
-
autoload :BaseFactDefinition, File.expand_path('
|
39
|
-
autoload :FactDefinitionCollection, File.expand_path('
|
40
|
-
autoload :MainFactDefinition, File.expand_path('
|
41
|
-
autoload :SubFactDefinition, File.expand_path('
|
42
|
-
autoload :BaseMetric, File.expand_path('
|
43
|
-
autoload :BuiltInMetric, File.expand_path('
|
44
|
-
autoload :CountDistinctMetric, File.expand_path('
|
45
|
-
autoload :CustomMetric, File.expand_path('
|
46
|
-
autoload :CustomRollup, File.expand_path('
|
47
|
-
autoload :DependencyInferrer, File.expand_path('
|
48
|
-
autoload :MetricDefinitionCollection, File.expand_path('
|
49
|
-
autoload :NamedScope, File.expand_path('
|
50
|
-
autoload :NamedScopeCollection, File.expand_path('
|
51
|
-
autoload :BaseLevelDefinition, File.expand_path('
|
52
|
-
autoload :DegenerateLevelDefinition, File.expand_path('
|
53
|
-
autoload :LevelDefinitionCollection, File.expand_path('
|
54
|
-
autoload :QueryLevelDefinition, File.expand_path('
|
33
|
+
autoload :DimensionAssociationCollection, File.expand_path('../martyr/schema/dimension_associations/dimension_association_collection', __FILE__)
|
34
|
+
autoload :LevelAssociation, File.expand_path('../martyr/schema/dimension_associations/level_association', __FILE__)
|
35
|
+
autoload :LevelAssociationCollection, File.expand_path('../martyr/schema/dimension_associations/level_association_collection', __FILE__)
|
36
|
+
autoload :DimensionDefinitionCollection, File.expand_path('../martyr/schema/dimensions/dimension_definition_collection', __FILE__)
|
37
|
+
autoload :PlainDimensionDefinition, File.expand_path('../martyr/schema/dimensions/plain_dimension_definition', __FILE__)
|
38
|
+
autoload :BaseFactDefinition, File.expand_path('../martyr/schema/facts/base_fact_definition', __FILE__)
|
39
|
+
autoload :FactDefinitionCollection, File.expand_path('../martyr/schema/facts/fact_definition_collection', __FILE__)
|
40
|
+
autoload :MainFactDefinition, File.expand_path('../martyr/schema/facts/main_fact_definition', __FILE__)
|
41
|
+
autoload :SubFactDefinition, File.expand_path('../martyr/schema/facts/sub_fact_definition', __FILE__)
|
42
|
+
autoload :BaseMetric, File.expand_path('../martyr/schema/metrics/base_metric', __FILE__)
|
43
|
+
autoload :BuiltInMetric, File.expand_path('../martyr/schema/metrics/built_in_metric', __FILE__)
|
44
|
+
autoload :CountDistinctMetric, File.expand_path('../martyr/schema/metrics/count_distinct_metric', __FILE__)
|
45
|
+
autoload :CustomMetric, File.expand_path('../martyr/schema/metrics/custom_metric', __FILE__)
|
46
|
+
autoload :CustomRollup, File.expand_path('../martyr/schema/metrics/custom_rollup', __FILE__)
|
47
|
+
autoload :DependencyInferrer, File.expand_path('../martyr/schema/metrics/dependency_inferrer', __FILE__)
|
48
|
+
autoload :MetricDefinitionCollection, File.expand_path('../martyr/schema/metrics/metric_definition_collection', __FILE__)
|
49
|
+
autoload :NamedScope, File.expand_path('../martyr/schema/named_scopes/named_scope', __FILE__)
|
50
|
+
autoload :NamedScopeCollection, File.expand_path('../martyr/schema/named_scopes/named_scope_collection', __FILE__)
|
51
|
+
autoload :BaseLevelDefinition, File.expand_path('../martyr/schema/plain_dimension_levels/base_level_definition', __FILE__)
|
52
|
+
autoload :DegenerateLevelDefinition, File.expand_path('../martyr/schema/plain_dimension_levels/degenerate_level_definition', __FILE__)
|
53
|
+
autoload :LevelDefinitionCollection, File.expand_path('../martyr/schema/plain_dimension_levels/level_definition_collection', __FILE__)
|
54
|
+
autoload :QueryLevelDefinition, File.expand_path('../martyr/schema/plain_dimension_levels/query_level_definition', __FILE__)
|
55
55
|
end
|
56
56
|
|
57
57
|
module Runtime
|
58
|
-
autoload :Coordinates, File.expand_path('
|
59
|
-
autoload :Element, File.expand_path('
|
60
|
-
autoload :ElementCommon, File.expand_path('
|
61
|
-
autoload :ElementLocator, File.expand_path('
|
62
|
-
autoload :Fact, File.expand_path('
|
63
|
-
autoload :FactIndexer, File.expand_path('
|
64
|
-
autoload :FutureFactValue, File.expand_path('
|
65
|
-
autoload :FutureMetric, File.expand_path('
|
66
|
-
autoload :VirtualElement, File.expand_path('
|
67
|
-
autoload :VirtualElementsBuilder, File.expand_path('
|
68
|
-
autoload :BaseLevelScope, File.expand_path('
|
69
|
-
autoload :DegenerateLevelScope, File.expand_path('
|
70
|
-
autoload :DimensionScopeCollection, File.expand_path('
|
71
|
-
autoload :LevelScopeCollection, File.expand_path('
|
72
|
-
autoload :QueryLevelScope, File.expand_path('
|
73
|
-
autoload :BaseFactScope, File.expand_path('
|
74
|
-
autoload :FactScopeCollection, File.expand_path('
|
75
|
-
autoload :MainFactScope, File.expand_path('
|
76
|
-
autoload :NullScope, File.expand_path('
|
77
|
-
autoload :SubFactScope, File.expand_path('
|
78
|
-
autoload :WrappedFactScope, File.expand_path('
|
79
|
-
autoload :PivotAxis, File.expand_path('
|
80
|
-
autoload :PivotCell, File.expand_path('
|
81
|
-
autoload :PivotGrainElement, File.expand_path('
|
82
|
-
autoload :PivotRow, File.expand_path('
|
83
|
-
autoload :PivotTable, File.expand_path('
|
84
|
-
autoload :PivotTableBuilder, File.expand_path('
|
85
|
-
autoload :MetricDependencyResolver, File.expand_path('
|
86
|
-
autoload :QueryContext, File.expand_path('
|
87
|
-
autoload :QueryContextBuilder, File.expand_path('
|
88
|
-
autoload :BaseOperator, File.expand_path('
|
89
|
-
autoload :GroupOperator, File.expand_path('
|
90
|
-
autoload :SelectOperatorForDimension, File.expand_path('
|
91
|
-
autoload :SelectOperatorForMetric, File.expand_path('
|
92
|
-
autoload :WhereOperatorForDimension, File.expand_path('
|
93
|
-
autoload :WhereOperatorForMetric, File.expand_path('
|
94
|
-
autoload :DataSlice, File.expand_path('
|
95
|
-
autoload :MetricDataSlice, File.expand_path('
|
96
|
-
autoload :PlainDimensionDataSlice, File.expand_path('
|
97
|
-
autoload :TimeDimensionDataSlice, File.expand_path('
|
98
|
-
autoload :HasScopedLevels, File.expand_path('
|
99
|
-
autoload :MemorySlice, File.expand_path('
|
100
|
-
autoload :MetricMemorySlice, File.expand_path('
|
101
|
-
autoload :PlainDimensionMemorySlice, File.expand_path('
|
102
|
-
autoload :ScopeableSliceData, File.expand_path('
|
103
|
-
autoload :BaseSliceDefinition, File.expand_path('
|
104
|
-
autoload :MetricSliceDefinition, File.expand_path('
|
105
|
-
autoload :PlainDimensionLevelSliceDefinition, File.expand_path('
|
106
|
-
autoload :QueryMetrics, File.expand_path('
|
107
|
-
autoload :SubCube, File.expand_path('
|
108
|
-
autoload :SubCubeGrain, File.expand_path('
|
58
|
+
autoload :Coordinates, File.expand_path('../martyr/runtime/data_set/coordinates', __FILE__)
|
59
|
+
autoload :Element, File.expand_path('../martyr/runtime/data_set/element', __FILE__)
|
60
|
+
autoload :ElementCommon, File.expand_path('../martyr/runtime/data_set/element_common', __FILE__)
|
61
|
+
autoload :ElementLocator, File.expand_path('../martyr/runtime/data_set/element_locator', __FILE__)
|
62
|
+
autoload :Fact, File.expand_path('../martyr/runtime/data_set/fact', __FILE__)
|
63
|
+
autoload :FactIndexer, File.expand_path('../martyr/runtime/data_set/fact_indexer', __FILE__)
|
64
|
+
autoload :FutureFactValue, File.expand_path('../martyr/runtime/data_set/future_fact_value', __FILE__)
|
65
|
+
autoload :FutureMetric, File.expand_path('../martyr/runtime/data_set/future_metric', __FILE__)
|
66
|
+
autoload :VirtualElement, File.expand_path('../martyr/runtime/data_set/virtual_element', __FILE__)
|
67
|
+
autoload :VirtualElementsBuilder, File.expand_path('../martyr/runtime/data_set/virtual_elements_builder', __FILE__)
|
68
|
+
autoload :BaseLevelScope, File.expand_path('../martyr/runtime/dimension_scopes/base_level_scope', __FILE__)
|
69
|
+
autoload :DegenerateLevelScope, File.expand_path('../martyr/runtime/dimension_scopes/degenerate_level_scope', __FILE__)
|
70
|
+
autoload :DimensionScopeCollection, File.expand_path('../martyr/runtime/dimension_scopes/dimension_scope_collection', __FILE__)
|
71
|
+
autoload :LevelScopeCollection, File.expand_path('../martyr/runtime/dimension_scopes/level_scope_collection', __FILE__)
|
72
|
+
autoload :QueryLevelScope, File.expand_path('../martyr/runtime/dimension_scopes/query_level_scope', __FILE__)
|
73
|
+
autoload :BaseFactScope, File.expand_path('../martyr/runtime/fact_scopes/base_fact_scope', __FILE__)
|
74
|
+
autoload :FactScopeCollection, File.expand_path('../martyr/runtime/fact_scopes/fact_scope_collection', __FILE__)
|
75
|
+
autoload :MainFactScope, File.expand_path('../martyr/runtime/fact_scopes/main_fact_scope', __FILE__)
|
76
|
+
autoload :NullScope, File.expand_path('../martyr/runtime/fact_scopes/null_scope', __FILE__)
|
77
|
+
autoload :SubFactScope, File.expand_path('../martyr/runtime/fact_scopes/sub_fact_scope', __FILE__)
|
78
|
+
autoload :WrappedFactScope, File.expand_path('../martyr/runtime/fact_scopes/wrapped_fact_scope', __FILE__)
|
79
|
+
autoload :PivotAxis, File.expand_path('../martyr/runtime/pivot/pivot_axis', __FILE__)
|
80
|
+
autoload :PivotCell, File.expand_path('../martyr/runtime/pivot/pivot_cell', __FILE__)
|
81
|
+
autoload :PivotGrainElement, File.expand_path('../martyr/runtime/pivot/pivot_grain_element', __FILE__)
|
82
|
+
autoload :PivotRow, File.expand_path('../martyr/runtime/pivot/pivot_row', __FILE__)
|
83
|
+
autoload :PivotTable, File.expand_path('../martyr/runtime/pivot/pivot_table', __FILE__)
|
84
|
+
autoload :PivotTableBuilder, File.expand_path('../martyr/runtime/pivot/pivot_table_builder', __FILE__)
|
85
|
+
autoload :MetricDependencyResolver, File.expand_path('../martyr/runtime/query/metric_dependency_resolver', __FILE__)
|
86
|
+
autoload :QueryContext, File.expand_path('../martyr/runtime/query/query_context', __FILE__)
|
87
|
+
autoload :QueryContextBuilder, File.expand_path('../martyr/runtime/query/query_context_builder', __FILE__)
|
88
|
+
autoload :BaseOperator, File.expand_path('../martyr/runtime/scope_operators/base_operator', __FILE__)
|
89
|
+
autoload :GroupOperator, File.expand_path('../martyr/runtime/scope_operators/group_operator', __FILE__)
|
90
|
+
autoload :SelectOperatorForDimension, File.expand_path('../martyr/runtime/scope_operators/select_operator_for_dimension', __FILE__)
|
91
|
+
autoload :SelectOperatorForMetric, File.expand_path('../martyr/runtime/scope_operators/select_operator_for_metric', __FILE__)
|
92
|
+
autoload :WhereOperatorForDimension, File.expand_path('../martyr/runtime/scope_operators/where_operator_for_dimension', __FILE__)
|
93
|
+
autoload :WhereOperatorForMetric, File.expand_path('../martyr/runtime/scope_operators/where_operator_for_metric', __FILE__)
|
94
|
+
autoload :DataSlice, File.expand_path('../martyr/runtime/slices/data_slices/data_slice', __FILE__)
|
95
|
+
autoload :MetricDataSlice, File.expand_path('../martyr/runtime/slices/data_slices/metric_data_slice', __FILE__)
|
96
|
+
autoload :PlainDimensionDataSlice, File.expand_path('../martyr/runtime/slices/data_slices/plain_dimension_data_slice', __FILE__)
|
97
|
+
autoload :TimeDimensionDataSlice, File.expand_path('../martyr/runtime/slices/data_slices/time_dimension_data_slice', __FILE__)
|
98
|
+
autoload :HasScopedLevels, File.expand_path('../martyr/runtime/slices/has_scoped_levels', __FILE__)
|
99
|
+
autoload :MemorySlice, File.expand_path('../martyr/runtime/slices/memory_slices/memory_slice', __FILE__)
|
100
|
+
autoload :MetricMemorySlice, File.expand_path('../martyr/runtime/slices/memory_slices/metric_memory_slice', __FILE__)
|
101
|
+
autoload :PlainDimensionMemorySlice, File.expand_path('../martyr/runtime/slices/memory_slices/plain_dimension_memory_slice', __FILE__)
|
102
|
+
autoload :ScopeableSliceData, File.expand_path('../martyr/runtime/slices/scopeable_slice_data', __FILE__)
|
103
|
+
autoload :BaseSliceDefinition, File.expand_path('../martyr/runtime/slices/slice_definitions/base_slice_definition', __FILE__)
|
104
|
+
autoload :MetricSliceDefinition, File.expand_path('../martyr/runtime/slices/slice_definitions/metric_slice_definition', __FILE__)
|
105
|
+
autoload :PlainDimensionLevelSliceDefinition, File.expand_path('../martyr/runtime/slices/slice_definitions/plain_dimension_level_slice_definition', __FILE__)
|
106
|
+
autoload :QueryMetrics, File.expand_path('../martyr/runtime/sub_cubes/query_metrics', __FILE__)
|
107
|
+
autoload :SubCube, File.expand_path('../martyr/runtime/sub_cubes/sub_cube', __FILE__)
|
108
|
+
autoload :SubCubeGrain, File.expand_path('../martyr/runtime/sub_cubes/sub_cube_grain', __FILE__)
|
109
109
|
|
110
110
|
module FactFillerStrategies
|
111
|
-
autoload :DegenerateLevelAssociationFillerStrategy, File.expand_path('
|
112
|
-
autoload :QueryLevelAssociationFillerStrategy, File.expand_path('
|
113
|
-
autoload :UnassociatedLevelFillerStrategy, File.expand_path('
|
111
|
+
autoload :DegenerateLevelAssociationFillerStrategy, File.expand_path('../martyr/runtime/sub_cubes/fact_filler_strategies', __FILE__)
|
112
|
+
autoload :QueryLevelAssociationFillerStrategy, File.expand_path('../martyr/runtime/sub_cubes/fact_filler_strategies', __FILE__)
|
113
|
+
autoload :UnassociatedLevelFillerStrategy, File.expand_path('../martyr/runtime/sub_cubes/fact_filler_strategies', __FILE__)
|
114
114
|
end
|
115
115
|
end
|
116
116
|
end
|