juno-report 0.0.6 → 0.0.7

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.
data/.idea/workspace.xml DELETED
@@ -1,281 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="76e9e064-60cb-4b21-9538-43c2d47e8def" name="Default" comment="" />
5
- <ignored path="juno-report.iws" />
6
- <ignored path=".idea/workspace.xml" />
7
- <option name="TRACKING_ENABLED" value="true" />
8
- <option name="SHOW_DIALOG" value="false" />
9
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
- <option name="LAST_RESOLUTION" value="IGNORE" />
12
- </component>
13
- <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
14
- <component name="CreatePatchCommitExecutor">
15
- <option name="PATCH_PATH" value="" />
16
- </component>
17
- <component name="DaemonCodeAnalyzer">
18
- <disable_hints />
19
- </component>
20
- <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
21
- <component name="FavoritesManager">
22
- <favorites_list name="juno-report" />
23
- </component>
24
- <component name="FileEditorManager">
25
- <leaf>
26
- <file leaf-file-name="pdf.rb" pinned="false" current="true" current-in-tab="true">
27
- <entry file="file://$PROJECT_DIR$/lib/juno-report/pdf.rb">
28
- <provider selected="true" editor-type-id="text-editor">
29
- <state line="197" column="64" selection-start="9377" selection-end="9377" vertical-scroll-proportion="2.7813299">
30
- <folding />
31
- </state>
32
- </provider>
33
- </entry>
34
- </file>
35
- </leaf>
36
- </component>
37
- <component name="FindManager">
38
- <FindUsagesManager>
39
- <setting name="OPEN_NEW_TAB" value="false" />
40
- </FindUsagesManager>
41
- </component>
42
- <component name="ProjectFrameBounds">
43
- <option name="x" value="10" />
44
- <option name="y" value="29" />
45
- <option name="width" value="1260" />
46
- <option name="height" value="920" />
47
- </component>
48
- <component name="ProjectLevelVcsManager" settingsEditedManually="false">
49
- <OptionsSetting value="true" id="Add" />
50
- <OptionsSetting value="true" id="Remove" />
51
- <OptionsSetting value="true" id="Checkout" />
52
- <OptionsSetting value="true" id="Update" />
53
- <OptionsSetting value="true" id="Status" />
54
- <OptionsSetting value="true" id="Edit" />
55
- <ConfirmationsSetting value="0" id="Add" />
56
- <ConfirmationsSetting value="0" id="Remove" />
57
- </component>
58
- <component name="ProjectReloadState">
59
- <option name="STATE" value="0" />
60
- </component>
61
- <component name="ProjectView">
62
- <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
63
- <flattenPackages />
64
- <showMembers />
65
- <showModules />
66
- <showLibraryContents />
67
- <hideEmptyPackages />
68
- <abbreviatePackageNames />
69
- <autoscrollToSource />
70
- <autoscrollFromSource />
71
- <sortByType />
72
- </navigator>
73
- <panes>
74
- <pane id="Scope" />
75
- <pane id="ProjectPane">
76
- <subPane>
77
- <PATH>
78
- <PATH_ELEMENT>
79
- <option name="myItemId" value="juno-report" />
80
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
81
- </PATH_ELEMENT>
82
- </PATH>
83
- <PATH>
84
- <PATH_ELEMENT>
85
- <option name="myItemId" value="juno-report" />
86
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
87
- </PATH_ELEMENT>
88
- <PATH_ELEMENT>
89
- <option name="myItemId" value="juno-report" />
90
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
91
- </PATH_ELEMENT>
92
- </PATH>
93
- <PATH>
94
- <PATH_ELEMENT>
95
- <option name="myItemId" value="juno-report" />
96
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
97
- </PATH_ELEMENT>
98
- <PATH_ELEMENT>
99
- <option name="myItemId" value="juno-report" />
100
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
101
- </PATH_ELEMENT>
102
- <PATH_ELEMENT>
103
- <option name="myItemId" value="lib" />
104
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
105
- </PATH_ELEMENT>
106
- </PATH>
107
- <PATH>
108
- <PATH_ELEMENT>
109
- <option name="myItemId" value="juno-report" />
110
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
111
- </PATH_ELEMENT>
112
- <PATH_ELEMENT>
113
- <option name="myItemId" value="juno-report" />
114
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
115
- </PATH_ELEMENT>
116
- <PATH_ELEMENT>
117
- <option name="myItemId" value="lib" />
118
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
119
- </PATH_ELEMENT>
120
- <PATH_ELEMENT>
121
- <option name="myItemId" value="juno-report" />
122
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
123
- </PATH_ELEMENT>
124
- </PATH>
125
- <PATH>
126
- <PATH_ELEMENT>
127
- <option name="myItemId" value="juno-report" />
128
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
129
- </PATH_ELEMENT>
130
- <PATH_ELEMENT>
131
- <option name="myItemId" value="juno-report" />
132
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
133
- </PATH_ELEMENT>
134
- <PATH_ELEMENT>
135
- <option name="myItemId" value="lib" />
136
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
137
- </PATH_ELEMENT>
138
- <PATH_ELEMENT>
139
- <option name="myItemId" value="juno-report" />
140
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
141
- </PATH_ELEMENT>
142
- <PATH_ELEMENT>
143
- <option name="myItemId" value="pdf" />
144
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
145
- </PATH_ELEMENT>
146
- </PATH>
147
- </subPane>
148
- </pane>
149
- </panes>
150
- </component>
151
- <component name="PropertiesComponent">
152
- <property name="options.splitter.main.proportions" value="0.3" />
153
- <property name="WebServerToolWindowFactoryState" value="false" />
154
- <property name="options.lastSelected" value="project.propVCSSupport.Mappings" />
155
- <property name="options.searchVisible" value="true" />
156
- <property name="options.splitter.details.proportions" value="0.2" />
157
- </component>
158
- <component name="RunManager">
159
- <list size="0" />
160
- </component>
161
- <component name="ShelveChangesManager" show_recycled="false" />
162
- <component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false" SSL_PROTOCOLS="sslv3">
163
- <option name="USER" value="" />
164
- <option name="PASSWORD" value="" />
165
- <option name="mySSHConnectionTimeout" value="30000" />
166
- <option name="mySSHReadTimeout" value="30000" />
167
- <option name="LAST_MERGED_REVISION" />
168
- <option name="MERGE_DRY_RUN" value="false" />
169
- <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
170
- <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
171
- <option name="IGNORE_SPACES_IN_MERGE" value="false" />
172
- <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
173
- <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
174
- <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
175
- <option name="FORCE_UPDATE" value="false" />
176
- <option name="IGNORE_EXTERNALS" value="false" />
177
- <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
178
- </component>
179
- <component name="TaskManager">
180
- <task active="true" id="Default" summary="Default task">
181
- <changelist id="76e9e064-60cb-4b21-9538-43c2d47e8def" name="Default" comment="" />
182
- <created>1397740475071</created>
183
- <updated>1397740475071</updated>
184
- </task>
185
- <servers />
186
- </component>
187
- <component name="ToolWindowManager">
188
- <frame x="10" y="29" width="1260" height="920" extended-state="0" />
189
- <editor active="true" />
190
- <layout>
191
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32928312" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
192
- <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
193
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
194
- <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
195
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
196
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24958813" sideWeight="0.6707169" order="0" side_tool="false" content_ui="combo" />
197
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
198
- <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
199
- <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
200
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32928312" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
201
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
202
- <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
203
- <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
204
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
205
- <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
206
- <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
207
- <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
208
- <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
209
- </layout>
210
- </component>
211
- <component name="VcsContentAnnotationSettings">
212
- <option name="myLimit" value="2678400000" />
213
- </component>
214
- <component name="VcsManagerConfiguration">
215
- <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
216
- <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
217
- <option name="CHECK_NEW_TODO" value="true" />
218
- <option name="myTodoPanelSettings">
219
- <value>
220
- <are-packages-shown value="false" />
221
- <are-modules-shown value="false" />
222
- <flatten-packages value="false" />
223
- <is-autoscroll-to-source value="false" />
224
- </value>
225
- </option>
226
- <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
227
- <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
228
- <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
229
- <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
230
- <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
231
- <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
232
- <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
233
- <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
234
- <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
235
- <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
236
- <option name="DEFAULT_PATCH_EXTENSION" value="patch" />
237
- <option name="SHORT_DIFF_HORIZONTALLY" value="true" />
238
- <option name="SHORT_DIFF_EXTRA_LINES" value="2" />
239
- <option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
240
- <option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
241
- <option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
242
- <option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
243
- <option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
244
- <option name="SHOW_DIRTY_RECURSIVELY" value="false" />
245
- <option name="LIMIT_HISTORY" value="true" />
246
- <option name="MAXIMUM_HISTORY_ROWS" value="1000" />
247
- <option name="UPDATE_FILTER_SCOPE_NAME" />
248
- <option name="USE_COMMIT_MESSAGE_MARGIN" value="false" />
249
- <option name="COMMIT_MESSAGE_MARGIN_SIZE" value="72" />
250
- <option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="false" />
251
- <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
252
- <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
253
- <option name="LAST_COMMIT_MESSAGE" />
254
- <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
255
- <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
256
- <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
257
- <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
258
- <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
259
- <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
260
- <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
261
- <option name="ACTIVE_VCS_NAME" />
262
- <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
263
- <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
264
- <option name="UPDATE_FILTER_BY_SCOPE" value="false" />
265
- <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
266
- <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
267
- </component>
268
- <component name="XDebuggerManager">
269
- <breakpoint-manager />
270
- </component>
271
- <component name="editorHistoryManager">
272
- <entry file="file://$PROJECT_DIR$/lib/juno-report/pdf.rb">
273
- <provider selected="true" editor-type-id="text-editor">
274
- <state line="197" column="64" selection-start="9377" selection-end="9377" vertical-scroll-proportion="2.7813299">
275
- <folding />
276
- </state>
277
- </provider>
278
- </entry>
279
- </component>
280
- </project>
281
-
data/samples/example.rb DELETED
@@ -1,21 +0,0 @@
1
- require 'juno-report'
2
-
3
- data = [
4
- {:test_field1 => 'Test Value 1', :test_field2 => "Test Value 1", :test_field3 => 50, :group_field1 => 'Group 1', :group_field2 => 'Subgroup 1'},
5
- {:test_field1 => 'Test Value 2', :test_field2 => "Test Value 2", :test_field3 => 16, :group_field1 => 'Group 1', :group_field2 => 'Subgroup 1'},
6
- {:test_field1 => 'Test Value 5', :test_field2 => "Test Value 3", :test_field3 => 7, :group_field1 => 'Group 1', :group_field2 => 'Subgroup 1'},
7
- {:test_field1 => 'Test Value 3', :test_field2 => "Test Value 9", :test_field3 => 10, :group_field1 => 'Group 1', :group_field2 => 'Subgroup 2'},
8
- {:test_field1 => 'Test Value 3', :test_field2 => "Test Value 2", :test_field3 => 4, :group_field1 => 'Group 1', :group_field2 => 'Subgroup 2'},
9
- {:test_field1 => 'Test Value 9', :test_field2 => "Test Value 4", :test_field3 => 10, :group_field1 => 'Group 1', :group_field2 => 'Subgroup 2'},
10
- {:test_field1 => 'Test Value 7', :test_field2 => "Test Value 5", :test_field3 => 5, :group_field1 => 'Group 1', :group_field2 => 'Subgroup 3'},
11
- {:test_field1 => 'Test Value 3', :test_field2 => "Test Value 5", :test_field3 => 2, :group_field1 => 'Group 1', :group_field2 => 'Subgroup 3'},
12
- {:test_field1 => 'Test Value 3', :test_field2 => "Test Value 2", :test_field3 => 27, :group_field1 => 'Group 2', :group_field2 => 'Subgroup 1'},
13
- {:test_field1 => 'Test Value 3', :test_field2 => "Test Value 5", :test_field3 => 2, :group_field1 => 'Group 2', :group_field2 => 'Subgroup 1'},
14
- {:test_field1 => 'Test Value 0', :test_field2 => "Test Value 4", :test_field3 => 13, :group_field1 => 'Group 2', :group_field2 => 'Subgroup 1'},
15
- {:test_field1 => 'Test Value 4', :test_field2 => "Test Value 7", :test_field3 => 7, :group_field1 => 'Group 2', :group_field2 => 'Subgroup 1'},
16
- {:test_field1 => 'Test Value 1', :test_field2 => "Test Value 3", :test_field3 => 28, :group_field1 => 'Group 2', :group_field2 => 'Subgroup 1'},
17
- {:test_field1 => 'Test Value 4', :test_field2 => "Test Value 5", :test_field3 => 4, :group_field1 => 'Group 2', :group_field2 => 'Subgroup 2'},
18
- {:test_field1 => 'Test Value 5', :test_field2 => "Test Value 6", :test_field3 => 24, :group_field1 => 'Group 2', :group_field2 => 'Subgroup 2'}
19
- ]
20
-
21
- JunoReport::generate(data, :report => 'report')