rubylight 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +11 -7
- data/lib/rubylight/version.rb +1 -1
- metadata +10 -136
- data/MIT-LICENSE +0 -20
- data/Rakefile +0 -37
- data/test/dummy/Rakefile +0 -7
- data/test/dummy/app/assets/images/1.jpg +0 -0
- data/test/dummy/app/assets/images/large.png +0 -0
- data/test/dummy/app/assets/images/thumb.jpg +0 -0
- data/test/dummy/app/assets/images/thumb.png +0 -0
- data/test/dummy/app/assets/javascripts/application.js +0 -10
- data/test/dummy/app/assets/javascripts/home.js +0 -2
- data/test/dummy/app/assets/stylesheets/application.css +0 -8
- data/test/dummy/app/assets/stylesheets/home.css +0 -4
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/dummy/app/controllers/home_controller.rb +0 -5
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/helpers/home_helper.rb +0 -2
- data/test/dummy/app/views/home/index.html.haml +0 -2
- data/test/dummy/app/views/layouts/application.html.erb +0 -15
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -45
- data/test/dummy/config/boot.rb +0 -10
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -30
- data/test/dummy/config/environments/production.rb +0 -60
- data/test/dummy/config/environments/test.rb +0 -39
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/inflections.rb +0 -10
- data/test/dummy/config/initializers/mime_types.rb +0 -5
- data/test/dummy/config/initializers/secret_token.rb +0 -7
- data/test/dummy/config/initializers/session_store.rb +0 -8
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -5
- data/test/dummy/config/routes.rb +0 -60
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +0 -16
- data/test/dummy/log/development.log +0 -3858
- data/test/dummy/log/production.log +0 -224
- data/test/dummy/public/404.html +0 -26
- data/test/dummy/public/422.html +0 -26
- data/test/dummy/public/500.html +0 -26
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +0 -6
- data/test/dummy/test/functional/home_controller_test.rb +0 -9
- data/test/dummy/test/unit/helpers/home_helper_test.rb +0 -4
- data/test/dummy/tmp/cache/assets/C6F/830/sprockets%2F53156008748ee1f204b02643e5c16a6a +0 -16
- data/test/dummy/tmp/cache/assets/CA9/240/sprockets%2F0a8008b0737953f41a8a7b08307e77cb +0 -16
- data/test/dummy/tmp/cache/assets/CB9/FA0/sprockets%2Fa1863b6fc859a4348e41a5240889fa27 +0 -374
- data/test/dummy/tmp/cache/assets/CDF/870/sprockets%2Fb878faf942403e313a5b103e5d80488e +0 -28
- data/test/dummy/tmp/cache/assets/CE6/560/sprockets%2Fecc51273a18292241960719cbe899cfb +0 -18
- data/test/dummy/tmp/cache/assets/D17/AB0/sprockets%2F5c9a32ccb0692131b7bf677fb77937b6 +0 -18
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -54
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -197
- data/test/dummy/tmp/cache/assets/D5E/C30/sprockets%2F421d71dbc41e4efceae210d855f16117 +0 -395
- data/test/dummy/tmp/cache/assets/D73/030/sprockets%2Fc364507281a666a47d6c9d16bbad9efc +0 -27
- data/test/dummy/tmp/cache/assets/D7D/FC0/sprockets%2F1f94aa5b9cec9554f135bb198db799b3 +0 -203
- data/test/dummy/tmp/cache/assets/D80/080/sprockets%2Fcd9c69336a9b3be0bde87986adb24792 +0 -16
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -10009
- data/test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0 +0 -30
- data/test/dummy/tmp/cache/assets/D9D/A60/sprockets%2Fa88ab4e49bb7203b8e0586c38efdd2b0 +0 -884
- data/test/dummy/tmp/cache/assets/DD3/B30/sprockets%2F92d8bd6a4785d5eb46dbaeebdc542039 +0 -18
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -67
- data/test/dummy/tmp/cache/assets/E5A/4B0/sprockets%2Fddb87630e146e40f58ac25addedadfbf +0 -9289
- data/test/rubylight_test.rb +0 -7
- data/test/test_helper.rb +0 -10
data/README.rdoc
CHANGED
@@ -7,7 +7,7 @@ Its purpose is to simply make setup and use of Lightbox 2 easier for Rails users
|
|
7
7
|
|
8
8
|
Add Ruby to your gem file:
|
9
9
|
|
10
|
-
<tt> gem
|
10
|
+
<tt> gem 'rubylight' </tt>
|
11
11
|
|
12
12
|
and install it using bundler:
|
13
13
|
|
@@ -23,13 +23,17 @@ Require the modified Lightbox javascript file in your application.js file:
|
|
23
23
|
|
24
24
|
= Use
|
25
25
|
|
26
|
-
<tt> lightbox_tag
|
26
|
+
<tt> lightbox_tag(thumb, pic, title=nil, collection=nil, html_options = {}) </tt>
|
27
27
|
|
28
|
-
thumb is the url of the smaller pic (the one you want displayed on the page)
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
28
|
+
<b>thumb</b> is the url of the smaller pic (the one you want displayed on the page)
|
29
|
+
|
30
|
+
<b>pic</b> is the url of the larger pic (the one you want displayed after clicking)
|
31
|
+
|
32
|
+
<b>title</b> is the caption displayed below the pic after clicking
|
33
|
+
|
34
|
+
<b>collection</b> is which collection the pic belongs to. Pictures in the same collection can be cycled to.
|
35
|
+
|
36
|
+
<b>html_options</b> is any further html options for the link
|
33
37
|
|
34
38
|
= Author
|
35
39
|
|
data/lib/rubylight/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubylight
|
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,14 +9,14 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>'
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 3.1.3
|
22
22
|
type: :runtime
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ! '>'
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 3.1.3
|
30
30
|
- !ruby/object:Gem::Dependency
|
@@ -50,83 +50,19 @@ executables: []
|
|
50
50
|
extensions: []
|
51
51
|
extra_rdoc_files: []
|
52
52
|
files:
|
53
|
+
- app/assets/stylesheets/lightbox.css
|
54
|
+
- app/assets/javascripts/lightbox.js
|
55
|
+
- app/assets/images/loading.gif
|
53
56
|
- app/assets/images/prev.png
|
54
57
|
- app/assets/images/next.png
|
55
|
-
- app/assets/images/loading.gif
|
56
58
|
- app/assets/images/close.png
|
57
|
-
-
|
58
|
-
- app/assets/stylesheets/lightbox.css
|
59
|
-
- lib/rubylight/railtie.rb
|
59
|
+
- lib/tasks/rubylight_tasks.rake
|
60
60
|
- lib/rubylight/engine.rb
|
61
61
|
- lib/rubylight/version.rb
|
62
|
+
- lib/rubylight/railtie.rb
|
62
63
|
- lib/rubylight/light_helpers.rb
|
63
64
|
- lib/rubylight.rb
|
64
|
-
- lib/tasks/rubylight_tasks.rake
|
65
|
-
- MIT-LICENSE
|
66
|
-
- Rakefile
|
67
65
|
- README.rdoc
|
68
|
-
- test/rubylight_test.rb
|
69
|
-
- test/dummy/config/boot.rb
|
70
|
-
- test/dummy/config/initializers/session_store.rb
|
71
|
-
- test/dummy/config/initializers/inflections.rb
|
72
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
73
|
-
- test/dummy/config/initializers/mime_types.rb
|
74
|
-
- test/dummy/config/initializers/secret_token.rb
|
75
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
76
|
-
- test/dummy/config/application.rb
|
77
|
-
- test/dummy/config/locales/en.yml
|
78
|
-
- test/dummy/config/database.yml
|
79
|
-
- test/dummy/config/environments/test.rb
|
80
|
-
- test/dummy/config/environments/development.rb
|
81
|
-
- test/dummy/config/environments/production.rb
|
82
|
-
- test/dummy/config/routes.rb
|
83
|
-
- test/dummy/config/environment.rb
|
84
|
-
- test/dummy/app/controllers/home_controller.rb
|
85
|
-
- test/dummy/app/controllers/application_controller.rb
|
86
|
-
- test/dummy/app/views/home/index.html.haml
|
87
|
-
- test/dummy/app/views/layouts/application.html.erb
|
88
|
-
- test/dummy/app/helpers/home_helper.rb
|
89
|
-
- test/dummy/app/helpers/application_helper.rb
|
90
|
-
- test/dummy/app/assets/images/1.jpg
|
91
|
-
- test/dummy/app/assets/images/thumb.jpg
|
92
|
-
- test/dummy/app/assets/images/thumb.png
|
93
|
-
- test/dummy/app/assets/images/large.png
|
94
|
-
- test/dummy/app/assets/javascripts/application.js
|
95
|
-
- test/dummy/app/assets/javascripts/home.js
|
96
|
-
- test/dummy/app/assets/stylesheets/application.css
|
97
|
-
- test/dummy/app/assets/stylesheets/home.css
|
98
|
-
- test/dummy/test/functional/home_controller_test.rb
|
99
|
-
- test/dummy/test/unit/helpers/home_helper_test.rb
|
100
|
-
- test/dummy/public/422.html
|
101
|
-
- test/dummy/public/favicon.ico
|
102
|
-
- test/dummy/public/500.html
|
103
|
-
- test/dummy/public/404.html
|
104
|
-
- test/dummy/db/development.sqlite3
|
105
|
-
- test/dummy/db/schema.rb
|
106
|
-
- test/dummy/Rakefile
|
107
|
-
- test/dummy/config.ru
|
108
|
-
- test/dummy/script/rails
|
109
|
-
- test/dummy/log/production.log
|
110
|
-
- test/dummy/log/development.log
|
111
|
-
- test/dummy/tmp/cache/assets/D9D/A60/sprockets%2Fa88ab4e49bb7203b8e0586c38efdd2b0
|
112
|
-
- test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
|
113
|
-
- test/dummy/tmp/cache/assets/D17/AB0/sprockets%2F5c9a32ccb0692131b7bf677fb77937b6
|
114
|
-
- test/dummy/tmp/cache/assets/D73/030/sprockets%2Fc364507281a666a47d6c9d16bbad9efc
|
115
|
-
- test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0
|
116
|
-
- test/dummy/tmp/cache/assets/D7D/FC0/sprockets%2F1f94aa5b9cec9554f135bb198db799b3
|
117
|
-
- test/dummy/tmp/cache/assets/D80/080/sprockets%2Fcd9c69336a9b3be0bde87986adb24792
|
118
|
-
- test/dummy/tmp/cache/assets/DD3/B30/sprockets%2F92d8bd6a4785d5eb46dbaeebdc542039
|
119
|
-
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
120
|
-
- test/dummy/tmp/cache/assets/E5A/4B0/sprockets%2Fddb87630e146e40f58ac25addedadfbf
|
121
|
-
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
122
|
-
- test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
|
123
|
-
- test/dummy/tmp/cache/assets/CE6/560/sprockets%2Fecc51273a18292241960719cbe899cfb
|
124
|
-
- test/dummy/tmp/cache/assets/D5E/C30/sprockets%2F421d71dbc41e4efceae210d855f16117
|
125
|
-
- test/dummy/tmp/cache/assets/CDF/870/sprockets%2Fb878faf942403e313a5b103e5d80488e
|
126
|
-
- test/dummy/tmp/cache/assets/CB9/FA0/sprockets%2Fa1863b6fc859a4348e41a5240889fa27
|
127
|
-
- test/dummy/tmp/cache/assets/CA9/240/sprockets%2F0a8008b0737953f41a8a7b08307e77cb
|
128
|
-
- test/dummy/tmp/cache/assets/C6F/830/sprockets%2F53156008748ee1f204b02643e5c16a6a
|
129
|
-
- test/test_helper.rb
|
130
66
|
homepage: http://rubygems.org/gems/rubylight
|
131
67
|
licenses: []
|
132
68
|
post_install_message:
|
@@ -151,66 +87,4 @@ rubygems_version: 1.8.24
|
|
151
87
|
signing_key:
|
152
88
|
specification_version: 3
|
153
89
|
summary: A simple implementation of Lightbox 2
|
154
|
-
test_files:
|
155
|
-
- test/rubylight_test.rb
|
156
|
-
- test/dummy/config/boot.rb
|
157
|
-
- test/dummy/config/initializers/session_store.rb
|
158
|
-
- test/dummy/config/initializers/inflections.rb
|
159
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
160
|
-
- test/dummy/config/initializers/mime_types.rb
|
161
|
-
- test/dummy/config/initializers/secret_token.rb
|
162
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
163
|
-
- test/dummy/config/application.rb
|
164
|
-
- test/dummy/config/locales/en.yml
|
165
|
-
- test/dummy/config/database.yml
|
166
|
-
- test/dummy/config/environments/test.rb
|
167
|
-
- test/dummy/config/environments/development.rb
|
168
|
-
- test/dummy/config/environments/production.rb
|
169
|
-
- test/dummy/config/routes.rb
|
170
|
-
- test/dummy/config/environment.rb
|
171
|
-
- test/dummy/app/controllers/home_controller.rb
|
172
|
-
- test/dummy/app/controllers/application_controller.rb
|
173
|
-
- test/dummy/app/views/home/index.html.haml
|
174
|
-
- test/dummy/app/views/layouts/application.html.erb
|
175
|
-
- test/dummy/app/helpers/home_helper.rb
|
176
|
-
- test/dummy/app/helpers/application_helper.rb
|
177
|
-
- test/dummy/app/assets/images/1.jpg
|
178
|
-
- test/dummy/app/assets/images/thumb.jpg
|
179
|
-
- test/dummy/app/assets/images/thumb.png
|
180
|
-
- test/dummy/app/assets/images/large.png
|
181
|
-
- test/dummy/app/assets/javascripts/application.js
|
182
|
-
- test/dummy/app/assets/javascripts/home.js
|
183
|
-
- test/dummy/app/assets/stylesheets/application.css
|
184
|
-
- test/dummy/app/assets/stylesheets/home.css
|
185
|
-
- test/dummy/test/functional/home_controller_test.rb
|
186
|
-
- test/dummy/test/unit/helpers/home_helper_test.rb
|
187
|
-
- test/dummy/public/422.html
|
188
|
-
- test/dummy/public/favicon.ico
|
189
|
-
- test/dummy/public/500.html
|
190
|
-
- test/dummy/public/404.html
|
191
|
-
- test/dummy/db/development.sqlite3
|
192
|
-
- test/dummy/db/schema.rb
|
193
|
-
- test/dummy/Rakefile
|
194
|
-
- test/dummy/config.ru
|
195
|
-
- test/dummy/script/rails
|
196
|
-
- test/dummy/log/production.log
|
197
|
-
- test/dummy/log/development.log
|
198
|
-
- test/dummy/tmp/cache/assets/D9D/A60/sprockets%2Fa88ab4e49bb7203b8e0586c38efdd2b0
|
199
|
-
- test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
|
200
|
-
- test/dummy/tmp/cache/assets/D17/AB0/sprockets%2F5c9a32ccb0692131b7bf677fb77937b6
|
201
|
-
- test/dummy/tmp/cache/assets/D73/030/sprockets%2Fc364507281a666a47d6c9d16bbad9efc
|
202
|
-
- test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0
|
203
|
-
- test/dummy/tmp/cache/assets/D7D/FC0/sprockets%2F1f94aa5b9cec9554f135bb198db799b3
|
204
|
-
- test/dummy/tmp/cache/assets/D80/080/sprockets%2Fcd9c69336a9b3be0bde87986adb24792
|
205
|
-
- test/dummy/tmp/cache/assets/DD3/B30/sprockets%2F92d8bd6a4785d5eb46dbaeebdc542039
|
206
|
-
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
207
|
-
- test/dummy/tmp/cache/assets/E5A/4B0/sprockets%2Fddb87630e146e40f58ac25addedadfbf
|
208
|
-
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
209
|
-
- test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
|
210
|
-
- test/dummy/tmp/cache/assets/CE6/560/sprockets%2Fecc51273a18292241960719cbe899cfb
|
211
|
-
- test/dummy/tmp/cache/assets/D5E/C30/sprockets%2F421d71dbc41e4efceae210d855f16117
|
212
|
-
- test/dummy/tmp/cache/assets/CDF/870/sprockets%2Fb878faf942403e313a5b103e5d80488e
|
213
|
-
- test/dummy/tmp/cache/assets/CB9/FA0/sprockets%2Fa1863b6fc859a4348e41a5240889fa27
|
214
|
-
- test/dummy/tmp/cache/assets/CA9/240/sprockets%2F0a8008b0737953f41a8a7b08307e77cb
|
215
|
-
- test/dummy/tmp/cache/assets/C6F/830/sprockets%2F53156008748ee1f204b02643e5c16a6a
|
216
|
-
- test/test_helper.rb
|
90
|
+
test_files: []
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright 2012 YOURNAME
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
#!/usr/bin/env rake
|
2
|
-
begin
|
3
|
-
require 'bundler/setup'
|
4
|
-
rescue LoadError
|
5
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
6
|
-
end
|
7
|
-
begin
|
8
|
-
require 'rdoc/task'
|
9
|
-
rescue LoadError
|
10
|
-
require 'rdoc/rdoc'
|
11
|
-
require 'rake/rdoctask'
|
12
|
-
RDoc::Task = Rake::RDocTask
|
13
|
-
end
|
14
|
-
|
15
|
-
RDoc::Task.new(:rdoc) do |rdoc|
|
16
|
-
rdoc.rdoc_dir = 'rdoc'
|
17
|
-
rdoc.title = 'Rubylight'
|
18
|
-
rdoc.options << '--line-numbers'
|
19
|
-
rdoc.rdoc_files.include('README.rdoc')
|
20
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
|
-
end
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
Bundler::GemHelper.install_tasks
|
26
|
-
|
27
|
-
require 'rake/testtask'
|
28
|
-
|
29
|
-
Rake::TestTask.new(:test) do |t|
|
30
|
-
t.libs << 'lib'
|
31
|
-
t.libs << 'test'
|
32
|
-
t.pattern = 'test/**/*_test.rb'
|
33
|
-
t.verbose = false
|
34
|
-
end
|
35
|
-
|
36
|
-
|
37
|
-
task :default => :test
|
data/test/dummy/Rakefile
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
#!/usr/bin/env rake
|
2
|
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
3
|
-
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
4
|
-
|
5
|
-
require File.expand_path('../config/application', __FILE__)
|
6
|
-
|
7
|
-
Dummy::Application.load_tasks
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,10 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
-
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
-
// be included in the compiled file accessible from http://example.com/assets/application.js
|
4
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
-
// the compiled file.
|
6
|
-
//
|
7
|
-
//= require jquery
|
8
|
-
//= require jquery_ujs
|
9
|
-
//= require lightbox
|
10
|
-
//= require_tree .
|
@@ -1,8 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
-
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
-
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
-
*= require_self
|
6
|
-
*= require lightbox
|
7
|
-
*= require_tree .
|
8
|
-
*/
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<%= stylesheet_link_tag "application" %>
|
6
|
-
<%= javascript_include_tag "application" %>
|
7
|
-
<%= javascript_include_tag "jquery-1.7.2.min" %>
|
8
|
-
<%= csrf_meta_tags %>
|
9
|
-
</head>
|
10
|
-
<body>
|
11
|
-
|
12
|
-
<%= yield %>
|
13
|
-
|
14
|
-
</body>
|
15
|
-
</html>
|
data/test/dummy/config.ru
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
require 'rails/all'
|
4
|
-
|
5
|
-
Bundler.require
|
6
|
-
require "rubylight"
|
7
|
-
|
8
|
-
module Dummy
|
9
|
-
class Application < Rails::Application
|
10
|
-
# Settings in config/environments/* take precedence over those specified here.
|
11
|
-
# Application configuration should go into files in config/initializers
|
12
|
-
# -- all .rb files in that directory are automatically loaded.
|
13
|
-
|
14
|
-
# Custom directories with classes and modules you want to be autoloadable.
|
15
|
-
# config.autoload_paths += %W(#{config.root}/extras)
|
16
|
-
|
17
|
-
# Only load the plugins named here, in the order given (default is alphabetical).
|
18
|
-
# :all can be used as a placeholder for all plugins not explicitly named.
|
19
|
-
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|
20
|
-
|
21
|
-
# Activate observers that should always be running.
|
22
|
-
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
|
23
|
-
|
24
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
25
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
26
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
27
|
-
|
28
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
29
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
30
|
-
# config.i18n.default_locale = :de
|
31
|
-
|
32
|
-
# Configure the default encoding used in templates for Ruby 1.9.
|
33
|
-
config.encoding = "utf-8"
|
34
|
-
|
35
|
-
# Configure sensitive parameters which will be filtered from the log file.
|
36
|
-
config.filter_parameters += [:password]
|
37
|
-
|
38
|
-
# Enable the asset pipeline
|
39
|
-
config.assets.enabled = true
|
40
|
-
|
41
|
-
# Version of your assets, change this if you want to expire all your assets
|
42
|
-
config.assets.version = '1.0'
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
data/test/dummy/config/boot.rb
DELETED