thesilverspoon 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/workspace.xml +297 -0
- data/lib/templates/assets/quiet_assets.rb +13 -0
- data/lib/thesilverspoon.rb +4 -0
- data/lib/thesilverspoon/version.rb +1 -1
- metadata +7 -3
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
thesilverspoon
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build thesilverspoon-1.0.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install thesilverspoon-1.0.0.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v1.0.0 and build and push thesilverspoon-1.0.0.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
|
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,297 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="75c8ab4c-4c2d-4bdc-9b2d-73d5c217fb5a" name="Default" comment="" />
|
5
|
+
<ignored path="thesilverspoon.iws" />
|
6
|
+
<ignored path=".idea/workspace.xml" />
|
7
|
+
<option name="TRACKING_ENABLED" value="true" />
|
8
|
+
<option name="SHOW_DIALOG" value="false" />
|
9
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
10
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
11
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
12
|
+
</component>
|
13
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
14
|
+
<component name="CreatePatchCommitExecutor">
|
15
|
+
<option name="PATCH_PATH" value="" />
|
16
|
+
</component>
|
17
|
+
<component name="DaemonCodeAnalyzer">
|
18
|
+
<disable_hints />
|
19
|
+
</component>
|
20
|
+
<component name="FavoritesManager">
|
21
|
+
<favorites_list name="thesilverspoon" />
|
22
|
+
</component>
|
23
|
+
<component name="FileEditorManager">
|
24
|
+
<leaf>
|
25
|
+
<file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
|
26
|
+
<entry file="file://$PROJECT_DIR$/lib/thesilverspoon/version.rb">
|
27
|
+
<provider selected="true" editor-type-id="text-editor">
|
28
|
+
<state line="2" column="25" selection-start="45" selection-end="45" vertical-scroll-proportion="0.048701297">
|
29
|
+
<folding />
|
30
|
+
</state>
|
31
|
+
</provider>
|
32
|
+
</entry>
|
33
|
+
</file>
|
34
|
+
</leaf>
|
35
|
+
</component>
|
36
|
+
<component name="Git.Settings">
|
37
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
38
|
+
</component>
|
39
|
+
<component name="IdeDocumentHistory">
|
40
|
+
<option name="changedFiles">
|
41
|
+
<list>
|
42
|
+
<option value="$PROJECT_DIR$/thesilverspoon.gemspec" />
|
43
|
+
<option value="$PROJECT_DIR$/lib/thesilverspoon/version.rb" />
|
44
|
+
</list>
|
45
|
+
</option>
|
46
|
+
</component>
|
47
|
+
<component name="ProjectFrameBounds">
|
48
|
+
<option name="y" value="24" />
|
49
|
+
<option name="width" value="1366" />
|
50
|
+
<option name="height" value="744" />
|
51
|
+
</component>
|
52
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
53
|
+
<OptionsSetting value="true" id="Add" />
|
54
|
+
<OptionsSetting value="true" id="Remove" />
|
55
|
+
<OptionsSetting value="true" id="Checkout" />
|
56
|
+
<OptionsSetting value="true" id="Update" />
|
57
|
+
<OptionsSetting value="true" id="Status" />
|
58
|
+
<OptionsSetting value="true" id="Edit" />
|
59
|
+
<ConfirmationsSetting value="0" id="Add" />
|
60
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
61
|
+
</component>
|
62
|
+
<component name="ProjectReloadState">
|
63
|
+
<option name="STATE" value="0" />
|
64
|
+
</component>
|
65
|
+
<component name="ProjectView">
|
66
|
+
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
67
|
+
<flattenPackages />
|
68
|
+
<showMembers />
|
69
|
+
<showModules />
|
70
|
+
<showLibraryContents />
|
71
|
+
<hideEmptyPackages />
|
72
|
+
<abbreviatePackageNames />
|
73
|
+
<autoscrollToSource />
|
74
|
+
<autoscrollFromSource />
|
75
|
+
<sortByType />
|
76
|
+
</navigator>
|
77
|
+
<panes>
|
78
|
+
<pane id="Scope">
|
79
|
+
<subPane subId="Project Files">
|
80
|
+
<PATH>
|
81
|
+
<PATH_ELEMENT USER_OBJECT="Root">
|
82
|
+
<option name="myItemId" value="" />
|
83
|
+
<option name="myItemType" value="" />
|
84
|
+
</PATH_ELEMENT>
|
85
|
+
</PATH>
|
86
|
+
</subPane>
|
87
|
+
</pane>
|
88
|
+
<pane id="ProjectPane">
|
89
|
+
<subPane>
|
90
|
+
<PATH>
|
91
|
+
<PATH_ELEMENT>
|
92
|
+
<option name="myItemId" value="thesilverspoon" />
|
93
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
94
|
+
</PATH_ELEMENT>
|
95
|
+
</PATH>
|
96
|
+
<PATH>
|
97
|
+
<PATH_ELEMENT>
|
98
|
+
<option name="myItemId" value="thesilverspoon" />
|
99
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
100
|
+
</PATH_ELEMENT>
|
101
|
+
<PATH_ELEMENT>
|
102
|
+
<option name="myItemId" value="thesilverspoon" />
|
103
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
104
|
+
</PATH_ELEMENT>
|
105
|
+
</PATH>
|
106
|
+
<PATH>
|
107
|
+
<PATH_ELEMENT>
|
108
|
+
<option name="myItemId" value="thesilverspoon" />
|
109
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
110
|
+
</PATH_ELEMENT>
|
111
|
+
<PATH_ELEMENT>
|
112
|
+
<option name="myItemId" value="thesilverspoon" />
|
113
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
114
|
+
</PATH_ELEMENT>
|
115
|
+
<PATH_ELEMENT>
|
116
|
+
<option name="myItemId" value="lib" />
|
117
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
118
|
+
</PATH_ELEMENT>
|
119
|
+
</PATH>
|
120
|
+
<PATH>
|
121
|
+
<PATH_ELEMENT>
|
122
|
+
<option name="myItemId" value="thesilverspoon" />
|
123
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
124
|
+
</PATH_ELEMENT>
|
125
|
+
<PATH_ELEMENT>
|
126
|
+
<option name="myItemId" value="thesilverspoon" />
|
127
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
128
|
+
</PATH_ELEMENT>
|
129
|
+
<PATH_ELEMENT>
|
130
|
+
<option name="myItemId" value="lib" />
|
131
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
132
|
+
</PATH_ELEMENT>
|
133
|
+
<PATH_ELEMENT>
|
134
|
+
<option name="myItemId" value="thesilverspoon" />
|
135
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
136
|
+
</PATH_ELEMENT>
|
137
|
+
</PATH>
|
138
|
+
<PATH>
|
139
|
+
<PATH_ELEMENT>
|
140
|
+
<option name="myItemId" value="thesilverspoon" />
|
141
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
142
|
+
</PATH_ELEMENT>
|
143
|
+
<PATH_ELEMENT>
|
144
|
+
<option name="myItemId" value="thesilverspoon" />
|
145
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
146
|
+
</PATH_ELEMENT>
|
147
|
+
<PATH_ELEMENT>
|
148
|
+
<option name="myItemId" value="doc" />
|
149
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
150
|
+
</PATH_ELEMENT>
|
151
|
+
</PATH>
|
152
|
+
</subPane>
|
153
|
+
</pane>
|
154
|
+
</panes>
|
155
|
+
</component>
|
156
|
+
<component name="PropertiesComponent">
|
157
|
+
<property name="options.splitter.main.proportions" value="0.3" />
|
158
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
159
|
+
<property name="options.lastSelected" value="preferences.externalResources" />
|
160
|
+
<property name="options.searchVisible" value="true" />
|
161
|
+
<property name="options.splitter.details.proportions" value="0.2" />
|
162
|
+
</component>
|
163
|
+
<component name="RunManager">
|
164
|
+
<list size="0" />
|
165
|
+
</component>
|
166
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
167
|
+
<component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false">
|
168
|
+
<option name="USER" value="" />
|
169
|
+
<option name="PASSWORD" value="" />
|
170
|
+
<option name="mySSHConnectionTimeout" value="30000" />
|
171
|
+
<option name="mySSHReadTimeout" value="30000" />
|
172
|
+
<option name="LAST_MERGED_REVISION" />
|
173
|
+
<option name="MERGE_DRY_RUN" value="false" />
|
174
|
+
<option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
|
175
|
+
<option name="UPDATE_LOCK_ON_DEMAND" value="false" />
|
176
|
+
<option name="IGNORE_SPACES_IN_MERGE" value="false" />
|
177
|
+
<option name="DETECT_NESTED_COPIES" value="true" />
|
178
|
+
<option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
|
179
|
+
<option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
|
180
|
+
<option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
|
181
|
+
<option name="FORCE_UPDATE" value="false" />
|
182
|
+
<configuration useDefault="true">$USER_HOME$/.subversion_IDEA</configuration>
|
183
|
+
<myIsUseDefaultProxy>false</myIsUseDefaultProxy>
|
184
|
+
</component>
|
185
|
+
<component name="TaskManager">
|
186
|
+
<task active="true" id="Default" summary="Default task">
|
187
|
+
<changelist id="75c8ab4c-4c2d-4bdc-9b2d-73d5c217fb5a" name="Default" comment="" />
|
188
|
+
<created>1336623745972</created>
|
189
|
+
<updated>1336623745972</updated>
|
190
|
+
</task>
|
191
|
+
<task id="LOCAL-00001" summary="cell support added in the gem.">
|
192
|
+
<created>1336623824380</created>
|
193
|
+
<updated>1336623824380</updated>
|
194
|
+
</task>
|
195
|
+
<option name="localTasksCounter" value="2" />
|
196
|
+
<servers />
|
197
|
+
</component>
|
198
|
+
<component name="ToolWindowManager">
|
199
|
+
<frame x="0" y="24" width="1366" height="744" extended-state="6" />
|
200
|
+
<editor active="true" />
|
201
|
+
<layout>
|
202
|
+
<window_info id="Data Sources" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
203
|
+
<window_info id="Changes" 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" />
|
204
|
+
<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" />
|
205
|
+
<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" />
|
206
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25455928" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
207
|
+
<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" />
|
208
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
209
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
210
|
+
<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" />
|
211
|
+
<window_info id="Version Control" 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" />
|
212
|
+
<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" />
|
213
|
+
<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" />
|
214
|
+
<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" />
|
215
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
216
|
+
<window_info id="Messages" 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" />
|
217
|
+
<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" />
|
218
|
+
<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" />
|
219
|
+
<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" />
|
220
|
+
</layout>
|
221
|
+
</component>
|
222
|
+
<component name="VcsContentAnnotationSettings">
|
223
|
+
<option name="myLimit" value="2678400000" />
|
224
|
+
</component>
|
225
|
+
<component name="VcsManagerConfiguration">
|
226
|
+
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
|
227
|
+
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
|
228
|
+
<option name="CHECK_NEW_TODO" value="true" />
|
229
|
+
<option name="myTodoPanelSettings">
|
230
|
+
<value>
|
231
|
+
<are-packages-shown value="false" />
|
232
|
+
<are-modules-shown value="false" />
|
233
|
+
<flatten-packages value="false" />
|
234
|
+
<is-autoscroll-to-source value="false" />
|
235
|
+
</value>
|
236
|
+
</option>
|
237
|
+
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
|
238
|
+
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
|
239
|
+
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
|
240
|
+
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
|
241
|
+
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
242
|
+
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
243
|
+
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
244
|
+
<option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
|
245
|
+
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
246
|
+
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
247
|
+
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
248
|
+
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
|
249
|
+
<option name="SHORT_DIFF_HORISONTALLY" value="true" />
|
250
|
+
<option name="SHORT_DIFF_EXTRA_LINES" value="2" />
|
251
|
+
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
|
252
|
+
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
|
253
|
+
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
|
254
|
+
<option name="CREATE_PATCH_EXPAND_DETAILS_DEFAULT" value="true" />
|
255
|
+
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
|
256
|
+
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
|
257
|
+
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
258
|
+
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
|
259
|
+
<option name="LAST_COMMIT_MESSAGE" value="cell support added in the gem." />
|
260
|
+
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
|
261
|
+
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
262
|
+
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
263
|
+
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
|
264
|
+
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
|
265
|
+
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
|
266
|
+
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
|
267
|
+
<option name="ACTIVE_VCS_NAME" />
|
268
|
+
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
269
|
+
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
270
|
+
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
271
|
+
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
272
|
+
<MESSAGE value="cell support added in the gem." />
|
273
|
+
</component>
|
274
|
+
<component name="XDebuggerManager">
|
275
|
+
<breakpoint-manager />
|
276
|
+
</component>
|
277
|
+
<component name="editorHistoryManager">
|
278
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
279
|
+
<provider selected="true" editor-type-id="text-editor">
|
280
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
|
281
|
+
</provider>
|
282
|
+
</entry>
|
283
|
+
<entry file="file://$PROJECT_DIR$/thesilverspoon.gemspec">
|
284
|
+
<provider selected="true" editor-type-id="text-editor">
|
285
|
+
<state line="33" column="23" selection-start="1629" selection-end="1629" vertical-scroll-proportion="0.8208955" />
|
286
|
+
</provider>
|
287
|
+
</entry>
|
288
|
+
<entry file="file://$PROJECT_DIR$/lib/thesilverspoon/version.rb">
|
289
|
+
<provider selected="true" editor-type-id="text-editor">
|
290
|
+
<state line="2" column="25" selection-start="45" selection-end="45" vertical-scroll-proportion="0.048701297">
|
291
|
+
<folding />
|
292
|
+
</state>
|
293
|
+
</provider>
|
294
|
+
</entry>
|
295
|
+
</component>
|
296
|
+
</project>
|
297
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
if Rails.env.development?
|
2
|
+
Rails.application.assets.logger = Logger.new('/dev/null')
|
3
|
+
Rails::Rack::Logger.class_eval do
|
4
|
+
def call_with_quiet_assets(env)
|
5
|
+
previous_level = Rails.logger.level
|
6
|
+
Rails.logger.level = Logger::ERROR if env['PATH_INFO'] =~ %r{^/assets/}
|
7
|
+
call_without_quiet_assets(env)
|
8
|
+
ensure
|
9
|
+
Rails.logger.level = previous_level
|
10
|
+
end
|
11
|
+
alias_method_chain :call, :quiet_assets
|
12
|
+
end
|
13
|
+
end
|
data/lib/thesilverspoon.rb
CHANGED
@@ -276,6 +276,10 @@ inject_into_file "config/routes.rb",s,:after=>"# root :to => 'welcome#index'\n"
|
|
276
276
|
|
277
277
|
end
|
278
278
|
|
279
|
+
def install_quiet_assets
|
280
|
+
copy_file "#{Install.source_root}/assets/quiet_assets.rb", "config/initializers/quiet_assets.rb"
|
281
|
+
end
|
282
|
+
|
279
283
|
def create_javascripts
|
280
284
|
|
281
285
|
# copies the standard javascripts into the assets/javascripts folder - Currently hard-coded
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thesilverspoon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gritter
|
@@ -137,12 +137,15 @@ extensions: []
|
|
137
137
|
extra_rdoc_files: []
|
138
138
|
files:
|
139
139
|
- .gitignore
|
140
|
+
- .idea/.name
|
141
|
+
- .idea/.rakeTasks
|
140
142
|
- .idea/encodings.xml
|
141
143
|
- .idea/misc.xml
|
142
144
|
- .idea/modules.xml
|
143
145
|
- .idea/scopes/scope_settings.xml
|
144
146
|
- .idea/thesilverspoon.iml
|
145
147
|
- .idea/vcs.xml
|
148
|
+
- .idea/workspace.xml
|
146
149
|
- Gemfile
|
147
150
|
- README.md
|
148
151
|
- README.rdoc
|
@@ -215,6 +218,7 @@ files:
|
|
215
218
|
- lib/templates/assets/images/upload.png
|
216
219
|
- lib/templates/assets/javascripts/bootstrap.js
|
217
220
|
- lib/templates/assets/javascripts/jquery.dataTables.min.js
|
221
|
+
- lib/templates/assets/quiet_assets.rb
|
218
222
|
- lib/templates/assets/stylesheets/bootstrap.css
|
219
223
|
- lib/templates/assets/stylesheets/exclusions/images/Sorting icons.psd
|
220
224
|
- lib/templates/assets/stylesheets/exclusions/images/back_disabled.jpg
|
@@ -295,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
299
|
version: '0'
|
296
300
|
requirements: []
|
297
301
|
rubyforge_project: thesilverspoon
|
298
|
-
rubygems_version: 1.8.
|
302
|
+
rubygems_version: 1.8.23
|
299
303
|
signing_key:
|
300
304
|
specification_version: 3
|
301
305
|
summary: Let your Rails App be born with a silver spoon in its mouth
|