diff --git a/README.md b/README.md index c18394cf..187941c9 100644 --- a/README.md +++ b/README.md @@ -38,11 +38,7 @@ A GitHub personal access token is required if you want Jekyll to retrieve GitHub ## Releasing -Ensure the version in `lib/version.rb` is the new version. If not change it and commit this change. - -Then run `rake release`. A git tag will be created and pushed, and the new version of the gem will be pushed to rubygems. - -Increase version to new working version, update the sequent version for all the `gemfiles`: +Ensure the version in `lib/version.rb` is the new version. If not change it and update the sequent version for all the `gemfiles`: ``` BUNDLE_GEMFILE=gemfiles/ar_7_1.gemfile bundle update sequent --conservative @@ -50,6 +46,11 @@ BUNDLE_GEMFILE=gemfiles/ar_7_2.gemfile bundle update sequent --conservative BUNDLE_GEMFILE=gemfiles/ar_8_0.gemfile bundle update sequent --conservative ``` +Commit the changes. + +Then run `rake release`. A git tag will be created and pushed, and the new version of the gem will be pushed to rubygems. + + ## Running the specs ### Database setup diff --git a/gemfiles/ar_7_1.gemfile.lock b/gemfiles/ar_7_1.gemfile.lock index c6c97e40..5afdc085 100644 --- a/gemfiles/ar_7_1.gemfile.lock +++ b/gemfiles/ar_7_1.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - sequent (8.0.1) + sequent (8.0.2) activemodel (>= 7.1.3) activerecord (>= 7.1.3) bcrypt (~> 3.1) diff --git a/gemfiles/ar_7_2.gemfile.lock b/gemfiles/ar_7_2.gemfile.lock index ba6bb0bb..023e21a3 100644 --- a/gemfiles/ar_7_2.gemfile.lock +++ b/gemfiles/ar_7_2.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - sequent (8.0.1) + sequent (8.0.2) activemodel (>= 7.1.3) activerecord (>= 7.1.3) bcrypt (~> 3.1) diff --git a/gemfiles/ar_8_0.gemfile.lock b/gemfiles/ar_8_0.gemfile.lock index 9bc5642e..46ccf75a 100644 --- a/gemfiles/ar_8_0.gemfile.lock +++ b/gemfiles/ar_8_0.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - sequent (8.0.1) + sequent (8.0.2) activemodel (>= 7.1.3) activerecord (>= 7.1.3) bcrypt (~> 3.1) @@ -154,4 +154,4 @@ DEPENDENCIES timecop (~> 0.9) BUNDLED WITH - 2.5.3 + 2.5.22 diff --git a/integration-specs/rails-app/Gemfile.lock b/integration-specs/rails-app/Gemfile.lock new file mode 100644 index 00000000..fb2b909b --- /dev/null +++ b/integration-specs/rails-app/Gemfile.lock @@ -0,0 +1,330 @@ +PATH + remote: ../.. + specs: + sequent (8.0.2) + activemodel (>= 7.1.3) + activerecord (>= 7.1.3) + bcrypt (~> 3.1) + csv (~> 3.3) + gli (~> 2.22) + i18n + logger (~> 1.6) + oj (~> 3.3) + parallel (~> 1.20) + parser (>= 2.6.5, < 3.4) + pg (~> 1.2) + postgresql_cursor (~> 0.6) + thread_safe (~> 0.3.6) + tty-prompt (~> 0.23.1) + tzinfo (>= 1.1) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (7.2.2.1) + actionpack (= 7.2.2.1) + activesupport (= 7.2.2.1) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + zeitwerk (~> 2.6) + actionmailbox (7.2.2.1) + actionpack (= 7.2.2.1) + activejob (= 7.2.2.1) + activerecord (= 7.2.2.1) + activestorage (= 7.2.2.1) + activesupport (= 7.2.2.1) + mail (>= 2.8.0) + actionmailer (7.2.2.1) + actionpack (= 7.2.2.1) + actionview (= 7.2.2.1) + activejob (= 7.2.2.1) + activesupport (= 7.2.2.1) + mail (>= 2.8.0) + rails-dom-testing (~> 2.2) + actionpack (7.2.2.1) + actionview (= 7.2.2.1) + activesupport (= 7.2.2.1) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4, < 3.2) + rack-session (>= 1.0.1) + rack-test (>= 0.6.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + useragent (~> 0.16) + actiontext (7.2.2.1) + actionpack (= 7.2.2.1) + activerecord (= 7.2.2.1) + activestorage (= 7.2.2.1) + activesupport (= 7.2.2.1) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.2.2.1) + activesupport (= 7.2.2.1) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activejob (7.2.2.1) + activesupport (= 7.2.2.1) + globalid (>= 0.3.6) + activemodel (7.2.2.1) + activesupport (= 7.2.2.1) + activerecord (7.2.2.1) + activemodel (= 7.2.2.1) + activesupport (= 7.2.2.1) + timeout (>= 0.4.0) + activestorage (7.2.2.1) + actionpack (= 7.2.2.1) + activejob (= 7.2.2.1) + activerecord (= 7.2.2.1) + activesupport (= 7.2.2.1) + marcel (~> 1.0) + activesupport (7.2.2.1) + base64 + benchmark (>= 0.3) + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + ast (2.4.2) + base64 (0.2.0) + bcrypt (3.1.20) + benchmark (0.4.0) + bigdecimal (3.1.9) + bindex (0.8.1) + bootsnap (1.18.4) + msgpack (~> 1.2) + builder (3.3.0) + capybara (3.40.0) + addressable + matrix + mini_mime (>= 0.1.3) + nokogiri (~> 1.11) + rack (>= 1.6.0) + rack-test (>= 0.6.3) + regexp_parser (>= 1.5, < 3.0) + xpath (~> 3.2) + concurrent-ruby (1.3.4) + connection_pool (2.5.0) + crass (1.0.6) + csv (3.3.2) + date (3.4.1) + debug (1.10.0) + irb (~> 1.10) + reline (>= 0.3.8) + diff-lcs (1.5.1) + drb (2.2.1) + erubi (1.13.1) + gli (2.22.0) + globalid (1.2.1) + activesupport (>= 6.1) + i18n (1.14.6) + concurrent-ruby (~> 1.0) + importmap-rails (2.1.0) + actionpack (>= 6.0.0) + activesupport (>= 6.0.0) + railties (>= 6.0.0) + io-console (0.8.0) + irb (1.14.3) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jbuilder (2.13.0) + actionview (>= 5.0.0) + activesupport (>= 5.0.0) + logger (1.6.5) + loofah (2.24.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.4) + matrix (0.4.2) + mini_mime (1.1.5) + minitest (5.25.4) + msgpack (1.7.5) + net-imap (0.5.5) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.5.0) + net-protocol + nio4r (2.7.4) + nokogiri (1.18.1-arm64-darwin) + racc (~> 1.4) + oj (3.16.9) + bigdecimal (>= 3.0) + ostruct (>= 0.2) + ostruct (0.6.1) + parallel (1.26.3) + parser (3.3.6.0) + ast (~> 2.4.1) + racc + pastel (0.8.0) + tty-color (~> 0.5) + pg (1.5.9) + postgresql_cursor (0.6.9) + activerecord (>= 6.0) + psych (5.2.2) + date + stringio + public_suffix (6.0.1) + puma (6.5.0) + nio4r (~> 2.0) + racc (1.8.1) + rack (3.1.8) + rack-session (2.1.0) + base64 (>= 0.1.0) + rack (>= 3.0.0) + rack-test (2.2.0) + rack (>= 1.3) + rackup (2.2.1) + rack (>= 3) + rails (7.2.2.1) + actioncable (= 7.2.2.1) + actionmailbox (= 7.2.2.1) + actionmailer (= 7.2.2.1) + actionpack (= 7.2.2.1) + actiontext (= 7.2.2.1) + actionview (= 7.2.2.1) + activejob (= 7.2.2.1) + activemodel (= 7.2.2.1) + activerecord (= 7.2.2.1) + activestorage (= 7.2.2.1) + activesupport (= 7.2.2.1) + bundler (>= 1.15.0) + railties (= 7.2.2.1) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.2) + loofah (~> 2.21) + nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) + railties (7.2.2.1) + actionpack (= 7.2.2.1) + activesupport (= 7.2.2.1) + irb (~> 1.13) + rackup (>= 1.0.0) + rake (>= 12.2) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) + rake (13.2.1) + rdoc (6.10.0) + psych (>= 4.0.0) + redis (4.8.1) + regexp_parser (2.10.0) + reline (0.6.0) + io-console (~> 0.5) + rexml (3.4.0) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.2) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-rails (7.1.0) + actionpack (>= 7.0) + activesupport (>= 7.0) + railties (>= 7.0) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-support (3.13.2) + rubyzip (2.4.1) + securerandom (0.4.1) + selenium-webdriver (4.27.0) + base64 (~> 0.2) + logger (~> 1.4) + rexml (~> 3.2, >= 3.2.5) + rubyzip (>= 1.2.2, < 3.0) + websocket (~> 1.0) + sprockets (4.2.1) + concurrent-ruby (~> 1.0) + rack (>= 2.2.4, < 4) + sprockets-rails (3.5.2) + actionpack (>= 6.1) + activesupport (>= 6.1) + sprockets (>= 3.0.0) + stimulus-rails (1.3.4) + railties (>= 6.0.0) + stringio (3.1.2) + thor (1.3.2) + thread_safe (0.3.6) + timeout (0.4.3) + tty-color (0.6.0) + tty-cursor (0.7.1) + tty-prompt (0.23.1) + pastel (~> 0.8) + tty-reader (~> 0.8) + tty-reader (0.9.0) + tty-cursor (~> 0.7) + tty-screen (~> 0.8) + wisper (~> 2.0) + tty-screen (0.8.2) + turbo-rails (2.0.11) + actionpack (>= 6.0.0) + railties (>= 6.0.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + useragent (0.16.11) + web-console (4.2.1) + actionview (>= 6.0.0) + activemodel (>= 6.0.0) + bindex (>= 0.4.0) + railties (>= 6.0.0) + websocket (1.2.11) + websocket-driver (0.7.7) + base64 + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + wisper (2.0.1) + xpath (3.2.0) + nokogiri (~> 1.8) + zeitwerk (2.7.1) + +PLATFORMS + arm64-darwin + +DEPENDENCIES + bootsnap + capybara + debug + importmap-rails + jbuilder + pg + puma (~> 6.0) + rails (~> 7.1) + redis (~> 4.0) + rspec + rspec-rails + selenium-webdriver + sequent! + sprockets-rails + stimulus-rails + turbo-rails + tzinfo-data + web-console + +BUNDLED WITH + 2.5.18 diff --git a/integration-specs/simple/Gemfile.lock b/integration-specs/simple/Gemfile.lock new file mode 100644 index 00000000..39ac66cd --- /dev/null +++ b/integration-specs/simple/Gemfile.lock @@ -0,0 +1,110 @@ +PATH + remote: ../.. + specs: + sequent (8.0.2) + activemodel (>= 7.1.3) + activerecord (>= 7.1.3) + bcrypt (~> 3.1) + csv (~> 3.3) + gli (~> 2.22) + i18n + logger (~> 1.6) + oj (~> 3.3) + parallel (~> 1.20) + parser (>= 2.6.5, < 3.4) + pg (~> 1.2) + postgresql_cursor (~> 0.6) + thread_safe (~> 0.3.6) + tty-prompt (~> 0.23.1) + tzinfo (>= 1.1) + +GEM + remote: https://rubygems.org/ + specs: + activemodel (7.2.2.1) + activesupport (= 7.2.2.1) + activerecord (7.2.2.1) + activemodel (= 7.2.2.1) + activesupport (= 7.2.2.1) + timeout (>= 0.4.0) + activesupport (7.2.2.1) + base64 + benchmark (>= 0.3) + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + ast (2.4.2) + base64 (0.2.0) + bcrypt (3.1.20) + benchmark (0.4.0) + bigdecimal (3.1.9) + concurrent-ruby (1.3.4) + connection_pool (2.5.0) + csv (3.3.2) + diff-lcs (1.5.1) + drb (2.2.1) + gli (2.22.0) + i18n (1.14.6) + concurrent-ruby (~> 1.0) + logger (1.6.5) + minitest (5.25.4) + oj (3.16.9) + bigdecimal (>= 3.0) + ostruct (>= 0.2) + ostruct (0.6.1) + parallel (1.26.3) + parser (3.3.6.0) + ast (~> 2.4.1) + racc + pastel (0.8.0) + tty-color (~> 0.5) + pg (1.5.9) + postgresql_cursor (0.6.9) + activerecord (>= 6.0) + racc (1.8.1) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.2) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.2) + securerandom (0.4.1) + thread_safe (0.3.6) + timeout (0.4.3) + tty-color (0.6.0) + tty-cursor (0.7.1) + tty-prompt (0.23.1) + pastel (~> 0.8) + tty-reader (~> 0.8) + tty-reader (0.9.0) + tty-cursor (~> 0.7) + tty-screen (~> 0.8) + wisper (~> 2.0) + tty-screen (0.8.2) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + wisper (2.0.1) + +PLATFORMS + arm64-darwin-23 + ruby + +DEPENDENCIES + rspec + sequent! + +BUNDLED WITH + 2.5.18