sbdevcore 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/.idea/workspace.xml CHANGED
@@ -23,55 +23,55 @@
23
23
  <component name="FileColors" enabled="true" enabledForTabs="true" />
24
24
  <component name="FileEditorManager">
25
25
  <leaf>
26
- <file leaf-file-name="_show.html.erb" pinned="false" current="false" current-in-tab="false">
27
- <entry file="file://$PROJECT_DIR$/app/views/downloadables/_show.html.erb">
26
+ <file leaf-file-name="_sbdev_core.scss" pinned="false" current="false" current-in-tab="false">
27
+ <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss">
28
28
  <provider selected="true" editor-type-id="text-editor">
29
- <state line="1" column="31" selection-start="87" selection-end="87" vertical-scroll-proportion="-0.6315789">
29
+ <state line="12" column="0" selection-start="293" selection-end="293" 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="downloadables_controller.rb" pinned="false" current="false" current-in-tab="false">
36
- <entry file="file://$PROJECT_DIR$/app/controllers/downloadables_controller.rb">
35
+ <file leaf-file-name="sass.scss" pinned="false" current="false" current-in-tab="false">
36
+ <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/sass.scss">
37
37
  <provider selected="true" editor-type-id="text-editor">
38
- <state line="10" column="9" selection-start="278" selection-end="282" vertical-scroll-proportion="0.0">
38
+ <state line="15" column="1" selection-start="336" selection-end="431" 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="_form.html.erb" pinned="false" current="false" current-in-tab="false">
45
- <entry file="file://$PROJECT_DIR$/app/views/photos/_form.html.erb">
44
+ <file leaf-file-name="bar_nav.html.haml" pinned="false" current="false" current-in-tab="false">
45
+ <entry file="file://$PROJECT_DIR$/app/views/layouts/bar_nav.html.haml">
46
46
  <provider selected="true" editor-type-id="text-editor">
47
- <state line="15" column="20" selection-start="477" selection-end="477" vertical-scroll-proportion="-9.473684">
47
+ <state line="0" column="0" selection-start="0" selection-end="0" 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="version.rb" pinned="false" current="false" current-in-tab="false">
54
- <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
53
+ <file leaf-file-name="tab_nav.html.haml" pinned="false" current="false" current-in-tab="false">
54
+ <entry file="file://$PROJECT_DIR$/app/views/layouts/tab_nav.html.haml">
55
55
  <provider selected="true" editor-type-id="text-editor">
56
- <state line="1" column="18" selection-start="35" selection-end="35" vertical-scroll-proportion="0.0">
56
+ <state line="2" column="31" selection-start="52" selection-end="52" 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="template.rb" pinned="false" current="true" current-in-tab="true">
62
+ <file leaf-file-name="template.rb" pinned="false" current="false" current-in-tab="false">
63
63
  <entry file="file://$PROJECT_DIR$/../templates/template.rb">
64
64
  <provider selected="true" editor-type-id="text-editor">
65
- <state line="1" column="23" selection-start="59" selection-end="59" vertical-scroll-proportion="0.025423728">
65
+ <state line="2" column="48" selection-start="80" selection-end="80" vertical-scroll-proportion="0.0">
66
66
  <folding />
67
67
  </state>
68
68
  </provider>
69
69
  </entry>
70
70
  </file>
71
- <file leaf-file-name="app_config.yml" pinned="false" current="false" current-in-tab="false">
72
- <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/config/app_config.yml">
71
+ <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
72
+ <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
73
73
  <provider selected="true" editor-type-id="text-editor">
74
- <state line="27" column="21" selection-start="624" selection-end="624" vertical-scroll-proportion="0.0">
74
+ <state line="1" column="18" selection-start="35" selection-end="35" vertical-scroll-proportion="0.024439918">
75
75
  <folding />
76
76
  </state>
77
77
  </provider>
@@ -90,22 +90,22 @@
90
90
  <component name="IdeDocumentHistory">
91
91
  <option name="changedFiles">
92
92
  <list>
93
- <option value="$PROJECT_DIR$/app/assets/stylesheets/_bar_nav.scss" />
94
- <option value="$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss" />
95
- <option value="$PROJECT_DIR$/app/views/layouts/tab_nav.html.haml" />
96
93
  <option value="$PROJECT_DIR$/app/assets/stylesheets/_mixins.scss" />
97
94
  <option value="$PROJECT_DIR$/app/assets/stylesheets/_tab_nav.scss" />
98
95
  <option value="$PROJECT_DIR$/app/assets/javascripts/sbdevcore.js" />
99
96
  <option value="$PROJECT_DIR$/app/assets/javascripts/tiny_mce_config.js" />
100
97
  <option value="$PROJECT_DIR$/app/views/layouts/application.html.haml" />
101
98
  <option value="$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js" />
102
- <option value="$PROJECT_DIR$/lib/generators/sbdevcore/install_generator.rb" />
103
99
  <option value="$PROJECT_DIR$/app/views/texts/_show.html.erb" />
104
100
  <option value="$PROJECT_DIR$/lib/generators/sbdevcore/templates/config/app_config.yml" />
105
101
  <option value="$PROJECT_DIR$/app/views/downloadables/_show.html.erb" />
106
102
  <option value="$PROJECT_DIR$/app/controllers/downloadables_controller.rb" />
107
- <option value="$PROJECT_DIR$/lib/sbdevcore/version.rb" />
103
+ <option value="$PROJECT_DIR$/lib/generators/sbdevcore/install_generator.rb" />
108
104
  <option value="$PROJECT_DIR$/../templates/template.rb" />
105
+ <option value="$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss" />
106
+ <option value="$PROJECT_DIR$/lib/generators/sbdevcore/templates/sass.scss" />
107
+ <option value="$PROJECT_DIR$/app/views/layouts/tab_nav.html.haml" />
108
+ <option value="$PROJECT_DIR$/lib/sbdevcore/version.rb" />
109
109
  </list>
110
110
  </option>
111
111
  </component>
@@ -135,7 +135,6 @@
135
135
  <sortByType />
136
136
  </navigator>
137
137
  <panes>
138
- <pane id="Favorites" />
139
138
  <pane id="ProjectPane">
140
139
  <subPane>
141
140
  <PATH>
@@ -156,18 +155,19 @@
156
155
  </PATH>
157
156
  </subPane>
158
157
  </pane>
158
+ <pane id="Favorites" />
159
159
  <pane id="RailsProjectView" />
160
160
  <pane id="Scope" />
161
161
  </panes>
162
162
  </component>
163
163
  <component name="PropertiesComponent">
164
164
  <property name="options.splitter.main.proportions" value="0.3" />
165
- <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
166
165
  <property name="recentsLimit" value="5" />
166
+ <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
167
167
  <property name="last_opened_file_path" value="$PROJECT_DIR$/../templates" />
168
- <property name="GoToClass.includeJavaFiles" value="false" />
169
- <property name="options.searchVisible" value="true" />
170
168
  <property name="options.splitter.details.proportions" value="0.2" />
169
+ <property name="options.searchVisible" value="true" />
170
+ <property name="GoToClass.includeJavaFiles" value="false" />
171
171
  </component>
172
172
  <component name="RunManager" selected="Rails.Development: core">
173
173
  <configuration default="true" type="RakeRunConfigurationType" factoryName="Rake">
@@ -372,21 +372,21 @@
372
372
  </component>
373
373
  <component name="ToolWindowManager">
374
374
  <frame x="0" y="22" width="1436" height="878" extended-state="0" />
375
- <editor active="true" />
375
+ <editor active="false" />
376
376
  <layout>
377
377
  <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" />
378
378
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32908162" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
379
379
  <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" />
380
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32908162" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
381
380
  <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" />
382
381
  <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" />
383
- <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" />
382
+ <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" />
384
383
  <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" />
385
384
  <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" />
386
385
  <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" />
387
386
  <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" />
388
387
  <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" />
389
388
  <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" />
389
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32908162" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
390
390
  <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" />
391
391
  <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" />
392
392
  <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" />
@@ -428,114 +428,98 @@
428
428
  <breakpoint-manager />
429
429
  </component>
430
430
  <component name="editorHistoryManager">
431
- <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss">
431
+ <entry file="file://$PROJECT_DIR$/app/views/texts/_show.html.erb">
432
432
  <provider selected="true" editor-type-id="text-editor">
433
- <state line="26" column="20" selection-start="570" selection-end="570" vertical-scroll-proportion="0.34391534">
434
- <folding />
435
- </state>
433
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
436
434
  </provider>
437
435
  </entry>
438
- <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_tab_nav.scss">
436
+ <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore.js">
439
437
  <provider selected="true" editor-type-id="text-editor">
440
- <state line="15" column="1" selection-start="298" selection-end="298" vertical-scroll-proportion="0.23809524">
441
- <folding />
442
- </state>
438
+ <state line="7" column="37" selection-start="468" selection-end="468" vertical-scroll-proportion="0.17107943" />
443
439
  </provider>
444
440
  </entry>
445
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/tiny_mce/tiny_mce.js">
441
+ <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js">
446
442
  <provider selected="true" editor-type-id="text-editor">
447
- <state line="0" column="178601" selection-start="178601" selection-end="178601" vertical-scroll-proportion="0.0">
448
- <folding />
449
- </state>
443
+ <state line="136" column="23" selection-start="3441" selection-end="3441" vertical-scroll-proportion="0.5733333" />
444
+ </provider>
445
+ </entry>
446
+ <entry file="file://$PROJECT_DIR$/app/views/photos/_form.html.erb">
447
+ <provider selected="true" editor-type-id="text-editor">
448
+ <state line="15" column="20" selection-start="477" selection-end="477" vertical-scroll-proportion="0.38135594" />
450
449
  </provider>
451
450
  </entry>
452
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/tiny_mce_config.js">
451
+ <entry file="file://$PROJECT_DIR$/app/controllers/downloadables_controller.rb">
453
452
  <provider selected="true" editor-type-id="text-editor">
454
- <state line="6" column="24" selection-start="161" selection-end="161" vertical-scroll-proportion="0.15126051">
455
- <folding />
456
- </state>
453
+ <state line="10" column="9" selection-start="278" selection-end="282" vertical-scroll-proportion="0.22689076" />
457
454
  </provider>
458
455
  </entry>
459
- <entry file="file://$PROJECT_DIR$/app/views/indices/_form.html.erb">
456
+ <entry file="file://$PROJECT_DIR$/app/views/downloadables/_show.html.erb">
460
457
  <provider selected="true" editor-type-id="text-editor">
461
- <state line="38" column="33" selection-start="1113" selection-end="1113" vertical-scroll-proportion="1.0066226">
462
- <folding />
463
- </state>
458
+ <state line="1" column="31" selection-start="87" selection-end="87" vertical-scroll-proportion="0.025423728" />
464
459
  </provider>
465
460
  </entry>
466
- <entry file="file://$PROJECT_DIR$/app/views/texts/_show.html.erb">
461
+ <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/config/app_config.yml">
467
462
  <provider selected="true" editor-type-id="text-editor">
468
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
469
- <folding />
470
- </state>
463
+ <state line="27" column="21" selection-start="624" selection-end="624" vertical-scroll-proportion="0.6598778" />
471
464
  </provider>
472
465
  </entry>
473
466
  <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/install_generator.rb">
474
467
  <provider selected="true" editor-type-id="text-editor">
475
- <state line="59" column="76" selection-start="2225" selection-end="2230" vertical-scroll-proportion="0.8319328">
468
+ <state line="30" column="17" selection-start="995" selection-end="995" vertical-scroll-proportion="0.025210084">
476
469
  <folding />
477
470
  </state>
478
471
  </provider>
479
472
  </entry>
480
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore.js">
473
+ <entry file="file://$PROJECT_DIR$/lib/sbdevcore/engine.rb">
481
474
  <provider selected="true" editor-type-id="text-editor">
482
- <state line="7" column="37" selection-start="468" selection-end="468" vertical-scroll-proportion="0.17107943">
483
- <folding />
484
- </state>
475
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
485
476
  </provider>
486
477
  </entry>
487
478
  <entry file="file://$PROJECT_DIR$/app/views/layouts/application.html.haml">
488
479
  <provider selected="true" editor-type-id="text-editor">
489
- <state line="10" column="26" selection-start="499" selection-end="499" vertical-scroll-proportion="0.24439919">
480
+ <state line="9" column="26" selection-start="472" selection-end="472" vertical-scroll-proportion="0.21995927">
490
481
  <folding />
491
482
  </state>
492
483
  </provider>
493
484
  </entry>
494
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js">
485
+ <entry file="file://$PROJECT_DIR$/app/views/layouts/tab_nav.html.haml">
495
486
  <provider selected="true" editor-type-id="text-editor">
496
- <state line="136" column="23" selection-start="3441" selection-end="3441" vertical-scroll-proportion="0.5733333">
487
+ <state line="2" column="31" selection-start="52" selection-end="52" vertical-scroll-proportion="0.0">
497
488
  <folding />
498
489
  </state>
499
490
  </provider>
500
491
  </entry>
501
- <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/config/app_config.yml">
492
+ <entry file="file://$PROJECT_DIR$/app/views/layouts/bar_nav.html.haml">
502
493
  <provider selected="true" editor-type-id="text-editor">
503
- <state line="27" column="21" selection-start="624" selection-end="624" vertical-scroll-proportion="0.0">
494
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
504
495
  <folding />
505
496
  </state>
506
497
  </provider>
507
498
  </entry>
508
- <entry file="file://$PROJECT_DIR$/app/views/downloadables/_show.html.erb">
499
+ <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/sass.scss">
509
500
  <provider selected="true" editor-type-id="text-editor">
510
- <state line="1" column="31" selection-start="87" selection-end="87" vertical-scroll-proportion="-0.6315789">
501
+ <state line="15" column="1" selection-start="336" selection-end="431" vertical-scroll-proportion="0.0">
511
502
  <folding />
512
503
  </state>
513
504
  </provider>
514
505
  </entry>
515
- <entry file="file://$PROJECT_DIR$/app/controllers/downloadables_controller.rb">
506
+ <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss">
516
507
  <provider selected="true" editor-type-id="text-editor">
517
- <state line="10" column="9" selection-start="278" selection-end="282" vertical-scroll-proportion="0.0">
508
+ <state line="12" column="0" selection-start="293" selection-end="293" vertical-scroll-proportion="0.0">
518
509
  <folding />
519
510
  </state>
520
511
  </provider>
521
512
  </entry>
522
- <entry file="file://$PROJECT_DIR$/app/views/photos/_form.html.erb">
513
+ <entry file="file://$PROJECT_DIR$/../templates/template.rb">
523
514
  <provider selected="true" editor-type-id="text-editor">
524
- <state line="15" column="20" selection-start="477" selection-end="477" vertical-scroll-proportion="-9.473684">
515
+ <state line="2" column="48" selection-start="80" selection-end="80" vertical-scroll-proportion="0.0">
525
516
  <folding />
526
517
  </state>
527
518
  </provider>
528
519
  </entry>
529
520
  <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
530
521
  <provider selected="true" editor-type-id="text-editor">
531
- <state line="1" column="18" selection-start="35" selection-end="35" vertical-scroll-proportion="0.0">
532
- <folding />
533
- </state>
534
- </provider>
535
- </entry>
536
- <entry file="file://$PROJECT_DIR$/../templates/template.rb">
537
- <provider selected="true" editor-type-id="text-editor">
538
- <state line="1" column="23" selection-start="59" selection-end="59" vertical-scroll-proportion="0.025423728">
522
+ <state line="1" column="18" selection-start="35" selection-end="35" vertical-scroll-proportion="0.024439918">
539
523
  <folding />
540
524
  </state>
541
525
  </provider>
@@ -10,7 +10,6 @@
10
10
  /*layout*/
11
11
  body {
12
12
  font-family: "Lucida Grande","Lucida Sans Unicode","bitstream vera sans","trebuchet ms",verdana,sans-serif;
13
- background: url("/assets/background.jpg") repeat fixed center top $background-color;
14
13
  font-size: 16px;
15
14
  padding: 0;
16
15
  margin: 0;
@@ -1,6 +1,6 @@
1
1
  #container
2
2
  #header
3
- %h1=link_to APP_CONFIG[:app_name], home_path
3
+ =render 'application/header'
4
4
  .clearfix
5
5
  = render 'application/nav'
6
6
  #main_content.content
@@ -28,7 +28,7 @@ module Sbdevcore
28
28
  statics = <<-STR
29
29
  Index.find_all_by_name(APP_CONFIG[:static_pages]).each do |page|
30
30
  match page.name => "indices#show", :id => page.id, :as => page.name.to_sym
31
- end
31
+ end rescue true
32
32
  root :to => "indices#show", :id => (Index.find_by_name('home').id rescue 1)
33
33
  STR
34
34
  route statics
@@ -10,3 +10,7 @@ $padding: 10px;
10
10
  $content-width: $window-width - $side_bar-width - 2*($shadow-radius) - 2*$padding;
11
11
  @import 'sbdev_core';
12
12
  @import 'bar_nav';
13
+
14
+ body {
15
+ background: url("/assets/background.jpg") repeat fixed center top $background-color;
16
+ }
@@ -1,3 +1,3 @@
1
1
  module Sbdevcore
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
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.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: