-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.bundle/ | ||
log/*.log | ||
pkg/ | ||
test/dummy/db/*.sqlite3 | ||
test/dummy/db/*.sqlite3-journal | ||
test/dummy/log/*.log | ||
test/dummy/tmp/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
source 'https://rubygems.org' | ||
|
||
# Declare your gem's dependencies in boxroom.gemspec. | ||
# Bundler will treat runtime dependencies like base dependencies, and | ||
# development dependencies will be added by default to the :development group. | ||
gemspec | ||
|
||
# Declare any dependencies that are still in development here instead of in | ||
# your gemspec. These might include edge Rails or gems from your path or | ||
# Git. Remember to move these dependencies to your gemspec before releasing | ||
# your gem to rubygems.org. | ||
|
||
# To use a debugger | ||
# gem 'byebug', group: [:development, :test] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
boxroom (0.1.0) | ||
acts_as_tree | ||
dynamic_form | ||
jquery-fileupload-rails | ||
paperclip | ||
rails (~> 5.0.2) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (5.0.2) | ||
actionpack (= 5.0.2) | ||
nio4r (>= 1.2, < 3.0) | ||
websocket-driver (~> 0.6.1) | ||
actionmailer (5.0.2) | ||
actionpack (= 5.0.2) | ||
actionview (= 5.0.2) | ||
activejob (= 5.0.2) | ||
mail (~> 2.5, >= 2.5.4) | ||
rails-dom-testing (~> 2.0) | ||
actionpack (5.0.2) | ||
actionview (= 5.0.2) | ||
activesupport (= 5.0.2) | ||
rack (~> 2.0) | ||
rack-test (~> 0.6.3) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.2) | ||
actionview (5.0.2) | ||
activesupport (= 5.0.2) | ||
builder (~> 3.1) | ||
erubis (~> 2.7.0) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.3) | ||
activejob (5.0.2) | ||
activesupport (= 5.0.2) | ||
globalid (>= 0.3.6) | ||
activemodel (5.0.2) | ||
activesupport (= 5.0.2) | ||
activerecord (5.0.2) | ||
activemodel (= 5.0.2) | ||
activesupport (= 5.0.2) | ||
arel (~> 7.0) | ||
activesupport (5.0.2) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (~> 0.7) | ||
minitest (~> 5.1) | ||
tzinfo (~> 1.1) | ||
acts_as_tree (2.7.0) | ||
activerecord (>= 3.0.0) | ||
arel (7.1.4) | ||
builder (3.2.3) | ||
climate_control (0.2.0) | ||
cocaine (0.5.8) | ||
climate_control (>= 0.0.3, < 1.0) | ||
concurrent-ruby (1.0.5) | ||
crass (1.0.2) | ||
dynamic_form (1.1.4) | ||
erubis (2.7.0) | ||
ffi (1.9.18) | ||
globalid (0.4.1) | ||
activesupport (>= 4.2.0) | ||
i18n (0.9.0) | ||
concurrent-ruby (~> 1.0) | ||
jquery-fileupload-rails (0.4.7) | ||
actionpack (>= 3.1) | ||
railties (>= 3.1) | ||
sass (>= 3.2) | ||
loofah (2.1.1) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.5.9) | ||
mail (2.7.0) | ||
mini_mime (>= 0.1.1) | ||
method_source (0.8.2) | ||
mime-types (3.1) | ||
mime-types-data (~> 3.2015) | ||
mime-types-data (3.2016.0521) | ||
mimemagic (0.3.2) | ||
mini_mime (0.1.4) | ||
mini_portile2 (2.3.0) | ||
minitest (5.10.3) | ||
nio4r (2.0.0) | ||
nokogiri (1.8.1) | ||
mini_portile2 (~> 2.3.0) | ||
paperclip (5.1.0) | ||
activemodel (>= 4.2.0) | ||
activesupport (>= 4.2.0) | ||
cocaine (~> 0.5.5) | ||
mime-types | ||
mimemagic (~> 0.3.0) | ||
rack (2.0.1) | ||
rack-test (0.6.3) | ||
rack (>= 1.0) | ||
rails (5.0.2) | ||
actioncable (= 5.0.2) | ||
actionmailer (= 5.0.2) | ||
actionpack (= 5.0.2) | ||
actionview (= 5.0.2) | ||
activejob (= 5.0.2) | ||
activemodel (= 5.0.2) | ||
activerecord (= 5.0.2) | ||
activesupport (= 5.0.2) | ||
bundler (>= 1.3.0, < 2.0) | ||
railties (= 5.0.2) | ||
sprockets-rails (>= 2.0.0) | ||
rails-dom-testing (2.0.2) | ||
activesupport (>= 4.2.0, < 6.0) | ||
nokogiri (~> 1.6) | ||
rails-html-sanitizer (1.0.3) | ||
loofah (~> 2.0) | ||
railties (5.0.2) | ||
actionpack (= 5.0.2) | ||
activesupport (= 5.0.2) | ||
method_source | ||
rake (>= 0.8.7) | ||
thor (>= 0.18.1, < 2.0) | ||
rake (12.2.1) | ||
rb-fsevent (0.10.2) | ||
rb-inotify (0.9.10) | ||
ffi (>= 0.5.0, < 2) | ||
sass (3.5.3) | ||
sass-listen (~> 4.0.0) | ||
sass-listen (4.0.0) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
sprockets (3.7.1) | ||
concurrent-ruby (~> 1.0) | ||
rack (> 1, < 3) | ||
sprockets-rails (3.2.1) | ||
actionpack (>= 4.0) | ||
activesupport (>= 4.0) | ||
sprockets (>= 3.0.0) | ||
sqlite3 (1.3.11) | ||
thor (0.20.0) | ||
thread_safe (0.3.6) | ||
tzinfo (1.2.4) | ||
thread_safe (~> 0.1) | ||
websocket-driver (0.6.5) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.2) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
boxroom! | ||
sqlite3 | ||
|
||
BUNDLED WITH | ||
1.16.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Copyright 2018 Serge Koba | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,29 @@ | ||
# boxroom-engine | ||
Boxroom web file manager Rails engine | ||
# Boxroom | ||
This is a Rails engine built based on code of [Boxroom](https://github.com/mischa78/boxroom) project. | ||
|
||
# Features | ||
|
||
|
||
## Install | ||
- add to Gemfile | ||
- run `rails boxroom:install:migrations` | ||
- run `rails db:migrate` | ||
|
||
## Config | ||
- Create `config/initializers/boxroom.rb` | ||
```ruby | ||
Boxroom.configure do |config| | ||
config.site_name = 'Boxroom' | ||
config.logo = 'boxroom/logo.png' | ||
end | ||
``` | ||
- mount engine in `config/routes.rb` | ||
```ruby | ||
mount Boxroom::Engine => "/boxroom" | ||
``` | ||
|
||
## Contributing | ||
Please feel free to leave an issue or PR. | ||
|
||
## License | ||
The engine is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
begin | ||
require 'bundler/setup' | ||
rescue LoadError | ||
puts 'You must `gem install bundler` and `bundle install` to run rake tasks' | ||
end | ||
|
||
require 'rdoc/task' | ||
|
||
RDoc::Task.new(:rdoc) do |rdoc| | ||
rdoc.rdoc_dir = 'rdoc' | ||
rdoc.title = 'Boxroom' | ||
rdoc.options << '--line-numbers' | ||
rdoc.rdoc_files.include('README.md') | ||
rdoc.rdoc_files.include('lib/**/*.rb') | ||
end | ||
|
||
APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__) | ||
load 'rails/tasks/engine.rake' | ||
|
||
|
||
load 'rails/tasks/statistics.rake' | ||
|
||
|
||
|
||
require 'bundler/gem_tasks' | ||
|
||
require 'rake/testtask' | ||
|
||
Rake::TestTask.new(:test) do |t| | ||
t.libs << 'test' | ||
t.pattern = 'test/**/*_test.rb' | ||
t.verbose = false | ||
end | ||
|
||
|
||
task default: :test |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
//= link_directory ../javascripts/boxroom .js | ||
//= link_directory ../stylesheets/boxroom .css |