activecube 0.1.35 → 0.1.36
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/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/lib/activecube/query/cube_query.rb +2 -4
- data/lib/activecube/version.rb +1 -1
- metadata +2 -3
- data/.idea/workspace.xml +0 -152
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46b2458b82a94dbf5b5cad2134992c42713602500fe0062cd0647ab7702ef450
|
|
4
|
+
data.tar.gz: 78c2224aaa1418a4e9fcdbcc9c8253b564b8d4d8d442cf520553f0f6d140b403
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '09c37c867e32c63576d40b782d7f18bdce1458d96fa61d5e284364194ea1c7c9642c9b7208f91e4f549d4ef6404243d433b928e030f170080572f6cc0f25cbdf'
|
|
7
|
+
data.tar.gz: 2bb0f6538d30b0313740682132156930bcc91b4d99c14409027e1356e3283d287348ebb568fe80b93a903482c5d0cfe808aeefe6aafee39c36ca0958f2bd39d2
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -16,7 +16,7 @@ module Activecube::Query
|
|
|
16
16
|
include ChainAppender
|
|
17
17
|
|
|
18
18
|
attr_reader :cube, :slices, :measures, :selectors, :options, :tables, :sql
|
|
19
|
-
attr_accessor :
|
|
19
|
+
attr_accessor :stats
|
|
20
20
|
|
|
21
21
|
def initialize cube, slices = [], measures = [], selectors = [], options = [], model_tables = nil
|
|
22
22
|
@cube = cube
|
|
@@ -95,9 +95,7 @@ module Activecube::Query
|
|
|
95
95
|
def query
|
|
96
96
|
sql = to_query.to_sql
|
|
97
97
|
connection = @composed.connection
|
|
98
|
-
|
|
99
|
-
connection.headers = {'User-Agent': user_agent}
|
|
100
|
-
end
|
|
98
|
+
connection = stats ? stats.proxy(connection) : connection
|
|
101
99
|
connection.exec_query(sql)
|
|
102
100
|
end
|
|
103
101
|
|
data/lib/activecube/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activecube
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.36
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aleksey Studnev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -76,7 +76,6 @@ extensions: []
|
|
|
76
76
|
extra_rdoc_files: []
|
|
77
77
|
files:
|
|
78
78
|
- ".gitignore"
|
|
79
|
-
- ".idea/workspace.xml"
|
|
80
79
|
- ".rspec"
|
|
81
80
|
- ".travis.yml"
|
|
82
81
|
- CODE_OF_CONDUCT.md
|
data/.idea/workspace.xml
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="BranchesTreeState">
|
|
4
|
-
<expand>
|
|
5
|
-
<path>
|
|
6
|
-
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
7
|
-
<item name="LOCAL_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
8
|
-
</path>
|
|
9
|
-
</expand>
|
|
10
|
-
<select />
|
|
11
|
-
</component>
|
|
12
|
-
<component name="ChangeListManager">
|
|
13
|
-
<list default="true" id="77368870-4045-496a-9737-2c7f83086a16" name="Default Changelist" comment="initial implementation">
|
|
14
|
-
<change beforePath="$PROJECT_DIR$/Gemfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Gemfile.lock" afterDir="false" />
|
|
15
|
-
</list>
|
|
16
|
-
<option name="SHOW_DIALOG" value="false" />
|
|
17
|
-
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
18
|
-
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
19
|
-
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
20
|
-
</component>
|
|
21
|
-
<component name="Git.Settings">
|
|
22
|
-
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
23
|
-
</component>
|
|
24
|
-
<component name="ProjectId" id="1Xu9Qappwp8FcqKJZrxzkXK80UI" />
|
|
25
|
-
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
|
26
|
-
<component name="ProjectViewState">
|
|
27
|
-
<option name="hideEmptyMiddlePackages" value="true" />
|
|
28
|
-
<option name="showLibraryContents" value="true" />
|
|
29
|
-
</component>
|
|
30
|
-
<component name="PropertiesComponent">
|
|
31
|
-
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
|
32
|
-
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
|
33
|
-
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
34
|
-
<property name="last_opened_file_path" value="$PROJECT_DIR$/lib/activecube" />
|
|
35
|
-
<property name="node.js.detected.package.eslint" value="true" />
|
|
36
|
-
<property name="node.js.detected.package.tslint" value="true" />
|
|
37
|
-
<property name="node.js.path.for.package.eslint" value="project" />
|
|
38
|
-
<property name="node.js.path.for.package.tslint" value="project" />
|
|
39
|
-
<property name="node.js.selected.package.eslint" value="(autodetect)" />
|
|
40
|
-
<property name="node.js.selected.package.tslint" value="(autodetect)" />
|
|
41
|
-
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
|
42
|
-
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
|
43
|
-
<property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
|
|
44
|
-
</component>
|
|
45
|
-
<component name="RecentsManager">
|
|
46
|
-
<key name="MoveFile.RECENT_KEYS">
|
|
47
|
-
<recent name="$PROJECT_DIR$/lib/activecube" />
|
|
48
|
-
</key>
|
|
49
|
-
<key name="CopyFile.RECENT_KEYS">
|
|
50
|
-
<recent name="$PROJECT_DIR$/lib/activecube" />
|
|
51
|
-
</key>
|
|
52
|
-
</component>
|
|
53
|
-
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
54
|
-
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" RAKE_SPRING_PRE_LOADER_OPTION="true" RAILS_SPRING_PRE_LOADER_OPTION="true" />
|
|
55
|
-
<component name="SvnConfiguration">
|
|
56
|
-
<configuration />
|
|
57
|
-
</component>
|
|
58
|
-
<component name="TaskManager">
|
|
59
|
-
<task active="true" id="Default" summary="Default task">
|
|
60
|
-
<changelist id="77368870-4045-496a-9737-2c7f83086a16" name="Default Changelist" comment="" />
|
|
61
|
-
<created>1581885096407</created>
|
|
62
|
-
<option name="number" value="Default" />
|
|
63
|
-
<option name="presentableId" value="Default" />
|
|
64
|
-
<updated>1581885096407</updated>
|
|
65
|
-
<workItem from="1581885099890" duration="3547000" />
|
|
66
|
-
<workItem from="1621436559886" duration="39000" />
|
|
67
|
-
</task>
|
|
68
|
-
<task id="LOCAL-00001" summary="initial commit">
|
|
69
|
-
<created>1581885128091</created>
|
|
70
|
-
<option name="number" value="00001" />
|
|
71
|
-
<option name="presentableId" value="LOCAL-00001" />
|
|
72
|
-
<option name="project" value="LOCAL" />
|
|
73
|
-
<updated>1581885128091</updated>
|
|
74
|
-
</task>
|
|
75
|
-
<task id="LOCAL-00002" summary="initial implementation">
|
|
76
|
-
<created>1581885329956</created>
|
|
77
|
-
<option name="number" value="00002" />
|
|
78
|
-
<option name="presentableId" value="LOCAL-00002" />
|
|
79
|
-
<option name="project" value="LOCAL" />
|
|
80
|
-
<updated>1581885329956</updated>
|
|
81
|
-
</task>
|
|
82
|
-
<task id="LOCAL-00003" summary="initial implementation">
|
|
83
|
-
<created>1581886068687</created>
|
|
84
|
-
<option name="number" value="00003" />
|
|
85
|
-
<option name="presentableId" value="LOCAL-00003" />
|
|
86
|
-
<option name="project" value="LOCAL" />
|
|
87
|
-
<updated>1581886068687</updated>
|
|
88
|
-
</task>
|
|
89
|
-
<task id="LOCAL-00004" summary="initial implementation">
|
|
90
|
-
<created>1581888304903</created>
|
|
91
|
-
<option name="number" value="00004" />
|
|
92
|
-
<option name="presentableId" value="LOCAL-00004" />
|
|
93
|
-
<option name="project" value="LOCAL" />
|
|
94
|
-
<updated>1581888304904</updated>
|
|
95
|
-
</task>
|
|
96
|
-
<task id="LOCAL-00005" summary="initial implementation">
|
|
97
|
-
<created>1581888510999</created>
|
|
98
|
-
<option name="number" value="00005" />
|
|
99
|
-
<option name="presentableId" value="LOCAL-00005" />
|
|
100
|
-
<option name="project" value="LOCAL" />
|
|
101
|
-
<updated>1581888510999</updated>
|
|
102
|
-
</task>
|
|
103
|
-
<option name="localTasksCounter" value="6" />
|
|
104
|
-
<servers />
|
|
105
|
-
</component>
|
|
106
|
-
<component name="TypeScriptGeneratedFilesManager">
|
|
107
|
-
<option name="version" value="3" />
|
|
108
|
-
</component>
|
|
109
|
-
<component name="Vcs.Log.Tabs.Properties">
|
|
110
|
-
<option name="TAB_STATES">
|
|
111
|
-
<map>
|
|
112
|
-
<entry key="MAIN">
|
|
113
|
-
<value>
|
|
114
|
-
<State />
|
|
115
|
-
</value>
|
|
116
|
-
</entry>
|
|
117
|
-
</map>
|
|
118
|
-
</option>
|
|
119
|
-
<option name="oldMeFiltersMigrated" value="true" />
|
|
120
|
-
</component>
|
|
121
|
-
<component name="VcsManagerConfiguration">
|
|
122
|
-
<MESSAGE value="initial commit" />
|
|
123
|
-
<MESSAGE value="initial implementation" />
|
|
124
|
-
<option name="LAST_COMMIT_MESSAGE" value="initial implementation" />
|
|
125
|
-
</component>
|
|
126
|
-
<component name="WindowStateProjectService">
|
|
127
|
-
<state width="1207" height="48" key="GridCell.Tab.0.bottom" timestamp="1581888894138">
|
|
128
|
-
<screen x="0" y="23" width="1440" height="786" />
|
|
129
|
-
</state>
|
|
130
|
-
<state width="1207" height="48" key="GridCell.Tab.0.bottom/0.23.1440.786@0.23.1440.786" timestamp="1581888894138" />
|
|
131
|
-
<state width="1207" height="48" key="GridCell.Tab.0.center" timestamp="1581888894135">
|
|
132
|
-
<screen x="0" y="23" width="1440" height="786" />
|
|
133
|
-
</state>
|
|
134
|
-
<state width="1207" height="48" key="GridCell.Tab.0.center/0.23.1440.786@0.23.1440.786" timestamp="1581888894135" />
|
|
135
|
-
<state width="1207" height="48" key="GridCell.Tab.0.left" timestamp="1581888894133">
|
|
136
|
-
<screen x="0" y="23" width="1440" height="786" />
|
|
137
|
-
</state>
|
|
138
|
-
<state width="1207" height="48" key="GridCell.Tab.0.left/0.23.1440.786@0.23.1440.786" timestamp="1581888894133" />
|
|
139
|
-
<state width="1207" height="48" key="GridCell.Tab.0.right" timestamp="1581888894136">
|
|
140
|
-
<screen x="0" y="23" width="1440" height="786" />
|
|
141
|
-
</state>
|
|
142
|
-
<state width="1207" height="48" key="GridCell.Tab.0.right/0.23.1440.786@0.23.1440.786" timestamp="1581888894136" />
|
|
143
|
-
<state x="537" y="156" key="Vcs.Push.Dialog.v2" timestamp="1581888518182">
|
|
144
|
-
<screen x="0" y="23" width="1440" height="786" />
|
|
145
|
-
</state>
|
|
146
|
-
<state x="537" y="156" key="Vcs.Push.Dialog.v2/0.23.1440.786@0.23.1440.786" timestamp="1581888518182" />
|
|
147
|
-
<state x="352" y="201" width="819" height="558" key="find.popup" timestamp="1581885294826">
|
|
148
|
-
<screen x="0" y="23" width="1440" height="786" />
|
|
149
|
-
</state>
|
|
150
|
-
<state x="352" y="201" width="819" height="558" key="find.popup/0.23.1440.786@0.23.1440.786" timestamp="1581885294826" />
|
|
151
|
-
</component>
|
|
152
|
-
</project>
|