Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ spec/dummy/tmp/
spec/dummy/.sass-cache
coverage
gemfiles/*.gemfile.lock
Gemfile.lock
.yardoc
doc
doc
1 change: 0 additions & 1 deletion .rspec

This file was deleted.

31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .yardopts

This file was deleted.

24 changes: 0 additions & 24 deletions Appraisals

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ This is the last version that uses the

The changelog began with version 1.0.0 so any changes prior to that
can be seen by checking the tagged releases and reading git commit
messages.
messages.
34 changes: 0 additions & 34 deletions CONTRIBUTING.md

This file was deleted.

10 changes: 6 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"
source 'https://rubygems.org'

# Declare your gem's dependencies in filepicker_rails.gemspec.
# Declare your gem's dependencies in filestack_rails.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
Expand All @@ -10,5 +10,7 @@ gemspec
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.

# To use debugger
# gem 'debugger'
# To use a debugger
# gem 'byebug', group: [:development, :test]

gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
2 changes: 1 addition & 1 deletion MIT-LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2013 YOURNAME
Copyright 2017 Richard

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,4 @@ Thank you to all the [contributors](https://github.com/filestack/filepicker-rail
[code_climate]: https://codeclimate.com/github/filestack/filestack-rails
[code_climate_badge]: https://codeclimate.com/github/filestack/filestack-rails.png
[coveralls]: https://coveralls.io/github/filestack/filestack-rails?branch=master
[coveralls_badge]: https://coveralls.io/repos/github/filestack/filestack-rails/badge.svg?branch=master
[coveralls_badge]: https://coveralls.io/repos/github/filestack/filestack-rails/badge.svg?branch=master
13 changes: 2 additions & 11 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RSpec::Core::RakeTask.new

RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'FilepickerRails'
rdoc.title = 'FilestackRails'
rdoc.options << '--line-numbers'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
Expand All @@ -22,16 +22,7 @@ APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'

task :default do
if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
Rake::Task['spec'].invoke
else
Rake::Task['appraise'].invoke
end
end

task :appraise do
exec 'appraisal install && appraisal rake'
Rake::Task['spec'].invoke
end

Bundler::GemHelper.install_tasks

5 changes: 5 additions & 0 deletions app/controllers/filestack_rails/application_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module FilestackRails
class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
end
end
Loading