sbdevcore 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.idea/workspace.xml +56 -90
- data/app/views/indices/_show.html.erb +1 -0
- data/app/views/indices/show.html.erb +1 -1
- data/{lib/generators/sbdevcore/templates → db}/seeds.rb +0 -2
- data/lib/generators/sbdevcore/install_generator.rb +2 -5
- data/lib/sbdevcore/engine.rb +3 -0
- data/lib/sbdevcore/version.rb +1 -1
- metadata +21 -23
- data/lib/generators/sbdevcore/templates/git_config +0 -9
- data/lib/generators/sbdevcore/templates/sbdevcore.rake +0 -5
data/.idea/workspace.xml
CHANGED
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
<component name="FileColors" enabled="true" enabledForTabs="true" />
|
|
24
24
|
<component name="FileEditorManager">
|
|
25
25
|
<leaf>
|
|
26
|
-
<file leaf-file-name="
|
|
27
|
-
<entry file="file://$PROJECT_DIR$/app/
|
|
26
|
+
<file leaf-file-name="_show.html.erb" pinned="false" current="false" current-in-tab="false">
|
|
27
|
+
<entry file="file://$PROJECT_DIR$/app/views/indices/_show.html.erb">
|
|
28
28
|
<provider selected="true" editor-type-id="text-editor">
|
|
29
|
-
<state line="0" column="
|
|
29
|
+
<state line="0" column="9" selection-start="9" selection-end="11" vertical-scroll-proportion="-0.0">
|
|
30
30
|
<folding />
|
|
31
31
|
</state>
|
|
32
32
|
</provider>
|
|
@@ -41,19 +41,28 @@
|
|
|
41
41
|
</provider>
|
|
42
42
|
</entry>
|
|
43
43
|
</file>
|
|
44
|
-
<file leaf-file-name="
|
|
45
|
-
<entry file="file://$PROJECT_DIR$/app/
|
|
44
|
+
<file leaf-file-name="show.html.erb" pinned="false" current="false" current-in-tab="false">
|
|
45
|
+
<entry file="file://$PROJECT_DIR$/app/views/indices/show.html.erb">
|
|
46
46
|
<provider selected="true" editor-type-id="text-editor">
|
|
47
|
-
<state line="
|
|
47
|
+
<state line="2" column="68" selection-start="184" selection-end="184" vertical-scroll-proportion="-1.2631578">
|
|
48
48
|
<folding />
|
|
49
49
|
</state>
|
|
50
50
|
</provider>
|
|
51
51
|
</entry>
|
|
52
52
|
</file>
|
|
53
|
-
<file leaf-file-name="
|
|
54
|
-
<entry file="file://$PROJECT_DIR$/
|
|
53
|
+
<file leaf-file-name="seeds.rb" pinned="false" current="false" current-in-tab="false">
|
|
54
|
+
<entry file="file://$PROJECT_DIR$/db/seeds.rb">
|
|
55
55
|
<provider selected="true" editor-type-id="text-editor">
|
|
56
|
-
<state line="
|
|
56
|
+
<state line="16" column="50" selection-start="1974" selection-end="1974" vertical-scroll-proportion="0.0">
|
|
57
|
+
<folding />
|
|
58
|
+
</state>
|
|
59
|
+
</provider>
|
|
60
|
+
</entry>
|
|
61
|
+
</file>
|
|
62
|
+
<file leaf-file-name="install_generator.rb" pinned="false" current="false" current-in-tab="false">
|
|
63
|
+
<entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/install_generator.rb">
|
|
64
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
65
|
+
<state line="36" column="10" selection-start="1129" selection-end="1129" vertical-scroll-proportion="0.0">
|
|
57
66
|
<folding />
|
|
58
67
|
</state>
|
|
59
68
|
</provider>
|
|
@@ -72,13 +81,8 @@
|
|
|
72
81
|
<component name="IdeDocumentHistory">
|
|
73
82
|
<option name="changedFiles">
|
|
74
83
|
<list>
|
|
75
|
-
<option value="$PROJECT_DIR$/app/controllers/statics_controller.rb" />
|
|
76
|
-
<option value="$PROJECT_DIR$/app/views/galleries/index.html.erb" />
|
|
77
|
-
<option value="$PROJECT_DIR$/app/views/galleries/show.html.erb" />
|
|
78
84
|
<option value="$PROJECT_DIR$/app/views/shared/course_type_index.html.erb" />
|
|
79
85
|
<option value="$PROJECT_DIR$/app/views/indices/_index.html.erb" />
|
|
80
|
-
<option value="$PROJECT_DIR$/app/views/indices/show.html.erb" />
|
|
81
|
-
<option value="$PROJECT_DIR$/app/views/indices/_show.html.erb" />
|
|
82
86
|
<option value="$PROJECT_DIR$/app/controllers/indices_controller.rb" />
|
|
83
87
|
<option value="$PROJECT_DIR$/app/helpers/layout_helper.rb" />
|
|
84
88
|
<option value="$PROJECT_DIR$/app/views/texts/_show.html.erb" />
|
|
@@ -87,6 +91,11 @@
|
|
|
87
91
|
<option value="$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss" />
|
|
88
92
|
<option value="$PROJECT_DIR$/sbdevcore.gemspec" />
|
|
89
93
|
<option value="$PROJECT_DIR$/app/controllers/core_controller.rb" />
|
|
94
|
+
<option value="$PROJECT_DIR$/lib/sbdevcore/engine.rb" />
|
|
95
|
+
<option value="$PROJECT_DIR$/app/views/indices/show.html.erb" />
|
|
96
|
+
<option value="$PROJECT_DIR$/lib/generators/sbdevcore/templates/seeds.rb" />
|
|
97
|
+
<option value="$PROJECT_DIR$/lib/generators/sbdevcore/install_generator.rb" />
|
|
98
|
+
<option value="$PROJECT_DIR$/app/views/indices/_show.html.erb" />
|
|
90
99
|
<option value="$PROJECT_DIR$/lib/sbdevcore/version.rb" />
|
|
91
100
|
</list>
|
|
92
101
|
</option>
|
|
@@ -160,11 +169,7 @@
|
|
|
160
169
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
161
170
|
</PATH_ELEMENT>
|
|
162
171
|
<PATH_ELEMENT>
|
|
163
|
-
<option name="myItemId" value="
|
|
164
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
165
|
-
</PATH_ELEMENT>
|
|
166
|
-
<PATH_ELEMENT>
|
|
167
|
-
<option name="myItemId" value="views" />
|
|
172
|
+
<option name="myItemId" value="lib" />
|
|
168
173
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
169
174
|
</PATH_ELEMENT>
|
|
170
175
|
</PATH>
|
|
@@ -178,25 +183,15 @@
|
|
|
178
183
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
179
184
|
</PATH_ELEMENT>
|
|
180
185
|
<PATH_ELEMENT>
|
|
181
|
-
<option name="myItemId" value="
|
|
182
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
183
|
-
</PATH_ELEMENT>
|
|
184
|
-
</PATH>
|
|
185
|
-
<PATH>
|
|
186
|
-
<PATH_ELEMENT>
|
|
187
|
-
<option name="myItemId" value="sbdevcore" />
|
|
188
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
189
|
-
</PATH_ELEMENT>
|
|
190
|
-
<PATH_ELEMENT>
|
|
191
|
-
<option name="myItemId" value="sbdevcore" />
|
|
186
|
+
<option name="myItemId" value="lib" />
|
|
192
187
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
193
188
|
</PATH_ELEMENT>
|
|
194
189
|
<PATH_ELEMENT>
|
|
195
|
-
<option name="myItemId" value="
|
|
190
|
+
<option name="myItemId" value="generators" />
|
|
196
191
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
197
192
|
</PATH_ELEMENT>
|
|
198
193
|
<PATH_ELEMENT>
|
|
199
|
-
<option name="myItemId" value="
|
|
194
|
+
<option name="myItemId" value="sbdevcore" />
|
|
200
195
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
201
196
|
</PATH_ELEMENT>
|
|
202
197
|
</PATH>
|
|
@@ -210,37 +205,19 @@
|
|
|
210
205
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
211
206
|
</PATH_ELEMENT>
|
|
212
207
|
<PATH_ELEMENT>
|
|
213
|
-
<option name="myItemId" value="
|
|
214
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
215
|
-
</PATH_ELEMENT>
|
|
216
|
-
<PATH_ELEMENT>
|
|
217
|
-
<option name="myItemId" value="assets" />
|
|
208
|
+
<option name="myItemId" value="lib" />
|
|
218
209
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
219
210
|
</PATH_ELEMENT>
|
|
220
211
|
<PATH_ELEMENT>
|
|
221
|
-
<option name="myItemId" value="
|
|
212
|
+
<option name="myItemId" value="generators" />
|
|
222
213
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
223
214
|
</PATH_ELEMENT>
|
|
224
|
-
</PATH>
|
|
225
|
-
<PATH>
|
|
226
215
|
<PATH_ELEMENT>
|
|
227
216
|
<option name="myItemId" value="sbdevcore" />
|
|
228
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
|
229
|
-
</PATH_ELEMENT>
|
|
230
|
-
<PATH_ELEMENT>
|
|
231
|
-
<option name="myItemId" value="sbdevcore" />
|
|
232
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
233
|
-
</PATH_ELEMENT>
|
|
234
|
-
<PATH_ELEMENT>
|
|
235
|
-
<option name="myItemId" value="app" />
|
|
236
217
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
237
218
|
</PATH_ELEMENT>
|
|
238
219
|
<PATH_ELEMENT>
|
|
239
|
-
<option name="myItemId" value="
|
|
240
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
241
|
-
</PATH_ELEMENT>
|
|
242
|
-
<PATH_ELEMENT>
|
|
243
|
-
<option name="myItemId" value="javascripts" />
|
|
220
|
+
<option name="myItemId" value="templates" />
|
|
244
221
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
245
222
|
</PATH_ELEMENT>
|
|
246
223
|
</PATH>
|
|
@@ -254,11 +231,7 @@
|
|
|
254
231
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
255
232
|
</PATH_ELEMENT>
|
|
256
233
|
<PATH_ELEMENT>
|
|
257
|
-
<option name="myItemId" value="
|
|
258
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
259
|
-
</PATH_ELEMENT>
|
|
260
|
-
<PATH_ELEMENT>
|
|
261
|
-
<option name="myItemId" value="assets" />
|
|
234
|
+
<option name="myItemId" value="db" />
|
|
262
235
|
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
|
263
236
|
</PATH_ELEMENT>
|
|
264
237
|
</PATH>
|
|
@@ -544,107 +517,100 @@
|
|
|
544
517
|
</breakpoint-manager>
|
|
545
518
|
</component>
|
|
546
519
|
<component name="editorHistoryManager">
|
|
547
|
-
<entry file="file://$PROJECT_DIR$/
|
|
520
|
+
<entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/config/app_config.yml">
|
|
548
521
|
<provider selected="true" editor-type-id="text-editor">
|
|
549
522
|
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
|
550
523
|
<folding />
|
|
551
524
|
</state>
|
|
552
525
|
</provider>
|
|
553
526
|
</entry>
|
|
554
|
-
<entry file="file://$PROJECT_DIR$/app/
|
|
527
|
+
<entry file="file://$PROJECT_DIR$/app/models/contact.rb">
|
|
555
528
|
<provider selected="true" editor-type-id="text-editor">
|
|
556
|
-
<state line="
|
|
529
|
+
<state line="7" column="2" selection-start="160" selection-end="160" vertical-scroll-proportion="0.11111111">
|
|
557
530
|
<folding />
|
|
558
531
|
</state>
|
|
559
532
|
</provider>
|
|
560
533
|
</entry>
|
|
561
|
-
<entry file="file://$PROJECT_DIR$/app/
|
|
534
|
+
<entry file="file://$PROJECT_DIR$/app/controllers/sbdevcore/application_controller_extensions.rb">
|
|
562
535
|
<provider selected="true" editor-type-id="text-editor">
|
|
563
|
-
<state line="
|
|
536
|
+
<state line="9" column="33" selection-start="282" selection-end="282" vertical-scroll-proportion="0.14285715">
|
|
564
537
|
<folding />
|
|
565
538
|
</state>
|
|
566
539
|
</provider>
|
|
567
540
|
</entry>
|
|
568
|
-
<entry file="file://$PROJECT_DIR$/
|
|
541
|
+
<entry file="file://$PROJECT_DIR$/app/controllers/contacts_controller.rb">
|
|
569
542
|
<provider selected="true" editor-type-id="text-editor">
|
|
570
543
|
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
|
571
544
|
<folding />
|
|
572
545
|
</state>
|
|
573
546
|
</provider>
|
|
574
547
|
</entry>
|
|
575
|
-
<entry file="file://$PROJECT_DIR$/
|
|
548
|
+
<entry file="file://$PROJECT_DIR$/lib/sbdevcore/engine.rb">
|
|
576
549
|
<provider selected="true" editor-type-id="text-editor">
|
|
577
|
-
<state line="
|
|
550
|
+
<state line="20" column="49" selection-start="433" selection-end="433" vertical-scroll-proportion="0.31746033">
|
|
578
551
|
<folding />
|
|
579
552
|
</state>
|
|
580
553
|
</provider>
|
|
581
554
|
</entry>
|
|
582
|
-
<entry file="file://$PROJECT_DIR$/app/
|
|
555
|
+
<entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss">
|
|
583
556
|
<provider selected="true" editor-type-id="text-editor">
|
|
584
|
-
<state line="
|
|
557
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
|
585
558
|
<folding />
|
|
586
559
|
</state>
|
|
587
560
|
</provider>
|
|
588
561
|
</entry>
|
|
589
|
-
<entry file="file://$PROJECT_DIR$/
|
|
562
|
+
<entry file="file://$PROJECT_DIR$/app/controllers/core_controller.rb">
|
|
590
563
|
<provider selected="true" editor-type-id="text-editor">
|
|
591
|
-
<state line="
|
|
564
|
+
<state line="5" column="0" selection-start="113" selection-end="113" vertical-scroll-proportion="0.07936508">
|
|
592
565
|
<folding />
|
|
593
566
|
</state>
|
|
594
567
|
</provider>
|
|
595
568
|
</entry>
|
|
596
|
-
<entry file="file://$PROJECT_DIR$/
|
|
569
|
+
<entry file="file://$PROJECT_DIR$/sbdevcore.gemspec">
|
|
597
570
|
<provider selected="true" editor-type-id="text-editor">
|
|
598
|
-
<state line="
|
|
571
|
+
<state line="29" column="41" selection-start="965" selection-end="965" vertical-scroll-proportion="0.46031746">
|
|
599
572
|
<folding />
|
|
600
573
|
</state>
|
|
601
574
|
</provider>
|
|
602
575
|
</entry>
|
|
603
|
-
<entry file="file://$PROJECT_DIR$/
|
|
576
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
604
577
|
<provider selected="true" editor-type-id="text-editor">
|
|
605
578
|
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
|
606
579
|
<folding />
|
|
607
580
|
</state>
|
|
608
581
|
</provider>
|
|
609
582
|
</entry>
|
|
610
|
-
<entry file="file://$PROJECT_DIR$/
|
|
611
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
612
|
-
<state line="7" column="2" selection-start="160" selection-end="160" vertical-scroll-proportion="0.11111111">
|
|
613
|
-
<folding />
|
|
614
|
-
</state>
|
|
615
|
-
</provider>
|
|
616
|
-
</entry>
|
|
617
|
-
<entry file="file://$PROJECT_DIR$/app/controllers/sbdevcore/application_controller_extensions.rb">
|
|
583
|
+
<entry file="file://$PROJECT_DIR$/lib/tasks/sbdevcore.rake">
|
|
618
584
|
<provider selected="true" editor-type-id="text-editor">
|
|
619
|
-
<state line="
|
|
585
|
+
<state line="2" column="12" selection-start="67" selection-end="67" vertical-scroll-proportion="0.031746034">
|
|
620
586
|
<folding />
|
|
621
587
|
</state>
|
|
622
588
|
</provider>
|
|
623
589
|
</entry>
|
|
624
|
-
<entry file="file://$PROJECT_DIR$/
|
|
590
|
+
<entry file="file://$PROJECT_DIR$/db/seeds.rb">
|
|
625
591
|
<provider selected="true" editor-type-id="text-editor">
|
|
626
|
-
<state line="
|
|
592
|
+
<state line="16" column="50" selection-start="1974" selection-end="1974" vertical-scroll-proportion="0.0">
|
|
627
593
|
<folding />
|
|
628
594
|
</state>
|
|
629
595
|
</provider>
|
|
630
596
|
</entry>
|
|
631
|
-
<entry file="file://$PROJECT_DIR$/
|
|
597
|
+
<entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/install_generator.rb">
|
|
632
598
|
<provider selected="true" editor-type-id="text-editor">
|
|
633
|
-
<state line="
|
|
599
|
+
<state line="36" column="10" selection-start="1129" selection-end="1129" vertical-scroll-proportion="0.0">
|
|
634
600
|
<folding />
|
|
635
601
|
</state>
|
|
636
602
|
</provider>
|
|
637
603
|
</entry>
|
|
638
|
-
<entry file="file://$PROJECT_DIR$/
|
|
604
|
+
<entry file="file://$PROJECT_DIR$/app/views/indices/show.html.erb">
|
|
639
605
|
<provider selected="true" editor-type-id="text-editor">
|
|
640
|
-
<state line="
|
|
606
|
+
<state line="2" column="68" selection-start="184" selection-end="184" vertical-scroll-proportion="-1.2631578">
|
|
641
607
|
<folding />
|
|
642
608
|
</state>
|
|
643
609
|
</provider>
|
|
644
610
|
</entry>
|
|
645
|
-
<entry file="file://$PROJECT_DIR$/app/
|
|
611
|
+
<entry file="file://$PROJECT_DIR$/app/views/indices/_show.html.erb">
|
|
646
612
|
<provider selected="true" editor-type-id="text-editor">
|
|
647
|
-
<state line="
|
|
613
|
+
<state line="0" column="9" selection-start="9" selection-end="11" vertical-scroll-proportion="-0.0">
|
|
648
614
|
<folding />
|
|
649
615
|
</state>
|
|
650
616
|
</provider>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<%= render :partial => 'application/inline_nav', :locals => {:indices => @index.indices} %>
|
|
2
2
|
<div id='ajax_content'>
|
|
3
|
-
<%= render :partial => 'indices/show', :
|
|
3
|
+
<%= render :partial => 'indices/show', :object => @index, :as => :index %>
|
|
4
4
|
</div>
|
|
@@ -29,10 +29,8 @@ LOREM_SANS_HTML = <<-END_LOREM
|
|
|
29
29
|
|
|
30
30
|
id = 0
|
|
31
31
|
#
|
|
32
|
-
Admin.all.each(&:destroy)
|
|
33
32
|
Admin.create({:username => 'admin', :password => 'secret', :password_confirmation => 'secret', :email => APP_CONFIG[:contact_email].first})
|
|
34
33
|
#
|
|
35
|
-
Index.all.each(&:destroy)
|
|
36
34
|
statics.each do |index|
|
|
37
35
|
attr = {
|
|
38
36
|
:name => index,
|
|
@@ -35,8 +35,6 @@ Index.find_all_by_name(APP_CONFIG[:static_pages]).each do |page|
|
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def seeds
|
|
38
|
-
copy_file "seeds.rb", "db/seeds.rb", :force => true
|
|
39
|
-
|
|
40
38
|
copy_file "application.scss", "app/assets/stylesheets/application.scss", :force => true
|
|
41
39
|
copy_file "sass.scss", "app/assets/stylesheets/sass.scss", :force => true
|
|
42
40
|
directory "application", "app/views/application"
|
|
@@ -49,21 +47,20 @@ Index.find_all_by_name(APP_CONFIG[:static_pages]).each do |page|
|
|
|
49
47
|
ActionMailer::Base.perform_deliveries = false
|
|
50
48
|
ActionMailer::Base.raise_delivery_errors = true
|
|
51
49
|
OPTS
|
|
52
|
-
inject_into_file "config/environments/development.rb", dev_mailer, :after => "
|
|
50
|
+
inject_into_file "config/environments/development.rb", dev_mailer, :after => "Application.configure do"
|
|
53
51
|
|
|
54
52
|
prod_mailer = <<-OPTS
|
|
55
53
|
|
|
56
54
|
ActionMailer::Base.perform_deliveries = true
|
|
57
55
|
ActionMailer::Base.raise_delivery_errors = false
|
|
58
56
|
OPTS
|
|
59
|
-
inject_into_file "config/environments/production.rb", prod_mailer, :after => "
|
|
57
|
+
inject_into_file "config/environments/production.rb", prod_mailer, :after => "Application.configure do"
|
|
60
58
|
gsub_file "config/environments/production.rb", /"X-Sendfile"/, "nil"
|
|
61
59
|
end
|
|
62
60
|
|
|
63
61
|
def git
|
|
64
62
|
run "git init ."
|
|
65
63
|
copy_file ".gitignore", ".gitignore", :force => true
|
|
66
|
-
copy_file "git_config", ".git/config", :force => true
|
|
67
64
|
run "git add ."
|
|
68
65
|
run "git commit -m 'first commit'"
|
|
69
66
|
end
|
data/lib/sbdevcore/engine.rb
CHANGED
|
@@ -17,6 +17,9 @@ module Sbdevcore
|
|
|
17
17
|
load "tasks/sbdevcore.rake"
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
+
config.action_mailer.perform_deliveries = !Rails.env.production?
|
|
21
|
+
config.action_mailer.raise_delivery_errors = Rails.env.production?
|
|
22
|
+
|
|
20
23
|
initializer 'sbdevcore.app_controller' do |app|
|
|
21
24
|
ActiveSupport.on_load(:action_controller) do
|
|
22
25
|
include Sbdevcore::ApplicationControllerExtensions
|
data/lib/sbdevcore/version.rb
CHANGED
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.1.
|
|
4
|
+
version: 0.1.2
|
|
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-08-
|
|
12
|
+
date: 2011-08-24 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: tinymce-rails
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &2161331380 !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: *
|
|
24
|
+
version_requirements: *2161331380
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: prioritizable
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &2161330940 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,10 +32,10 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *2161330940
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: devise
|
|
38
|
-
requirement: &
|
|
38
|
+
requirement: &2161330480 !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: *
|
|
46
|
+
version_requirements: *2161330480
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: paperclip
|
|
49
|
-
requirement: &
|
|
49
|
+
requirement: &2161329940 !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: *
|
|
57
|
+
version_requirements: *2161329940
|
|
58
58
|
- !ruby/object:Gem::Dependency
|
|
59
59
|
name: haml-edge
|
|
60
|
-
requirement: &
|
|
60
|
+
requirement: &2161329400 !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: *
|
|
68
|
+
version_requirements: *2161329400
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: sitemap_generator
|
|
71
|
-
requirement: &
|
|
71
|
+
requirement: &2161328860 !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: *
|
|
79
|
+
version_requirements: *2161328860
|
|
80
80
|
- !ruby/object:Gem::Dependency
|
|
81
81
|
name: hpricot
|
|
82
|
-
requirement: &
|
|
82
|
+
requirement: &2161328320 !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: *
|
|
90
|
+
version_requirements: *2161328320
|
|
91
91
|
- !ruby/object:Gem::Dependency
|
|
92
92
|
name: simple_form
|
|
93
|
-
requirement: &
|
|
93
|
+
requirement: &2161327820 !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: *
|
|
101
|
+
version_requirements: *2161327820
|
|
102
102
|
- !ruby/object:Gem::Dependency
|
|
103
103
|
name: inherited_resources
|
|
104
|
-
requirement: &
|
|
104
|
+
requirement: &2161327360 !ruby/object:Gem::Requirement
|
|
105
105
|
none: false
|
|
106
106
|
requirements:
|
|
107
107
|
- - ! '>='
|
|
@@ -109,7 +109,7 @@ dependencies:
|
|
|
109
109
|
version: '0'
|
|
110
110
|
type: :runtime
|
|
111
111
|
prerelease: false
|
|
112
|
-
version_requirements: *
|
|
112
|
+
version_requirements: *2161327360
|
|
113
113
|
description: Core
|
|
114
114
|
email:
|
|
115
115
|
- aosalias@gmail.com
|
|
@@ -253,6 +253,7 @@ files:
|
|
|
253
253
|
- db/migrate/20110815163943_create_texts.rb
|
|
254
254
|
- db/migrate/20110815164359_create_videos.rb
|
|
255
255
|
- db/schema.rb
|
|
256
|
+
- db/seeds.rb
|
|
256
257
|
- doc/README_FOR_APP
|
|
257
258
|
- lib/assets/.gitkeep
|
|
258
259
|
- lib/generators/sbdevcore/install_generator.rb
|
|
@@ -270,11 +271,8 @@ files:
|
|
|
270
271
|
- lib/generators/sbdevcore/templates/config/s3.yml
|
|
271
272
|
- lib/generators/sbdevcore/templates/config/tiny_mce.yml
|
|
272
273
|
- lib/generators/sbdevcore/templates/database.yml
|
|
273
|
-
- lib/generators/sbdevcore/templates/git_config
|
|
274
274
|
- lib/generators/sbdevcore/templates/new_contact.html.erb
|
|
275
275
|
- lib/generators/sbdevcore/templates/sass.scss
|
|
276
|
-
- lib/generators/sbdevcore/templates/sbdevcore.rake
|
|
277
|
-
- lib/generators/sbdevcore/templates/seeds.rb
|
|
278
276
|
- lib/sbdevcore.rb
|
|
279
277
|
- lib/sbdevcore/engine.rb
|
|
280
278
|
- lib/sbdevcore/version.rb
|