Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #100 from envato/orien/assets
Browse files Browse the repository at this point in the history
  • Loading branch information
orien authored Jun 11, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents e4d7722 + c3f4f99 commit 1f58f71
Showing 4 changed files with 17 additions and 3 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -10,17 +10,28 @@ The format is based on [Keep a Changelog], and this project adheres to

## [Unreleased]

[Unreleased]: https://github.com/envato/guide/compare/v0.7.0...HEAD

## [0.7.0] - 2021-06-11

### Added

- Support `sprockets` version 4 ([#98]).

### Changed

- Moved guide asset compilation configuration to `lib/guide/engine.rb`, as
recommended by the [Rails Engine Guide] ([#100]).

### Removed

- The `sass-rails` dependency is removed ([#99]).

[Unreleased]: https://github.com/envato/guide/compare/v0.6.1...HEAD
[0.7.0]: https://github.com/envato/guide/compare/v0.6.1...v0.7.0
[#98]: https://github.com/envato/guide/pull/98
[#99]: https://github.com/envato/guide/pull/99
[#100]: https://github.com/envato/guide/pull/100
[Rails Engine Guide]: https://guides.rubyonrails.org/v6.1/engines.html#separate-assets-and-precompiling

## [0.6.1] - 2021-06-10

1 change: 0 additions & 1 deletion config/initializers/assets.rb

This file was deleted.

4 changes: 4 additions & 0 deletions lib/guide/engine.rb
Original file line number Diff line number Diff line change
@@ -5,5 +5,9 @@ class Engine < ::Rails::Engine
config.generators do |g|
g.test_framework :rspec, :fixture => false
end

initializer "guide.assets.precompile" do |app|
app.config.assets.precompile += %w[guide/application.js guide/scenario.js guide/application.css]
end
end
end
2 changes: 1 addition & 1 deletion lib/guide/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Guide
VERSION = "0.6.1"
VERSION = "0.7.0"
end

0 comments on commit 1f58f71

Please sign in to comment.