browse-everything 0.4.5 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/HISTORY.md +6 -0
- data/README.md +3 -1
- data/app/assets/javascripts/browse_everything.js +2 -1
- data/app/assets/javascripts/browse_everything/behavior.js.coffee +65 -5
- data/app/assets/stylesheets/browse_everything.css.scss +28 -4
- data/app/assets/stylesheets/jquery.treetable.theme.browse.css +91 -0
- data/app/controllers/browse_everything_controller.rb +2 -2
- data/app/helpers/browse_everything_helper.rb +6 -0
- data/app/views/browse_everything/_file.html.erb +18 -0
- data/app/views/browse_everything/_files.html.erb +14 -8
- data/app/views/browse_everything/index.html.erb +1 -0
- data/app/views/layouts/browse_everything.html.erb +1 -1
- data/browse-everything.gemspec +2 -1
- data/config/routes.rb +1 -1
- data/lib/browse_everything/browser.rb +2 -2
- data/lib/browse_everything/driver/base.rb +4 -4
- data/lib/browse_everything/driver/drop_box.rb +2 -2
- data/lib/browse_everything/engine.rb +3 -1
- data/lib/browse_everything/file_entry.rb +5 -1
- data/lib/browse_everything/version.rb +1 -1
- data/spec/spec_helper.rb +5 -2
- data/spec/unit/browser_spec.rb +2 -2
- data/spec/unit/drop_box_spec.rb +1 -1
- data/spec/unit/file_entry_spec.rb +78 -30
- data/vendor/assets/javascripts/jquery.treetable.js +629 -0
- data/vendor/assets/stylesheets/jquery.treetable.css +28 -0
- data/vendor/assets/stylesheets/screen.css +28 -0
- metadata +23 -4
@@ -0,0 +1,28 @@
|
|
1
|
+
table.treetable span.indenter {
|
2
|
+
display: inline-block;
|
3
|
+
margin: 0;
|
4
|
+
padding: 0;
|
5
|
+
text-align: right;
|
6
|
+
|
7
|
+
/* Disable text selection of nodes (for better D&D UX) */
|
8
|
+
user-select: none;
|
9
|
+
-khtml-user-select: none;
|
10
|
+
-moz-user-select: none;
|
11
|
+
-o-user-select: none;
|
12
|
+
-webkit-user-select: none;
|
13
|
+
|
14
|
+
/* Force content-box box model for indenter (Bootstrap compatibility) */
|
15
|
+
-webkit-box-sizing: content-box;
|
16
|
+
-moz-box-sizing: content-box;
|
17
|
+
box-sizing: content-box;
|
18
|
+
|
19
|
+
width: 19px;
|
20
|
+
}
|
21
|
+
|
22
|
+
table.treetable span.indenter a {
|
23
|
+
background-position: left center;
|
24
|
+
background-repeat: no-repeat;
|
25
|
+
display: inline-block;
|
26
|
+
text-decoration: none;
|
27
|
+
width: 19px;
|
28
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
body {
|
2
|
+
background: #ddd;
|
3
|
+
color: #000;
|
4
|
+
font-family: Helvetica, Arial, sans-serif;
|
5
|
+
line-height: 1.5;
|
6
|
+
margin: 0;
|
7
|
+
padding: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
#main {
|
11
|
+
background: #fff;
|
12
|
+
border-left: 20px solid #eee;
|
13
|
+
border-right: 20px solid #eee;
|
14
|
+
margin: 0 auto;
|
15
|
+
max-width: 800px;
|
16
|
+
padding: 20px;
|
17
|
+
}
|
18
|
+
|
19
|
+
pre.listing {
|
20
|
+
background: #eee;
|
21
|
+
border: 1px solid #ccc;
|
22
|
+
margin: .6em 0 .3em 0;
|
23
|
+
padding: .1em .3em;
|
24
|
+
}
|
25
|
+
|
26
|
+
pre.listing b {
|
27
|
+
color: #f00;
|
28
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browse-everything
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carolyn Cole
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2014-
|
16
|
+
date: 2014-07-29 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: rails
|
@@ -147,14 +147,14 @@ dependencies:
|
|
147
147
|
requirements:
|
148
148
|
- - ~>
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version: '
|
150
|
+
version: '3.0'
|
151
151
|
type: :development
|
152
152
|
prerelease: false
|
153
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
155
|
- - ~>
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: '
|
157
|
+
version: '3.0'
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
159
|
name: rspec-rails
|
160
160
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,6 +169,20 @@ dependencies:
|
|
169
169
|
- - ! '>='
|
170
170
|
- !ruby/object:Gem::Version
|
171
171
|
version: '0'
|
172
|
+
- !ruby/object:Gem::Dependency
|
173
|
+
name: rspec-its
|
174
|
+
requirement: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - ! '>='
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
179
|
+
type: :development
|
180
|
+
prerelease: false
|
181
|
+
version_requirements: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ! '>='
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0'
|
172
186
|
- !ruby/object:Gem::Dependency
|
173
187
|
name: simplecov
|
174
188
|
requirement: !ruby/object:Gem::Requirement
|
@@ -306,11 +320,13 @@ files:
|
|
306
320
|
- app/assets/javascripts/browse_everything/behavior.js.coffee
|
307
321
|
- app/assets/stylesheets/bootstrap-responsive.css.scss
|
308
322
|
- app/assets/stylesheets/browse_everything.css.scss
|
323
|
+
- app/assets/stylesheets/jquery.treetable.theme.browse.css
|
309
324
|
- app/controllers/browse_everything_controller.rb
|
310
325
|
- app/helpers/bootstrap_version_helper.rb
|
311
326
|
- app/helpers/browse_everything_helper.rb
|
312
327
|
- app/views/.DS_Store
|
313
328
|
- app/views/browse_everything/_auth.html.erb
|
329
|
+
- app/views/browse_everything/_file.html.erb
|
314
330
|
- app/views/browse_everything/_files.html.erb
|
315
331
|
- app/views/browse_everything/_providers.html.erb
|
316
332
|
- app/views/browse_everything/auth.html.erb
|
@@ -355,6 +371,9 @@ files:
|
|
355
371
|
- spec/unit/sky_drive_spec.rb
|
356
372
|
- tasks/browse-everything-dev.rake
|
357
373
|
- tasks/ci.rake
|
374
|
+
- vendor/assets/javascripts/jquery.treetable.js
|
375
|
+
- vendor/assets/stylesheets/jquery.treetable.css
|
376
|
+
- vendor/assets/stylesheets/screen.css
|
358
377
|
homepage: https://github.com/projecthydra/browse-everything
|
359
378
|
licenses:
|
360
379
|
- Apache 2
|