simple-navigation-semantic_ui 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a3c29a0071560c6e3e30a9640d171cf4a2438b2a
4
+ data.tar.gz: 27261a10399ff7f4e5b03ddc944c4b6c92f43897
5
+ SHA512:
6
+ metadata.gz: e51f24c12d4320d95c21992d44c0423af77e32641d911aa3fa9dd954aeeebc48c9423f5b489334f79b223fbe226aed9bf2e83140c1f7ff0106c7ffb89f6052ea
7
+ data.tar.gz: fb800a77e1b174163afd0d76e1d1c4840bbc94067a326290dd0ccb63c42964f2207251070eeafaa1188084e784856d975f3c45671cccd10e117ff2fa543fe03a
data/.DS_Store ADDED
Binary file
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
5
+ .ruby-version
data/.idea/.DS_Store ADDED
Binary file
data/.idea/.name ADDED
@@ -0,0 +1 @@
1
+ simple-navigation-semantic_ui
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 simple-navigation-bootstrap-1.0.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install simple-navigation-bootstrap-1.0.0.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v1.0.0 and build and push simple-navigation-bootstrap-1.0.0.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
data/.idea/misc.xml ADDED
@@ -0,0 +1,57 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectInspectionProfilesVisibleTreeState">
4
+ <entry key="Project Default">
5
+ <profile-state>
6
+ <expanded-state>
7
+ <State>
8
+ <id />
9
+ </State>
10
+ <State>
11
+ <id>CSS</id>
12
+ </State>
13
+ <State>
14
+ <id>Code style issuesJavaScript</id>
15
+ </State>
16
+ <State>
17
+ <id>Control flow issuesJavaScript</id>
18
+ </State>
19
+ <State>
20
+ <id>Cucumber</id>
21
+ </State>
22
+ <State>
23
+ <id>JavaScript</id>
24
+ </State>
25
+ <State>
26
+ <id>JavaScript function metricsJavaScript</id>
27
+ </State>
28
+ <State>
29
+ <id>JavaScript validity issuesJavaScript</id>
30
+ </State>
31
+ <State>
32
+ <id>Portability issues</id>
33
+ </State>
34
+ <State>
35
+ <id>Potentially confusing code constructsJavaScript</id>
36
+ </State>
37
+ <State>
38
+ <id>Probable bugsJavaScript</id>
39
+ </State>
40
+ <State>
41
+ <id>Ruby</id>
42
+ </State>
43
+ <State>
44
+ <id>SQL</id>
45
+ </State>
46
+ </expanded-state>
47
+ <selected-state>
48
+ <State>
49
+ <id>CoffeeScript</id>
50
+ </State>
51
+ </selected-state>
52
+ </profile-state>
53
+ </entry>
54
+ </component>
55
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.0.0-p195" project-jdk-type="RUBY_SDK" />
56
+ </project>
57
+
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/simple-navigation-semantic_ui.iml" filepath="$PROJECT_DIR$/.idea/simple-navigation-semantic_ui.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
@@ -0,0 +1,5 @@
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="gem" name="Gem">
5
+ <configuration>
6
+ <option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
7
+ <option name="GEM_APP_TEST_PATH" value="" />
8
+ <option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
9
+ </configuration>
10
+ </facet>
11
+ </component>
12
+ <component name="NewModuleRootManager">
13
+ <content url="file://$MODULE_DIR$" />
14
+ <orderEntry type="inheritedJdk" />
15
+ <orderEntry type="sourceFolder" forTests="false" />
16
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, RVM: ruby-2.0.0-p195) [gem]" level="application" />
17
+ </component>
18
+ </module>
19
+
data/.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="" />
5
+ </component>
6
+ </project>
7
+
@@ -0,0 +1,434 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="65f09075-50d1-43e2-b503-ff5550a4cc3b" name="Default" comment="" />
5
+ <ignored path="simple-navigation-semantic_ui.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="FavoritesManager">
21
+ <favorites_list name="simple-navigation-semantic_ui" />
22
+ </component>
23
+ <component name="FileEditorManager">
24
+ <leaf>
25
+ <file leaf-file-name="simple-navigation-semantic_ui.gemspec" pinned="false" current="false" current-in-tab="false">
26
+ <entry file="file://$PROJECT_DIR$/simple-navigation-semantic_ui.gemspec">
27
+ <provider selected="true" editor-type-id="text-editor">
28
+ <state line="6" column="44" selection-start="244" selection-end="244" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="435">
29
+ <folding />
30
+ </state>
31
+ </provider>
32
+ </entry>
33
+ </file>
34
+ <file leaf-file-name="semantic_ui.rb" pinned="false" current="false" current-in-tab="false">
35
+ <entry file="file://$PROJECT_DIR$/lib/simple_navigation/rendering/renderer/semantic_ui.rb">
36
+ <provider selected="true" editor-type-id="text-editor">
37
+ <state line="25" column="63" selection-start="987" selection-end="987" vertical-scroll-proportion="-14.423077" vertical-offset="0" max-vertical-offset="615">
38
+ <folding />
39
+ </state>
40
+ </provider>
41
+ </entry>
42
+ </file>
43
+ <file leaf-file-name="README.md" pinned="false" current="true" current-in-tab="true">
44
+ <entry file="file://$PROJECT_DIR$/README.md">
45
+ <provider selected="true" editor-type-id="text-editor">
46
+ <state line="2" column="41" selection-start="196" selection-end="196" vertical-scroll-proportion="0.046875" vertical-offset="0" max-vertical-offset="640">
47
+ <folding />
48
+ </state>
49
+ </provider>
50
+ <provider editor-type-id="com.intellij.persistence.database.editor.CsvTableFileEditorProvider">
51
+ <state />
52
+ </provider>
53
+ </entry>
54
+ </file>
55
+ <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
56
+ <entry file="file://$PROJECT_DIR$/lib/simple-navigation-semantic_ui/version.rb">
57
+ <provider selected="true" editor-type-id="text-editor">
58
+ <state line="0" column="33" selection-start="33" selection-end="33" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
59
+ <folding />
60
+ </state>
61
+ </provider>
62
+ </entry>
63
+ </file>
64
+ <file leaf-file-name="engine.rb" pinned="false" current="false" current-in-tab="false">
65
+ <entry file="file://$PROJECT_DIR$/lib/simple-navigation-semantic_ui/engine.rb">
66
+ <provider selected="true" editor-type-id="text-editor">
67
+ <state line="0" column="33" selection-start="33" selection-end="33" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
68
+ <folding />
69
+ </state>
70
+ </provider>
71
+ </entry>
72
+ </file>
73
+ <file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
74
+ <entry file="file://$PROJECT_DIR$/Gemfile">
75
+ <provider selected="true" editor-type-id="text-editor">
76
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="150">
77
+ <folding />
78
+ </state>
79
+ </provider>
80
+ </entry>
81
+ </file>
82
+ <file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
83
+ <entry file="file://$PROJECT_DIR$/Rakefile">
84
+ <provider selected="true" editor-type-id="text-editor">
85
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="105">
86
+ <folding />
87
+ </state>
88
+ </provider>
89
+ </entry>
90
+ </file>
91
+ <file leaf-file-name="simple-navigation-semantic_ui.rb" pinned="false" current="false" current-in-tab="false">
92
+ <entry file="file://$PROJECT_DIR$/lib/simple-navigation-semantic_ui.rb">
93
+ <provider selected="true" editor-type-id="text-editor">
94
+ <state line="4" column="46" selection-start="217" selection-end="228" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
95
+ <folding />
96
+ </state>
97
+ </provider>
98
+ </entry>
99
+ </file>
100
+ </leaf>
101
+ </component>
102
+ <component name="FindManager">
103
+ <FindUsagesManager>
104
+ <setting name="OPEN_NEW_TAB" value="false" />
105
+ </FindUsagesManager>
106
+ </component>
107
+ <component name="IdeDocumentHistory">
108
+ <option name="changedFiles">
109
+ <list>
110
+ <option value="$PROJECT_DIR$/simple-navigation-bootstrap.gemspec" />
111
+ <option value="$PROJECT_DIR$/lib/simple-navigation-semantic_ui/engine.rb" />
112
+ <option value="$PROJECT_DIR$/lib/simple-navigation-semantic_ui/version.rb" />
113
+ <option value="$PROJECT_DIR$/lib/simple-navigation-bootstrap.rb" />
114
+ <option value="$PROJECT_DIR$/lib/simple_navigation/rendering/renderer/semantic_ui.rb" />
115
+ <option value="$PROJECT_DIR$/README.md" />
116
+ </list>
117
+ </option>
118
+ </component>
119
+ <component name="ProjectFrameBounds">
120
+ <option name="width" value="1280" />
121
+ <option name="height" value="800" />
122
+ </component>
123
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
124
+ <OptionsSetting value="true" id="Add" />
125
+ <OptionsSetting value="true" id="Remove" />
126
+ <OptionsSetting value="true" id="Checkout" />
127
+ <OptionsSetting value="true" id="Update" />
128
+ <OptionsSetting value="true" id="Status" />
129
+ <OptionsSetting value="true" id="Edit" />
130
+ <ConfirmationsSetting value="0" id="Add" />
131
+ <ConfirmationsSetting value="0" id="Remove" />
132
+ </component>
133
+ <component name="ProjectReloadState">
134
+ <option name="STATE" value="0" />
135
+ </component>
136
+ <component name="ProjectView">
137
+ <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
138
+ <flattenPackages />
139
+ <showMembers />
140
+ <showModules />
141
+ <showLibraryContents />
142
+ <hideEmptyPackages />
143
+ <abbreviatePackageNames />
144
+ <autoscrollToSource />
145
+ <autoscrollFromSource />
146
+ <sortByType />
147
+ </navigator>
148
+ <panes>
149
+ <pane id="Scope" />
150
+ <pane id="ProjectPane">
151
+ <subPane>
152
+ <PATH>
153
+ <PATH_ELEMENT>
154
+ <option name="myItemId" value="simple-navigation-semantic_ui" />
155
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
156
+ </PATH_ELEMENT>
157
+ </PATH>
158
+ <PATH>
159
+ <PATH_ELEMENT>
160
+ <option name="myItemId" value="simple-navigation-semantic_ui" />
161
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
162
+ </PATH_ELEMENT>
163
+ <PATH_ELEMENT>
164
+ <option name="myItemId" value="simple-navigation-semantic_ui" />
165
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
166
+ </PATH_ELEMENT>
167
+ </PATH>
168
+ <PATH>
169
+ <PATH_ELEMENT>
170
+ <option name="myItemId" value="simple-navigation-semantic_ui" />
171
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
172
+ </PATH_ELEMENT>
173
+ <PATH_ELEMENT>
174
+ <option name="myItemId" value="simple-navigation-semantic_ui" />
175
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
176
+ </PATH_ELEMENT>
177
+ <PATH_ELEMENT>
178
+ <option name="myItemId" value="lib" />
179
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
180
+ </PATH_ELEMENT>
181
+ </PATH>
182
+ <PATH>
183
+ <PATH_ELEMENT>
184
+ <option name="myItemId" value="simple-navigation-semantic_ui" />
185
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
186
+ </PATH_ELEMENT>
187
+ <PATH_ELEMENT>
188
+ <option name="myItemId" value="simple-navigation-semantic_ui" />
189
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
190
+ </PATH_ELEMENT>
191
+ <PATH_ELEMENT>
192
+ <option name="myItemId" value="lib" />
193
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
194
+ </PATH_ELEMENT>
195
+ <PATH_ELEMENT>
196
+ <option name="myItemId" value="simple_navigation" />
197
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
198
+ </PATH_ELEMENT>
199
+ <PATH_ELEMENT>
200
+ <option name="myItemId" value="rendering" />
201
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
202
+ </PATH_ELEMENT>
203
+ <PATH_ELEMENT>
204
+ <option name="myItemId" value="renderer" />
205
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
206
+ </PATH_ELEMENT>
207
+ </PATH>
208
+ <PATH>
209
+ <PATH_ELEMENT>
210
+ <option name="myItemId" value="simple-navigation-semantic_ui" />
211
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
212
+ </PATH_ELEMENT>
213
+ <PATH_ELEMENT>
214
+ <option name="myItemId" value="simple-navigation-semantic_ui" />
215
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
216
+ </PATH_ELEMENT>
217
+ <PATH_ELEMENT>
218
+ <option name="myItemId" value="lib" />
219
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
220
+ </PATH_ELEMENT>
221
+ <PATH_ELEMENT>
222
+ <option name="myItemId" value="simple-navigation-semantic_ui" />
223
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
224
+ </PATH_ELEMENT>
225
+ </PATH>
226
+ </subPane>
227
+ </pane>
228
+ </panes>
229
+ </component>
230
+ <component name="PropertiesComponent">
231
+ <property name="options.lastSelected" value="Errors" />
232
+ <property name="options.splitter.main.proportions" value="0.3" />
233
+ <property name="options.splitter.details.proportions" value="0.2" />
234
+ <property name="options.searchVisible" value="true" />
235
+ <property name="last_opened_file_path" value="$PROJECT_DIR$/../gold_shop" />
236
+ <property name="WebServerToolWindowFactoryState" value="false" />
237
+ </component>
238
+ <component name="RunManager">
239
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
240
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
241
+ <module name="" />
242
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
243
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
244
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
245
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
246
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
247
+ <envs />
248
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
249
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
250
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
251
+ <COVERAGE_PATTERN ENABLED="true">
252
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
253
+ </COVERAGE_PATTERN>
254
+ </EXTENSION>
255
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
256
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
257
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
258
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
259
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
260
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
261
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
262
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
263
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
264
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
265
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
266
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
267
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
268
+ <method />
269
+ </configuration>
270
+ <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
271
+ <module name="" />
272
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
273
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
274
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
275
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
276
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
277
+ <envs />
278
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
279
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
280
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
281
+ <COVERAGE_PATTERN ENABLED="true">
282
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
283
+ </COVERAGE_PATTERN>
284
+ </EXTENSION>
285
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
286
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
287
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
288
+ <method />
289
+ </configuration>
290
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug" singleton="true">
291
+ <method />
292
+ </configuration>
293
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
294
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
295
+ <module name="" />
296
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
297
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
298
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
299
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
300
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
301
+ <envs />
302
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
303
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
304
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
305
+ <COVERAGE_PATTERN ENABLED="true">
306
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
307
+ </COVERAGE_PATTERN>
308
+ </EXTENSION>
309
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
310
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
311
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
312
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
313
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
314
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
315
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
316
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
317
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
318
+ <method />
319
+ </configuration>
320
+ <list size="0" />
321
+ </component>
322
+ <component name="ShelveChangesManager" show_recycled="false" />
323
+ <component name="TaskManager">
324
+ <task active="true" id="Default" summary="Default task">
325
+ <changelist id="65f09075-50d1-43e2-b503-ff5550a4cc3b" name="Default" comment="" />
326
+ <created>1390852512829</created>
327
+ <updated>1390852512829</updated>
328
+ </task>
329
+ <servers />
330
+ </component>
331
+ <component name="ToolWindowManager">
332
+ <frame x="0" y="0" width="1280" height="800" extended-state="0" />
333
+ <editor active="false" />
334
+ <layout>
335
+ <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" />
336
+ <window_info id="Terminal" 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" />
337
+ <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" />
338
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32936507" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
339
+ <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" />
340
+ <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" />
341
+ <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" />
342
+ <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" />
343
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32936507" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
344
+ <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" />
345
+ <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" />
346
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24959612" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
347
+ <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" />
348
+ <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" />
349
+ <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" />
350
+ <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" />
351
+ <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" />
352
+ <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" />
353
+ <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" />
354
+ </layout>
355
+ </component>
356
+ <component name="Vcs.Log.UiProperties">
357
+ <option name="RECENTLY_FILTERED_USERS">
358
+ <collection />
359
+ </option>
360
+ </component>
361
+ <component name="VcsContentAnnotationSettings">
362
+ <option name="myLimit" value="2678400000" />
363
+ </component>
364
+ <component name="VcsManagerConfiguration">
365
+ <option name="myTodoPanelSettings">
366
+ <TodoPanelSettings />
367
+ </option>
368
+ </component>
369
+ <component name="XDebuggerManager">
370
+ <breakpoint-manager />
371
+ </component>
372
+ <component name="editorHistoryManager">
373
+ <entry file="file://$PROJECT_DIR$/Gemfile">
374
+ <provider selected="true" editor-type-id="text-editor">
375
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="479">
376
+ <folding />
377
+ </state>
378
+ </provider>
379
+ </entry>
380
+ <entry file="file://$PROJECT_DIR$/Rakefile">
381
+ <provider selected="true" editor-type-id="text-editor">
382
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="479">
383
+ <folding />
384
+ </state>
385
+ </provider>
386
+ </entry>
387
+ <entry file="file://$PROJECT_DIR$/lib/simple-navigation-semantic_ui.rb">
388
+ <provider selected="true" editor-type-id="text-editor">
389
+ <state line="4" column="46" selection-start="217" selection-end="228" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
390
+ <folding />
391
+ </state>
392
+ </provider>
393
+ </entry>
394
+ <entry file="file://$PROJECT_DIR$/lib/simple-navigation-semantic_ui/engine.rb">
395
+ <provider selected="true" editor-type-id="text-editor">
396
+ <state line="0" column="33" selection-start="33" selection-end="33" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
397
+ <folding />
398
+ </state>
399
+ </provider>
400
+ </entry>
401
+ <entry file="file://$PROJECT_DIR$/lib/simple-navigation-semantic_ui/version.rb">
402
+ <provider selected="true" editor-type-id="text-editor">
403
+ <state line="0" column="33" selection-start="33" selection-end="33" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="705">
404
+ <folding />
405
+ </state>
406
+ </provider>
407
+ </entry>
408
+ <entry file="file://$PROJECT_DIR$/simple-navigation-semantic_ui.gemspec">
409
+ <provider selected="true" editor-type-id="text-editor">
410
+ <state line="6" column="44" selection-start="244" selection-end="244" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="435">
411
+ <folding />
412
+ </state>
413
+ </provider>
414
+ </entry>
415
+ <entry file="file://$PROJECT_DIR$/lib/simple_navigation/rendering/renderer/semantic_ui.rb">
416
+ <provider selected="true" editor-type-id="text-editor">
417
+ <state line="25" column="63" selection-start="987" selection-end="987" vertical-scroll-proportion="-14.423077" vertical-offset="0" max-vertical-offset="615">
418
+ <folding />
419
+ </state>
420
+ </provider>
421
+ </entry>
422
+ <entry file="file://$PROJECT_DIR$/README.md">
423
+ <provider selected="true" editor-type-id="text-editor">
424
+ <state line="2" column="41" selection-start="196" selection-end="196" vertical-scroll-proportion="0.046875" vertical-offset="0" max-vertical-offset="640">
425
+ <folding />
426
+ </state>
427
+ </provider>
428
+ <provider editor-type-id="com.intellij.persistence.database.editor.CsvTableFileEditorProvider">
429
+ <state />
430
+ </provider>
431
+ </entry>
432
+ </component>
433
+ </project>
434
+
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ simple-navigation-bootstrap
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in simple-navigation-semantic_ui.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # Simple Navigation for SemanticUi
2
+ This gem adds a renderer for [Simple Navigation](http://github.com/andi/simple-navigation) to output markup compatible
3
+ with [SemanticUi](http://semantic-ui.com/).
4
+
5
+ ## Getting Started
6
+ For Rails >= 3, simply add this gem to your `Gemfile`:
7
+ ```ruby
8
+ gem 'simple-navigation-semantic_ui'
9
+ ```
10
+ and run
11
+ ```
12
+ bundle install
13
+ ```
14
+ Follow the [configuration instructions](https://github.com/andi/simple-navigation/wiki/Configuration) on the Simple Navigation wiki for initial configuration.
15
+
16
+ To use the Bootstrap renderer, specify it in your view:
17
+ ```ruby
18
+ render_navigation renderer: :semantic_ui
19
+ ```
20
+
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/lib/.DS_Store ADDED
Binary file
@@ -0,0 +1,5 @@
1
+ require "simple-navigation"
2
+ require "simple_navigation/rendering/renderer/semantic_ui"
3
+ require "simple-navigation-semantic_ui/engine"
4
+ require "simple-navigation-semantic_ui/version"
5
+ SimpleNavigation.register_renderer semantic_ui: SimpleNavigation::Renderer::SemanticUi
@@ -0,0 +1,5 @@
1
+ module SimpleNavigationSemanticUi
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
5
+
@@ -0,0 +1,3 @@
1
+ module SimpleNavigationSemanticUi
2
+ VERSION = "1.0.0"
3
+ end
@@ -0,0 +1,35 @@
1
+ module SimpleNavigation
2
+ module Renderer
3
+ class SemanticUi < SimpleNavigation::Renderer::Base
4
+ def render(item_container)
5
+ config_selected_class = SimpleNavigation.config.selected_class
6
+ SimpleNavigation.config.selected_class = 'active'
7
+ list_content = item_container.items.inject([]) do |links, item|
8
+ icon = item.html_options.delete(:icon)
9
+ links << tag_for(item, item.name, icon)
10
+ end.join
11
+ SimpleNavigation.config.selected_class = config_selected_class
12
+ if skip_if_empty? && item_container.empty?
13
+ ''
14
+ else
15
+ content_tag(:div, list_content, {:id => item_container.dom_id, :class => item_container.dom_class})
16
+ end
17
+ end
18
+
19
+ protected
20
+
21
+ def tag_for(item, name = '', icon = nil, split = false)
22
+ unless item.url or include_sub_navigation?(item)
23
+ return item.name
24
+ end
25
+ link = []
26
+ link << content_tag(:i, '', :class => [icon + ' icon']) unless icon.nil?
27
+ link << name
28
+ default_class = { link: { class: 'item' } }
29
+ item.html_options = item.html_options.deep_merge(default_class) { |key, oldval, newval| "#{oldval} #{newval}" }
30
+ link_to(link.join(" ").html_safe, item.url, options_for(item))
31
+ end
32
+
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "simple-navigation-semantic_ui/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "simple-navigation-semantic_ui"
7
+ s.version = SimpleNavigationSemanticUi::VERSION
8
+ s.authors = ["Peter Fern"]
9
+ s.email = ["github@obfusc8.org"]
10
+ s.homepage = "https://github.com/pdf/simple-navigation-semantic_ui"
11
+ s.summary = %q{simple-navigation-semantic_ui is a simple-navigation renderer for semantic_ui navigation.}
12
+ s.description = %q{simple-navigation-semantic_ui is a simple-navigation renderer for semantic_ui navigation.}
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ s.require_paths = ["lib"]
18
+
19
+ # specify any dependencies here; for example:
20
+ s.add_development_dependency "rake"
21
+ s.add_runtime_dependency "simple-navigation", ">= 3.7.0"
22
+ s.add_runtime_dependency "railties", ">= 3.1"
23
+ end
@@ -0,0 +1,6 @@
1
+ .navbar .nav > li.dropdown-split-right > a {
2
+ padding-left: 7px;
3
+ }
4
+ .navbar .nav > li.dropdown-split-left > a {
5
+ padding-right: 0;
6
+ }
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simple-navigation-semantic_ui
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Peter Fern
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-01-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: simple-navigation
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 3.7.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: 3.7.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: railties
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '3.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '3.1'
55
+ description: simple-navigation-semantic_ui is a simple-navigation renderer for semantic_ui
56
+ navigation.
57
+ email:
58
+ - github@obfusc8.org
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - .DS_Store
64
+ - .gitignore
65
+ - .idea/.DS_Store
66
+ - .idea/.name
67
+ - .idea/.rakeTasks
68
+ - .idea/encodings.xml
69
+ - .idea/misc.xml
70
+ - .idea/modules.xml
71
+ - .idea/scopes/scope_settings.xml
72
+ - .idea/simple-navigation-semantic_ui.iml
73
+ - .idea/vcs.xml
74
+ - .idea/workspace.xml
75
+ - .ruby-gemset
76
+ - Gemfile
77
+ - README.md
78
+ - Rakefile
79
+ - lib/.DS_Store
80
+ - lib/simple-navigation-semantic_ui.rb
81
+ - lib/simple-navigation-semantic_ui/engine.rb
82
+ - lib/simple-navigation-semantic_ui/version.rb
83
+ - lib/simple_navigation/rendering/renderer/semantic_ui.rb
84
+ - simple-navigation-semantic_ui.gemspec
85
+ - vendor/assets/stylesheets/bootstrap_navbar_split_dropdowns.css
86
+ homepage: https://github.com/pdf/simple-navigation-semantic_ui
87
+ licenses: []
88
+ metadata: {}
89
+ post_install_message:
90
+ rdoc_options: []
91
+ require_paths:
92
+ - lib
93
+ required_ruby_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '>='
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ requirements: []
104
+ rubyforge_project:
105
+ rubygems_version: 2.1.11
106
+ signing_key:
107
+ specification_version: 4
108
+ summary: simple-navigation-semantic_ui is a simple-navigation renderer for semantic_ui
109
+ navigation.
110
+ test_files: []