sbdevcore 0.2.16 → 0.2.17

Sign up to get free protection for your applications and to get access to all the features.
data/.idea/workspace.xml CHANGED
@@ -1,7 +1,10 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
3
  <component name="ChangeListManager" verified="true">
4
- <list default="true" readonly="true" id="b8b56ec4-45f8-4144-afba-a1bc2f2f511f" name="Default" comment="" />
4
+ <list default="true" readonly="true" id="b8b56ec4-45f8-4144-afba-a1bc2f2f511f" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/models/photo.rb" afterPath="$PROJECT_DIR$/app/models/photo.rb" />
7
+ </list>
5
8
  <ignored path=".idea/" />
6
9
  <option name="TRACKING_ENABLED" value="true" />
7
10
  <option name="SHOW_DIALOG" value="false" />
@@ -23,55 +26,73 @@
23
26
  <component name="FileColors" enabled="true" enabledForTabs="true" />
24
27
  <component name="FileEditorManager">
25
28
  <leaf>
26
- <file leaf-file-name="sbdevcore-tools.js" pinned="false" current="false" current-in-tab="false">
27
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js">
29
+ <file leaf-file-name="show.html.haml" pinned="false" current="false" current-in-tab="false">
30
+ <entry file="file://$PROJECT_DIR$/app/views/indices/show.html.haml">
28
31
  <provider selected="true" editor-type-id="text-editor">
29
- <state line="127" column="19" selection-start="3661" selection-end="3661" vertical-scroll-proportion="0.0">
32
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
30
33
  <folding />
31
34
  </state>
32
35
  </provider>
33
36
  </entry>
34
37
  </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">
38
+ <file leaf-file-name="application.html.haml" pinned="false" current="false" current-in-tab="false">
39
+ <entry file="file://$PROJECT_DIR$/app/views/layouts/application.html.haml">
37
40
  <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">
41
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
39
42
  <folding />
40
43
  </state>
41
44
  </provider>
42
45
  </entry>
43
46
  </file>
44
- <file leaf-file-name="_show.html.haml" pinned="false" current="false" current-in-tab="false">
45
- <entry file="file://$PROJECT_DIR$/app/views/indices/_show.html.haml">
47
+ <file leaf-file-name="_header.html.haml" pinned="false" current="false" current-in-tab="false">
48
+ <entry file="file://$PROJECT_DIR$/app/views/application/_header.html.haml">
46
49
  <provider selected="true" editor-type-id="text-editor">
47
- <state line="29" column="0" selection-start="1593" selection-end="1650" vertical-scroll-proportion="0.0">
50
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
48
51
  <folding />
49
52
  </state>
50
53
  </provider>
51
54
  </entry>
52
55
  </file>
53
- <file leaf-file-name="show.html.haml" pinned="false" current="false" current-in-tab="false">
54
- <entry file="file://$PROJECT_DIR$/app/views/indices/show.html.haml">
56
+ <file leaf-file-name="sass.scss" pinned="false" current="false" current-in-tab="false">
57
+ <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/sass.scss">
55
58
  <provider selected="true" editor-type-id="text-editor">
56
- <state line="1" column="0" selection-start="0" selection-end="26" vertical-scroll-proportion="0.0">
59
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
57
60
  <folding />
58
61
  </state>
59
62
  </provider>
60
63
  </entry>
61
64
  </file>
62
- <file leaf-file-name="sbdev-ajax.js" pinned="false" current="false" current-in-tab="false">
63
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdev-ajax.js">
65
+ <file leaf-file-name="_sbdev_core.scss" pinned="false" current="false" current-in-tab="false">
66
+ <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss">
67
+ <provider selected="true" editor-type-id="text-editor">
68
+ <state line="45" column="0" selection-start="666" selection-end="905" vertical-scroll-proportion="0.0">
69
+ <folding />
70
+ </state>
71
+ </provider>
72
+ </entry>
73
+ </file>
74
+ <file leaf-file-name="_form.html.haml" pinned="false" current="false" current-in-tab="false">
75
+ <entry file="file://$PROJECT_DIR$/app/views/photos/_form.html.haml">
76
+ <provider selected="true" editor-type-id="text-editor">
77
+ <state line="6" column="0" selection-start="244" selection-end="244" vertical-scroll-proportion="0.0">
78
+ <folding />
79
+ </state>
80
+ </provider>
81
+ </entry>
82
+ </file>
83
+ <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
84
+ <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
64
85
  <provider selected="true" editor-type-id="text-editor">
65
- <state line="19" column="14" selection-start="631" selection-end="631" vertical-scroll-proportion="0.0">
86
+ <state line="3" column="0" selection-start="42" selection-end="42" vertical-scroll-proportion="0.0">
66
87
  <folding />
67
88
  </state>
68
89
  </provider>
69
90
  </entry>
70
91
  </file>
71
- <file leaf-file-name="_show.html.haml" pinned="false" current="false" current-in-tab="false">
72
- <entry file="file://$PROJECT_DIR$/app/views/galleries/_show.html.haml">
92
+ <file leaf-file-name="photo.rb" pinned="false" current="true" current-in-tab="true">
93
+ <entry file="file://$PROJECT_DIR$/app/models/photo.rb">
73
94
  <provider selected="true" editor-type-id="text-editor">
74
- <state line="5" column="0" selection-start="241" selection-end="241" vertical-scroll-proportion="0.0">
95
+ <state line="1" column="0" selection-start="16" selection-end="16" vertical-scroll-proportion="0.016877636">
75
96
  <folding />
76
97
  </state>
77
98
  </provider>
@@ -90,10 +111,6 @@
90
111
  <component name="IdeDocumentHistory">
91
112
  <option name="changedFiles">
92
113
  <list>
93
- <option value="$PROJECT_DIR$/app/views/galleries/index.html.haml" />
94
- <option value="$PROJECT_DIR$/app/views/galleries/show.html.haml" />
95
- <option value="$PROJECT_DIR$/app/views/photos/_form.html.haml" />
96
- <option value="$PROJECT_DIR$/app/models/photo.rb" />
97
114
  <option value="$PROJECT_DIR$/app/views/indices/_form.html.haml" />
98
115
  <option value="$PROJECT_DIR$/app/models/gallery.rb" />
99
116
  <option value="$PROJECT_DIR$/app/controllers/galleries_controller.rb" />
@@ -105,7 +122,11 @@
105
122
  <option value="$PROJECT_DIR$/app/assets/stylesheets/_gallery.scss" />
106
123
  <option value="$PROJECT_DIR$/app/assets/javascripts/sbdev-ajax.js" />
107
124
  <option value="$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js" />
125
+ <option value="$PROJECT_DIR$/db/migrate/20110811000613_create_indices.rb" />
126
+ <option value="$PROJECT_DIR$/db/migrate/20110924202450_add_new.rb" />
127
+ <option value="$PROJECT_DIR$/db/seeds.rb" />
108
128
  <option value="$PROJECT_DIR$/lib/sbdevcore/version.rb" />
129
+ <option value="$PROJECT_DIR$/app/models/photo.rb" />
109
130
  </list>
110
131
  </option>
111
132
  </component>
@@ -135,8 +156,6 @@
135
156
  <sortByType />
136
157
  </navigator>
137
158
  <panes>
138
- <pane id="Favorites" />
139
- <pane id="Scope" />
140
159
  <pane id="RailsProjectView" />
141
160
  <pane id="ProjectPane">
142
161
  <subPane>
@@ -166,114 +185,14 @@
166
185
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
167
186
  </PATH_ELEMENT>
168
187
  <PATH_ELEMENT>
169
- <option name="myItemId" value="app" />
170
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
171
- </PATH_ELEMENT>
172
- <PATH_ELEMENT>
173
- <option name="myItemId" value="views" />
174
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
175
- </PATH_ELEMENT>
176
- </PATH>
177
- <PATH>
178
- <PATH_ELEMENT>
179
- <option name="myItemId" value="sbdevcore" />
180
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
181
- </PATH_ELEMENT>
182
- <PATH_ELEMENT>
183
- <option name="myItemId" value="sbdevcore" />
184
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
185
- </PATH_ELEMENT>
186
- <PATH_ELEMENT>
187
- <option name="myItemId" value="app" />
188
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
189
- </PATH_ELEMENT>
190
- <PATH_ELEMENT>
191
- <option name="myItemId" value="views" />
192
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
193
- </PATH_ELEMENT>
194
- <PATH_ELEMENT>
195
- <option name="myItemId" value="shared" />
196
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
197
- </PATH_ELEMENT>
198
- </PATH>
199
- <PATH>
200
- <PATH_ELEMENT>
201
- <option name="myItemId" value="sbdevcore" />
202
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
203
- </PATH_ELEMENT>
204
- <PATH_ELEMENT>
205
- <option name="myItemId" value="sbdevcore" />
206
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
207
- </PATH_ELEMENT>
208
- <PATH_ELEMENT>
209
- <option name="myItemId" value="app" />
210
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
211
- </PATH_ELEMENT>
212
- <PATH_ELEMENT>
213
- <option name="myItemId" value="views" />
214
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
215
- </PATH_ELEMENT>
216
- <PATH_ELEMENT>
217
- <option name="myItemId" value="galleries" />
218
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
219
- </PATH_ELEMENT>
220
- </PATH>
221
- <PATH>
222
- <PATH_ELEMENT>
223
- <option name="myItemId" value="sbdevcore" />
224
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
225
- </PATH_ELEMENT>
226
- <PATH_ELEMENT>
227
- <option name="myItemId" value="sbdevcore" />
228
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
229
- </PATH_ELEMENT>
230
- <PATH_ELEMENT>
231
- <option name="myItemId" value="app" />
232
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
233
- </PATH_ELEMENT>
234
- </PATH>
235
- <PATH>
236
- <PATH_ELEMENT>
237
- <option name="myItemId" value="sbdevcore" />
238
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
239
- </PATH_ELEMENT>
240
- <PATH_ELEMENT>
241
- <option name="myItemId" value="sbdevcore" />
242
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
243
- </PATH_ELEMENT>
244
- <PATH_ELEMENT>
245
- <option name="myItemId" value="app" />
246
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
247
- </PATH_ELEMENT>
248
- <PATH_ELEMENT>
249
- <option name="myItemId" value="assets" />
250
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
251
- </PATH_ELEMENT>
252
- </PATH>
253
- <PATH>
254
- <PATH_ELEMENT>
255
- <option name="myItemId" value="sbdevcore" />
256
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
257
- </PATH_ELEMENT>
258
- <PATH_ELEMENT>
259
- <option name="myItemId" value="sbdevcore" />
260
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
261
- </PATH_ELEMENT>
262
- <PATH_ELEMENT>
263
- <option name="myItemId" value="app" />
264
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
265
- </PATH_ELEMENT>
266
- <PATH_ELEMENT>
267
- <option name="myItemId" value="assets" />
268
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
269
- </PATH_ELEMENT>
270
- <PATH_ELEMENT>
271
- <option name="myItemId" value="javascripts" />
188
+ <option name="myItemId" value="public" />
272
189
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
273
190
  </PATH_ELEMENT>
274
191
  </PATH>
275
192
  </subPane>
276
193
  </pane>
194
+ <pane id="Scope" />
195
+ <pane id="Favorites" />
277
196
  </panes>
278
197
  </component>
279
198
  <component name="PropertiesComponent">
@@ -495,7 +414,7 @@
495
414
  <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" />
496
415
  <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" />
497
416
  <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" />
498
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2811615" sideWeight="0.6619898" order="0" side_tool="false" content_ui="tabs" />
417
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3293201" sideWeight="0.0" order="0" side_tool="false" content_ui="tabs" />
499
418
  <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" />
500
419
  <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" />
501
420
  <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" />
@@ -562,100 +481,86 @@
562
481
  </breakpoint-manager>
563
482
  </component>
564
483
  <component name="editorHistoryManager">
565
- <entry file="file://$PROJECT_DIR$/app/models/gallery.rb">
484
+ <entry file="file://$PROJECT_DIR$/app/views/indices/_show.html.haml">
566
485
  <provider selected="true" editor-type-id="text-editor">
567
- <state line="7" column="0" selection-start="206" selection-end="206" vertical-scroll-proportion="0.17107943" />
486
+ <state line="0" column="20" selection-start="20" selection-end="20" vertical-scroll-proportion="0.0" />
568
487
  </provider>
569
488
  </entry>
570
- <entry file="file://$PROJECT_DIR$/lib/sbdevcore.rb">
489
+ <entry file="file://$PROJECT_DIR$/db/migrate/20110811000613_create_indices.rb">
571
490
  <provider selected="true" editor-type-id="text-editor">
572
- <state line="16" column="28" selection-start="335" selection-end="335" vertical-scroll-proportion="0.3910387" />
491
+ <state line="12" column="0" selection-start="275" selection-end="275" vertical-scroll-proportion="0.19538671" />
573
492
  </provider>
574
493
  </entry>
575
- <entry file="file://$PROJECT_DIR$/app/views/galleries/_form.html.haml">
494
+ <entry file="file://$PROJECT_DIR$/db/seeds.rb">
576
495
  <provider selected="true" editor-type-id="text-editor">
577
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
496
+ <state line="36" column="2" selection-start="2543" selection-end="2543" vertical-scroll-proportion="0.44875348" />
578
497
  </provider>
579
498
  </entry>
580
- <entry file="file://$PROJECT_DIR$/app/views/indices/_form.html.haml">
499
+ <entry file="file://$PROJECT_DIR$/db/migrate/20110924202450_add_new.rb">
581
500
  <provider selected="true" editor-type-id="text-editor">
582
- <state line="3" column="0" selection-start="86" selection-end="86" vertical-scroll-proportion="0.073319755" />
501
+ <state line="9" column="0" selection-start="262" selection-end="262" vertical-scroll-proportion="0.14654003" />
583
502
  </provider>
584
503
  </entry>
585
- <entry file="file://$PROJECT_DIR$/app/models/index.rb">
504
+ <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/install_generator.rb">
586
505
  <provider selected="true" editor-type-id="text-editor">
587
- <state line="14" column="36" selection-start="508" selection-end="508" vertical-scroll-proportion="0.3529412" />
506
+ <state line="11" column="11" selection-start="390" selection-end="390" vertical-scroll-proportion="0.18461539" />
588
507
  </provider>
589
508
  </entry>
590
- <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/sass.scss">
509
+ <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js">
591
510
  <provider selected="true" editor-type-id="text-editor">
592
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
511
+ <state line="127" column="19" selection-start="3661" selection-end="3661" vertical-scroll-proportion="0.015873017" />
593
512
  </provider>
594
513
  </entry>
595
- <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_gallery.scss">
514
+ <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdev-ajax.js">
596
515
  <provider selected="true" editor-type-id="text-editor">
597
- <state line="76" column="0" selection-start="1157" selection-end="1221" vertical-scroll-proportion="0.016282225">
598
- <folding />
599
- </state>
516
+ <state line="19" column="14" selection-start="631" selection-end="631" vertical-scroll-proportion="0.015873017" />
600
517
  </provider>
601
518
  </entry>
602
- <entry file="file://$PROJECT_DIR$/app/controllers/indices_controller.rb">
519
+ <entry file="file://$PROJECT_DIR$/app/views/galleries/_show.html.haml">
603
520
  <provider selected="true" editor-type-id="text-editor">
604
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
521
+ <state line="5" column="0" selection-start="241" selection-end="241" vertical-scroll-proportion="0.016194332" />
605
522
  </provider>
606
523
  </entry>
607
- <entry file="file://$PROJECT_DIR$/app/controllers/sbdev_core_controller.rb">
524
+ <entry file="file://$PROJECT_DIR$/app/views/indices/show.html.haml">
608
525
  <provider selected="true" editor-type-id="text-editor">
609
- <state line="11" column="11" selection-start="256" selection-end="280" vertical-scroll-proportion="0.17460318">
610
- <folding />
611
- </state>
526
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
612
527
  </provider>
613
528
  </entry>
614
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/jquery.tools.min.js">
529
+ <entry file="file://$PROJECT_DIR$/app/views/layouts/application.html.haml">
615
530
  <provider selected="true" editor-type-id="text-editor">
616
- <state line="23" column="0" selection-start="14155" selection-end="14155" vertical-scroll-proportion="0.12955466">
617
- <folding />
618
- </state>
531
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
619
532
  </provider>
620
533
  </entry>
621
- <entry file="file://$PROJECT_DIR$/app/views/galleries/_show.html.haml">
534
+ <entry file="file://$PROJECT_DIR$/app/views/application/_header.html.haml">
622
535
  <provider selected="true" editor-type-id="text-editor">
623
- <state line="5" column="0" selection-start="241" selection-end="241" vertical-scroll-proportion="0.0">
624
- <folding />
625
- </state>
536
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
626
537
  </provider>
627
538
  </entry>
628
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdev-ajax.js">
539
+ <entry file="file://$PROJECT_DIR$/lib/generators/sbdevcore/templates/sass.scss">
629
540
  <provider selected="true" editor-type-id="text-editor">
630
- <state line="19" column="14" selection-start="631" selection-end="631" vertical-scroll-proportion="0.0">
631
- <folding />
632
- </state>
541
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
633
542
  </provider>
634
543
  </entry>
635
- <entry file="file://$PROJECT_DIR$/app/views/indices/show.html.haml">
544
+ <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/_sbdev_core.scss">
636
545
  <provider selected="true" editor-type-id="text-editor">
637
- <state line="1" column="0" selection-start="0" selection-end="26" vertical-scroll-proportion="0.0">
638
- <folding />
639
- </state>
546
+ <state line="45" column="0" selection-start="666" selection-end="905" vertical-scroll-proportion="0.0" />
640
547
  </provider>
641
548
  </entry>
642
- <entry file="file://$PROJECT_DIR$/app/views/indices/_show.html.haml">
549
+ <entry file="file://$PROJECT_DIR$/app/views/photos/_form.html.haml">
643
550
  <provider selected="true" editor-type-id="text-editor">
644
- <state line="29" column="0" selection-start="1593" selection-end="1650" vertical-scroll-proportion="0.0">
645
- <folding />
646
- </state>
551
+ <state line="6" column="0" selection-start="244" selection-end="244" vertical-scroll-proportion="0.0" />
647
552
  </provider>
648
553
  </entry>
649
- <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sbdevcore-tools.js">
554
+ <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
650
555
  <provider selected="true" editor-type-id="text-editor">
651
- <state line="127" column="19" selection-start="3661" selection-end="3661" vertical-scroll-proportion="0.0">
556
+ <state line="3" column="0" selection-start="42" selection-end="42" vertical-scroll-proportion="0.0">
652
557
  <folding />
653
558
  </state>
654
559
  </provider>
655
560
  </entry>
656
- <entry file="file://$PROJECT_DIR$/lib/sbdevcore/version.rb">
561
+ <entry file="file://$PROJECT_DIR$/app/models/photo.rb">
657
562
  <provider selected="true" editor-type-id="text-editor">
658
- <state line="1" column="19" selection-start="36" selection-end="36" vertical-scroll-proportion="0.016282225">
563
+ <state line="1" column="0" selection-start="16" selection-end="16" vertical-scroll-proportion="0.016877636">
659
564
  <folding />
660
565
  </state>
661
566
  </provider>
data/app/models/photo.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require "iconv"
1
2
  require 'open-uri'
2
3
  class Photo < ActiveRecord::Base
3
4
  belongs_to :index
@@ -10,6 +10,5 @@ class CreateIndices < ActiveRecord::Migration
10
10
 
11
11
  t.timestamps
12
12
  end
13
- add_index :indices, :slug, :unique => true
14
13
  end
15
14
  end
@@ -6,6 +6,7 @@ class AddNew < ActiveRecord::Migration
6
6
  t.integer :priority
7
7
  t.string :title
8
8
  end
9
+ add_index :indices, :slug, :unique => true
9
10
  end
10
11
 
11
12
  def down
@@ -1,3 +1,3 @@
1
1
  module Sbdevcore
2
- VERSION = "0.2.16"
2
+ VERSION = "0.2.17"
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.16
4
+ version: 0.2.17
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-10-15 00:00:00.000000000Z
12
+ date: 2011-10-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: tinymce-rails
16
- requirement: &2156772900 !ruby/object:Gem::Requirement
16
+ requirement: &2162140740 !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: *2156772900
24
+ version_requirements: *2162140740
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: prioritizable
27
- requirement: &2156772160 !ruby/object:Gem::Requirement
27
+ requirement: &2162140240 !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: *2156772160
35
+ version_requirements: *2162140240
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: devise
38
- requirement: &2156771680 !ruby/object:Gem::Requirement
38
+ requirement: &2162139820 !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: *2156771680
46
+ version_requirements: *2162139820
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: paperclip
49
- requirement: &2156771100 !ruby/object:Gem::Requirement
49
+ requirement: &2162139360 !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: *2156771100
57
+ version_requirements: *2162139360
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: haml-edge
60
- requirement: &2156770580 !ruby/object:Gem::Requirement
60
+ requirement: &2162138940 !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: *2156770580
68
+ version_requirements: *2162138940
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sitemap_generator
71
- requirement: &2156769960 !ruby/object:Gem::Requirement
71
+ requirement: &2162138520 !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: *2156769960
79
+ version_requirements: *2162138520
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: hpricot
82
- requirement: &2156769380 !ruby/object:Gem::Requirement
82
+ requirement: &2152323560 !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: *2156769380
90
+ version_requirements: *2152323560
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: simple_form
93
- requirement: &2156768680 !ruby/object:Gem::Requirement
93
+ requirement: &2152323140 !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: *2156768680
101
+ version_requirements: *2152323140
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: client_side_validations
104
- requirement: &2156764500 !ruby/object:Gem::Requirement
104
+ requirement: &2152322720 !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: *2156764500
112
+ version_requirements: *2152322720
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: formalize-rails
115
- requirement: &2156763960 !ruby/object:Gem::Requirement
115
+ requirement: &2152322300 !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: *2156763960
123
+ version_requirements: *2152322300
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: will_paginate
126
- requirement: &2156763380 !ruby/object:Gem::Requirement
126
+ requirement: &2152321800 !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: *2156763380
134
+ version_requirements: *2152321800
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: aws-s3
137
- requirement: &2156762940 !ruby/object:Gem::Requirement
137
+ requirement: &2152321380 !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: *2156762940
145
+ version_requirements: *2152321380
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: inherited_resources
148
- requirement: &2156762420 !ruby/object:Gem::Requirement
148
+ requirement: &2152320920 !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: *2156762420
156
+ version_requirements: *2152320920
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: friendly_id
159
- requirement: &2156761820 !ruby/object:Gem::Requirement
159
+ requirement: &2152320420 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ~>
@@ -164,7 +164,7 @@ dependencies:
164
164
  version: 4.0.0.beta8
165
165
  type: :runtime
166
166
  prerelease: false
167
- version_requirements: *2156761820
167
+ version_requirements: *2152320420
168
168
  description: Core
169
169
  email:
170
170
  - aosalias@gmail.com