sbdevcore 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/.idea/workspace.xml CHANGED
@@ -41,10 +41,10 @@
41
41
  </provider>
42
42
  </entry>
43
43
  </file>
44
- <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
44
+ <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
45
45
  <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
46
46
  <provider selected="true" editor-type-id="text-editor">
47
- <state line="3" column="0" selection-start="41" selection-end="41" vertical-scroll-proportion="0.073319755">
47
+ <state line="1" column="18" selection-start="35" selection-end="35" vertical-scroll-proportion="0.0">
48
48
  <folding />
49
49
  </state>
50
50
  </provider>
@@ -53,7 +53,25 @@
53
53
  <file leaf-file-name="template.rb" pinned="false" current="false" current-in-tab="false">
54
54
  <entry file="file://$PROJECT_DIR$/../templates/template.rb">
55
55
  <provider selected="true" editor-type-id="text-editor">
56
- <state line="3" column="0" selection-start="61" selection-end="81" vertical-scroll-proportion="0.0">
56
+ <state line="9" column="0" selection-start="221" selection-end="221" vertical-scroll-proportion="0.0">
57
+ <folding />
58
+ </state>
59
+ </provider>
60
+ </entry>
61
+ </file>
62
+ <file leaf-file-name="sbdevcore.gemspec" pinned="false" current="true" current-in-tab="true">
63
+ <entry file="file://$PROJECT_DIR$/sbdevcore.gemspec">
64
+ <provider selected="true" editor-type-id="text-editor">
65
+ <state line="25" column="28" selection-start="806" selection-end="806" vertical-scroll-proportion="0.610998">
66
+ <folding />
67
+ </state>
68
+ </provider>
69
+ </entry>
70
+ </file>
71
+ <file leaf-file-name="tiny_mce_config.js" pinned="false" current="false" current-in-tab="false">
72
+ <entry file="file://$PROJECT_DIR$/app/assets/javascripts/tiny_mce_config.js">
73
+ <provider selected="true" editor-type-id="text-editor">
74
+ <state line="23" column="18" selection-start="1389" selection-end="1389" vertical-scroll-proportion="0.0">
57
75
  <folding />
58
76
  </state>
59
77
  </provider>
@@ -72,9 +90,7 @@
72
90
  <component name="IdeDocumentHistory">
73
91
  <option name="changedFiles">
74
92
  <list>
75
- <option value="$PROJECT_DIR$/app/assets/stylesheets/_tab_nav.scss" />
76
93
  <option value="$PROJECT_DIR$/app/assets/javascripts/sbdevcore.js" />
77
- <option value="$PROJECT_DIR$/app/assets/javascripts/tiny_mce_config.js" />
78
94
  <option value="$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js" />
79
95
  <option value="$PROJECT_DIR$/app/views/texts/_show.html.erb" />
80
96
  <option value="$PROJECT_DIR$/lib/generators/sbdevcore/templates/config/app_config.yml" />
@@ -85,9 +101,11 @@
85
101
  <option value="$PROJECT_DIR$/app/views/layouts/tab_nav.html.haml" />
86
102
  <option value="$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss" />
87
103
  <option value="$PROJECT_DIR$/app/views/layouts/bar_nav.html.haml" />
88
- <option value="$PROJECT_DIR$/../templates/template.rb" />
89
104
  <option value="$PROJECT_DIR$/app/views/layouts/application.html.haml" />
90
105
  <option value="$PROJECT_DIR$/lib/sbdevcore/version.rb" />
106
+ <option value="$PROJECT_DIR$/app/assets/javascripts/tiny_mce_config.js" />
107
+ <option value="$PROJECT_DIR$/sbdevcore.gemspec" />
108
+ <option value="$PROJECT_DIR$/../templates/template.rb" />
91
109
  </list>
92
110
  </option>
93
111
  </component>
@@ -117,6 +135,8 @@
117
135
  <sortByType />
118
136
  </navigator>
119
137
  <panes>
138
+ <pane id="Favorites" />
139
+ <pane id="Scope" />
120
140
  <pane id="ProjectPane">
121
141
  <subPane>
122
142
  <PATH>
@@ -191,19 +211,17 @@
191
211
  </PATH>
192
212
  </subPane>
193
213
  </pane>
194
- <pane id="Favorites" />
195
214
  <pane id="RailsProjectView" />
196
- <pane id="Scope" />
197
215
  </panes>
198
216
  </component>
199
217
  <component name="PropertiesComponent">
200
218
  <property name="options.splitter.main.proportions" value="0.3" />
201
- <property name="recentsLimit" value="5" />
202
219
  <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
220
+ <property name="recentsLimit" value="5" />
203
221
  <property name="last_opened_file_path" value="$PROJECT_DIR$/../templates" />
204
- <property name="options.splitter.details.proportions" value="0.2" />
205
- <property name="options.searchVisible" value="true" />
206
222
  <property name="GoToClass.includeJavaFiles" value="false" />
223
+ <property name="options.searchVisible" value="true" />
224
+ <property name="options.splitter.details.proportions" value="0.2" />
207
225
  </component>
208
226
  <component name="RunManager" selected="Rails.Development: core">
209
227
  <configuration default="true" type="RakeRunConfigurationType" factoryName="Rake">
@@ -408,14 +426,14 @@
408
426
  </component>
409
427
  <component name="ToolWindowManager">
410
428
  <frame x="0" y="22" width="1436" height="878" extended-state="0" />
411
- <editor active="false" />
429
+ <editor active="true" />
412
430
  <layout>
413
431
  <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" />
414
432
  <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" />
415
433
  <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" />
416
434
  <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" />
417
435
  <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" />
418
- <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" />
436
+ <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" />
419
437
  <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" />
420
438
  <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" />
421
439
  <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" />
@@ -441,7 +459,7 @@
441
459
  <option name="ENABLE_BACKGROUND_PROCESSES" value="true" />
442
460
  <option name="CHANGED_ON_SERVER_INTERVAL" value="5" />
443
461
  <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
444
- <option name="LAST_COMMIT_MESSAGE" value="tweaks" />
462
+ <option name="LAST_COMMIT_MESSAGE" value="tiny paste" />
445
463
  <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
446
464
  <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
447
465
  <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
@@ -459,6 +477,7 @@
459
477
  <MESSAGE value="templates" />
460
478
  <MESSAGE value="scss" />
461
479
  <MESSAGE value="tweaks" />
480
+ <MESSAGE value="tiny paste" />
462
481
  </component>
463
482
  <component name="XDebuggerManager">
464
483
  <breakpoint-manager />
@@ -471,9 +490,7 @@
471
490
  </entry>
472
491
  <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/install_generator.rb">
473
492
  <provider selected="true" editor-type-id="text-editor">
474
- <state line="30" column="17" selection-start="995" selection-end="995" vertical-scroll-proportion="0.025210084">
475
- <folding />
476
- </state>
493
+ <state line="30" column="17" selection-start="995" selection-end="995" vertical-scroll-proportion="0.025210084" />
477
494
  </provider>
478
495
  </entry>
479
496
  <entry file="file://$PROJECT_DIR$/lib/sbdevcore/engine.rb">
@@ -483,77 +500,73 @@
483
500
  </entry>
484
501
  <entry file="file://$PROJECT_DIR$/app/views/layouts/tab_nav.html.haml">
485
502
  <provider selected="true" editor-type-id="text-editor">
486
- <state line="2" column="4" selection-start="25" selection-end="53" vertical-scroll-proportion="0.048879836">
487
- <folding />
488
- </state>
503
+ <state line="2" column="4" selection-start="25" selection-end="53" vertical-scroll-proportion="0.048879836" />
489
504
  </provider>
490
505
  </entry>
491
506
  <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_bar_nav.scss">
492
507
  <provider selected="true" editor-type-id="text-editor">
493
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
494
- <folding />
495
- </state>
508
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
496
509
  </provider>
497
510
  </entry>
498
511
  <entry file="file://$PROJECT_DIR$/app/views/layouts/bar_nav.html.haml">
499
512
  <provider selected="true" editor-type-id="text-editor">
500
- <state line="3" column="34" selection-start="75" selection-end="75" vertical-scroll-proportion="0.073319755">
501
- <folding />
502
- </state>
513
+ <state line="3" column="34" selection-start="75" selection-end="75" vertical-scroll-proportion="0.073319755" />
503
514
  </provider>
504
515
  </entry>
505
516
  <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/sass.scss">
506
517
  <provider selected="true" editor-type-id="text-editor">
507
- <state line="15" column="1" selection-start="336" selection-end="431" vertical-scroll-proportion="0.36659878">
508
- <folding />
509
- </state>
518
+ <state line="15" column="1" selection-start="336" selection-end="431" vertical-scroll-proportion="0.36659878" />
510
519
  </provider>
511
520
  </entry>
512
521
  <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_buttons.scss">
513
522
  <provider selected="true" editor-type-id="text-editor">
514
- <state line="23" column="0" selection-start="396" selection-end="436" vertical-scroll-proportion="0.5621181">
515
- <folding />
516
- </state>
523
+ <state line="23" column="0" selection-start="396" selection-end="436" vertical-scroll-proportion="0.5621181" />
517
524
  </provider>
518
525
  </entry>
519
526
  <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss">
520
527
  <provider selected="true" editor-type-id="text-editor">
521
- <state line="28" column="0" selection-start="531" selection-end="531" vertical-scroll-proportion="0.5621181">
522
- <folding />
523
- </state>
528
+ <state line="28" column="0" selection-start="531" selection-end="531" vertical-scroll-proportion="0.5621181" />
524
529
  </provider>
525
530
  </entry>
526
531
  <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js">
527
532
  <provider selected="true" editor-type-id="text-editor">
528
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-3.857143">
529
- <folding />
530
- </state>
533
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-3.857143" />
531
534
  </provider>
532
535
  </entry>
533
536
  <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore.js">
534
537
  <provider selected="true" editor-type-id="text-editor">
535
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
538
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
539
+ </provider>
540
+ </entry>
541
+ <entry file="file://$PROJECT_DIR$/app/views/layouts/application.html.haml">
542
+ <provider selected="true" editor-type-id="text-editor">
543
+ <state line="6" column="29" selection-start="387" selection-end="387" vertical-scroll-proportion="0.0" />
544
+ </provider>
545
+ </entry>
546
+ <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
547
+ <provider selected="true" editor-type-id="text-editor">
548
+ <state line="1" column="18" selection-start="35" selection-end="35" vertical-scroll-proportion="0.0">
536
549
  <folding />
537
550
  </state>
538
551
  </provider>
539
552
  </entry>
540
- <entry file="file://$PROJECT_DIR$/app/views/layouts/application.html.haml">
553
+ <entry file="file://$PROJECT_DIR$/app/assets/javascripts/tiny_mce_config.js">
541
554
  <provider selected="true" editor-type-id="text-editor">
542
- <state line="6" column="29" selection-start="387" selection-end="387" vertical-scroll-proportion="0.0">
555
+ <state line="23" column="18" selection-start="1389" selection-end="1389" vertical-scroll-proportion="0.0">
543
556
  <folding />
544
557
  </state>
545
558
  </provider>
546
559
  </entry>
547
560
  <entry file="file://$PROJECT_DIR$/../templates/template.rb">
548
561
  <provider selected="true" editor-type-id="text-editor">
549
- <state line="3" column="0" selection-start="61" selection-end="81" vertical-scroll-proportion="0.0">
562
+ <state line="9" column="0" selection-start="221" selection-end="221" vertical-scroll-proportion="0.0">
550
563
  <folding />
551
564
  </state>
552
565
  </provider>
553
566
  </entry>
554
- <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
567
+ <entry file="file://$PROJECT_DIR$/sbdevcore.gemspec">
555
568
  <provider selected="true" editor-type-id="text-editor">
556
- <state line="3" column="0" selection-start="41" selection-end="41" vertical-scroll-proportion="0.073319755">
569
+ <state line="25" column="28" selection-start="806" selection-end="806" vertical-scroll-proportion="0.610998">
557
570
  <folding />
558
571
  </state>
559
572
  </provider>
@@ -1,15 +1,24 @@
1
1
  function init_tinymce() {
2
2
  tinyMCE.init({
3
- // General options
4
- mode : "none",
5
- theme : "advanced",
6
- plugins : "autoresize",
3
+ // General options
4
+ mode : "none",
5
+ theme : "advanced",
6
+ plugins : "autoresize, paste",
7
7
 
8
- // Theme options
9
- theme_advanced_buttons1 : "bold, italic, underline, |, justifyleft, justifycenter, justifyright, justifyfull, |, bullist, numlist, |, outdent, indent, |, formatselect, fontsizeselect, fontselect, |, link, unlink, |, code, removeformat;",
10
- theme_advanced_buttons2 : "",
11
- theme_advanced_buttons3 : "",
12
- theme_advanced_fonts : 'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats;',
13
- theme_advanced_blockformats : "h1, h2, h3, h4, p, blockquote"
8
+ // Plugin Options
9
+ paste_auto_cleanup_on_paste : true,
10
+ paste_block_drop : true,
11
+ paste_retain_style_properties : "none",
12
+ paste_strip_class_attributes : "all",
13
+ paste_remove_spans : true,
14
+ paste_remove_styles : true,
15
+ paste_text_sticky : true,
16
+
17
+ // Theme options
18
+ theme_advanced_buttons1 : "bold, italic, underline, |, justifyleft, justifycenter, justifyright, justifyfull, |, bullist, numlist, |, outdent, indent, |, formatselect, fontsizeselect, fontselect, |, link, unlink, |, pastetext,pasteword,selectall, |,code, removeformat;",
19
+ theme_advanced_buttons2 : "",
20
+ theme_advanced_buttons3 : "",
21
+ theme_advanced_fonts : 'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats;',
22
+ theme_advanced_blockformats : "h1, h2, h3, h4, p, blockquote"
14
23
  });
15
24
  }
@@ -1,3 +1,3 @@
1
1
  module Sbdevcore
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
data/sbdevcore.gemspec CHANGED
@@ -17,4 +17,12 @@ Gem::Specification.new do |s|
17
17
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
+
21
+ s.add_dependency('tinymce-rails')
22
+ s.add_dependency('prioritizable')
23
+ s.add_dependency('devise')
24
+ s.add_dependency('paperclip')
25
+ s.add_dependency('haml-edge')
26
+ s.add_dependency('sitemap_generator')
27
+ s.add_dependency("hpricot")
20
28
  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.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,85 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-19 00:00:00.000000000Z
13
- dependencies: []
12
+ date: 2011-08-21 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: tinymce-rails
16
+ requirement: &2161446300 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2161446300
25
+ - !ruby/object:Gem::Dependency
26
+ name: prioritizable
27
+ requirement: &2161445780 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *2161445780
36
+ - !ruby/object:Gem::Dependency
37
+ name: devise
38
+ requirement: &2161445240 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *2161445240
47
+ - !ruby/object:Gem::Dependency
48
+ name: paperclip
49
+ requirement: &2161444820 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *2161444820
58
+ - !ruby/object:Gem::Dependency
59
+ name: haml-edge
60
+ requirement: &2161444280 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *2161444280
69
+ - !ruby/object:Gem::Dependency
70
+ name: sitemap_generator
71
+ requirement: &2161443740 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *2161443740
80
+ - !ruby/object:Gem::Dependency
81
+ name: hpricot
82
+ requirement: &2161443200 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *2161443200
14
91
  description: Core
15
92
  email:
16
93
  - aosalias@gmail.com