Skip to content

Commit

Permalink
trim gem files (#1605)
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 authored Apr 3, 2024
1 parent f47e95e commit 6cbc81a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ Please follow the recommendations outlined at [keepachangelog.com](http://keepac
### [Unreleased]
Changes since the last non-beta release.

### [14.0.0] - 2024-04-03
_Major bump because dropping support for Ruby 2.7 and deprecated `webpackConfigLoader.js`._

#### Removed
- Dropped Ruby 2.7 support [PR 1595](https://github.com/shakacode/react_on_rails/pull/1595) by [ahangarha](https://github.com/ahangarha).
- Removed deprecated `webpackConfigLoader.js` [PR 1600](https://github.com/shakacode/react_on_rails/pull/1600) by [ahangarha](https://github.com/ahangarha).

#### Fixed
- Trimmed the Gem to remove package.json which could cause superflous security warnings. [PR 1605](https://github.com/shakacode/react_on_rails/pull/1605) by [justin808](https://github.com/justin808).
- Prevent displaying the deprecation message for using `webpacker_precompile?` method and `webpacker:clean` rake task when using Shakapacker v7+ [PR 1592](https://github.com/shakacode/react_on_rails/pull/1592) by [ahangarha](https://github.com/ahangarha).

### [13.4.1]
Expand Down Expand Up @@ -1120,7 +1124,8 @@ Best done with Object destructing:
##### Fixed
- Fix several generator-related issues.

[Unreleased]: https://github.com/shakacode/react_on_rails/compare/13.4.1...master
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/14.0.0...master
[14.0.0]: https://github.com/shakacode/react_on_rails/compare/13.4.1...14.0.0
[13.4.1]: https://github.com/shakacode/react_on_rails/compare/13.4.0...13.4.1
[13.4.0]: https://github.com/shakacode/react_on_rails/compare/13.3.5...13.4.0
[13.3.5]: https://github.com/shakacode/react_on_rails/compare/13.3.4...13.3.5
Expand Down
5 changes: 3 additions & 2 deletions react_on_rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ Gem::Specification.new do |s|
s.homepage = "https://github.com/shakacode/react_on_rails"
s.license = "MIT"

s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features|gen-examples|tmp|node_modules|node_package|coverage)/})
s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(docs|test|spec|features|gen-examples|tmp|node_modules|node_package|coverage|rakelib|script)/}) ||
f.match(%r{^(jest\.config\.js|book\.json|package\.json|package-scripts\.yml|yarn\.lock|\..*)})
end
s.bindir = "exe"
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
Expand Down
1 change: 1 addition & 0 deletions spec/dummy/config/initializers/content_security_policy.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Be sure to restart your server when you modify this file.

# Define an application-wide content security policy
Expand Down
1 change: 1 addition & 0 deletions spec/dummy/config/initializers/inflections.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Be sure to restart your server when you modify this file.

# Add new inflection rules using the following format. Inflections
Expand Down
1 change: 1 addition & 0 deletions spec/dummy/config/initializers/permissions_policy.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Define an application-wide HTTP permissions policy. For further
# information see https://developers.google.com/web/updates/2018/06/feature-policy
#
Expand Down
1 change: 1 addition & 0 deletions spec/dummy/db/seeds.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
Expand Down

0 comments on commit 6cbc81a

Please sign in to comment.