Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
68 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
//= link_tree ../images | ||
|
||
//= link refinery/application.js | ||
//= link refinery/refinery.js | ||
//= link refinery/sortable_list.js | ||
//= link refinery/nestedsortables.js | ||
//= link refinery/serializelist.js | ||
//= link refinery/tree.js | ||
//= link admin.js | ||
//= link application.js | ||
//= link modernizr-min.js | ||
|
||
//= link refinery/refinery.css | ||
//= link refinery/formatting.css | ||
//= link refinery/site_bar.css | ||
//= link refinery/theme.css | ||
|
||
//= link application.css | ||
//= link cropper.css | ||
//= link cropper.js | ||
//= link canvas-to-blob.js | ||
//= link refinery/image_crop.js | ||
//= link refinery/image_crop.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
Rails.application.config.assets.precompile << 'refinery_core_manifest.js' | ||
# frozen_string_literal: true | ||
|
||
if Rails.application.config.respond_to?(:assets) | ||
Rails.application.config.assets.precompile << 'refinery_core_manifest.js' | ||
end |
26 changes: 20 additions & 6 deletions
26
core/lib/generators/refinery/dummy/templates/rails/application.rb.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,26 @@ | ||
require File.expand_path('../boot', __FILE__) | ||
|
||
require 'rails/all' | ||
require 'refinerycms-core' | ||
|
||
require 'bundler/setup' | ||
# Require the gems listed in Gemfile, including any gems | ||
# you've limited to :test, :development, or :production. | ||
Bundler.require(*Rails.groups(assets: %w(development test))) | ||
|
||
# If you have a Gemfile, require the default gems, the ones in the | ||
# current environment and also include :assets gems if in development | ||
# or test environments. | ||
Bundler.require *Rails.groups(:assets) | ||
module Dummy | ||
class Application < Rails::Application | ||
# Initialize configuration defaults for originally generated Rails version. | ||
config.load_defaults 6.0 | ||
config.autoloader = :classic | ||
|
||
<%= application_definition %> | ||
# Settings in config/environments/* take precedence over those specified here. | ||
# Application configuration can go into files in config/initializers | ||
# -- all .rb files in that directory are automatically loaded after loading | ||
# the framework and any gems in your application. | ||
|
||
if config.respond_to?(:assets) | ||
config.assets.paths << File.expand_path('app/assets/javascripts', __dir__) | ||
config.assets.paths << File.expand_path('app/assets/stylesheets', __dir__) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,3 @@ def root | |
require 'jquery-rails' | ||
require 'jquery-ui-rails' | ||
require 'sass-rails' | ||
require 'coffee-rails' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
module Refinery | ||
class Version | ||
@major = 4 | ||
@minor = 0 | ||
@tiny = 2 | ||
@minor = 1 | ||
@tiny = 0 | ||
@build = nil | ||
|
||
class << self | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters