control_group 0.0.2
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/.gitignore +5 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/control_group.iml +10 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +5 -0
- data/.idea/modules.xml +9 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +363 -0
- data/Gemfile +4 -0
- data/Rakefile +1 -0
- data/control_group.gemspec +24 -0
- data/lib/control_group/version.rb +3 -0
- data/lib/control_group.rb +28 -0
- metadata +60 -0
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
control_group
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build control_group-0.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install control_group-0.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.1 and build and push control_group-0.0.1.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="NewModuleRootManager">
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
5
|
+
<orderEntry type="inheritedJdk" />
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
7
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.0.22, ruby-1.9.3-p125) [gem]" level="application" />
|
8
|
+
</component>
|
9
|
+
</module>
|
10
|
+
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
data/.idea/modules.xml
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/control_group.iml" filepath="$PROJECT_DIR$/.idea/control_group.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
9
|
+
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,363 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="0bdefc3c-7348-4624-93b9-780080c7d810" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/control_group/version.rb" afterPath="$PROJECT_DIR$/lib/control_group/version.rb" />
|
6
|
+
</list>
|
7
|
+
<ignored path="control_group.iws" />
|
8
|
+
<ignored path=".idea/workspace.xml" />
|
9
|
+
<option name="TRACKING_ENABLED" value="true" />
|
10
|
+
<option name="SHOW_DIALOG" value="false" />
|
11
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
12
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
13
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
14
|
+
</component>
|
15
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
16
|
+
<component name="CreatePatchCommitExecutor">
|
17
|
+
<option name="PATCH_PATH" value="" />
|
18
|
+
</component>
|
19
|
+
<component name="DaemonCodeAnalyzer">
|
20
|
+
<disable_hints />
|
21
|
+
</component>
|
22
|
+
<component name="FavoritesManager">
|
23
|
+
<favorites_list name="control_group" />
|
24
|
+
</component>
|
25
|
+
<component name="FileEditorManager">
|
26
|
+
<leaf>
|
27
|
+
<file leaf-file-name="control_group.gemspec" pinned="false" current="false" current-in-tab="false">
|
28
|
+
<entry file="file://$PROJECT_DIR$/control_group.gemspec">
|
29
|
+
<provider selected="true" editor-type-id="text-editor">
|
30
|
+
<state line="9" column="37" selection-start="313" selection-end="313" vertical-scroll-proportion="0.0">
|
31
|
+
<folding />
|
32
|
+
</state>
|
33
|
+
</provider>
|
34
|
+
</entry>
|
35
|
+
</file>
|
36
|
+
<file leaf-file-name=".gitignore" pinned="false" current="false" current-in-tab="false">
|
37
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
38
|
+
<provider selected="true" editor-type-id="text-editor">
|
39
|
+
<state line="4" column="1" selection-start="34" selection-end="34" vertical-scroll-proportion="0.0">
|
40
|
+
<folding />
|
41
|
+
</state>
|
42
|
+
</provider>
|
43
|
+
</entry>
|
44
|
+
</file>
|
45
|
+
<file leaf-file-name="control_group.rb" pinned="false" current="false" current-in-tab="false">
|
46
|
+
<entry file="file://$PROJECT_DIR$/lib/control_group.rb">
|
47
|
+
<provider selected="true" editor-type-id="text-editor">
|
48
|
+
<state line="17" column="62" selection-start="632" selection-end="632" vertical-scroll-proportion="0.0">
|
49
|
+
<folding />
|
50
|
+
</state>
|
51
|
+
</provider>
|
52
|
+
</entry>
|
53
|
+
</file>
|
54
|
+
<file leaf-file-name="Gemfile.lock" pinned="false" current="false" current-in-tab="false">
|
55
|
+
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
56
|
+
<provider selected="true" editor-type-id="text-editor">
|
57
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
58
|
+
<folding />
|
59
|
+
</state>
|
60
|
+
</provider>
|
61
|
+
</entry>
|
62
|
+
</file>
|
63
|
+
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
64
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
65
|
+
<provider selected="true" editor-type-id="text-editor">
|
66
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
67
|
+
<folding />
|
68
|
+
</state>
|
69
|
+
</provider>
|
70
|
+
</entry>
|
71
|
+
</file>
|
72
|
+
<file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
|
73
|
+
<entry file="file://$PROJECT_DIR$/lib/control_group/version.rb">
|
74
|
+
<provider selected="true" editor-type-id="text-editor">
|
75
|
+
<state line="1" column="18" selection-start="38" selection-end="38" vertical-scroll-proportion="0.018994413">
|
76
|
+
<folding />
|
77
|
+
</state>
|
78
|
+
</provider>
|
79
|
+
</entry>
|
80
|
+
</file>
|
81
|
+
</leaf>
|
82
|
+
</component>
|
83
|
+
<component name="Git.Settings">
|
84
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
85
|
+
</component>
|
86
|
+
<component name="IdeDocumentHistory">
|
87
|
+
<option name="changedFiles">
|
88
|
+
<list>
|
89
|
+
<option value="$PROJECT_DIR$/control_group.gemspec" />
|
90
|
+
<option value="$PROJECT_DIR$/lib/control_group.rb" />
|
91
|
+
<option value="$PROJECT_DIR$/.gitignore" />
|
92
|
+
<option value="$PROJECT_DIR$/lib/control_group/version.rb" />
|
93
|
+
</list>
|
94
|
+
</option>
|
95
|
+
</component>
|
96
|
+
<component name="ProjectFrameBounds">
|
97
|
+
<option name="x" value="-8" />
|
98
|
+
<option name="y" value="-8" />
|
99
|
+
<option name="width" value="1936" />
|
100
|
+
<option name="height" value="1056" />
|
101
|
+
</component>
|
102
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
103
|
+
<OptionsSetting value="true" id="Add" />
|
104
|
+
<OptionsSetting value="true" id="Remove" />
|
105
|
+
<OptionsSetting value="true" id="Checkout" />
|
106
|
+
<OptionsSetting value="true" id="Update" />
|
107
|
+
<OptionsSetting value="true" id="Status" />
|
108
|
+
<OptionsSetting value="true" id="Edit" />
|
109
|
+
<ConfirmationsSetting value="0" id="Add" />
|
110
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
111
|
+
</component>
|
112
|
+
<component name="ProjectReloadState">
|
113
|
+
<option name="STATE" value="0" />
|
114
|
+
</component>
|
115
|
+
<component name="ProjectView">
|
116
|
+
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
117
|
+
<flattenPackages />
|
118
|
+
<showMembers />
|
119
|
+
<showModules />
|
120
|
+
<showLibraryContents />
|
121
|
+
<hideEmptyPackages />
|
122
|
+
<abbreviatePackageNames />
|
123
|
+
<autoscrollToSource />
|
124
|
+
<autoscrollFromSource />
|
125
|
+
<sortByType />
|
126
|
+
</navigator>
|
127
|
+
<panes>
|
128
|
+
<pane id="Scope">
|
129
|
+
<subPane subId="Project Files">
|
130
|
+
<PATH>
|
131
|
+
<PATH_ELEMENT USER_OBJECT="Root">
|
132
|
+
<option name="myItemId" value="" />
|
133
|
+
<option name="myItemType" value="" />
|
134
|
+
</PATH_ELEMENT>
|
135
|
+
</PATH>
|
136
|
+
</subPane>
|
137
|
+
</pane>
|
138
|
+
<pane id="ProjectPane">
|
139
|
+
<subPane>
|
140
|
+
<PATH>
|
141
|
+
<PATH_ELEMENT>
|
142
|
+
<option name="myItemId" value="control_group" />
|
143
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
144
|
+
</PATH_ELEMENT>
|
145
|
+
</PATH>
|
146
|
+
<PATH>
|
147
|
+
<PATH_ELEMENT>
|
148
|
+
<option name="myItemId" value="control_group" />
|
149
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
150
|
+
</PATH_ELEMENT>
|
151
|
+
<PATH_ELEMENT>
|
152
|
+
<option name="myItemId" value="control_group" />
|
153
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
154
|
+
</PATH_ELEMENT>
|
155
|
+
</PATH>
|
156
|
+
<PATH>
|
157
|
+
<PATH_ELEMENT>
|
158
|
+
<option name="myItemId" value="control_group" />
|
159
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
160
|
+
</PATH_ELEMENT>
|
161
|
+
<PATH_ELEMENT>
|
162
|
+
<option name="myItemId" value="control_group" />
|
163
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
164
|
+
</PATH_ELEMENT>
|
165
|
+
<PATH_ELEMENT>
|
166
|
+
<option name="myItemId" value="pkg" />
|
167
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
168
|
+
</PATH_ELEMENT>
|
169
|
+
</PATH>
|
170
|
+
<PATH>
|
171
|
+
<PATH_ELEMENT>
|
172
|
+
<option name="myItemId" value="control_group" />
|
173
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
174
|
+
</PATH_ELEMENT>
|
175
|
+
<PATH_ELEMENT>
|
176
|
+
<option name="myItemId" value="control_group" />
|
177
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
178
|
+
</PATH_ELEMENT>
|
179
|
+
<PATH_ELEMENT>
|
180
|
+
<option name="myItemId" value="lib" />
|
181
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
182
|
+
</PATH_ELEMENT>
|
183
|
+
</PATH>
|
184
|
+
<PATH>
|
185
|
+
<PATH_ELEMENT>
|
186
|
+
<option name="myItemId" value="control_group" />
|
187
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
188
|
+
</PATH_ELEMENT>
|
189
|
+
<PATH_ELEMENT>
|
190
|
+
<option name="myItemId" value="control_group" />
|
191
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
192
|
+
</PATH_ELEMENT>
|
193
|
+
<PATH_ELEMENT>
|
194
|
+
<option name="myItemId" value="lib" />
|
195
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
196
|
+
</PATH_ELEMENT>
|
197
|
+
<PATH_ELEMENT>
|
198
|
+
<option name="myItemId" value="control_group" />
|
199
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
200
|
+
</PATH_ELEMENT>
|
201
|
+
</PATH>
|
202
|
+
</subPane>
|
203
|
+
</pane>
|
204
|
+
</panes>
|
205
|
+
</component>
|
206
|
+
<component name="PropertiesComponent">
|
207
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
208
|
+
</component>
|
209
|
+
<component name="RunManager">
|
210
|
+
<list size="0" />
|
211
|
+
</component>
|
212
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
213
|
+
<component name="TaskManager">
|
214
|
+
<task active="true" id="Default" summary="Default task">
|
215
|
+
<created>1346578125380</created>
|
216
|
+
<updated>1346578125380</updated>
|
217
|
+
</task>
|
218
|
+
<servers />
|
219
|
+
</component>
|
220
|
+
<component name="ToolWindowManager">
|
221
|
+
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
|
222
|
+
<editor active="true" />
|
223
|
+
<layout>
|
224
|
+
<window_info id="Data Sources" 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" />
|
225
|
+
<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" />
|
226
|
+
<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" />
|
227
|
+
<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="true" content_ui="tabs" />
|
228
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
229
|
+
<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" />
|
230
|
+
<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" />
|
231
|
+
<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" />
|
232
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
233
|
+
<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" />
|
234
|
+
<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" />
|
235
|
+
<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" />
|
236
|
+
<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" />
|
237
|
+
<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" />
|
238
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
239
|
+
<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" />
|
240
|
+
<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" />
|
241
|
+
</layout>
|
242
|
+
</component>
|
243
|
+
<component name="VcsContentAnnotationSettings">
|
244
|
+
<option name="myLimit" value="2678400000" />
|
245
|
+
</component>
|
246
|
+
<component name="VcsManagerConfiguration">
|
247
|
+
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
|
248
|
+
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
|
249
|
+
<option name="CHECK_NEW_TODO" value="true" />
|
250
|
+
<option name="myTodoPanelSettings">
|
251
|
+
<value>
|
252
|
+
<are-packages-shown value="false" />
|
253
|
+
<are-modules-shown value="false" />
|
254
|
+
<flatten-packages value="false" />
|
255
|
+
<is-autoscroll-to-source value="false" />
|
256
|
+
</value>
|
257
|
+
</option>
|
258
|
+
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
|
259
|
+
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
|
260
|
+
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
|
261
|
+
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
|
262
|
+
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
263
|
+
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
264
|
+
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
265
|
+
<option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
|
266
|
+
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
267
|
+
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
268
|
+
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
269
|
+
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
|
270
|
+
<option name="SHORT_DIFF_HORISONTALLY" value="true" />
|
271
|
+
<option name="SHORT_DIFF_EXTRA_LINES" value="2" />
|
272
|
+
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
|
273
|
+
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
|
274
|
+
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
|
275
|
+
<option name="CREATE_PATCH_EXPAND_DETAILS_DEFAULT" value="true" />
|
276
|
+
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
|
277
|
+
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
|
278
|
+
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
279
|
+
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
|
280
|
+
<option name="LAST_COMMIT_MESSAGE" />
|
281
|
+
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
|
282
|
+
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
283
|
+
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
284
|
+
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
|
285
|
+
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
|
286
|
+
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
|
287
|
+
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
|
288
|
+
<option name="ACTIVE_VCS_NAME" />
|
289
|
+
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
290
|
+
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
291
|
+
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
292
|
+
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
293
|
+
</component>
|
294
|
+
<component name="XDebuggerManager">
|
295
|
+
<breakpoint-manager />
|
296
|
+
</component>
|
297
|
+
<component name="editorHistoryManager">
|
298
|
+
<entry file="file://$PROJECT_DIR$/control_group.gemspec">
|
299
|
+
<provider selected="true" editor-type-id="text-editor">
|
300
|
+
<state line="9" column="37" selection-start="313" selection-end="313" vertical-scroll-proportion="0.0">
|
301
|
+
<folding />
|
302
|
+
</state>
|
303
|
+
</provider>
|
304
|
+
</entry>
|
305
|
+
<entry file="file://D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/gem_helper.rb">
|
306
|
+
<provider selected="true" editor-type-id="text-editor">
|
307
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-1.9821229">
|
308
|
+
<folding />
|
309
|
+
</state>
|
310
|
+
</provider>
|
311
|
+
</entry>
|
312
|
+
<entry file="file://D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/gem_tasks.rb">
|
313
|
+
<provider selected="true" editor-type-id="text-editor">
|
314
|
+
<state line="0" column="18" selection-start="18" selection-end="18" vertical-scroll-proportion="0.0">
|
315
|
+
<folding />
|
316
|
+
</state>
|
317
|
+
</provider>
|
318
|
+
</entry>
|
319
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
320
|
+
<provider selected="true" editor-type-id="text-editor">
|
321
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
322
|
+
<folding />
|
323
|
+
</state>
|
324
|
+
</provider>
|
325
|
+
</entry>
|
326
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
327
|
+
<provider selected="true" editor-type-id="text-editor">
|
328
|
+
<state line="0" column="18" selection-start="18" selection-end="18" vertical-scroll-proportion="0.0">
|
329
|
+
<folding />
|
330
|
+
</state>
|
331
|
+
</provider>
|
332
|
+
</entry>
|
333
|
+
<entry file="file://$PROJECT_DIR$/lib/control_group.rb">
|
334
|
+
<provider selected="true" editor-type-id="text-editor">
|
335
|
+
<state line="17" column="62" selection-start="632" selection-end="632" vertical-scroll-proportion="0.0">
|
336
|
+
<folding />
|
337
|
+
</state>
|
338
|
+
</provider>
|
339
|
+
</entry>
|
340
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
341
|
+
<provider selected="true" editor-type-id="text-editor">
|
342
|
+
<state line="4" column="1" selection-start="34" selection-end="34" vertical-scroll-proportion="0.0">
|
343
|
+
<folding />
|
344
|
+
</state>
|
345
|
+
</provider>
|
346
|
+
</entry>
|
347
|
+
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
348
|
+
<provider selected="true" editor-type-id="text-editor">
|
349
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
350
|
+
<folding />
|
351
|
+
</state>
|
352
|
+
</provider>
|
353
|
+
</entry>
|
354
|
+
<entry file="file://$PROJECT_DIR$/lib/control_group/version.rb">
|
355
|
+
<provider selected="true" editor-type-id="text-editor">
|
356
|
+
<state line="1" column="18" selection-start="38" selection-end="38" vertical-scroll-proportion="0.018994413">
|
357
|
+
<folding />
|
358
|
+
</state>
|
359
|
+
</provider>
|
360
|
+
</entry>
|
361
|
+
</component>
|
362
|
+
</project>
|
363
|
+
|
data/Gemfile
ADDED
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "control_group/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "control_group"
|
7
|
+
s.version = ControlGroup::VERSION
|
8
|
+
s.authors = ["MyStand"]
|
9
|
+
s.email = ["info@mystand.ru"]
|
10
|
+
s.homepage = "http://mystand.ru/"
|
11
|
+
s.summary = "Add control_group function"
|
12
|
+
#s.description = ""
|
13
|
+
|
14
|
+
s.rubyforge_project = "control_group"
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
# specify any dependencies here; for example:
|
22
|
+
# s.add_development_dependency "rspec"
|
23
|
+
# s.add_runtime_dependency "rest-client"
|
24
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require "control_group/version"
|
2
|
+
|
3
|
+
module BootstrapHelper
|
4
|
+
|
5
|
+
def control_group f, field_name, input_type = nil, *options, &block
|
6
|
+
help = nil #options.is_a?(Hash) ? options.delete(:help) : nil TODO: Fix it
|
7
|
+
label_field_name = [field_name].flatten.first
|
8
|
+
input_field_name = [field_name].flatten.last
|
9
|
+
|
10
|
+
content_tag :div, :class => "control-group" do
|
11
|
+
raw([
|
12
|
+
f.label(label_field_name, :class => "control-label"),
|
13
|
+
|
14
|
+
if block_given?
|
15
|
+
content_tag :div, :class => "controls", &block
|
16
|
+
else
|
17
|
+
content_tag(:div, :class => "controls") do
|
18
|
+
raw([
|
19
|
+
f.send(input_type, input_field_name, *options),
|
20
|
+
help && content_tag(:p, help, :class => "help-block")
|
21
|
+
].join(" "))
|
22
|
+
end
|
23
|
+
end,
|
24
|
+
].join(" "))
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: control_group
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- MyStand
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-09-02 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description:
|
15
|
+
email:
|
16
|
+
- info@mystand.ru
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- .gitignore
|
22
|
+
- .idea/.name
|
23
|
+
- .idea/.rakeTasks
|
24
|
+
- .idea/control_group.iml
|
25
|
+
- .idea/encodings.xml
|
26
|
+
- .idea/misc.xml
|
27
|
+
- .idea/modules.xml
|
28
|
+
- .idea/scopes/scope_settings.xml
|
29
|
+
- .idea/vcs.xml
|
30
|
+
- .idea/workspace.xml
|
31
|
+
- Gemfile
|
32
|
+
- Rakefile
|
33
|
+
- control_group.gemspec
|
34
|
+
- lib/control_group.rb
|
35
|
+
- lib/control_group/version.rb
|
36
|
+
homepage: http://mystand.ru/
|
37
|
+
licenses: []
|
38
|
+
post_install_message:
|
39
|
+
rdoc_options: []
|
40
|
+
require_paths:
|
41
|
+
- lib
|
42
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
requirements: []
|
55
|
+
rubyforge_project: control_group
|
56
|
+
rubygems_version: 1.8.16
|
57
|
+
signing_key:
|
58
|
+
specification_version: 3
|
59
|
+
summary: Add control_group function
|
60
|
+
test_files: []
|