diff --git a/Gemfile.lock b/Gemfile.lock index 19aaabb5..cf906bd8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - factory_bot (6.2.1) + factory_bot (6.3.0) activesupport (>= 5.0.0) GEM diff --git a/NEWS.md b/NEWS.md index d0e00c1c..d180d3ed 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,9 +1,27 @@ # News -## Unreleased - - * Changed: Explicitly define `#destroyed?` within the `Stub` strategy to return `false` to be consistent - with `#new_record?` and `#persisted?`. +## 6.3.0 (September 1, 2023) + + * Fix: link to changelog for RubyGems (Berkan Ünal). + * Fix: integrate with Ruby 3.2's `did_you_mean` library (Daniel Colson). + * Changed: explicitly define `#destroyed?` within the `Stub` strategy to return `false` to be consistent + with ActiveRecord (Benjamin Fleischer). + * Added: announce `factory_bot.compile_factory` notification (Sean Doyle). + * Docs: clarify that custom strategies need to define `#to_sym` (Edmund Korley, Jonas S). + * Docs: fix CI link in README (Mark Huk). + * Docs: fix GitHub links (Robert Fletcher). + * Docs: install this library with `bundle add` (Glauco Custódio). + * Docs: re-write into mdBook (Mike Burns, Sara Jackson, Stefanni Brasil) + * Docs: clarify that automatic trait definitions could introduce new linting errors (Lawrence Chou). + * Internal: skip TruffleRuby on Rails 5.0, 5.1, 5.2 (Andrii Konchyn). + * Internal: fix typoes throughout codebase (Yudai Takada). + * Internal: run CI on `actions/checkout` v3 (Yudai Takada). + * Internal: follow standardrb code style (Yudai Takada). + * Internal: stop using Hound (Daniel Nolan). + * Internal: only run simplecov on C Ruby (Daniel Colson). + * Internal: quieter Cucumber (Daniel Colson). + * Internal: Ruby 3.2 support (Daniel Colson). + * Internal: Mike Burns is the CODEOWNER (Stefanni Brasil). ## 6.2.1 (March 8, 2022) * Added: CI testing against truffleruby diff --git a/gemfiles/5.0.gemfile.lock b/gemfiles/5.0.gemfile.lock index ae70f375..31e54686 100644 --- a/gemfiles/5.0.gemfile.lock +++ b/gemfiles/5.0.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - factory_bot (6.1.0) + factory_bot (6.3.0) activesupport (>= 5.0.0) GEM @@ -154,4 +154,4 @@ DEPENDENCIES yard BUNDLED WITH - 2.1.4 + 2.3.25 diff --git a/gemfiles/5.1.gemfile.lock b/gemfiles/5.1.gemfile.lock index 4f855eef..5e9fd1c4 100644 --- a/gemfiles/5.1.gemfile.lock +++ b/gemfiles/5.1.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - factory_bot (6.1.0) + factory_bot (6.3.0) activesupport (>= 5.0.0) GEM @@ -154,4 +154,4 @@ DEPENDENCIES yard BUNDLED WITH - 2.1.4 + 2.3.25 diff --git a/gemfiles/5.2.gemfile.lock b/gemfiles/5.2.gemfile.lock index 81c9719e..35512413 100644 --- a/gemfiles/5.2.gemfile.lock +++ b/gemfiles/5.2.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - factory_bot (6.1.0) + factory_bot (6.3.0) activesupport (>= 5.0.0) GEM @@ -154,4 +154,4 @@ DEPENDENCIES yard BUNDLED WITH - 2.1.4 + 2.3.25 diff --git a/gemfiles/6.0.gemfile.lock b/gemfiles/6.0.gemfile.lock index d720a4ef..255df3ea 100644 --- a/gemfiles/6.0.gemfile.lock +++ b/gemfiles/6.0.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - factory_bot (6.1.0) + factory_bot (6.3.0) activesupport (>= 5.0.0) GEM @@ -140,7 +140,7 @@ PLATFORMS DEPENDENCIES activerecord (~> 6.0.0) - activerecord-jdbcsqlite3-adapter (~> 60.0.rc1) + activerecord-jdbcsqlite3-adapter (~> 60.0) appraisal aruba cucumber @@ -154,4 +154,4 @@ DEPENDENCIES yard BUNDLED WITH - 2.1.4 + 2.3.25 diff --git a/gemfiles/6.1.gemfile.lock b/gemfiles/6.1.gemfile.lock index 5c428ec5..0e93d3b1 100644 --- a/gemfiles/6.1.gemfile.lock +++ b/gemfiles/6.1.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - factory_bot (6.1.0) + factory_bot (6.3.0) activesupport (>= 5.0.0) GEM @@ -140,7 +140,7 @@ PLATFORMS DEPENDENCIES activerecord (~> 6.1.0) - activerecord-jdbcsqlite3-adapter (~> 60.0.rc1) + activerecord-jdbcsqlite3-adapter (~> 61.0) appraisal aruba cucumber @@ -154,4 +154,4 @@ DEPENDENCIES yard BUNDLED WITH - 2.1.4 + 2.3.25 diff --git a/gemfiles/7.0.gemfile.lock b/gemfiles/7.0.gemfile.lock new file mode 100644 index 00000000..68d157b4 --- /dev/null +++ b/gemfiles/7.0.gemfile.lock @@ -0,0 +1,161 @@ +PATH + remote: .. + specs: + factory_bot (6.3.0) + activesupport (>= 5.0.0) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (7.0.6) + activesupport (= 7.0.6) + activerecord (7.0.6) + activemodel (= 7.0.6) + activesupport (= 7.0.6) + activesupport (7.0.6) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + appraisal (2.4.1) + bundler + rake + thor (>= 0.14.0) + aruba (2.1.0) + bundler (>= 1.17, < 3.0) + childprocess (>= 2.0, < 5.0) + contracts (>= 0.16.0, < 0.18.0) + cucumber (>= 4.0, < 9.0) + rspec-expectations (~> 3.4) + thor (~> 1.0) + ast (2.4.2) + builder (3.2.4) + childprocess (4.1.0) + concurrent-ruby (1.2.2) + contracts (0.17) + cucumber (8.0.0) + builder (~> 3.2, >= 3.2.4) + cucumber-ci-environment (~> 9.0, >= 9.0.4) + cucumber-core (~> 11.0, >= 11.0.0) + cucumber-cucumber-expressions (~> 15.1, >= 15.1.1) + cucumber-gherkin (~> 23.0, >= 23.0.1) + cucumber-html-formatter (~> 19.1, >= 19.1.0) + cucumber-messages (~> 18.0, >= 18.0.0) + diff-lcs (~> 1.5, >= 1.5.0) + mime-types (~> 3.4, >= 3.4.1) + multi_test (~> 1.1, >= 1.1.0) + sys-uname (~> 1.2, >= 1.2.2) + cucumber-ci-environment (9.1.0) + cucumber-core (11.0.0) + cucumber-gherkin (~> 23.0, >= 23.0.1) + cucumber-messages (~> 18.0, >= 18.0.0) + cucumber-tag-expressions (~> 4.1, >= 4.1.0) + cucumber-cucumber-expressions (15.2.0) + cucumber-gherkin (23.0.1) + cucumber-messages (~> 18.0, >= 18.0.0) + cucumber-html-formatter (19.2.0) + cucumber-messages (~> 18.0, >= 18.0.0) + cucumber-messages (18.0.0) + cucumber-tag-expressions (4.1.0) + diff-lcs (1.5.0) + docile (1.4.0) + ffi (1.15.5) + i18n (1.14.1) + concurrent-ruby (~> 1.0) + json (2.6.3) + language_server-protocol (3.17.0.3) + lint_roller (1.0.0) + mime-types (3.4.1) + mime-types-data (~> 3.2015) + mime-types-data (3.2023.0218.1) + minitest (5.18.1) + multi_test (1.1.0) + parallel (1.23.0) + parser (3.2.2.3) + ast (~> 2.4.1) + racc + racc (1.7.1) + rainbow (3.1.1) + rake (13.0.6) + regexp_parser (2.8.0) + rexml (3.2.5) + rspec (3.10.0) + rspec-core (~> 3.10.0) + rspec-expectations (~> 3.10.0) + rspec-mocks (~> 3.10.0) + rspec-core (3.10.1) + rspec-support (~> 3.10.0) + rspec-expectations (3.10.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-its (1.3.0) + rspec-core (>= 3.0.0) + rspec-expectations (>= 3.0.0) + rspec-mocks (3.10.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.10.0) + rspec-support (3.10.2) + rubocop (1.52.0) + json (~> 2.3) + parallel (~> 1.10) + parser (>= 3.2.0.0) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.28.0, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.29.0) + parser (>= 3.2.1.0) + rubocop-performance (1.18.0) + rubocop (>= 1.7.0, < 2.0) + rubocop-ast (>= 0.4.0) + ruby-progressbar (1.13.0) + simplecov (0.22.0) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + simplecov-html (0.12.3) + simplecov_json_formatter (0.1.4) + sqlite3 (1.6.3-x86_64-linux) + standard (1.29.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.52.0) + standard-custom (~> 1.0.0) + standard-performance (~> 1.1.0) + standard-custom (1.0.1) + lint_roller (~> 1.0) + standard-performance (1.1.0) + lint_roller (~> 1.0) + rubocop-performance (~> 1.18.0) + sys-uname (1.2.3) + ffi (~> 1.1) + thor (1.2.2) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unicode-display_width (2.4.2) + webrick (1.7.0) + yard (0.9.28) + webrick (~> 1.7.0) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + activerecord (~> 7.0.0) + activerecord-jdbcsqlite3-adapter (~> 61.0) + appraisal + aruba + cucumber + factory_bot! + rake + rspec + rspec-its + simplecov + sqlite3 + standard + yard + +BUNDLED WITH + 2.3.25 diff --git a/gemfiles/main.gemfile.lock b/gemfiles/main.gemfile.lock index 42448ec5..b75a154e 100644 --- a/gemfiles/main.gemfile.lock +++ b/gemfiles/main.gemfile.lock @@ -18,7 +18,7 @@ GIT PATH remote: .. specs: - factory_bot (6.1.0) + factory_bot (6.3.0) activesupport (>= 5.0.0) GEM @@ -146,7 +146,7 @@ PLATFORMS DEPENDENCIES activerecord! - activerecord-jdbcsqlite3-adapter (~> 60.0) + activerecord-jdbcsqlite3-adapter (~> 61.0) appraisal aruba cucumber @@ -160,4 +160,4 @@ DEPENDENCIES yard BUNDLED WITH - 2.1.4 + 2.3.25 diff --git a/lib/factory_bot/version.rb b/lib/factory_bot/version.rb index 239601e0..e247e08b 100644 --- a/lib/factory_bot/version.rb +++ b/lib/factory_bot/version.rb @@ -1,3 +1,3 @@ module FactoryBot - VERSION = "6.2.1".freeze + VERSION = "6.3.0".freeze end