Forgot to change application name in Rakefile; re-running CI
parent
dcbe7c3255
commit
75dc160992
1
Gemfile
1
Gemfile
|
@ -16,7 +16,6 @@ gem 'font-awesome-rails'
|
||||||
gem 'uglifier'
|
gem 'uglifier'
|
||||||
gem 'high_voltage', '~> 2.1.0'
|
gem 'high_voltage', '~> 2.1.0'
|
||||||
gem 'haml'
|
gem 'haml'
|
||||||
gem 'figaro' # Store secrets the 12 factor way. TODO: Get off of this gem.
|
|
||||||
gem 'devise', github: 'plataformatec/devise'
|
gem 'devise', github: 'plataformatec/devise'
|
||||||
gem 'mutations'
|
gem 'mutations'
|
||||||
gem 'active_model_serializers', '~> 0.8.3'
|
gem 'active_model_serializers', '~> 0.8.3'
|
||||||
|
|
|
@ -124,8 +124,6 @@ GEM
|
||||||
faker (1.4.3)
|
faker (1.4.3)
|
||||||
i18n (~> 0.5)
|
i18n (~> 0.5)
|
||||||
fattr (2.2.2)
|
fattr (2.2.2)
|
||||||
figaro (1.1.0)
|
|
||||||
thor (~> 0.14)
|
|
||||||
flay (2.6.1)
|
flay (2.6.1)
|
||||||
ruby_parser (~> 3.0)
|
ruby_parser (~> 3.0)
|
||||||
sexp_processor (~> 4.0)
|
sexp_processor (~> 4.0)
|
||||||
|
@ -345,7 +343,6 @@ DEPENDENCIES
|
||||||
devise!
|
devise!
|
||||||
factory_girl_rails
|
factory_girl_rails
|
||||||
faker
|
faker
|
||||||
figaro
|
|
||||||
font-awesome-rails
|
font-awesome-rails
|
||||||
haml
|
haml
|
||||||
high_voltage (~> 2.1.0)
|
high_voltage (~> 2.1.0)
|
||||||
|
|
2
Rakefile
2
Rakefile
|
@ -2,4 +2,4 @@
|
||||||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
||||||
|
|
||||||
require File.expand_path('../config/application', __FILE__)
|
require File.expand_path('../config/application', __FILE__)
|
||||||
Dss::Application.load_tasks
|
FarmBot::Application.load_tasks
|
||||||
|
|
|
@ -22,7 +22,8 @@ module Api
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
def destroy
|
||||||
# TODO: If you touch this again, add a mutation.
|
# HEY YOU!! If you touch this again, add a mutation. This is the most
|
||||||
|
# complexity I would like to see in one controlelr action.
|
||||||
if (sequence.user == current_user) && sequence.destroy
|
if (sequence.user == current_user) && sequence.destroy
|
||||||
render nothing: true
|
render nothing: true
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
class DeviceSerializer < ActiveModel::Serializer
|
|
||||||
attributes :_id, :name, :uuid, :token
|
|
||||||
end
|
|
|
@ -11,7 +11,6 @@ require "sprockets/railtie"
|
||||||
# you've limited to :test, :development, or :production.
|
# you've limited to :test, :development, or :production.
|
||||||
Bundler.require(:default, Rails.env)
|
Bundler.require(:default, Rails.env)
|
||||||
|
|
||||||
# TODO: Rename this to Farmbot.
|
|
||||||
module FarmBot
|
module FarmBot
|
||||||
class Application < Rails::Application
|
class Application < Rails::Application
|
||||||
# Settings in config/environments/* take precedence over those specified
|
# Settings in config/environments/* take precedence over those specified
|
||||||
|
|
Loading…
Reference in New Issue