simple_lightbox 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.idea/workspace.xml +319 -0
- data/Gemfile +4 -0
- data/Rakefile +2 -17
- data/lib/simple_lightbox/simple_lightbox_helper.rb +17 -0
- data/lib/simple_lightbox/version.rb +3 -0
- data/lib/simple_lightbox.rb +7 -0
- data/simple_lightbox.gemspec +14 -22
- metadata +15 -17
- data/Manifest +0 -4
- data/README.rdoc +0 -0
data/.gitignore
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,319 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="b3af6f01-e9e1-4b57-ab42-238474a49c09" name="Default" comment="">
|
5
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.gitignore" />
|
6
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Gemfile" />
|
7
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Rakefile" />
|
8
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/README.rdoc" />
|
9
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/railtie.rb" />
|
10
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/simple_lightbox.rb" />
|
11
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/simple_lightbox/Rakefile" />
|
12
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/simple_lightbox/version.rb" />
|
13
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/simple_lightbox.gemspec" />
|
14
|
+
</list>
|
15
|
+
<ignored path="simple_lightbox.iws" />
|
16
|
+
<ignored path=".idea/workspace.xml" />
|
17
|
+
<option name="TRACKING_ENABLED" value="true" />
|
18
|
+
<option name="SHOW_DIALOG" value="false" />
|
19
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
20
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
21
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
22
|
+
</component>
|
23
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
24
|
+
<component name="CoverageDataManager" choice="3" />
|
25
|
+
<component name="CreatePatchCommitExecutor">
|
26
|
+
<option name="PATCH_PATH" value="" />
|
27
|
+
<option name="REVERSE_PATCH" value="false" />
|
28
|
+
</component>
|
29
|
+
<component name="DaemonCodeAnalyzer">
|
30
|
+
<disable_hints />
|
31
|
+
</component>
|
32
|
+
<component name="FavoritesManager">
|
33
|
+
<favorites_list name="simple_lightbox" />
|
34
|
+
</component>
|
35
|
+
<component name="FileEditorManager">
|
36
|
+
<leaf>
|
37
|
+
<file leaf-file-name="simple_lightbox.rb" pinned="false" current="false" current-in-tab="false">
|
38
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_lightbox.rb">
|
39
|
+
<provider selected="true" editor-type-id="text-editor">
|
40
|
+
<state line="7" column="0" selection-start="133" selection-end="133" vertical-scroll-proportion="0.0">
|
41
|
+
<folding />
|
42
|
+
</state>
|
43
|
+
</provider>
|
44
|
+
</entry>
|
45
|
+
</file>
|
46
|
+
<file leaf-file-name="simple_lightbox_helper.rb" pinned="false" current="false" current-in-tab="false">
|
47
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_lightbox/simple_lightbox_helper.rb">
|
48
|
+
<provider selected="true" editor-type-id="text-editor">
|
49
|
+
<state line="10" column="0" selection-start="295" selection-end="295" vertical-scroll-proportion="0.0">
|
50
|
+
<folding />
|
51
|
+
</state>
|
52
|
+
</provider>
|
53
|
+
</entry>
|
54
|
+
</file>
|
55
|
+
<file leaf-file-name="simple_lightbox.gemspec" pinned="false" current="false" current-in-tab="false">
|
56
|
+
<entry file="file://$PROJECT_DIR$/simple_lightbox.gemspec">
|
57
|
+
<provider selected="true" editor-type-id="text-editor">
|
58
|
+
<state line="21" column="0" selection-start="807" selection-end="807" vertical-scroll-proportion="0.0">
|
59
|
+
<folding />
|
60
|
+
</state>
|
61
|
+
</provider>
|
62
|
+
</entry>
|
63
|
+
</file>
|
64
|
+
<file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
|
65
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_lightbox/version.rb">
|
66
|
+
<provider selected="true" editor-type-id="text-editor">
|
67
|
+
<state line="3" column="0" selection-start="46" selection-end="46" vertical-scroll-proportion="0.045045044">
|
68
|
+
<folding />
|
69
|
+
</state>
|
70
|
+
</provider>
|
71
|
+
</entry>
|
72
|
+
</file>
|
73
|
+
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
74
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
75
|
+
<provider selected="true" editor-type-id="text-editor">
|
76
|
+
<state line="2" column="0" selection-start="51" selection-end="51" vertical-scroll-proportion="0.0">
|
77
|
+
<folding />
|
78
|
+
</state>
|
79
|
+
</provider>
|
80
|
+
</entry>
|
81
|
+
</file>
|
82
|
+
</leaf>
|
83
|
+
</component>
|
84
|
+
<component name="FindManager">
|
85
|
+
<FindUsagesManager>
|
86
|
+
<setting name="OPEN_NEW_TAB" value="false" />
|
87
|
+
</FindUsagesManager>
|
88
|
+
</component>
|
89
|
+
<component name="Git.Settings">
|
90
|
+
<option name="CHECKOUT_INCLUDE_TAGS" value="false" />
|
91
|
+
<option name="UPDATE_CHANGES_POLICY" value="STASH" />
|
92
|
+
</component>
|
93
|
+
<component name="IdeDocumentHistory">
|
94
|
+
<option name="changedFiles">
|
95
|
+
<list>
|
96
|
+
<option value="$PROJECT_DIR$/spec/simple_lightbox/Gemfile" />
|
97
|
+
<option value="$PROJECT_DIR$/spec/spec_helper.rb" />
|
98
|
+
<option value="$PROJECT_DIR$/spec/simple_lightbox/config/application.rb" />
|
99
|
+
<option value="$PROJECT_DIR$/spec/simple_lightbox/lib/simple_lightbox/railtie.rb" />
|
100
|
+
<option value="$PROJECT_DIR$/lib/simple_lightbox/Rakefile" />
|
101
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
102
|
+
<option value="$PROJECT_DIR$/lib/app/helpers/simple_lightbox/simple_lightbox_helper.rb" />
|
103
|
+
<option value="$PROJECT_DIR$/.gitignore" />
|
104
|
+
<option value="$PROJECT_DIR$/lib/simple_lightbox/railtie.rb" />
|
105
|
+
<option value="$PROJECT_DIR$/lib/simple_lightbox/simple_lightbox.rb" />
|
106
|
+
<option value="$PROJECT_DIR$/lib/simple_lightbox/simple_lightbox_helper.rb" />
|
107
|
+
<option value="$PROJECT_DIR$/simple_lightbox.gemspec" />
|
108
|
+
<option value="$PROJECT_DIR$/lib/simple_lightbox.rb" />
|
109
|
+
<option value="$PROJECT_DIR$/lib/simple_lightbox/version.rb" />
|
110
|
+
</list>
|
111
|
+
</option>
|
112
|
+
</component>
|
113
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
114
|
+
<OptionsSetting value="true" id="Add" />
|
115
|
+
<OptionsSetting value="true" id="Remove" />
|
116
|
+
<OptionsSetting value="true" id="Checkout" />
|
117
|
+
<OptionsSetting value="true" id="Update" />
|
118
|
+
<OptionsSetting value="true" id="Status" />
|
119
|
+
<OptionsSetting value="true" id="Edit" />
|
120
|
+
<ConfirmationsSetting value="0" id="Add" />
|
121
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
122
|
+
</component>
|
123
|
+
<component name="ProjectReloadState">
|
124
|
+
<option name="STATE" value="0" />
|
125
|
+
</component>
|
126
|
+
<component name="ProjectView">
|
127
|
+
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
128
|
+
<flattenPackages />
|
129
|
+
<showMembers />
|
130
|
+
<showModules />
|
131
|
+
<showLibraryContents />
|
132
|
+
<hideEmptyPackages />
|
133
|
+
<abbreviatePackageNames />
|
134
|
+
<autoscrollToSource />
|
135
|
+
<autoscrollFromSource />
|
136
|
+
<sortByType />
|
137
|
+
</navigator>
|
138
|
+
<panes>
|
139
|
+
<pane id="Scope" />
|
140
|
+
<pane id="Favorites" />
|
141
|
+
<pane id="ProjectPane">
|
142
|
+
<subPane>
|
143
|
+
<PATH>
|
144
|
+
<PATH_ELEMENT>
|
145
|
+
<option name="myItemId" value="simple_lightbox" />
|
146
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
147
|
+
</PATH_ELEMENT>
|
148
|
+
</PATH>
|
149
|
+
<PATH>
|
150
|
+
<PATH_ELEMENT>
|
151
|
+
<option name="myItemId" value="simple_lightbox" />
|
152
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
153
|
+
</PATH_ELEMENT>
|
154
|
+
<PATH_ELEMENT>
|
155
|
+
<option name="myItemId" value="simple_lightbox" />
|
156
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
157
|
+
</PATH_ELEMENT>
|
158
|
+
</PATH>
|
159
|
+
<PATH>
|
160
|
+
<PATH_ELEMENT>
|
161
|
+
<option name="myItemId" value="simple_lightbox" />
|
162
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
163
|
+
</PATH_ELEMENT>
|
164
|
+
<PATH_ELEMENT>
|
165
|
+
<option name="myItemId" value="simple_lightbox" />
|
166
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
167
|
+
</PATH_ELEMENT>
|
168
|
+
<PATH_ELEMENT>
|
169
|
+
<option name="myItemId" value="lib" />
|
170
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
171
|
+
</PATH_ELEMENT>
|
172
|
+
</PATH>
|
173
|
+
<PATH>
|
174
|
+
<PATH_ELEMENT>
|
175
|
+
<option name="myItemId" value="simple_lightbox" />
|
176
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
177
|
+
</PATH_ELEMENT>
|
178
|
+
<PATH_ELEMENT>
|
179
|
+
<option name="myItemId" value="simple_lightbox" />
|
180
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
181
|
+
</PATH_ELEMENT>
|
182
|
+
<PATH_ELEMENT>
|
183
|
+
<option name="myItemId" value="lib" />
|
184
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
185
|
+
</PATH_ELEMENT>
|
186
|
+
<PATH_ELEMENT>
|
187
|
+
<option name="myItemId" value="simple_lightbox" />
|
188
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
189
|
+
</PATH_ELEMENT>
|
190
|
+
</PATH>
|
191
|
+
</subPane>
|
192
|
+
</pane>
|
193
|
+
</panes>
|
194
|
+
</component>
|
195
|
+
<component name="RunManager">
|
196
|
+
<list size="0" />
|
197
|
+
</component>
|
198
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
199
|
+
<component name="SvnConfiguration" maxAnnotateRevisions="500">
|
200
|
+
<option name="USER" value="" />
|
201
|
+
<option name="PASSWORD" value="" />
|
202
|
+
<option name="LAST_MERGED_REVISION" />
|
203
|
+
<option name="MERGE_DRY_RUN" value="false" />
|
204
|
+
<option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
|
205
|
+
<option name="UPDATE_LOCK_ON_DEMAND" value="false" />
|
206
|
+
<option name="IGNORE_SPACES_IN_MERGE" value="false" />
|
207
|
+
<option name="DETECT_NESTED_COPIES" value="true" />
|
208
|
+
<option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
|
209
|
+
<option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
|
210
|
+
<option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
|
211
|
+
<option name="FORCE_UPDATE" value="false" />
|
212
|
+
<myIsUseDefaultProxy>false</myIsUseDefaultProxy>
|
213
|
+
</component>
|
214
|
+
<component name="TaskManager">
|
215
|
+
<task active="true" id="Default" summary="Default task">
|
216
|
+
<created>1307749548854</created>
|
217
|
+
<updated>1307749548854</updated>
|
218
|
+
</task>
|
219
|
+
<servers />
|
220
|
+
</component>
|
221
|
+
<component name="ToolWindowManager">
|
222
|
+
<frame x="0" y="24" width="1920" height="1152" extended-state="0" />
|
223
|
+
<editor active="true" />
|
224
|
+
<layout>
|
225
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
226
|
+
<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" />
|
227
|
+
<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" />
|
228
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
229
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24973544" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
230
|
+
<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" />
|
231
|
+
<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" />
|
232
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
233
|
+
<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" />
|
234
|
+
<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" />
|
235
|
+
<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" />
|
236
|
+
<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" />
|
237
|
+
<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" />
|
238
|
+
<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" />
|
239
|
+
<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" />
|
240
|
+
</layout>
|
241
|
+
</component>
|
242
|
+
<component name="VcsManagerConfiguration">
|
243
|
+
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
|
244
|
+
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
|
245
|
+
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
|
246
|
+
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
|
247
|
+
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
|
248
|
+
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
|
249
|
+
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
|
250
|
+
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
|
251
|
+
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
|
252
|
+
<option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
|
253
|
+
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
|
254
|
+
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
|
255
|
+
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
|
256
|
+
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
257
|
+
<option name="LAST_COMMIT_MESSAGE" />
|
258
|
+
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
|
259
|
+
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
260
|
+
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
261
|
+
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
|
262
|
+
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
|
263
|
+
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
|
264
|
+
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
|
265
|
+
<option name="ACTIVE_VCS_NAME" />
|
266
|
+
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
|
267
|
+
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
|
268
|
+
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
269
|
+
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
270
|
+
</component>
|
271
|
+
<component name="XDebuggerManager">
|
272
|
+
<breakpoint-manager />
|
273
|
+
</component>
|
274
|
+
<component name="editorHistoryManager">
|
275
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
276
|
+
<provider selected="true" editor-type-id="text-editor">
|
277
|
+
<state line="3" column="5" selection-start="22" selection-end="22" vertical-scroll-proportion="0.045045044">
|
278
|
+
<folding />
|
279
|
+
</state>
|
280
|
+
</provider>
|
281
|
+
</entry>
|
282
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
283
|
+
<provider selected="true" editor-type-id="text-editor">
|
284
|
+
<state line="2" column="0" selection-start="51" selection-end="51" vertical-scroll-proportion="0.0">
|
285
|
+
<folding />
|
286
|
+
</state>
|
287
|
+
</provider>
|
288
|
+
</entry>
|
289
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_lightbox/simple_lightbox_helper.rb">
|
290
|
+
<provider selected="true" editor-type-id="text-editor">
|
291
|
+
<state line="10" column="0" selection-start="295" selection-end="295" vertical-scroll-proportion="0.0">
|
292
|
+
<folding />
|
293
|
+
</state>
|
294
|
+
</provider>
|
295
|
+
</entry>
|
296
|
+
<entry file="file://$PROJECT_DIR$/simple_lightbox.gemspec">
|
297
|
+
<provider selected="true" editor-type-id="text-editor">
|
298
|
+
<state line="21" column="0" selection-start="807" selection-end="807" vertical-scroll-proportion="0.0">
|
299
|
+
<folding />
|
300
|
+
</state>
|
301
|
+
</provider>
|
302
|
+
</entry>
|
303
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_lightbox.rb">
|
304
|
+
<provider selected="true" editor-type-id="text-editor">
|
305
|
+
<state line="7" column="0" selection-start="133" selection-end="133" vertical-scroll-proportion="0.0">
|
306
|
+
<folding />
|
307
|
+
</state>
|
308
|
+
</provider>
|
309
|
+
</entry>
|
310
|
+
<entry file="file://$PROJECT_DIR$/lib/simple_lightbox/version.rb">
|
311
|
+
<provider selected="true" editor-type-id="text-editor">
|
312
|
+
<state line="3" column="0" selection-start="46" selection-end="46" vertical-scroll-proportion="0.045045044">
|
313
|
+
<folding />
|
314
|
+
</state>
|
315
|
+
</provider>
|
316
|
+
</entry>
|
317
|
+
</component>
|
318
|
+
</project>
|
319
|
+
|
data/Gemfile
ADDED
data/Rakefile
CHANGED
@@ -1,17 +1,2 @@
|
|
1
|
-
require '
|
2
|
-
|
3
|
-
require 'echoe'
|
4
|
-
|
5
|
-
|
6
|
-
Echoe.new('simple_lightbox', '0.1.0') do |p|
|
7
|
-
|
8
|
-
p.description = "Simple jQuery UI based lightbox"
|
9
|
-
p.url = "http://github.com/edtaupier/simple_lightbox"
|
10
|
-
p.author = "Edward Taupier"
|
11
|
-
p.email = "edtaupier@gmail.com"
|
12
|
-
p.ignore_pattern = ["tmp/*", "script/*"]
|
13
|
-
p.development_dependencies = []
|
14
|
-
|
15
|
-
end
|
16
|
-
|
17
|
-
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each{ |ext| load ext}
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module SimpleLightboxHelper
|
2
|
+
|
3
|
+
def display_lightbox(partial, title, opts={})
|
4
|
+
contents = render :partial=>partial
|
5
|
+
page << "lightboxContainer.add(new Lightbox(#{contents.to_json}, #{title.to_json}, #{opts.to_json}))"
|
6
|
+
end
|
7
|
+
|
8
|
+
def close_lightbox
|
9
|
+
page << "lightboxContainer.pop()"
|
10
|
+
end
|
11
|
+
|
12
|
+
def lightbox_error_container
|
13
|
+
"<div class=\"lightbox-error\"></div>".html_safe
|
14
|
+
end
|
15
|
+
|
16
|
+
|
17
|
+
end
|
data/lib/simple_lightbox.rb
CHANGED
data/simple_lightbox.gemspec
CHANGED
@@ -1,29 +1,21 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "simple_lightbox/version"
|
2
4
|
|
3
5
|
Gem::Specification.new do |s|
|
4
|
-
s.name
|
5
|
-
s.version
|
6
|
-
|
7
|
-
s.
|
8
|
-
s.
|
9
|
-
s.
|
6
|
+
s.name = "simple_lightbox"
|
7
|
+
s.version = SimpleLightbox::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Edward Taupier"]
|
10
|
+
s.email = ["edtaupier@gmail.com"]
|
11
|
+
s.homepage = ""
|
12
|
+
s.summary = %q{Easy gem for displaying a lightbox with specified content using rjs helpers and lightbox js class.}
|
10
13
|
s.description = %q{Simple jQuery UI based lightbox}
|
11
|
-
s.email = %q{edtaupier@gmail.com}
|
12
|
-
s.extra_rdoc_files = [%q{README.rdoc}, %q{lib/simple_lightbox.rb}]
|
13
|
-
s.files = [%q{README.rdoc}, %q{Rakefile}, %q{lib/simple_lightbox.rb}, %q{Manifest}, %q{simple_lightbox.gemspec}]
|
14
|
-
s.homepage = %q{http://github.com/edtaupier/simple_lightbox}
|
15
|
-
s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Simple_lightbox}, %q{--main}, %q{README.rdoc}]
|
16
|
-
s.require_paths = [%q{lib}]
|
17
|
-
s.rubyforge_project = %q{simple_lightbox}
|
18
|
-
s.rubygems_version = %q{1.8.5}
|
19
|
-
s.summary = %q{Simple jQuery UI based lightbox}
|
20
14
|
|
21
|
-
|
22
|
-
s.specification_version = 3
|
15
|
+
s.rubyforge_project = "simple_lightbox"
|
23
16
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
end
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib"]
|
29
21
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: simple_lightbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Edward Taupier
|
@@ -14,31 +14,29 @@ date: 2011-06-11 00:00:00 Z
|
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description: Simple jQuery UI based lightbox
|
17
|
-
email:
|
17
|
+
email:
|
18
|
+
- edtaupier@gmail.com
|
18
19
|
executables: []
|
19
20
|
|
20
21
|
extensions: []
|
21
22
|
|
22
|
-
extra_rdoc_files:
|
23
|
-
|
24
|
-
- lib/simple_lightbox.rb
|
23
|
+
extra_rdoc_files: []
|
24
|
+
|
25
25
|
files:
|
26
|
-
-
|
26
|
+
- .gitignore
|
27
|
+
- .idea/workspace.xml
|
28
|
+
- Gemfile
|
27
29
|
- Rakefile
|
28
30
|
- lib/simple_lightbox.rb
|
29
|
-
-
|
31
|
+
- lib/simple_lightbox/simple_lightbox_helper.rb
|
32
|
+
- lib/simple_lightbox/version.rb
|
30
33
|
- simple_lightbox.gemspec
|
31
|
-
homepage:
|
34
|
+
homepage: ""
|
32
35
|
licenses: []
|
33
36
|
|
34
37
|
post_install_message:
|
35
|
-
rdoc_options:
|
36
|
-
|
37
|
-
- --inline-source
|
38
|
-
- --title
|
39
|
-
- Simple_lightbox
|
40
|
-
- --main
|
41
|
-
- README.rdoc
|
38
|
+
rdoc_options: []
|
39
|
+
|
42
40
|
require_paths:
|
43
41
|
- lib
|
44
42
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -52,13 +50,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
50
|
requirements:
|
53
51
|
- - ">="
|
54
52
|
- !ruby/object:Gem::Version
|
55
|
-
version: "
|
53
|
+
version: "0"
|
56
54
|
requirements: []
|
57
55
|
|
58
56
|
rubyforge_project: simple_lightbox
|
59
57
|
rubygems_version: 1.8.5
|
60
58
|
signing_key:
|
61
59
|
specification_version: 3
|
62
|
-
summary:
|
60
|
+
summary: Easy gem for displaying a lightbox with specified content using rjs helpers and lightbox js class.
|
63
61
|
test_files: []
|
64
62
|
|
data/Manifest
DELETED
data/README.rdoc
DELETED
File without changes
|