sbdevcore 0.2.11 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
data/.idea/workspace.xml CHANGED
@@ -23,91 +23,91 @@
23
23
  <component name="FileColors" enabled="true" enabledForTabs="true" />
24
24
  <component name="FileEditorManager">
25
25
  <leaf>
26
- <file leaf-file-name="index.rb" pinned="false" current="false" current-in-tab="false">
27
- <entry file="file://$PROJECT_DIR$/app/models/index.rb">
26
+ <file leaf-file-name="index.html.haml" pinned="false" current="false" current-in-tab="false">
27
+ <entry file="file://$PROJECT_DIR$/app/views/sbdev_core/index.html.haml">
28
28
  <provider selected="true" editor-type-id="text-editor">
29
- <state line="35" column="48" selection-start="1448" selection-end="1448" vertical-scroll-proportion="0.0">
29
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
30
30
  <folding />
31
31
  </state>
32
32
  </provider>
33
33
  </entry>
34
34
  </file>
35
- <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
36
- <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
35
+ <file leaf-file-name="show.html.haml" pinned="false" current="false" current-in-tab="false">
36
+ <entry file="file://$PROJECT_DIR$/app/views/indices/show.html.haml">
37
37
  <provider selected="true" editor-type-id="text-editor">
38
- <state line="1" column="19" selection-start="36" selection-end="36" vertical-scroll-proportion="0.016282225">
38
+ <state line="3" column="0" selection-start="114" selection-end="114" vertical-scroll-proportion="0.0">
39
39
  <folding />
40
40
  </state>
41
41
  </provider>
42
42
  </entry>
43
43
  </file>
44
- <file leaf-file-name="new.html.haml" pinned="false" current="false" current-in-tab="false">
45
- <entry file="file://$PROJECT_DIR$/app/views/admins/sessions/new.html.haml">
44
+ <file leaf-file-name="_nav.html.haml" pinned="false" current="false" current-in-tab="false">
45
+ <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/application/_nav.html.haml">
46
46
  <provider selected="true" editor-type-id="text-editor">
47
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
47
+ <state line="3" column="67" selection-start="202" selection-end="202" vertical-scroll-proportion="0.0">
48
48
  <folding />
49
49
  </state>
50
50
  </provider>
51
51
  </entry>
52
52
  </file>
53
- <file leaf-file-name="sbdevcore.gemspec" pinned="false" current="false" current-in-tab="false">
54
- <entry file="file://$PROJECT_DIR$/sbdevcore.gemspec">
53
+ <file leaf-file-name="show.html.haml" pinned="false" current="false" current-in-tab="false">
54
+ <entry file="file://$PROJECT_DIR$/app/views/sbdev_core/show.html.haml">
55
55
  <provider selected="true" editor-type-id="text-editor">
56
- <state line="20" column="20" selection-start="633" selection-end="633" vertical-scroll-proportion="0.0">
56
+ <state line="0" column="0" selection-start="0" selection-end="173" vertical-scroll-proportion="0.0">
57
57
  <folding />
58
58
  </state>
59
59
  </provider>
60
60
  </entry>
61
61
  </file>
62
- <file leaf-file-name="sbdevcore.js" pinned="false" current="false" current-in-tab="false">
63
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore.js">
62
+ <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
63
+ <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
64
64
  <provider selected="true" editor-type-id="text-editor">
65
- <state line="14" column="16" selection-start="659" selection-end="659" vertical-scroll-proportion="0.0">
65
+ <state line="1" column="19" selection-start="36" selection-end="36" vertical-scroll-proportion="0.016282225">
66
66
  <folding />
67
67
  </state>
68
68
  </provider>
69
69
  </entry>
70
70
  </file>
71
- <file leaf-file-name="_gallery.scss" pinned="false" current="false" current-in-tab="false">
72
- <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_gallery.scss">
71
+ <file leaf-file-name="_show.html.haml" pinned="false" current="false" current-in-tab="false">
72
+ <entry file="file://$PROJECT_DIR$/app/views/indices/_show.html.haml">
73
73
  <provider selected="true" editor-type-id="text-editor">
74
- <state line="49" column="16" selection-start="992" selection-end="992" vertical-scroll-proportion="0.0">
74
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
75
75
  <folding />
76
76
  </state>
77
77
  </provider>
78
78
  </entry>
79
79
  </file>
80
- <file leaf-file-name="_show.html.haml" pinned="false" current="false" current-in-tab="false">
81
- <entry file="file://$PROJECT_DIR$/app/views/galleries/_show.html.haml">
80
+ <file leaf-file-name="seeds.rb" pinned="false" current="false" current-in-tab="false">
81
+ <entry file="file://$PROJECT_DIR$/db/seeds.rb">
82
82
  <provider selected="true" editor-type-id="text-editor">
83
- <state line="15" column="0" selection-start="791" selection-end="791" vertical-scroll-proportion="0.0">
83
+ <state line="51" column="1" selection-start="2924" selection-end="2924" vertical-scroll-proportion="0.0">
84
84
  <folding />
85
85
  </state>
86
86
  </provider>
87
87
  </entry>
88
88
  </file>
89
- <file leaf-file-name="seeds.rb" pinned="false" current="false" current-in-tab="false">
90
- <entry file="file://$PROJECT_DIR$/db/seeds.rb">
89
+ <file leaf-file-name="index.rb" pinned="false" current="false" current-in-tab="false">
90
+ <entry file="file://$PROJECT_DIR$/app/models/index.rb">
91
91
  <provider selected="true" editor-type-id="text-editor">
92
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
92
+ <state line="19" column="0" selection-start="403" selection-end="590" vertical-scroll-proportion="0.0">
93
93
  <folding />
94
94
  </state>
95
95
  </provider>
96
96
  </entry>
97
97
  </file>
98
- <file leaf-file-name="sbdev-ajax.js" pinned="false" current="false" current-in-tab="false">
99
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdev-ajax.js">
98
+ <file leaf-file-name="contact.rb" pinned="false" current="false" current-in-tab="false">
99
+ <entry file="file://$PROJECT_DIR$/app/models/contact.rb">
100
100
  <provider selected="true" editor-type-id="text-editor">
101
- <state line="18" column="0" selection-start="631" selection-end="631" vertical-scroll-proportion="0.0">
101
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
102
102
  <folding />
103
103
  </state>
104
104
  </provider>
105
105
  </entry>
106
106
  </file>
107
- <file leaf-file-name="show.html.haml" pinned="false" current="false" current-in-tab="false">
108
- <entry file="file://$PROJECT_DIR$/app/views/indices/show.html.haml">
107
+ <file leaf-file-name="gallery.rb" pinned="false" current="false" current-in-tab="false">
108
+ <entry file="file://$PROJECT_DIR$/app/models/gallery.rb">
109
109
  <provider selected="true" editor-type-id="text-editor">
110
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
110
+ <state line="13" column="0" selection-start="207" selection-end="290" vertical-scroll-proportion="0.0">
111
111
  <folding />
112
112
  </state>
113
113
  </provider>
@@ -126,12 +126,6 @@
126
126
  <component name="IdeDocumentHistory">
127
127
  <option name="changedFiles">
128
128
  <list>
129
- <option value="$PROJECT_DIR$/app/views/galleries/edit.html.haml" />
130
- <option value="$PROJECT_DIR$/app/models/gallery.rb" />
131
- <option value="$PROJECT_DIR$/app/views/galleries/new.html.haml" />
132
- <option value="$PROJECT_DIR$/../prioritizable/lib/prioritizable/acts_as_prioritizable.rb" />
133
- <option value="$PROJECT_DIR$/app/views/indices/_form.html.haml" />
134
- <option value="$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js" />
135
129
  <option value="$PROJECT_DIR$/app/models/photo.rb" />
136
130
  <option value="$PROJECT_DIR$/app/views/layouts/application.html.haml" />
137
131
  <option value="$PROJECT_DIR$/app/assets/javascripts/sbdev-ajax.js" />
@@ -140,7 +134,13 @@
140
134
  <option value="$PROJECT_DIR$/app/views/galleries/_show.html.haml" />
141
135
  <option value="$PROJECT_DIR$/sbdevcore.gemspec" />
142
136
  <option value="$PROJECT_DIR$/app/assets/javascripts/sbdevcore.js" />
137
+ <option value="$PROJECT_DIR$/lib/generators/sbdevcore/install_generator.rb" />
138
+ <option value="$PROJECT_DIR$/app/assets/stylesheets/_bar_nav.scss" />
139
+ <option value="$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss" />
143
140
  <option value="$PROJECT_DIR$/app/models/index.rb" />
141
+ <option value="$PROJECT_DIR$/db/seeds.rb" />
142
+ <option value="$PROJECT_DIR$/app/views/indices/show.html.haml" />
143
+ <option value="$PROJECT_DIR$/lib/generators/sbdevcore/templates/application/_nav.html.haml" />
144
144
  <option value="$PROJECT_DIR$/lib/sbdevcore/version.rb" />
145
145
  </list>
146
146
  </option>
@@ -171,6 +171,7 @@
171
171
  <sortByType />
172
172
  </navigator>
173
173
  <panes>
174
+ <pane id="RailsProjectView" />
174
175
  <pane id="Favorites" />
175
176
  <pane id="Scope" />
176
177
  <pane id="ProjectPane">
@@ -231,11 +232,7 @@
231
232
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
232
233
  </PATH_ELEMENT>
233
234
  <PATH_ELEMENT>
234
- <option name="myItemId" value="admins" />
235
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
236
- </PATH_ELEMENT>
237
- <PATH_ELEMENT>
238
- <option name="myItemId" value="shared" />
235
+ <option name="myItemId" value="sbdev_core" />
239
236
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
240
237
  </PATH_ELEMENT>
241
238
  </PATH>
@@ -257,33 +254,7 @@
257
254
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
258
255
  </PATH_ELEMENT>
259
256
  <PATH_ELEMENT>
260
- <option name="myItemId" value="admins" />
261
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
262
- </PATH_ELEMENT>
263
- <PATH_ELEMENT>
264
- <option name="myItemId" value="sessions" />
265
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
266
- </PATH_ELEMENT>
267
- </PATH>
268
- <PATH>
269
- <PATH_ELEMENT>
270
- <option name="myItemId" value="sbdevcore" />
271
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
272
- </PATH_ELEMENT>
273
- <PATH_ELEMENT>
274
- <option name="myItemId" value="sbdevcore" />
275
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
276
- </PATH_ELEMENT>
277
- <PATH_ELEMENT>
278
- <option name="myItemId" value="app" />
279
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
280
- </PATH_ELEMENT>
281
- <PATH_ELEMENT>
282
- <option name="myItemId" value="views" />
283
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
284
- </PATH_ELEMENT>
285
- <PATH_ELEMENT>
286
- <option name="myItemId" value="admins" />
257
+ <option name="myItemId" value="indices" />
287
258
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
288
259
  </PATH_ELEMENT>
289
260
  </PATH>
@@ -343,17 +314,16 @@
343
314
  </PATH>
344
315
  </subPane>
345
316
  </pane>
346
- <pane id="RailsProjectView" />
347
317
  </panes>
348
318
  </component>
349
319
  <component name="PropertiesComponent">
350
320
  <property name="options.splitter.main.proportions" value="0.3" />
351
- <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
352
321
  <property name="recentsLimit" value="5" />
322
+ <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
353
323
  <property name="last_opened_file_path" value="$PROJECT_DIR$/../prioritizable/lib/prioritizable" />
354
- <property name="GoToClass.includeJavaFiles" value="false" />
355
- <property name="options.searchVisible" value="true" />
356
324
  <property name="options.splitter.details.proportions" value="0.2" />
325
+ <property name="options.searchVisible" value="true" />
326
+ <property name="GoToClass.includeJavaFiles" value="false" />
357
327
  </component>
358
328
  <component name="RunManager" selected="Rails.Development: core">
359
329
  <configuration default="true" type="RakeRunConfigurationType" factoryName="Rake">
@@ -558,14 +528,14 @@
558
528
  </component>
559
529
  <component name="ToolWindowManager">
560
530
  <frame x="0" y="22" width="1436" height="878" extended-state="0" />
561
- <editor active="false" />
531
+ <editor active="true" />
562
532
  <layout>
563
533
  <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32908162" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
564
534
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32908162" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
565
535
  <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" />
566
536
  <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" />
567
537
  <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
568
- <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3293201" sideWeight="0.6619898" order="0" side_tool="false" content_ui="tabs" />
538
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3293201" sideWeight="0.6619898" order="0" side_tool="false" content_ui="tabs" />
569
539
  <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" />
570
540
  <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" />
571
541
  <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32908162" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
@@ -591,7 +561,7 @@
591
561
  <option name="ENABLE_BACKGROUND_PROCESSES" value="true" />
592
562
  <option name="CHANGED_ON_SERVER_INTERVAL" value="5" />
593
563
  <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
594
- <option name="LAST_COMMIT_MESSAGE" value="&#10;tablize" />
564
+ <option name="LAST_COMMIT_MESSAGE" value="tweaks" />
595
565
  <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
596
566
  <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
597
567
  <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
@@ -609,7 +579,6 @@
609
579
  <MESSAGE value="templates" />
610
580
  <MESSAGE value="scss" />
611
581
  <MESSAGE value="tiny paste" />
612
- <MESSAGE value="tweaks" />
613
582
  <MESSAGE value="haml&#10;" />
614
583
  <MESSAGE value="forms" />
615
584
  <MESSAGE value="fonts" />
@@ -619,6 +588,7 @@
619
588
  <MESSAGE value="ajax history" />
620
589
  <MESSAGE value="gallery" />
621
590
  <MESSAGE value="&#10;tablize" />
591
+ <MESSAGE value="tweaks" />
622
592
  </component>
623
593
  <component name="XDebuggerManager">
624
594
  <breakpoint-manager>
@@ -631,93 +601,107 @@
631
601
  </breakpoint-manager>
632
602
  </component>
633
603
  <component name="editorHistoryManager">
634
- <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/install_generator.rb">
604
+ <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss">
635
605
  <provider selected="true" editor-type-id="text-editor">
636
- <state line="29" column="31" selection-start="890" selection-end="890" vertical-scroll-proportion="0.0" />
606
+ <state line="100" column="17" selection-start="1941" selection-end="1941" vertical-scroll-proportion="-22.076923">
607
+ <folding />
608
+ </state>
637
609
  </provider>
638
610
  </entry>
639
- <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss">
611
+ <entry file="file://$PROJECT_DIR$/app/controllers/contacts_controller.rb">
640
612
  <provider selected="true" editor-type-id="text-editor">
641
- <state line="93" column="17" selection-start="1776" selection-end="1776" vertical-scroll-proportion="0.0" />
613
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
614
+ <folding />
615
+ </state>
642
616
  </provider>
643
617
  </entry>
644
- <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_gallery.scss">
618
+ <entry file="file://$PROJECT_DIR$/app/controllers/sbdev_core_controller.rb">
645
619
  <provider selected="true" editor-type-id="text-editor">
646
- <state line="49" column="16" selection-start="992" selection-end="992" vertical-scroll-proportion="0.0" />
620
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
621
+ <folding />
622
+ </state>
647
623
  </provider>
648
624
  </entry>
649
- <entry file="file://$PROJECT_DIR$/app/views/galleries/_show.html.haml">
625
+ <entry file="file://$PROJECT_DIR$/app/controllers/indices_controller.rb">
650
626
  <provider selected="true" editor-type-id="text-editor">
651
- <state line="15" column="0" selection-start="791" selection-end="791" vertical-scroll-proportion="0.0" />
627
+ <state line="0" column="26" selection-start="26" selection-end="45" vertical-scroll-proportion="0.0">
628
+ <folding />
629
+ </state>
652
630
  </provider>
653
631
  </entry>
654
- <entry file="file://$PROJECT_DIR$/db/seeds.rb">
632
+ <entry file="file://$PROJECT_DIR$/app/views/sbdev_core/index.html.haml">
655
633
  <provider selected="true" editor-type-id="text-editor">
656
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
634
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
635
+ <folding />
636
+ </state>
657
637
  </provider>
658
638
  </entry>
659
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdev-ajax.js">
639
+ <entry file="file://$PROJECT_DIR$/app/models/gallery.rb">
660
640
  <provider selected="true" editor-type-id="text-editor">
661
- <state line="18" column="0" selection-start="631" selection-end="631" vertical-scroll-proportion="0.0" />
641
+ <state line="13" column="0" selection-start="207" selection-end="290" vertical-scroll-proportion="0.0">
642
+ <folding />
643
+ </state>
662
644
  </provider>
663
645
  </entry>
664
- <entry file="file://$PROJECT_DIR$/app/views/indices/show.html.haml">
646
+ <entry file="file://$PROJECT_DIR$/app/models/contact.rb">
665
647
  <provider selected="true" editor-type-id="text-editor">
666
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
648
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
649
+ <folding />
650
+ </state>
667
651
  </provider>
668
652
  </entry>
669
- <entry file="file://$PROJECT_DIR$/app/views/shared/_devise_links.erb">
653
+ <entry file="file://$PROJECT_DIR$/app/views/indices/show.html.haml">
670
654
  <provider selected="true" editor-type-id="text-editor">
671
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
655
+ <state line="3" column="0" selection-start="114" selection-end="114" vertical-scroll-proportion="0.0">
672
656
  <folding />
673
657
  </state>
674
658
  </provider>
675
659
  </entry>
676
- <entry file="file://$PROJECT_DIR$/app/views/shared/_devise_links.haml">
660
+ <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdev-ajax.js">
677
661
  <provider selected="true" editor-type-id="text-editor">
678
662
  <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
679
663
  <folding />
680
664
  </state>
681
665
  </provider>
682
666
  </entry>
683
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/tiny_mce_config.js">
667
+ <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js">
684
668
  <provider selected="true" editor-type-id="text-editor">
685
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
669
+ <state line="53" column="12" selection-start="1527" selection-end="1534" vertical-scroll-proportion="0.08438819">
686
670
  <folding />
687
671
  </state>
688
672
  </provider>
689
673
  </entry>
690
- <entry file="file://$PROJECT_DIR$/Gemfile">
674
+ <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/application/_nav.html.haml">
691
675
  <provider selected="true" editor-type-id="text-editor">
692
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
676
+ <state line="3" column="67" selection-start="202" selection-end="202" vertical-scroll-proportion="0.0">
693
677
  <folding />
694
678
  </state>
695
679
  </provider>
696
680
  </entry>
697
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore.js">
681
+ <entry file="file://$PROJECT_DIR$/app/models/index.rb">
698
682
  <provider selected="true" editor-type-id="text-editor">
699
- <state line="14" column="16" selection-start="659" selection-end="659" vertical-scroll-proportion="0.0">
683
+ <state line="19" column="0" selection-start="403" selection-end="590" vertical-scroll-proportion="0.0">
700
684
  <folding />
701
685
  </state>
702
686
  </provider>
703
687
  </entry>
704
- <entry file="file://$PROJECT_DIR$/sbdevcore.gemspec">
688
+ <entry file="file://$PROJECT_DIR$/db/seeds.rb">
705
689
  <provider selected="true" editor-type-id="text-editor">
706
- <state line="20" column="20" selection-start="633" selection-end="633" vertical-scroll-proportion="0.0">
690
+ <state line="51" column="1" selection-start="2924" selection-end="2924" vertical-scroll-proportion="0.0">
707
691
  <folding />
708
692
  </state>
709
693
  </provider>
710
694
  </entry>
711
- <entry file="file://$PROJECT_DIR$/app/views/admins/sessions/new.html.haml">
695
+ <entry file="file://$PROJECT_DIR$/app/views/indices/_show.html.haml">
712
696
  <provider selected="true" editor-type-id="text-editor">
713
697
  <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
714
698
  <folding />
715
699
  </state>
716
700
  </provider>
717
701
  </entry>
718
- <entry file="file://$PROJECT_DIR$/app/models/index.rb">
702
+ <entry file="file://$PROJECT_DIR$/app/views/sbdev_core/show.html.haml">
719
703
  <provider selected="true" editor-type-id="text-editor">
720
- <state line="35" column="48" selection-start="1448" selection-end="1448" vertical-scroll-proportion="0.0">
704
+ <state line="0" column="0" selection-start="0" selection-end="173" vertical-scroll-proportion="0.0">
721
705
  <folding />
722
706
  </state>
723
707
  </provider>
@@ -1,6 +1,5 @@
1
1
  #nav {
2
- width: $content-width;
3
- padding: 2px 10px;
2
+ padding: 2px 0;
4
3
  background-color: $button-background-color;
5
4
 
6
5
  .button {
@@ -86,7 +86,6 @@ body {
86
86
  width: 67%;
87
87
  background-color: $button-background-color;
88
88
  padding: 10px;
89
- padding-left: 20px;
90
89
  margin: 0;
91
90
  color: $content-background-color;
92
91
  position: relative;
@@ -99,7 +98,6 @@ body {
99
98
  padding: $padding;
100
99
  @include box-shadow($shadow-radius);
101
100
  @include corners-all($corner-radius);
102
- width: $content-width;
103
101
  }
104
102
 
105
103
  #footer {
data/app/models/index.rb CHANGED
@@ -11,6 +11,7 @@ class Index < ActiveRecord::Base
11
11
 
12
12
  include ActsAsPrioritizable
13
13
  acts_as_prioritizable("owner", "indices")
14
+
14
15
  default_scope :order => 'priority ASC'
15
16
  after_initialize do
16
17
  self.priority ||= lowest_priority + 1
@@ -1,9 +1,10 @@
1
1
  =content_for(:sidebar) do
2
- #secondary_nav
3
- - nav = resource.owner.nil? ? resource : resource.owner
4
- = link_to nav.title.titleize, "/" + nav.name, :class => 'button current', :remote => true
5
- -nav.indices.each do |page|
6
- = link_to page.title.titleize, "/" + page.name, :class => 'button secondary', :remote => true
2
+ - nav = resource.owner.nil? ? resource : resource.owner
3
+ - unless nav.indices.empty?
4
+ #secondary_nav
5
+ = link_to nav.title.titleize, "/" + nav.name, :class => 'button current', :remote => true
6
+ -nav.indices.each do |page|
7
+ = link_to page.title.titleize, "/" + page.name, :class => 'button secondary', :remote => true
7
8
 
8
9
  =(render :partial => 'show', :object => resource, :as => resource_class.to_s.downcase.to_sym)
9
10
  - if request.xhr?
data/db/seeds.rb CHANGED
@@ -49,23 +49,23 @@ Index.all.each(&:destroy)
49
49
  }
50
50
  Index.create(attr)
51
51
  end
52
-
53
- statics.each do |index|
54
- 3.times do |i|
55
- sub_index = index + "_#{i.to_s}"
56
- attr = {
57
- :name => sub_index,
58
- :title => sub_index.titleize,
59
- :page_title => APP_CONFIG[:app_name] + " - " + sub_index.titleize,
60
- :page_description => APP_CONFIG[:app_name] + " - " + sub_index.titleize,
61
- :keywords => sub_index,
62
- :texts_attributes => {
63
- (id += 1).to_s =>{
64
- :content => "#{LOREM_LONG}",
65
- :priority => "1"
66
- }
67
- }
68
- }
69
- Index.find(index).indices.create!(attr)
70
- end
71
- end
52
+ #
53
+ #statics.each do |index|
54
+ # 3.times do |i|
55
+ # sub_index = index + "_#{i.to_s}"
56
+ # attr = {
57
+ # :name => sub_index,
58
+ # :title => sub_index.titleize,
59
+ # :page_title => APP_CONFIG[:app_name] + " - " + sub_index.titleize,
60
+ # :page_description => APP_CONFIG[:app_name] + " - " + sub_index.titleize,
61
+ # :keywords => sub_index,
62
+ # :texts_attributes => {
63
+ # (id += 1).to_s =>{
64
+ # :content => "#{LOREM_LONG}",
65
+ # :priority => "1"
66
+ # }
67
+ # }
68
+ # }
69
+ # Index.find(index).indices.create!(attr)
70
+ # end
71
+ #end
@@ -37,7 +37,7 @@ module Sbdevcore
37
37
  copy_file "application.scss", "app/assets/stylesheets/application.scss", :force => true
38
38
  copy_file "sass.scss", "app/assets/stylesheets/sass.scss", :force => true
39
39
  directory "application", "app/views/application"
40
- inject_into_file "app/assets/javascripts/application.js", "//= require tinymce.jquery\n//= require sbdevcore\n", :before => "//= require_tree ."
40
+ inject_into_file "app/assets/javascripts/application.js", "//= require sbdevcore\n", :before => "//= require_tree ."
41
41
 
42
42
  dev_mailer = <<-OPTS
43
43
 
@@ -1,4 +1,4 @@
1
1
  #nav
2
- =link_to 'Home', "/home", :class => 'button'
3
- =link_to 'About', "/about", :class => 'button'
4
- =link_to 'Contact', new_contact_path, :class => 'button', :rel=>"#overlay"
2
+ =link_to 'Home', "/home", :class => 'button', :remote => true
3
+ =link_to 'About', "/about", :class => 'button', :remote => true
4
+ =link_to 'Contact', new_contact_path, :class => 'button overlayed'
@@ -1,3 +1,3 @@
1
1
  module Sbdevcore
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sbdevcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-09 00:00:00.000000000Z
12
+ date: 2011-09-23 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: tinymce-rails
16
- requirement: &2161208940 !ruby/object:Gem::Requirement
16
+ requirement: &2152927080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2161208940
24
+ version_requirements: *2152927080
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: prioritizable
27
- requirement: &2161208400 !ruby/object:Gem::Requirement
27
+ requirement: &2152926460 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.0.5
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2161208400
35
+ version_requirements: *2152926460
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: devise
38
- requirement: &2161207980 !ruby/object:Gem::Requirement
38
+ requirement: &2152925940 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2161207980
46
+ version_requirements: *2152925940
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: paperclip
49
- requirement: &2161207460 !ruby/object:Gem::Requirement
49
+ requirement: &2152925480 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2161207460
57
+ version_requirements: *2152925480
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: haml-edge
60
- requirement: &2161207040 !ruby/object:Gem::Requirement
60
+ requirement: &2152925040 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *2161207040
68
+ version_requirements: *2152925040
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sitemap_generator
71
- requirement: &2161206620 !ruby/object:Gem::Requirement
71
+ requirement: &2152924580 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *2161206620
79
+ version_requirements: *2152924580
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: hpricot
82
- requirement: &2161206180 !ruby/object:Gem::Requirement
82
+ requirement: &2152924080 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *2161206180
90
+ version_requirements: *2152924080
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: simple_form
93
- requirement: &2161205760 !ruby/object:Gem::Requirement
93
+ requirement: &2152923660 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *2161205760
101
+ version_requirements: *2152923660
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: client_side_validations
104
- requirement: &2161205320 !ruby/object:Gem::Requirement
104
+ requirement: &2152923240 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *2161205320
112
+ version_requirements: *2152923240
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: formalize-rails
115
- requirement: &2161204880 !ruby/object:Gem::Requirement
115
+ requirement: &2152922780 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *2161204880
123
+ version_requirements: *2152922780
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: will_paginate
126
- requirement: &2161204340 !ruby/object:Gem::Requirement
126
+ requirement: &2152922200 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ~>
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: 3.0.pre4
132
132
  type: :runtime
133
133
  prerelease: false
134
- version_requirements: *2161204340
134
+ version_requirements: *2152922200
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: aws-s3
137
- requirement: &2161203920 !ruby/object:Gem::Requirement
137
+ requirement: &2152908460 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :runtime
144
144
  prerelease: false
145
- version_requirements: *2161203920
145
+ version_requirements: *2152908460
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: rubyist-aasm
148
- requirement: &2161203340 !ruby/object:Gem::Requirement
148
+ requirement: &2152907880 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: '0'
154
154
  type: :runtime
155
155
  prerelease: false
156
- version_requirements: *2161203340
156
+ version_requirements: *2152907880
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: inherited_resources
159
- requirement: &2161202620 !ruby/object:Gem::Requirement
159
+ requirement: &2152907340 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: '0'
165
165
  type: :runtime
166
166
  prerelease: false
167
- version_requirements: *2161202620
167
+ version_requirements: *2152907340
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: friendly_id
170
- requirement: &2161183040 !ruby/object:Gem::Requirement
170
+ requirement: &2152906720 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - ~>
@@ -175,7 +175,7 @@ dependencies:
175
175
  version: 4.0.0.beta8
176
176
  type: :runtime
177
177
  prerelease: false
178
- version_requirements: *2161183040
178
+ version_requirements: *2152906720
179
179
  description: Core
180
180
  email:
181
181
  - aosalias@gmail.com
@@ -203,7 +203,6 @@ files:
203
203
  - app/assets/images/close.png
204
204
  - app/assets/images/coconuttreedivers.png
205
205
  - app/assets/images/goproheader.jpg
206
- - app/assets/images/header.png
207
206
  - app/assets/images/hori_large.png
208
207
  - app/assets/images/navbackground.gif
209
208
  - app/assets/images/next.gif
Binary file