Subprincples now have a default of false in the affirmative column.
We do now need to be able to flip that to :true and add the evidence.
This commit is contained in:
parent
175367a189
commit
0a59311f2c
@ -1 +0,0 @@
|
|||||||
ruby-3.2.2
|
|
||||||
4
Gemfile
4
Gemfile
@ -4,12 +4,12 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|||||||
gem 'devise'
|
gem 'devise'
|
||||||
gem 'cancancan'
|
gem 'cancancan'
|
||||||
|
|
||||||
ruby "3.2.2"
|
ruby "3.3.0"
|
||||||
|
|
||||||
gem "nokogiri", force_ruby_platform: true
|
gem "nokogiri", force_ruby_platform: true
|
||||||
|
|
||||||
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
|
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
|
||||||
gem "rails", "~> 7.0.4.3"
|
gem "rails", "~> 7.1.3.2"
|
||||||
|
|
||||||
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
|
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
|
||||||
gem "sprockets-rails"
|
gem "sprockets-rails"
|
||||||
|
|||||||
294
Gemfile.lock
294
Gemfile.lock
@ -1,216 +1,244 @@
|
|||||||
GIT
|
GIT
|
||||||
remote: https://github.com/puma/puma
|
remote: https://github.com/puma/puma
|
||||||
revision: fd259b7f1a64a505b694cd7cdef605a7de731611
|
revision: 7a999de2f0da5648c30f62a6e11d74c7ddbe4e00
|
||||||
branch: master
|
branch: master
|
||||||
specs:
|
specs:
|
||||||
puma (6.2.2)
|
puma (6.4.2)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
actioncable (7.0.4.3)
|
actioncable (7.1.3.2)
|
||||||
actionpack (= 7.0.4.3)
|
actionpack (= 7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activesupport (= 7.1.3.2)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
websocket-driver (>= 0.6.1)
|
websocket-driver (>= 0.6.1)
|
||||||
actionmailbox (7.0.4.3)
|
zeitwerk (~> 2.6)
|
||||||
actionpack (= 7.0.4.3)
|
actionmailbox (7.1.3.2)
|
||||||
activejob (= 7.0.4.3)
|
actionpack (= 7.1.3.2)
|
||||||
activerecord (= 7.0.4.3)
|
activejob (= 7.1.3.2)
|
||||||
activestorage (= 7.0.4.3)
|
activerecord (= 7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activestorage (= 7.1.3.2)
|
||||||
|
activesupport (= 7.1.3.2)
|
||||||
mail (>= 2.7.1)
|
mail (>= 2.7.1)
|
||||||
net-imap
|
net-imap
|
||||||
net-pop
|
net-pop
|
||||||
net-smtp
|
net-smtp
|
||||||
actionmailer (7.0.4.3)
|
actionmailer (7.1.3.2)
|
||||||
actionpack (= 7.0.4.3)
|
actionpack (= 7.1.3.2)
|
||||||
actionview (= 7.0.4.3)
|
actionview (= 7.1.3.2)
|
||||||
activejob (= 7.0.4.3)
|
activejob (= 7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activesupport (= 7.1.3.2)
|
||||||
mail (~> 2.5, >= 2.5.4)
|
mail (~> 2.5, >= 2.5.4)
|
||||||
net-imap
|
net-imap
|
||||||
net-pop
|
net-pop
|
||||||
net-smtp
|
net-smtp
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.2)
|
||||||
actionpack (7.0.4.3)
|
actionpack (7.1.3.2)
|
||||||
actionview (= 7.0.4.3)
|
actionview (= 7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activesupport (= 7.1.3.2)
|
||||||
rack (~> 2.0, >= 2.2.0)
|
nokogiri (>= 1.8.5)
|
||||||
|
racc
|
||||||
|
rack (>= 2.2.4)
|
||||||
|
rack-session (>= 1.0.1)
|
||||||
rack-test (>= 0.6.3)
|
rack-test (>= 0.6.3)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.2)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
rails-html-sanitizer (~> 1.6)
|
||||||
actiontext (7.0.4.3)
|
actiontext (7.1.3.2)
|
||||||
actionpack (= 7.0.4.3)
|
actionpack (= 7.1.3.2)
|
||||||
activerecord (= 7.0.4.3)
|
activerecord (= 7.1.3.2)
|
||||||
activestorage (= 7.0.4.3)
|
activestorage (= 7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activesupport (= 7.1.3.2)
|
||||||
globalid (>= 0.6.0)
|
globalid (>= 0.6.0)
|
||||||
nokogiri (>= 1.8.5)
|
nokogiri (>= 1.8.5)
|
||||||
actionview (7.0.4.3)
|
actionview (7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activesupport (= 7.1.3.2)
|
||||||
builder (~> 3.1)
|
builder (~> 3.1)
|
||||||
erubi (~> 1.4)
|
erubi (~> 1.11)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.2)
|
||||||
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
rails-html-sanitizer (~> 1.6)
|
||||||
activejob (7.0.4.3)
|
activejob (7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activesupport (= 7.1.3.2)
|
||||||
globalid (>= 0.3.6)
|
globalid (>= 0.3.6)
|
||||||
activemodel (7.0.4.3)
|
activemodel (7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activesupport (= 7.1.3.2)
|
||||||
activerecord (7.0.4.3)
|
activerecord (7.1.3.2)
|
||||||
activemodel (= 7.0.4.3)
|
activemodel (= 7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activesupport (= 7.1.3.2)
|
||||||
activestorage (7.0.4.3)
|
timeout (>= 0.4.0)
|
||||||
actionpack (= 7.0.4.3)
|
activestorage (7.1.3.2)
|
||||||
activejob (= 7.0.4.3)
|
actionpack (= 7.1.3.2)
|
||||||
activerecord (= 7.0.4.3)
|
activejob (= 7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activerecord (= 7.1.3.2)
|
||||||
|
activesupport (= 7.1.3.2)
|
||||||
marcel (~> 1.0)
|
marcel (~> 1.0)
|
||||||
mini_mime (>= 1.1.0)
|
activesupport (7.1.3.2)
|
||||||
activesupport (7.0.4.3)
|
base64
|
||||||
|
bigdecimal
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
|
connection_pool (>= 2.2.5)
|
||||||
|
drb
|
||||||
i18n (>= 1.6, < 2)
|
i18n (>= 1.6, < 2)
|
||||||
minitest (>= 5.1)
|
minitest (>= 5.1)
|
||||||
|
mutex_m
|
||||||
tzinfo (~> 2.0)
|
tzinfo (~> 2.0)
|
||||||
addressable (2.8.4)
|
addressable (2.8.6)
|
||||||
public_suffix (>= 2.0.2, < 6.0)
|
public_suffix (>= 2.0.2, < 6.0)
|
||||||
bcrypt (3.1.18)
|
base64 (0.2.0)
|
||||||
|
bcrypt (3.1.20)
|
||||||
|
bigdecimal (3.1.7)
|
||||||
bindex (0.8.1)
|
bindex (0.8.1)
|
||||||
bootsnap (1.16.0)
|
bootsnap (1.18.3)
|
||||||
msgpack (~> 1.2)
|
msgpack (~> 1.2)
|
||||||
builder (3.2.4)
|
builder (3.2.4)
|
||||||
cancancan (3.5.0)
|
cancancan (3.5.0)
|
||||||
capybara (3.39.0)
|
capybara (3.40.0)
|
||||||
addressable
|
addressable
|
||||||
matrix
|
matrix
|
||||||
mini_mime (>= 0.1.3)
|
mini_mime (>= 0.1.3)
|
||||||
nokogiri (~> 1.8)
|
nokogiri (~> 1.11)
|
||||||
rack (>= 1.6.0)
|
rack (>= 1.6.0)
|
||||||
rack-test (>= 0.6.3)
|
rack-test (>= 0.6.3)
|
||||||
regexp_parser (>= 1.5, < 3.0)
|
regexp_parser (>= 1.5, < 3.0)
|
||||||
xpath (~> 3.2)
|
xpath (~> 3.2)
|
||||||
concurrent-ruby (1.2.2)
|
concurrent-ruby (1.2.3)
|
||||||
|
connection_pool (2.4.1)
|
||||||
crass (1.0.6)
|
crass (1.0.6)
|
||||||
date (3.3.3)
|
date (3.3.4)
|
||||||
debug (1.7.2)
|
debug (1.9.2)
|
||||||
irb (>= 1.5.0)
|
irb (~> 1.10)
|
||||||
reline (>= 0.3.1)
|
reline (>= 0.3.8)
|
||||||
devise (4.9.2)
|
devise (4.9.4)
|
||||||
bcrypt (~> 3.0)
|
bcrypt (~> 3.0)
|
||||||
orm_adapter (~> 0.1)
|
orm_adapter (~> 0.1)
|
||||||
railties (>= 4.1.0)
|
railties (>= 4.1.0)
|
||||||
responders
|
responders
|
||||||
warden (~> 1.2.3)
|
warden (~> 1.2.3)
|
||||||
|
drb (2.2.1)
|
||||||
erubi (1.12.0)
|
erubi (1.12.0)
|
||||||
ffi (1.15.5)
|
ffi (1.16.3)
|
||||||
globalid (1.1.0)
|
globalid (1.2.1)
|
||||||
activesupport (>= 5.0)
|
activesupport (>= 6.1)
|
||||||
i18n (1.13.0)
|
i18n (1.14.4)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
image_processing (1.12.2)
|
image_processing (1.12.2)
|
||||||
mini_magick (>= 4.9.5, < 5)
|
mini_magick (>= 4.9.5, < 5)
|
||||||
ruby-vips (>= 2.0.17, < 3)
|
ruby-vips (>= 2.0.17, < 3)
|
||||||
importmap-rails (1.1.6)
|
importmap-rails (2.0.1)
|
||||||
actionpack (>= 6.0.0)
|
actionpack (>= 6.0.0)
|
||||||
|
activesupport (>= 6.0.0)
|
||||||
railties (>= 6.0.0)
|
railties (>= 6.0.0)
|
||||||
io-console (0.6.0)
|
io-console (0.7.2)
|
||||||
irb (1.6.4)
|
irb (1.12.0)
|
||||||
reline (>= 0.3.0)
|
rdoc
|
||||||
|
reline (>= 0.4.2)
|
||||||
jbuilder (2.11.5)
|
jbuilder (2.11.5)
|
||||||
actionview (>= 5.0.0)
|
actionview (>= 5.0.0)
|
||||||
activesupport (>= 5.0.0)
|
activesupport (>= 5.0.0)
|
||||||
loofah (2.20.0)
|
loofah (2.22.0)
|
||||||
crass (~> 1.0.2)
|
crass (~> 1.0.2)
|
||||||
nokogiri (>= 1.5.9)
|
nokogiri (>= 1.12.0)
|
||||||
mail (2.8.1)
|
mail (2.8.1)
|
||||||
mini_mime (>= 0.1.1)
|
mini_mime (>= 0.1.1)
|
||||||
net-imap
|
net-imap
|
||||||
net-pop
|
net-pop
|
||||||
net-smtp
|
net-smtp
|
||||||
marcel (1.0.2)
|
marcel (1.0.4)
|
||||||
matrix (0.4.2)
|
matrix (0.4.2)
|
||||||
method_source (1.0.0)
|
|
||||||
mini_magick (4.12.0)
|
mini_magick (4.12.0)
|
||||||
mini_mime (1.1.2)
|
mini_mime (1.1.5)
|
||||||
mini_portile2 (2.8.2)
|
mini_portile2 (2.8.6)
|
||||||
minitest (5.18.0)
|
minitest (5.22.3)
|
||||||
msgpack (1.7.0)
|
msgpack (1.7.2)
|
||||||
mysql2 (0.5.5)
|
mutex_m (0.2.0)
|
||||||
net-imap (0.3.4)
|
mysql2 (0.5.6)
|
||||||
|
net-imap (0.4.10)
|
||||||
date
|
date
|
||||||
net-protocol
|
net-protocol
|
||||||
net-pop (0.1.2)
|
net-pop (0.1.2)
|
||||||
net-protocol
|
net-protocol
|
||||||
net-protocol (0.2.1)
|
net-protocol (0.2.2)
|
||||||
timeout
|
timeout
|
||||||
net-smtp (0.3.3)
|
net-smtp (0.5.0)
|
||||||
net-protocol
|
net-protocol
|
||||||
nio4r (2.5.9)
|
nio4r (2.7.1)
|
||||||
nokogiri (1.14.3)
|
nokogiri (1.16.4)
|
||||||
mini_portile2 (~> 2.8.0)
|
mini_portile2 (~> 2.8.2)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
orm_adapter (0.5.0)
|
orm_adapter (0.5.0)
|
||||||
public_suffix (5.0.1)
|
psych (5.1.2)
|
||||||
racc (1.6.2)
|
stringio
|
||||||
rack (2.2.7)
|
public_suffix (5.0.5)
|
||||||
|
racc (1.7.3)
|
||||||
|
rack (2.2.9)
|
||||||
|
rack-session (1.0.2)
|
||||||
|
rack (< 3)
|
||||||
rack-test (2.1.0)
|
rack-test (2.1.0)
|
||||||
rack (>= 1.3)
|
rack (>= 1.3)
|
||||||
rails (7.0.4.3)
|
rackup (1.0.0)
|
||||||
actioncable (= 7.0.4.3)
|
rack (< 3)
|
||||||
actionmailbox (= 7.0.4.3)
|
webrick
|
||||||
actionmailer (= 7.0.4.3)
|
rails (7.1.3.2)
|
||||||
actionpack (= 7.0.4.3)
|
actioncable (= 7.1.3.2)
|
||||||
actiontext (= 7.0.4.3)
|
actionmailbox (= 7.1.3.2)
|
||||||
actionview (= 7.0.4.3)
|
actionmailer (= 7.1.3.2)
|
||||||
activejob (= 7.0.4.3)
|
actionpack (= 7.1.3.2)
|
||||||
activemodel (= 7.0.4.3)
|
actiontext (= 7.1.3.2)
|
||||||
activerecord (= 7.0.4.3)
|
actionview (= 7.1.3.2)
|
||||||
activestorage (= 7.0.4.3)
|
activejob (= 7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
activemodel (= 7.1.3.2)
|
||||||
|
activerecord (= 7.1.3.2)
|
||||||
|
activestorage (= 7.1.3.2)
|
||||||
|
activesupport (= 7.1.3.2)
|
||||||
bundler (>= 1.15.0)
|
bundler (>= 1.15.0)
|
||||||
railties (= 7.0.4.3)
|
railties (= 7.1.3.2)
|
||||||
rails-dom-testing (2.0.3)
|
rails-dom-testing (2.2.0)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 5.0.0)
|
||||||
|
minitest
|
||||||
nokogiri (>= 1.6)
|
nokogiri (>= 1.6)
|
||||||
rails-html-sanitizer (1.5.0)
|
rails-html-sanitizer (1.6.0)
|
||||||
loofah (~> 2.19, >= 2.19.1)
|
loofah (~> 2.21)
|
||||||
railties (7.0.4.3)
|
nokogiri (~> 1.14)
|
||||||
actionpack (= 7.0.4.3)
|
railties (7.1.3.2)
|
||||||
activesupport (= 7.0.4.3)
|
actionpack (= 7.1.3.2)
|
||||||
method_source
|
activesupport (= 7.1.3.2)
|
||||||
|
irb
|
||||||
|
rackup (>= 1.0.0)
|
||||||
rake (>= 12.2)
|
rake (>= 12.2)
|
||||||
thor (~> 1.0)
|
thor (~> 1.0, >= 1.2.2)
|
||||||
zeitwerk (~> 2.5)
|
zeitwerk (~> 2.6)
|
||||||
rake (13.0.6)
|
rake (13.2.1)
|
||||||
regexp_parser (2.8.0)
|
rdoc (6.6.3.1)
|
||||||
reline (0.3.3)
|
psych (>= 4.0.0)
|
||||||
|
regexp_parser (2.9.0)
|
||||||
|
reline (0.5.3)
|
||||||
io-console (~> 0.5)
|
io-console (~> 0.5)
|
||||||
responders (3.1.0)
|
responders (3.1.1)
|
||||||
actionpack (>= 5.2)
|
actionpack (>= 5.2)
|
||||||
railties (>= 5.2)
|
railties (>= 5.2)
|
||||||
rexml (3.2.5)
|
rexml (3.2.6)
|
||||||
ruby-vips (2.1.4)
|
ruby-vips (2.2.1)
|
||||||
ffi (~> 1.12)
|
ffi (~> 1.12)
|
||||||
rubyzip (2.3.2)
|
rubyzip (2.3.2)
|
||||||
selenium-webdriver (4.9.0)
|
selenium-webdriver (4.10.0)
|
||||||
rexml (~> 3.2, >= 3.2.5)
|
rexml (~> 3.2, >= 3.2.5)
|
||||||
rubyzip (>= 1.2.2, < 3.0)
|
rubyzip (>= 1.2.2, < 3.0)
|
||||||
websocket (~> 1.0)
|
websocket (~> 1.0)
|
||||||
spring (4.1.1)
|
spring (4.2.1)
|
||||||
sprockets (4.2.0)
|
sprockets (4.2.1)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
rack (>= 2.2.4, < 4)
|
rack (>= 2.2.4, < 4)
|
||||||
sprockets-rails (3.4.2)
|
sprockets-rails (3.4.2)
|
||||||
actionpack (>= 5.2)
|
actionpack (>= 5.2)
|
||||||
activesupport (>= 5.2)
|
activesupport (>= 5.2)
|
||||||
sprockets (>= 3.0.0)
|
sprockets (>= 3.0.0)
|
||||||
stimulus-rails (1.2.1)
|
stimulus-rails (1.3.3)
|
||||||
railties (>= 6.0.0)
|
railties (>= 6.0.0)
|
||||||
thor (1.2.1)
|
stringio (3.1.0)
|
||||||
timeout (0.3.2)
|
thor (1.3.1)
|
||||||
turbo-rails (1.4.0)
|
timeout (0.4.1)
|
||||||
|
turbo-rails (2.0.5)
|
||||||
actionpack (>= 6.0.0)
|
actionpack (>= 6.0.0)
|
||||||
activejob (>= 6.0.0)
|
activejob (>= 6.0.0)
|
||||||
railties (>= 6.0.0)
|
railties (>= 6.0.0)
|
||||||
@ -218,24 +246,32 @@ GEM
|
|||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
warden (1.2.9)
|
warden (1.2.9)
|
||||||
rack (>= 2.0.9)
|
rack (>= 2.0.9)
|
||||||
web-console (4.2.0)
|
web-console (4.2.1)
|
||||||
actionview (>= 6.0.0)
|
actionview (>= 6.0.0)
|
||||||
activemodel (>= 6.0.0)
|
activemodel (>= 6.0.0)
|
||||||
bindex (>= 0.4.0)
|
bindex (>= 0.4.0)
|
||||||
railties (>= 6.0.0)
|
railties (>= 6.0.0)
|
||||||
webdrivers (5.2.0)
|
webdrivers (5.3.1)
|
||||||
nokogiri (~> 1.6)
|
nokogiri (~> 1.6)
|
||||||
rubyzip (>= 1.3.0)
|
rubyzip (>= 1.3.0)
|
||||||
selenium-webdriver (~> 4.0)
|
selenium-webdriver (~> 4.0, < 4.11)
|
||||||
websocket (1.2.9)
|
webrick (1.8.1)
|
||||||
websocket-driver (0.7.5)
|
websocket (1.2.10)
|
||||||
|
websocket-driver (0.7.6)
|
||||||
websocket-extensions (>= 0.1.0)
|
websocket-extensions (>= 0.1.0)
|
||||||
websocket-extensions (0.1.5)
|
websocket-extensions (0.1.5)
|
||||||
xpath (3.2.0)
|
xpath (3.2.0)
|
||||||
nokogiri (~> 1.8)
|
nokogiri (~> 1.8)
|
||||||
zeitwerk (2.6.8)
|
zeitwerk (2.6.13)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
aarch64-linux
|
||||||
|
arm-linux
|
||||||
|
arm64-darwin
|
||||||
|
ruby
|
||||||
|
x86-linux
|
||||||
|
x86_64-darwin
|
||||||
|
x86_64-linux
|
||||||
x86_64-openbsd
|
x86_64-openbsd
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
@ -250,7 +286,7 @@ DEPENDENCIES
|
|||||||
mysql2 (~> 0.5)
|
mysql2 (~> 0.5)
|
||||||
nokogiri
|
nokogiri
|
||||||
puma!
|
puma!
|
||||||
rails (~> 7.0.4.3)
|
rails (~> 7.1.3.2)
|
||||||
selenium-webdriver
|
selenium-webdriver
|
||||||
spring
|
spring
|
||||||
sprockets-rails
|
sprockets-rails
|
||||||
@ -261,7 +297,7 @@ DEPENDENCIES
|
|||||||
webdrivers
|
webdrivers
|
||||||
|
|
||||||
RUBY VERSION
|
RUBY VERSION
|
||||||
ruby 3.2.2
|
ruby 3.3.0p0
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.3.26
|
2.5.3
|
||||||
|
|||||||
75
Gemfile.old
75
Gemfile.old
@ -1,75 +0,0 @@
|
|||||||
source "https://rubygems.org"
|
|
||||||
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
||||||
|
|
||||||
gem 'devise'
|
|
||||||
gem 'cancancan'
|
|
||||||
|
|
||||||
ruby "3.2.2"
|
|
||||||
|
|
||||||
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
|
|
||||||
gem "rails", "~> 7.0.4.3"
|
|
||||||
|
|
||||||
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
|
|
||||||
gem "sprockets-rails"
|
|
||||||
|
|
||||||
# Use mysql as the database for Active Record
|
|
||||||
gem "mysql2", "~> 0.5"
|
|
||||||
|
|
||||||
# Use the Puma web server [https://github.com/puma/puma]
|
|
||||||
gem "puma", git: 'https://github.com/puma/puma', branch: 'master'
|
|
||||||
|
|
||||||
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
|
|
||||||
gem "importmap-rails"
|
|
||||||
|
|
||||||
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
|
|
||||||
gem "turbo-rails"
|
|
||||||
|
|
||||||
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
|
|
||||||
gem "stimulus-rails"
|
|
||||||
|
|
||||||
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
|
|
||||||
gem "jbuilder"
|
|
||||||
|
|
||||||
# Use Redis adapter to run Action Cable in production
|
|
||||||
# gem "redis", "~> 4.0"
|
|
||||||
|
|
||||||
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
|
|
||||||
# gem "kredis"
|
|
||||||
|
|
||||||
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
|
|
||||||
# gem "bcrypt", "~> 3.1.7"
|
|
||||||
|
|
||||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
|
||||||
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
|
|
||||||
|
|
||||||
# Reduces boot times through caching; required in config/boot.rb
|
|
||||||
gem "bootsnap", require: false
|
|
||||||
|
|
||||||
# Use Sass to process CSS
|
|
||||||
# gem "sassc-rails"
|
|
||||||
|
|
||||||
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
|
|
||||||
gem "image_processing", "~> 1.2"
|
|
||||||
|
|
||||||
group :development, :test do
|
|
||||||
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
|
|
||||||
gem "debug", platforms: %i[ mri mingw x64_mingw ]
|
|
||||||
end
|
|
||||||
|
|
||||||
group :development do
|
|
||||||
# Use console on exceptions pages [https://github.com/rails/web-console]
|
|
||||||
gem "web-console"
|
|
||||||
|
|
||||||
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
|
|
||||||
# gem "rack-mini-profiler"
|
|
||||||
|
|
||||||
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
|
|
||||||
gem "spring"
|
|
||||||
end
|
|
||||||
|
|
||||||
group :test do
|
|
||||||
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
|
|
||||||
gem "capybara"
|
|
||||||
gem "selenium-webdriver"
|
|
||||||
gem "webdrivers"
|
|
||||||
end
|
|
||||||
@ -4,8 +4,6 @@ Welcome to the Hidden Agenda Ltd CAF tool to help you get organised to become Na
|
|||||||
|
|
||||||
This is a Ruby On Rails app and released under a MIT License.
|
This is a Ruby On Rails app and released under a MIT License.
|
||||||
|
|
||||||
This README would normally document whatever steps are necessary to get the
|
|
||||||
application up and running.
|
|
||||||
|
|
||||||
Things you may want to cover:
|
Things you may want to cover:
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ class CafsController < ApplicationController
|
|||||||
def update
|
def update
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
if @caf.update(caf_params)
|
if @caf.update(caf_params)
|
||||||
format.html { redirect_to caf_url(@caf), notice: "Caf was successfully updated." }
|
format.html { redirect_to company_caf_url(@company, @caf), notice: "Caf was successfully updated." }
|
||||||
format.json { render :show, status: :ok, location: @caf }
|
format.json { render :show, status: :ok, location: @caf }
|
||||||
else
|
else
|
||||||
format.html { render :edit, status: :unprocessable_entity }
|
format.html { render :edit, status: :unprocessable_entity }
|
||||||
@ -53,7 +53,7 @@ class CafsController < ApplicationController
|
|||||||
@caf.destroy
|
@caf.destroy
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html { redirect_to cafs_url, notice: "Caf was successfully destroyed." }
|
format.html { redirect_to authenticated_root_url, notice: "Caf was successfully destroyed." }
|
||||||
format.json { head :no_content }
|
format.json { head :no_content }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
<h1>Editing caf</h1>
|
<h1><%= @company.name%></h1>
|
||||||
|
<h2>Editing CAF: <%= @caf.name%></h2>
|
||||||
<%= render "form", caf: @caf %>
|
<%= render partial: "form", locals: { company: @company, caf: @caf } %>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<%= link_to "Show this caf", @caf %> |
|
<%= link_to "Show this CAF", company_caf_path(@company, @caf) %> |
|
||||||
<%= link_to "Back to cafs", cafs_path %>
|
<%# = link_to "Back to cafs", authenticated_root_path %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<h1>Cafs</h1>
|
<h1>Cafs</h1>
|
||||||
|
|
||||||
<div id="cafs">
|
<div id="cafs">
|
||||||
<% @cafs.each do |caf| %>
|
<% @company.cafs.each do |caf| %>
|
||||||
<%= render caf %>
|
<%= render caf %>
|
||||||
<p>
|
<p>
|
||||||
<%= link_to "Show this caf", caf %>
|
<%= link_to "Show this caf", caf %>
|
||||||
|
|||||||
@ -5,5 +5,5 @@
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<%= link_to "Back to cafs", company_cafs_path(@company) %>
|
<%= link_to "Back to CAF", company_cafs_path(@company) %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
<%= link_to "Edit this caf", edit_company_caf_path(@caf.company_id,@caf.id) %> |
|
<%= link_to "Edit this caf", edit_company_caf_path(@caf.company_id,@caf.id) %> |
|
||||||
<%= link_to "Back to cafs", company_cafs_path(@caf.company_id) %>
|
<%= link_to "Back to cafs", authenticated_root_path %>
|
||||||
|
|
||||||
<%= button_to "Destroy this caf", company_caf_path(@caf.id), method: :delete %>
|
<%= button_to "Destroy this caf", company_caf_path(@company.id, @caf.id), method: :delete %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -0,0 +1,5 @@
|
|||||||
|
class AlterTableSubprincipleitems < ActiveRecord::Migration[7.1]
|
||||||
|
def change
|
||||||
|
change_column_default :subprincipleitems, :affirmative, from: nil, to: false
|
||||||
|
end
|
||||||
|
end
|
||||||
30
db/schema.rb
generated
30
db/schema.rb
generated
@ -10,8 +10,8 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema[7.0].define(version: 2023_02_12_065945) do
|
ActiveRecord::Schema[7.1].define(version: 2024_04_25_091331) do
|
||||||
create_table "action_text_rich_texts", charset: "utf8mb4", force: :cascade do |t|
|
create_table "action_text_rich_texts", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.string "name", null: false
|
t.string "name", null: false
|
||||||
t.text "body", size: :long
|
t.text "body", size: :long
|
||||||
t.string "record_type", null: false
|
t.string "record_type", null: false
|
||||||
@ -21,7 +21,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_02_12_065945) do
|
|||||||
t.index ["record_type", "record_id", "name"], name: "index_action_text_rich_texts_uniqueness", unique: true
|
t.index ["record_type", "record_id", "name"], name: "index_action_text_rich_texts_uniqueness", unique: true
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "active_storage_attachments", charset: "utf8mb4", force: :cascade do |t|
|
create_table "active_storage_attachments", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.string "name", null: false
|
t.string "name", null: false
|
||||||
t.string "record_type", null: false
|
t.string "record_type", null: false
|
||||||
t.bigint "record_id", null: false
|
t.bigint "record_id", null: false
|
||||||
@ -31,7 +31,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_02_12_065945) do
|
|||||||
t.index ["record_type", "record_id", "name", "blob_id"], name: "index_active_storage_attachments_uniqueness", unique: true
|
t.index ["record_type", "record_id", "name", "blob_id"], name: "index_active_storage_attachments_uniqueness", unique: true
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "active_storage_blobs", charset: "utf8mb4", force: :cascade do |t|
|
create_table "active_storage_blobs", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.string "key", null: false
|
t.string "key", null: false
|
||||||
t.string "filename", null: false
|
t.string "filename", null: false
|
||||||
t.string "content_type"
|
t.string "content_type"
|
||||||
@ -43,13 +43,13 @@ ActiveRecord::Schema[7.0].define(version: 2023_02_12_065945) do
|
|||||||
t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true
|
t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "active_storage_variant_records", charset: "utf8mb4", force: :cascade do |t|
|
create_table "active_storage_variant_records", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.bigint "blob_id", null: false
|
t.bigint "blob_id", null: false
|
||||||
t.string "variation_digest", null: false
|
t.string "variation_digest", null: false
|
||||||
t.index ["blob_id", "variation_digest"], name: "index_active_storage_variant_records_uniqueness", unique: true
|
t.index ["blob_id", "variation_digest"], name: "index_active_storage_variant_records_uniqueness", unique: true
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "cafs", charset: "utf8mb4", force: :cascade do |t|
|
create_table "cafs", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.bigint "company_id", null: false
|
t.bigint "company_id", null: false
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.text "description"
|
t.text "description"
|
||||||
@ -58,20 +58,20 @@ ActiveRecord::Schema[7.0].define(version: 2023_02_12_065945) do
|
|||||||
t.index ["company_id"], name: "index_cafs_on_company_id"
|
t.index ["company_id"], name: "index_cafs_on_company_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "companies", charset: "utf8mb4", force: :cascade do |t|
|
create_table "companies", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "companies_users", id: false, charset: "utf8mb4", force: :cascade do |t|
|
create_table "companies_users", id: false, charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.bigint "user_id"
|
t.bigint "user_id"
|
||||||
t.bigint "company_id"
|
t.bigint "company_id"
|
||||||
t.index ["company_id"], name: "index_companies_users_on_company_id"
|
t.index ["company_id"], name: "index_companies_users_on_company_id"
|
||||||
t.index ["user_id"], name: "index_companies_users_on_user_id"
|
t.index ["user_id"], name: "index_companies_users_on_user_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "objectives", charset: "utf8mb4", force: :cascade do |t|
|
create_table "objectives", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.bigint "caf_id", null: false
|
t.bigint "caf_id", null: false
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.text "description"
|
t.text "description"
|
||||||
@ -80,7 +80,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_02_12_065945) do
|
|||||||
t.index ["caf_id"], name: "index_objectives_on_caf_id"
|
t.index ["caf_id"], name: "index_objectives_on_caf_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "principles", charset: "utf8mb4", force: :cascade do |t|
|
create_table "principles", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.bigint "objective_id", null: false
|
t.bigint "objective_id", null: false
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.text "description"
|
t.text "description"
|
||||||
@ -90,7 +90,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_02_12_065945) do
|
|||||||
t.index ["objective_id"], name: "fk_rails_7b57179db6"
|
t.index ["objective_id"], name: "fk_rails_7b57179db6"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "subprincipleitemgroups", charset: "utf8mb4", force: :cascade do |t|
|
create_table "subprincipleitemgroups", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.bigint "subprinciple_id", null: false
|
t.bigint "subprinciple_id", null: false
|
||||||
t.string "kind"
|
t.string "kind"
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
@ -99,16 +99,16 @@ ActiveRecord::Schema[7.0].define(version: 2023_02_12_065945) do
|
|||||||
t.index ["subprinciple_id"], name: "index_subprincipleitemgroups_on_subprinciple_id"
|
t.index ["subprinciple_id"], name: "index_subprincipleitemgroups_on_subprinciple_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "subprincipleitems", charset: "utf8mb4", force: :cascade do |t|
|
create_table "subprincipleitems", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.bigint "subprincipleitemgroup_id", null: false
|
t.bigint "subprincipleitemgroup_id", null: false
|
||||||
t.text "description"
|
t.text "description"
|
||||||
t.boolean "affirmative"
|
t.boolean "affirmative", default: false
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
t.index ["subprincipleitemgroup_id"], name: "index_subprincipleitems_on_subprincipleitemgroup_id"
|
t.index ["subprincipleitemgroup_id"], name: "index_subprincipleitems_on_subprincipleitemgroup_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "subprinciples", charset: "utf8mb4", force: :cascade do |t|
|
create_table "subprinciples", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.bigint "principle_id", null: false
|
t.bigint "principle_id", null: false
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.text "description"
|
t.text "description"
|
||||||
@ -118,7 +118,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_02_12_065945) do
|
|||||||
t.index ["principle_id"], name: "index_subprinciples_on_principle_id"
|
t.index ["principle_id"], name: "index_subprinciples_on_principle_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "users", charset: "utf8mb4", force: :cascade do |t|
|
create_table "users", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t|
|
||||||
t.string "email", default: "", null: false
|
t.string "email", default: "", null: false
|
||||||
t.string "encrypted_password", default: "", null: false
|
t.string "encrypted_password", default: "", null: false
|
||||||
t.string "reset_password_token"
|
t.string "reset_password_token"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user