browse-everything 0.10.4 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/Gemfile +21 -10
- data/HISTORY.md +3 -0
- data/Rakefile +9 -2
- data/app/assets/javascripts/browse_everything/behavior.js.coffee +10 -10
- data/browse-everything.gemspec +2 -2
- data/lib/browse_everything/version.rb +1 -1
- data/spec/features/select_files_spec.rb +35 -0
- data/spec/features/test_compiling_stylesheets_spec.rb +0 -2
- data/spec/javascripts/jasmine_spec.rb +0 -1
- data/spec/spec_helper.rb +5 -0
- data/spec/support/app/views/file_handler/main.html.erb +1 -1
- data/spec/unit/base_spec.rb +0 -3
- data/spec/unit/browse_everything_helper_spec.rb +3 -6
- data/spec/unit/browser_spec.rb +0 -2
- data/spec/unit/dropbox_spec.rb +0 -2
- data/spec/unit/file_entry_spec.rb +11 -14
- data/spec/unit/file_system_spec.rb +0 -2
- data/spec/unit/retriever_spec.rb +14 -16
- data/spec/unit/sky_drive_spec.rb +1 -8
- data/spec/views/browse_everything/_file.html.erb_spec.rb +0 -5
- metadata +22 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ecf1f6e239a55eaca19d11c80ba83cb833df9ac
|
4
|
+
data.tar.gz: 59e99e140a5520feb8345928b7080b90b4ad914b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8b0e5d8b7f8705cf017530760bb12a73a23e4217c452c07dc33f5bf1e449085353df70bbf9567fe5d239d5f21cde4abf2a213385874ab2b43c705e5d951430e
|
7
|
+
data.tar.gz: dc27c56cd04044728ef80665eb8f5c9e500db68904e2b36c98248086c456649fdf8a48378a7a419a899ebc1dad8b75c7aea6ab0f01b58593c8dff0ede70b62bc
|
data/.rspec
ADDED
data/Gemfile
CHANGED
@@ -4,11 +4,11 @@ source 'https://rubygems.org'
|
|
4
4
|
gemspec
|
5
5
|
|
6
6
|
# BEGIN ENGINE_CART BLOCK
|
7
|
-
# engine_cart: 0.
|
8
|
-
# engine_cart stanza: 0.
|
7
|
+
# engine_cart: 0.10.0
|
8
|
+
# engine_cart stanza: 0.10.0
|
9
9
|
# the below comes from engine_cart, a gem used to test this Rails engine gem in the context of a Rails app.
|
10
|
-
file = File.expand_path(
|
11
|
-
if File.
|
10
|
+
file = File.expand_path('Gemfile', ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path('.internal_test_app', File.dirname(__FILE__)))
|
11
|
+
if File.exist?(file)
|
12
12
|
begin
|
13
13
|
eval_gemfile file
|
14
14
|
rescue Bundler::GemfileError => e
|
@@ -17,12 +17,23 @@ if File.exists?(file)
|
|
17
17
|
end
|
18
18
|
else
|
19
19
|
Bundler.ui.warn "[EngineCart] Unable to find test application dependencies in #{file}, using placeholder dependencies"
|
20
|
-
|
21
|
-
if ENV['RAILS_VERSION']
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
|
21
|
+
if ENV['RAILS_VERSION']
|
22
|
+
if ENV['RAILS_VERSION'] == 'edge'
|
23
|
+
gem 'rails', github: 'rails/rails'
|
24
|
+
ENV['ENGINE_CART_RAILS_OPTIONS'] = '--edge --skip-turbolinks'
|
25
|
+
else
|
26
|
+
gem 'rails', ENV['RAILS_VERSION']
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
case ENV['RAILS_VERSION']
|
31
|
+
when /^4.2/
|
32
|
+
gem 'responders', '~> 2.0'
|
33
|
+
gem 'sass-rails', '>= 5.0'
|
34
|
+
gem 'coffee-rails', '~> 4.1.0'
|
35
|
+
when /^4.[01]/
|
36
|
+
gem 'sass-rails', '< 5.0'
|
26
37
|
end
|
27
38
|
end
|
28
39
|
# END ENGINE_CART BLOCK
|
data/HISTORY.md
CHANGED
data/Rakefile
CHANGED
@@ -5,7 +5,14 @@ Dir.glob('tasks/*.rake').each { |r| import r }
|
|
5
5
|
|
6
6
|
require 'rspec/core/rake_task'
|
7
7
|
require 'engine_cart/rake_task'
|
8
|
-
|
9
|
-
task :default => [:ci]
|
10
8
|
require 'jasmine'
|
11
9
|
load 'jasmine/tasks/jasmine.rake'
|
10
|
+
|
11
|
+
# Set up the test application prior to running jasmine tasks.
|
12
|
+
task 'jasmine:require' => :setup_test_server
|
13
|
+
task :setup_test_server do
|
14
|
+
require 'engine_cart'
|
15
|
+
EngineCart.load_application!
|
16
|
+
end
|
17
|
+
|
18
|
+
task :default => [:ci]
|
@@ -20,7 +20,7 @@ $ ->
|
|
20
20
|
done: (func) -> ctx.callbacks.done.add(func) ; return this
|
21
21
|
cancel: (func) -> ctx.callbacks.cancel.add(func) ; return this
|
22
22
|
fail: (func) -> ctx.callbacks.fail.add(func) ; return this
|
23
|
-
$(obj).data('
|
23
|
+
$(obj).data('ev-state',ctx)
|
24
24
|
ctx
|
25
25
|
|
26
26
|
toHiddenFields = (data) ->
|
@@ -154,8 +154,8 @@ $ ->
|
|
154
154
|
url: $('a.ev-link',node.row).attr('href')
|
155
155
|
data:
|
156
156
|
parent: node.row.data('tt-id')
|
157
|
-
accept: dialog.data('
|
158
|
-
context: dialog.data('
|
157
|
+
accept: dialog.data('ev-state').opts.accept
|
158
|
+
context: dialog.data('ev-state').opts.context
|
159
159
|
.done (html) ->
|
160
160
|
setProgress('100')
|
161
161
|
clearInterval progressIntervalID
|
@@ -182,12 +182,12 @@ $ ->
|
|
182
182
|
$(window).on('resize', -> sizeColumns($('table#file-list')))
|
183
183
|
|
184
184
|
$.fn.browseEverything = (options) ->
|
185
|
-
ctx = $(this).data('
|
185
|
+
ctx = $(this).data('ev-state')
|
186
186
|
options = $(this).data() unless (ctx? or options?)
|
187
187
|
if options?
|
188
188
|
ctx = initialize(this[0], options)
|
189
189
|
$(this).click () ->
|
190
|
-
dialog.data('
|
190
|
+
dialog.data('ev-state',ctx)
|
191
191
|
dialog.load ctx.opts.route, () ->
|
192
192
|
setTimeout refreshFiles, 500
|
193
193
|
ctx.callbacks.show.fire()
|
@@ -213,7 +213,7 @@ $ ->
|
|
213
213
|
|
214
214
|
$(document).on 'click', 'button.ev-cancel', (event) ->
|
215
215
|
event.preventDefault()
|
216
|
-
dialog.data('
|
216
|
+
dialog.data('ev-state').callbacks.cancel.fire()
|
217
217
|
$('.ev-browser').modal('hide')
|
218
218
|
|
219
219
|
$(document).on 'click', 'button.ev-submit', (event) ->
|
@@ -222,7 +222,7 @@ $ ->
|
|
222
222
|
$('body').css('cursor','wait')
|
223
223
|
main_form = $(this).closest('form')
|
224
224
|
resolver_url = main_form.data('resolver')
|
225
|
-
ctx = dialog.data('
|
225
|
+
ctx = dialog.data('ev-state')
|
226
226
|
$(main_form).find('input[name=context]').val(ctx.opts.context)
|
227
227
|
$.ajax resolver_url,
|
228
228
|
type: 'POST'
|
@@ -254,8 +254,8 @@ $ ->
|
|
254
254
|
$.ajax
|
255
255
|
url: $(this).val(),
|
256
256
|
data:
|
257
|
-
accept: dialog.data('
|
258
|
-
context: dialog.data('
|
257
|
+
accept: dialog.data('ev-state').opts.accept
|
258
|
+
context: dialog.data('ev-state').opts.context
|
259
259
|
.done (data) ->
|
260
260
|
$('.ev-files').html(data)
|
261
261
|
indicateSelected();
|
@@ -304,7 +304,7 @@ $ ->
|
|
304
304
|
auto_toggle = ->
|
305
305
|
triggers = $('*[data-toggle=browse-everything]')
|
306
306
|
triggers.each () ->
|
307
|
-
ctx = $(this).data('
|
307
|
+
ctx = $(this).data('ev-state')
|
308
308
|
$(this).browseEverything($(this).data()) unless ctx?
|
309
309
|
|
310
310
|
if Turbolinks? && Turbolinks.supported
|
data/browse-everything.gemspec
CHANGED
@@ -39,9 +39,9 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_development_dependency "vcr"
|
40
40
|
spec.add_development_dependency "sqlite3"
|
41
41
|
spec.add_development_dependency "factory_girl_rails"
|
42
|
-
spec.add_development_dependency "engine_cart", '~> 0.
|
42
|
+
spec.add_development_dependency "engine_cart", '~> 0.10'
|
43
43
|
spec.add_development_dependency "capybara"
|
44
44
|
spec.add_development_dependency "jasmine", '~> 2.3'
|
45
45
|
spec.add_development_dependency "coveralls"
|
46
|
-
|
46
|
+
spec.add_development_dependency "poltergeist", "~> 1.10"
|
47
47
|
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'capybara/poltergeist'
|
2
|
+
|
3
|
+
describe "Choosing files", :type => :feature do
|
4
|
+
before do
|
5
|
+
Capybara.register_driver :poltergeist do |app|
|
6
|
+
Capybara::Poltergeist::Driver.new(app, js_errors: true, timeout: 90)
|
7
|
+
end
|
8
|
+
Capybara.current_driver = :poltergeist
|
9
|
+
visit '/'
|
10
|
+
end
|
11
|
+
|
12
|
+
shared_examples "browseable files" do
|
13
|
+
it "selects files from the filesystem" do
|
14
|
+
click_button('Browse')
|
15
|
+
sleep(5)
|
16
|
+
click_link("README.rdoc")
|
17
|
+
within(".modal-footer") do
|
18
|
+
expect(page).to have_selector("span", text: "1 file selected")
|
19
|
+
click_button("Submit")
|
20
|
+
end
|
21
|
+
sleep(5)
|
22
|
+
expect(page).to have_selector("#status", text: "1 items selected")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
context "when Turbolinks are enabled" do
|
27
|
+
before { click_link('Enter Test App (Turbolinks)') }
|
28
|
+
it_behaves_like "browseable files"
|
29
|
+
end
|
30
|
+
|
31
|
+
context "when Turbolinks are disabled" do
|
32
|
+
before { click_link('Enter Test App (No Turbolinks)') }
|
33
|
+
it_behaves_like "browseable files"
|
34
|
+
end
|
35
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -22,8 +22,13 @@ VCR.configure do |c|
|
|
22
22
|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
|
23
23
|
c.hook_into :webmock
|
24
24
|
c.configure_rspec_metadata!
|
25
|
+
c.ignore_localhost = true
|
25
26
|
end
|
26
27
|
|
28
|
+
Capybara.default_driver = :rack_test # This is a faster driver
|
29
|
+
Capybara.javascript_driver = :poltergeist # This is slower
|
30
|
+
Capybara.default_max_wait_time = ENV['TRAVIS'] ? 30 : 15
|
31
|
+
|
27
32
|
RSpec.configure do |config|
|
28
33
|
config.expect_with :rspec do |c|
|
29
34
|
c.syntax = [:should, :expect]
|
@@ -13,7 +13,7 @@
|
|
13
13
|
<p id="status">0 items selected</p>
|
14
14
|
|
15
15
|
<script>
|
16
|
-
$(document).on('
|
16
|
+
$(document).on('turbolinks:load', function() {
|
17
17
|
$('#browse-btn').browseEverything()
|
18
18
|
.done(function(data) { $('#status').html(data.length.toString() + " items selected") })
|
19
19
|
.cancel(function() { window.alert('Canceled!') });
|
data/spec/unit/base_spec.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require File.expand_path('../../spec_helper',__FILE__)
|
2
|
-
|
3
1
|
include BrowserConfigHelper
|
4
2
|
|
5
3
|
describe BrowseEverything::Driver::Base do
|
@@ -25,4 +23,3 @@ describe BrowseEverything::Driver::Base do
|
|
25
23
|
specify { subject.link_for('/path/to/foo.txt').should == ['/path/to/foo.txt', { file_name: 'foo.txt' }] }
|
26
24
|
end
|
27
25
|
end
|
28
|
-
|
@@ -1,7 +1,4 @@
|
|
1
|
-
require File.expand_path('../../spec_helper',__FILE__)
|
2
|
-
|
3
1
|
describe BrowseEverythingHelper do
|
4
|
-
|
5
2
|
let(:test_class) {
|
6
3
|
Class.new do
|
7
4
|
include BrowseEverythingHelper
|
@@ -13,15 +10,15 @@ describe BrowseEverythingHelper do
|
|
13
10
|
}
|
14
11
|
|
15
12
|
let(:test_file) { BrowseEverything::FileEntry.new 0, '/path/to/file.mp4', 'file.mp4', 12345, Time.now, false }
|
16
|
-
|
13
|
+
|
17
14
|
it "should match a full type" do
|
18
15
|
expect(test_class.new(accept: 'video/mp4').is_acceptable?(test_file)).to eq(true)
|
19
16
|
end
|
20
|
-
|
17
|
+
|
21
18
|
it "should match a wildcard type" do
|
22
19
|
expect(test_class.new(accept: 'video/*').is_acceptable?(test_file)).to eq(true)
|
23
20
|
end
|
24
|
-
|
21
|
+
|
25
22
|
it "should not match the wrong full type" do
|
26
23
|
expect(test_class.new(accept: 'video/mpeg').is_acceptable?(test_file)).to eq(false)
|
27
24
|
end
|
data/spec/unit/browser_spec.rb
CHANGED
data/spec/unit/dropbox_spec.rb
CHANGED
@@ -1,10 +1,7 @@
|
|
1
|
-
require File.expand_path('../../spec_helper',__FILE__)
|
2
|
-
|
3
1
|
describe BrowseEverything::FileEntry do
|
4
|
-
|
5
2
|
let(:mtime) { Time.now }
|
6
3
|
describe "regular file" do
|
7
|
-
subject {
|
4
|
+
subject {
|
8
5
|
BrowseEverything::FileEntry.new(
|
9
6
|
'file_id_01234', 'my_provider:/location/pa/th/file.m4v',
|
10
7
|
'file.m4v', '1.2 GB', mtime, false
|
@@ -12,7 +9,7 @@ describe BrowseEverything::FileEntry do
|
|
12
9
|
}
|
13
10
|
|
14
11
|
it "should be a BrowseEverything::FileEntry" do
|
15
|
-
expect(subject).to be_a BrowseEverything::FileEntry
|
12
|
+
expect(subject).to be_a BrowseEverything::FileEntry
|
16
13
|
end
|
17
14
|
|
18
15
|
it "#id" do
|
@@ -40,14 +37,14 @@ describe BrowseEverything::FileEntry do
|
|
40
37
|
end
|
41
38
|
|
42
39
|
it "#container?" do
|
43
|
-
expect(subject.container?).to be false
|
40
|
+
expect(subject.container?).to be false
|
44
41
|
end
|
45
|
-
|
42
|
+
|
46
43
|
it "#relative_parent_path?" do
|
47
|
-
expect(subject.relative_parent_path?).to be false
|
44
|
+
expect(subject.relative_parent_path?).to be false
|
48
45
|
end
|
49
46
|
end
|
50
|
-
|
47
|
+
|
51
48
|
describe "directory" do
|
52
49
|
subject {
|
53
50
|
BrowseEverything::FileEntry.new(
|
@@ -61,14 +58,14 @@ describe BrowseEverything::FileEntry do
|
|
61
58
|
end
|
62
59
|
|
63
60
|
it "#container?" do
|
64
|
-
expect(subject.container?).to be true
|
61
|
+
expect(subject.container?).to be true
|
65
62
|
end
|
66
63
|
|
67
64
|
it "#relative_parent_path?" do
|
68
|
-
expect(subject.relative_parent_path?).to be false
|
65
|
+
expect(subject.relative_parent_path?).to be false
|
69
66
|
end
|
70
67
|
end
|
71
|
-
|
68
|
+
|
72
69
|
describe "parent path" do
|
73
70
|
subject {
|
74
71
|
BrowseEverything::FileEntry.new(
|
@@ -82,11 +79,11 @@ describe BrowseEverything::FileEntry do
|
|
82
79
|
end
|
83
80
|
|
84
81
|
it "#container?" do
|
85
|
-
expect(subject.container?).to be true
|
82
|
+
expect(subject.container?).to be true
|
86
83
|
end
|
87
84
|
|
88
85
|
it "#relative_parent_path?" do
|
89
|
-
expect(subject.relative_parent_path?).to be true
|
86
|
+
expect(subject.relative_parent_path?).to be true
|
90
87
|
end
|
91
88
|
end
|
92
89
|
end
|
data/spec/unit/retriever_spec.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require File.expand_path('../../spec_helper',__FILE__)
|
2
|
-
|
3
1
|
describe BrowseEverything::Retriever, vcr: { cassette_name: 'retriever', record: :none, } do
|
4
2
|
subject { BrowseEverything::Retriever.new }
|
5
3
|
let(:datafile) { File.expand_path('../../fixtures/file_system/file_1.pdf',__FILE__) }
|
@@ -10,12 +8,12 @@ describe BrowseEverything::Retriever, vcr: { cassette_name: 'retriever', record:
|
|
10
8
|
|
11
9
|
context 'http://' do
|
12
10
|
let(:spec) {
|
13
|
-
{
|
11
|
+
{
|
14
12
|
"0" => {
|
15
|
-
"url"=>"https://retrieve.cloud.example.com/some/dir/file.pdf",
|
16
|
-
"auth_header"=>{"Authorization"=>"Bearer ya29.kQCEAHj1bwFXr2AuGQJmSGRWQXpacmmYZs4kzCiXns3d6H1ZpIDWmdM8"},
|
17
|
-
"expires"=>(Time.now + 3600).xmlschema,
|
18
|
-
"file_name"=>"file.pdf",
|
13
|
+
"url"=>"https://retrieve.cloud.example.com/some/dir/file.pdf",
|
14
|
+
"auth_header"=>{"Authorization"=>"Bearer ya29.kQCEAHj1bwFXr2AuGQJmSGRWQXpacmmYZs4kzCiXns3d6H1ZpIDWmdM8"},
|
15
|
+
"expires"=>(Time.now + 3600).xmlschema,
|
16
|
+
"file_name"=>"file.pdf",
|
19
17
|
"file_size"=>size.to_s
|
20
18
|
}
|
21
19
|
}
|
@@ -32,25 +30,25 @@ describe BrowseEverything::Retriever, vcr: { cassette_name: 'retriever', record:
|
|
32
30
|
expect { |block| subject.retrieve(spec['0'], &block) }.to yield_with_args(data, data.length, data.length)
|
33
31
|
end
|
34
32
|
end
|
35
|
-
|
33
|
+
|
36
34
|
context "#download" do
|
37
35
|
it "content" do
|
38
36
|
file = subject.download(spec['0'])
|
39
37
|
expect(File.open(file,'rb',&:read)).to eq(data)
|
40
38
|
end
|
41
|
-
|
39
|
+
|
42
40
|
it "callbacks" do
|
43
41
|
expect { |block| subject.download(spec['0'], &block) }.to yield_with_args(String, data.length, data.length)
|
44
42
|
end
|
45
43
|
end
|
46
44
|
end
|
47
|
-
|
45
|
+
|
48
46
|
context 'file://' do
|
49
47
|
let(:spec) {
|
50
|
-
{
|
48
|
+
{
|
51
49
|
"0" => {
|
52
|
-
"url"=>"file://#{datafile}",
|
53
|
-
"file_name"=>"file.pdf",
|
50
|
+
"url"=>"file://#{datafile}",
|
51
|
+
"file_name"=>"file.pdf",
|
54
52
|
"file_size"=>size.to_s
|
55
53
|
},
|
56
54
|
"1" => {
|
@@ -84,13 +82,13 @@ describe BrowseEverything::Retriever, vcr: { cassette_name: 'retriever', record:
|
|
84
82
|
file = subject.download(spec['0'])
|
85
83
|
expect(File.open(file,'rb',&:read)).to eq(data)
|
86
84
|
end
|
87
|
-
|
85
|
+
|
88
86
|
it "callbacks" do
|
89
87
|
expect { |block| subject.download(spec['0'], &block) }.to yield_with_args(String, data.length, data.length)
|
90
88
|
end
|
91
89
|
end
|
92
90
|
end
|
93
|
-
|
91
|
+
|
94
92
|
context ''
|
95
|
-
|
93
|
+
|
96
94
|
end
|
data/spec/unit/sky_drive_spec.rb
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
require File.expand_path('../../spec_helper',__FILE__)
|
2
|
-
|
3
|
-
|
4
|
-
|
5
1
|
describe BrowseEverything::Driver::SkyDrive do
|
6
2
|
include BrowseEverything::Engine.routes.url_helpers
|
7
3
|
|
@@ -28,7 +24,6 @@ describe BrowseEverything::Driver::SkyDrive do
|
|
28
24
|
:headers => {
|
29
25
|
"content-type" => "application/json"})
|
30
26
|
|
31
|
-
|
32
27
|
driver = BrowseEverything::Driver::SkyDrive.new(provider_yml)
|
33
28
|
driver.connect({code:"code"},{})
|
34
29
|
driver.authorized?.should == true
|
@@ -49,10 +44,8 @@ describe BrowseEverything::Driver::SkyDrive do
|
|
49
44
|
:headers => {
|
50
45
|
"content-type" => "application/json"})
|
51
46
|
|
52
|
-
|
53
47
|
driver = BrowseEverything::Driver::SkyDrive.new(provider_yml)
|
54
48
|
driver.connect({code:"code"},{})
|
55
49
|
driver.authorized?.should == false
|
56
50
|
end
|
57
|
-
|
58
|
-
end
|
51
|
+
end
|
@@ -1,7 +1,4 @@
|
|
1
|
-
require File.expand_path('../../../spec_helper',__FILE__)
|
2
|
-
|
3
1
|
describe 'browse_everything/_file.html.erb', type: :view do
|
4
|
-
|
5
2
|
let(:file) {
|
6
3
|
BrowseEverything::FileEntry.new(
|
7
4
|
'file_id_01234', 'my_provider:/location/pa/th/file.m4v',
|
@@ -17,7 +14,6 @@ describe 'browse_everything/_file.html.erb', type: :view do
|
|
17
14
|
let(:provider) { double("provider") }
|
18
15
|
let(:page) { Capybara::Node::Simple.new(rendered) }
|
19
16
|
|
20
|
-
|
21
17
|
before do
|
22
18
|
allow(view).to receive(:browse_everything_engine).and_return(BrowseEverything::Engine.routes.url_helpers)
|
23
19
|
allow(view).to receive(:provider).and_return(provider)
|
@@ -73,5 +69,4 @@ describe 'browse_everything/_file.html.erb', type: :view do
|
|
73
69
|
end
|
74
70
|
end
|
75
71
|
end
|
76
|
-
|
77
72
|
end
|
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.10.
|
4
|
+
version: 0.10.5
|
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: 2016-
|
16
|
+
date: 2016-09-23 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: rails
|
@@ -315,14 +315,14 @@ dependencies:
|
|
315
315
|
requirements:
|
316
316
|
- - "~>"
|
317
317
|
- !ruby/object:Gem::Version
|
318
|
-
version: 0.
|
318
|
+
version: '0.10'
|
319
319
|
type: :development
|
320
320
|
prerelease: false
|
321
321
|
version_requirements: !ruby/object:Gem::Requirement
|
322
322
|
requirements:
|
323
323
|
- - "~>"
|
324
324
|
- !ruby/object:Gem::Version
|
325
|
-
version: 0.
|
325
|
+
version: '0.10'
|
326
326
|
- !ruby/object:Gem::Dependency
|
327
327
|
name: capybara
|
328
328
|
requirement: !ruby/object:Gem::Requirement
|
@@ -365,6 +365,20 @@ dependencies:
|
|
365
365
|
- - ">="
|
366
366
|
- !ruby/object:Gem::Version
|
367
367
|
version: '0'
|
368
|
+
- !ruby/object:Gem::Dependency
|
369
|
+
name: poltergeist
|
370
|
+
requirement: !ruby/object:Gem::Requirement
|
371
|
+
requirements:
|
372
|
+
- - "~>"
|
373
|
+
- !ruby/object:Gem::Version
|
374
|
+
version: '1.10'
|
375
|
+
type: :development
|
376
|
+
prerelease: false
|
377
|
+
version_requirements: !ruby/object:Gem::Requirement
|
378
|
+
requirements:
|
379
|
+
- - "~>"
|
380
|
+
- !ruby/object:Gem::Version
|
381
|
+
version: '1.10'
|
368
382
|
description: AJAX/Rails engine file browser for cloud storage services
|
369
383
|
email:
|
370
384
|
- cam156@psu.edu
|
@@ -378,6 +392,7 @@ extensions: []
|
|
378
392
|
extra_rdoc_files: []
|
379
393
|
files:
|
380
394
|
- ".gitignore"
|
395
|
+
- ".rspec"
|
381
396
|
- ".travis.yml"
|
382
397
|
- CONTRIBUTING.md
|
383
398
|
- Gemfile
|
@@ -425,6 +440,7 @@ files:
|
|
425
440
|
- lib/generators/browse_everything/install_generator.rb
|
426
441
|
- lib/generators/browse_everything/templates/browse_everything.scss
|
427
442
|
- lib/generators/browse_everything/templates/browse_everything_providers.yml.example
|
443
|
+
- spec/features/select_files_spec.rb
|
428
444
|
- spec/features/test_compiling_stylesheets_spec.rb
|
429
445
|
- spec/fixtures/file_system/dir_1/dir_3/file_3.m4v
|
430
446
|
- spec/fixtures/file_system/dir_1/file_2.txt
|
@@ -478,11 +494,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
478
494
|
version: '0'
|
479
495
|
requirements: []
|
480
496
|
rubyforge_project:
|
481
|
-
rubygems_version: 2.
|
497
|
+
rubygems_version: 2.5.1
|
482
498
|
signing_key:
|
483
499
|
specification_version: 4
|
484
500
|
summary: AJAX/Rails engine file browser for cloud storage services
|
485
501
|
test_files:
|
502
|
+
- spec/features/select_files_spec.rb
|
486
503
|
- spec/features/test_compiling_stylesheets_spec.rb
|
487
504
|
- spec/fixtures/file_system/dir_1/dir_3/file_3.m4v
|
488
505
|
- spec/fixtures/file_system/dir_1/file_2.txt
|