Changes for Fedora ruby 3.4 and rails 8
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'rails', '~> 7.1.2'
|
# gem 'rails', '~> 7.1.2'
|
||||||
|
# gem "rails", "~> 7.2.1", ">= 7.2.1.2"
|
||||||
|
gem 'rails', '~> 8.0.1'
|
||||||
gem 'rack-cors', require: 'rack/cors'
|
gem 'rack-cors', require: 'rack/cors'
|
||||||
|
|
||||||
# Bundle edge Rails instead:
|
# Bundle edge Rails instead:
|
||||||
@@ -16,8 +18,9 @@ gem 'slim-rails'
|
|||||||
#gem 'jsonapi-serializers', path: '/home/benjamin/development/rails/components/jsonapi-serializers'
|
#gem 'jsonapi-serializers', path: '/home/benjamin/development/rails/components/jsonapi-serializers'
|
||||||
gem 'jsonapi-serializers', github: 'bterkuile/jsonapi-serializers'
|
gem 'jsonapi-serializers', github: 'bterkuile/jsonapi-serializers'
|
||||||
gem 'ruby-handlebars'
|
gem 'ruby-handlebars'
|
||||||
|
|
||||||
group :assets do
|
group :assets do
|
||||||
gem 'bourbon' #, '4.0.2' #animation keyframes
|
# gem 'bourbon' #, '4.0.2' #animation keyframes
|
||||||
gem 'coffee-rails', '>= 5.0.0'
|
gem 'coffee-rails', '>= 5.0.0'
|
||||||
gem 'sass-rails' #, '~> 5.0.0'
|
gem 'sass-rails' #, '~> 5.0.0'
|
||||||
#gem 'twitter-bootstrap-rails'
|
#gem 'twitter-bootstrap-rails'
|
||||||
@@ -59,6 +62,7 @@ end
|
|||||||
# gem 'couchbase-structures', github: 'bterkuile/couchbase-structures'
|
# gem 'couchbase-structures', github: 'bterkuile/couchbase-structures'
|
||||||
|
|
||||||
#gem 'couch_potato', '>= 1.7.1' #, github: 'bterkuile/couch_potato'
|
#gem 'couch_potato', '>= 1.7.1' #, github: 'bterkuile/couch_potato'
|
||||||
|
gem 'mutex_m' # this is because the httpclient 2.8.3 requires it, and that one requires mutex_m, which is removed in ruby 3.4
|
||||||
gem 'couch_potato', github: 'langalex/couch_potato', branch: :main
|
gem 'couch_potato', github: 'langalex/couch_potato', branch: :main
|
||||||
#gem 'simply_stored', path: '~/development/rails/components/simply_stored' #, github: 'bterkuile/simply_stored'
|
#gem 'simply_stored', path: '~/development/rails/components/simply_stored' #, github: 'bterkuile/simply_stored'
|
||||||
gem 'simply_stored', github: 'bterkuile/simply_stored', branch: :master
|
gem 'simply_stored', github: 'bterkuile/simply_stored', branch: :master
|
||||||
@@ -108,8 +112,8 @@ group :development do
|
|||||||
gem 'letter_opener'
|
gem 'letter_opener'
|
||||||
# gem 'thin'
|
# gem 'thin'
|
||||||
gem 'faye'
|
gem 'faye'
|
||||||
gem 'spring'
|
#gem 'spring'
|
||||||
gem 'spring-commands-rspec'
|
#gem 'spring-commands-rspec'
|
||||||
#gem 'web-console', '~> 2.0.0'
|
#gem 'web-console', '~> 2.0.0'
|
||||||
gem 'foreman', require: false
|
gem 'foreman', require: false
|
||||||
#gem 'capistrano', require: false
|
#gem 'capistrano', require: false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
GIT
|
GIT
|
||||||
remote: https://github.com/bterkuile/cmtool.git
|
remote: https://github.com/bterkuile/cmtool.git
|
||||||
revision: 3aa204aa303c7c0579a00cf0b638e5e733ff8319
|
revision: 54e295836f8843866a12aa84f1d4fa7125751fb8
|
||||||
branch: master
|
branch: master
|
||||||
specs:
|
specs:
|
||||||
cmtool (2.0.0)
|
cmtool (2.0.0)
|
||||||
@@ -32,7 +32,7 @@ GIT
|
|||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: https://github.com/bterkuile/simply_stored.git
|
remote: https://github.com/bterkuile/simply_stored.git
|
||||||
revision: e95c81fa4a2783d3c44d532a0bb2adcc6c43b089
|
revision: 284607e973802ef46d7b47409bcf4beed7c0984c
|
||||||
branch: master
|
branch: master
|
||||||
specs:
|
specs:
|
||||||
simply_stored (1.0.0)
|
simply_stored (1.0.0)
|
||||||
@@ -41,95 +41,110 @@ GIT
|
|||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: https://github.com/langalex/couch_potato.git
|
remote: https://github.com/langalex/couch_potato.git
|
||||||
revision: 32fc825679a7a4c20413837735068c0f58da3fa5
|
revision: 1ca5bfa39ff6d88f12f97c9ec2cae9d8cb5c2fe1
|
||||||
branch: main
|
branch: main
|
||||||
specs:
|
specs:
|
||||||
couch_potato (1.7.1)
|
couch_potato (1.7.1)
|
||||||
activemodel (>= 5.0, < 7.0)
|
activemodel (>= 5.0)
|
||||||
couchrest (~> 2.0.1)
|
couchrest (~> 2.0.1)
|
||||||
json (~> 2.3)
|
json (~> 2.3)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
ace-rails-ap (4.4)
|
ace-rails-ap (4.5)
|
||||||
actioncable (6.1.4.4)
|
actioncable (8.0.1)
|
||||||
actionpack (= 6.1.4.4)
|
actionpack (= 8.0.1)
|
||||||
activesupport (= 6.1.4.4)
|
activesupport (= 8.0.1)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
websocket-driver (>= 0.6.1)
|
websocket-driver (>= 0.6.1)
|
||||||
actionmailbox (6.1.4.4)
|
zeitwerk (~> 2.6)
|
||||||
actionpack (= 6.1.4.4)
|
actionmailbox (8.0.1)
|
||||||
activejob (= 6.1.4.4)
|
actionpack (= 8.0.1)
|
||||||
activerecord (= 6.1.4.4)
|
activejob (= 8.0.1)
|
||||||
activestorage (= 6.1.4.4)
|
activerecord (= 8.0.1)
|
||||||
activesupport (= 6.1.4.4)
|
activestorage (= 8.0.1)
|
||||||
mail (>= 2.7.1)
|
activesupport (= 8.0.1)
|
||||||
actionmailer (6.1.4.4)
|
mail (>= 2.8.0)
|
||||||
actionpack (= 6.1.4.4)
|
actionmailer (8.0.1)
|
||||||
actionview (= 6.1.4.4)
|
actionpack (= 8.0.1)
|
||||||
activejob (= 6.1.4.4)
|
actionview (= 8.0.1)
|
||||||
activesupport (= 6.1.4.4)
|
activejob (= 8.0.1)
|
||||||
mail (~> 2.5, >= 2.5.4)
|
activesupport (= 8.0.1)
|
||||||
rails-dom-testing (~> 2.0)
|
mail (>= 2.8.0)
|
||||||
actionpack (6.1.4.4)
|
rails-dom-testing (~> 2.2)
|
||||||
actionview (= 6.1.4.4)
|
actionpack (8.0.1)
|
||||||
activesupport (= 6.1.4.4)
|
actionview (= 8.0.1)
|
||||||
rack (~> 2.0, >= 2.0.9)
|
activesupport (= 8.0.1)
|
||||||
rack-test (>= 0.6.3)
|
|
||||||
rails-dom-testing (~> 2.0)
|
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
||||||
actiontext (6.1.4.4)
|
|
||||||
actionpack (= 6.1.4.4)
|
|
||||||
activerecord (= 6.1.4.4)
|
|
||||||
activestorage (= 6.1.4.4)
|
|
||||||
activesupport (= 6.1.4.4)
|
|
||||||
nokogiri (>= 1.8.5)
|
nokogiri (>= 1.8.5)
|
||||||
actionview (6.1.4.4)
|
rack (>= 2.2.4)
|
||||||
activesupport (= 6.1.4.4)
|
rack-session (>= 1.0.1)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
rails-dom-testing (~> 2.2)
|
||||||
|
rails-html-sanitizer (~> 1.6)
|
||||||
|
useragent (~> 0.16)
|
||||||
|
actiontext (8.0.1)
|
||||||
|
actionpack (= 8.0.1)
|
||||||
|
activerecord (= 8.0.1)
|
||||||
|
activestorage (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
|
globalid (>= 0.6.0)
|
||||||
|
nokogiri (>= 1.8.5)
|
||||||
|
actionview (8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
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)
|
||||||
active_attr (0.15.4)
|
active_attr (0.17.1)
|
||||||
actionpack (>= 3.0.2, < 7.1)
|
actionpack (>= 3.0.2, < 8.1)
|
||||||
activemodel (>= 3.0.2, < 7.1)
|
activemodel (>= 3.0.2, < 8.1)
|
||||||
activesupport (>= 3.0.2, < 7.1)
|
activesupport (>= 3.0.2, < 8.1)
|
||||||
active_decorator (1.4.0)
|
active_decorator (1.4.1)
|
||||||
activesupport
|
activesupport
|
||||||
activejob (6.1.4.4)
|
activejob (8.0.1)
|
||||||
activesupport (= 6.1.4.4)
|
activesupport (= 8.0.1)
|
||||||
globalid (>= 0.3.6)
|
globalid (>= 0.3.6)
|
||||||
activemodel (6.1.4.4)
|
activemodel (8.0.1)
|
||||||
activesupport (= 6.1.4.4)
|
activesupport (= 8.0.1)
|
||||||
activerecord (6.1.4.4)
|
activerecord (8.0.1)
|
||||||
activemodel (= 6.1.4.4)
|
activemodel (= 8.0.1)
|
||||||
activesupport (= 6.1.4.4)
|
activesupport (= 8.0.1)
|
||||||
activestorage (6.1.4.4)
|
timeout (>= 0.4.0)
|
||||||
actionpack (= 6.1.4.4)
|
activestorage (8.0.1)
|
||||||
activejob (= 6.1.4.4)
|
actionpack (= 8.0.1)
|
||||||
activerecord (= 6.1.4.4)
|
activejob (= 8.0.1)
|
||||||
activesupport (= 6.1.4.4)
|
activerecord (= 8.0.1)
|
||||||
marcel (~> 1.0.0)
|
activesupport (= 8.0.1)
|
||||||
mini_mime (>= 1.1.0)
|
marcel (~> 1.0)
|
||||||
activesupport (6.1.4.4)
|
activesupport (8.0.1)
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
base64
|
||||||
|
benchmark (>= 0.3)
|
||||||
|
bigdecimal
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
||||||
|
connection_pool (>= 2.2.5)
|
||||||
|
drb
|
||||||
i18n (>= 1.6, < 2)
|
i18n (>= 1.6, < 2)
|
||||||
|
logger (>= 1.4.2)
|
||||||
minitest (>= 5.1)
|
minitest (>= 5.1)
|
||||||
tzinfo (~> 2.0)
|
securerandom (>= 0.3)
|
||||||
zeitwerk (~> 2.3)
|
tzinfo (~> 2.0, >= 2.0.5)
|
||||||
addressable (2.8.0)
|
uri (>= 0.13.1)
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
addressable (2.8.7)
|
||||||
bcrypt (3.1.16)
|
public_suffix (>= 2.0.2, < 7.0)
|
||||||
bourbon (7.0.0)
|
base64 (0.2.0)
|
||||||
|
bcrypt (3.1.20)
|
||||||
|
benchmark (0.4.0)
|
||||||
|
bigdecimal (3.1.9)
|
||||||
|
bourbon (7.3.0)
|
||||||
thor (~> 1.0)
|
thor (~> 1.0)
|
||||||
builder (3.2.4)
|
builder (3.3.0)
|
||||||
cancancan (3.3.0)
|
cancancan (3.6.1)
|
||||||
capybara (3.36.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)
|
||||||
@@ -137,6 +152,8 @@ GEM
|
|||||||
capybara-screenshot (1.0.26)
|
capybara-screenshot (1.0.26)
|
||||||
capybara (>= 1.0, < 4)
|
capybara (>= 1.0, < 4)
|
||||||
launchy
|
launchy
|
||||||
|
childprocess (5.1.0)
|
||||||
|
logger (~> 1.5)
|
||||||
chunky_png (1.4.0)
|
chunky_png (1.4.0)
|
||||||
climate_control (0.2.0)
|
climate_control (0.2.0)
|
||||||
cliver (0.3.2)
|
cliver (0.3.2)
|
||||||
@@ -148,73 +165,62 @@ GEM
|
|||||||
coffee-script-source
|
coffee-script-source
|
||||||
execjs
|
execjs
|
||||||
coffee-script-source (1.12.2)
|
coffee-script-source (1.12.2)
|
||||||
concurrent-ruby (1.1.9)
|
concurrent-ruby (1.3.5)
|
||||||
cookiejar (0.3.3)
|
connection_pool (2.5.0)
|
||||||
|
cookiejar (0.3.4)
|
||||||
couchrest (2.0.1)
|
couchrest (2.0.1)
|
||||||
httpclient (~> 2.8)
|
httpclient (~> 2.8)
|
||||||
mime-types (>= 1.15)
|
mime-types (>= 1.15)
|
||||||
multi_json (~> 1.7)
|
multi_json (~> 1.7)
|
||||||
crack (0.4.5)
|
crack (1.0.0)
|
||||||
|
bigdecimal
|
||||||
rexml
|
rexml
|
||||||
crass (1.0.6)
|
crass (1.0.6)
|
||||||
cucumber-gherkin (14.2.0)
|
cucumber-gherkin (30.0.4)
|
||||||
cucumber-messages (~> 12.4, >= 12.4.0)
|
cucumber-messages (> 25, < 28)
|
||||||
cucumber-messages (12.4.0)
|
cucumber-messages (27.2.0)
|
||||||
protobuf-cucumber (~> 3.10, >= 3.10.8)
|
cuke_modeler (3.23.0)
|
||||||
devise (4.8.1)
|
cucumber-gherkin (< 31.0)
|
||||||
|
date (3.4.1)
|
||||||
|
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)
|
||||||
devise-i18n (1.10.1)
|
devise-i18n (1.12.1)
|
||||||
devise (>= 4.8.0)
|
devise (>= 4.9.0)
|
||||||
diff-lcs (1.5.0)
|
diff-lcs (1.5.1)
|
||||||
docile (1.4.0)
|
docile (1.4.1)
|
||||||
|
drb (2.2.1)
|
||||||
em-http-request (1.1.7)
|
em-http-request (1.1.7)
|
||||||
addressable (>= 2.3.4)
|
addressable (>= 2.3.4)
|
||||||
cookiejar (!= 0.3.1)
|
cookiejar (!= 0.3.1)
|
||||||
em-socksify (>= 0.3)
|
em-socksify (>= 0.3)
|
||||||
eventmachine (>= 1.0.3)
|
eventmachine (>= 1.0.3)
|
||||||
http_parser.rb (>= 0.6.0)
|
http_parser.rb (>= 0.6.0)
|
||||||
em-socksify (0.3.2)
|
em-socksify (0.3.3)
|
||||||
|
base64
|
||||||
eventmachine (>= 1.0.0.beta.4)
|
eventmachine (>= 1.0.0.beta.4)
|
||||||
email_validator (2.2.3)
|
email_validator (2.2.4)
|
||||||
activemodel
|
activemodel
|
||||||
erubi (1.10.0)
|
erubi (1.13.1)
|
||||||
eventmachine (1.2.7)
|
eventmachine (1.2.7)
|
||||||
exception_notification (4.5.0)
|
exception_notification (4.1.1)
|
||||||
actionmailer (>= 5.2, < 8)
|
actionmailer (>= 3.0.4)
|
||||||
activesupport (>= 5.2, < 8)
|
activesupport (>= 3.0.4)
|
||||||
execjs (2.8.1)
|
execjs (2.10.0)
|
||||||
factory_bot (6.2.0)
|
factory_bot (6.5.1)
|
||||||
activesupport (>= 5.0.0)
|
activesupport (>= 6.1.0)
|
||||||
factory_bot_rails (6.2.0)
|
factory_bot_rails (6.4.4)
|
||||||
factory_bot (~> 6.2.0)
|
factory_bot (~> 6.5)
|
||||||
railties (>= 5.0.0)
|
railties (>= 5.0.0)
|
||||||
faraday (1.9.3)
|
faraday (2.12.2)
|
||||||
faraday-em_http (~> 1.0)
|
faraday-net_http (>= 2.0, < 3.5)
|
||||||
faraday-em_synchrony (~> 1.0)
|
json
|
||||||
faraday-excon (~> 1.1)
|
logger
|
||||||
faraday-httpclient (~> 1.0)
|
faraday-net_http (3.4.0)
|
||||||
faraday-multipart (~> 1.0)
|
net-http (>= 0.5.0)
|
||||||
faraday-net_http (~> 1.0)
|
|
||||||
faraday-net_http_persistent (~> 1.0)
|
|
||||||
faraday-patron (~> 1.0)
|
|
||||||
faraday-rack (~> 1.0)
|
|
||||||
faraday-retry (~> 1.0)
|
|
||||||
ruby2_keywords (>= 0.0.4)
|
|
||||||
faraday-em_http (1.0.0)
|
|
||||||
faraday-em_synchrony (1.0.0)
|
|
||||||
faraday-excon (1.1.0)
|
|
||||||
faraday-httpclient (1.0.1)
|
|
||||||
faraday-multipart (1.0.3)
|
|
||||||
multipart-post (>= 1.2, < 3)
|
|
||||||
faraday-net_http (1.0.1)
|
|
||||||
faraday-net_http_persistent (1.2.0)
|
|
||||||
faraday-patron (1.0.0)
|
|
||||||
faraday-rack (1.0.0)
|
|
||||||
faraday-retry (1.0.3)
|
|
||||||
faye (1.4.0)
|
faye (1.4.0)
|
||||||
cookiejar (>= 0.3.0)
|
cookiejar (>= 0.3.0)
|
||||||
em-http-request (>= 1.1.6)
|
em-http-request (>= 1.1.6)
|
||||||
@@ -223,38 +229,47 @@ GEM
|
|||||||
multi_json (>= 1.0.0)
|
multi_json (>= 1.0.0)
|
||||||
rack (>= 1.0.0)
|
rack (>= 1.0.0)
|
||||||
websocket-driver (>= 0.5.1)
|
websocket-driver (>= 0.5.1)
|
||||||
faye-websocket (0.11.1)
|
faye-websocket (0.11.3)
|
||||||
eventmachine (>= 0.12.0)
|
eventmachine (>= 0.12.0)
|
||||||
websocket-driver (>= 0.5.1)
|
websocket-driver (>= 0.5.1)
|
||||||
ffi (1.15.5)
|
ffi (1.17.1-aarch64-linux-gnu)
|
||||||
font-awesome-rails (4.7.0.8)
|
ffi (1.17.1-x86_64-darwin)
|
||||||
railties (>= 3.2, < 8.0)
|
ffi (1.17.1-x86_64-linux-gnu)
|
||||||
foreman (0.87.2)
|
font-awesome-rails (4.7.0.9)
|
||||||
|
railties (>= 3.2, < 9.0)
|
||||||
|
foreman (0.88.1)
|
||||||
foundation-rails (5.5.3.2)
|
foundation-rails (5.5.3.2)
|
||||||
railties (>= 3.1.0)
|
railties (>= 3.1.0)
|
||||||
sass (>= 3.3.0, < 3.5)
|
sass (>= 3.3.0, < 3.5)
|
||||||
fuubar (2.5.1)
|
fuubar (2.5.1)
|
||||||
rspec-core (~> 3.0)
|
rspec-core (~> 3.0)
|
||||||
ruby-progressbar (~> 1.4)
|
ruby-progressbar (~> 1.4)
|
||||||
globalid (1.0.0)
|
globalid (1.2.1)
|
||||||
activesupport (>= 5.0)
|
activesupport (>= 6.1)
|
||||||
hashdiff (1.0.1)
|
hashdiff (1.1.2)
|
||||||
hashie (5.0.0)
|
hashie (5.0.0)
|
||||||
http_parser.rb (0.8.0)
|
http_parser.rb (0.8.0)
|
||||||
httpclient (2.8.3)
|
httpclient (2.8.3)
|
||||||
i18n (1.9.1)
|
i18n (1.14.7)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
|
io-console (0.8.0)
|
||||||
|
irb (1.15.1)
|
||||||
|
pp (>= 0.6.0)
|
||||||
|
rdoc (>= 4.0.0)
|
||||||
|
reline (>= 0.4.2)
|
||||||
iso_country_codes (0.7.8)
|
iso_country_codes (0.7.8)
|
||||||
jquery-rails (4.4.0)
|
jquery-rails (4.6.0)
|
||||||
rails-dom-testing (>= 1, < 3)
|
rails-dom-testing (>= 1, < 3)
|
||||||
railties (>= 4.2.0)
|
railties (>= 4.2.0)
|
||||||
thor (>= 0.14, < 2.0)
|
thor (>= 0.14, < 2.0)
|
||||||
jquery-ui-rails (6.0.1)
|
jquery-ui-rails (7.0.0)
|
||||||
railties (>= 3.2.16)
|
railties (>= 3.2.16)
|
||||||
js-routes (2.2.1)
|
js-routes (2.3.4)
|
||||||
railties (>= 4)
|
railties (>= 5)
|
||||||
json (2.6.1)
|
sorbet-runtime
|
||||||
jwt (2.3.0)
|
json (2.10.0)
|
||||||
|
jwt (2.10.1)
|
||||||
|
base64
|
||||||
kaminari (1.2.2)
|
kaminari (1.2.2)
|
||||||
activesupport (>= 4.1.0)
|
activesupport (>= 4.1.0)
|
||||||
kaminari-actionview (= 1.2.2)
|
kaminari-actionview (= 1.2.2)
|
||||||
@@ -267,53 +282,77 @@ GEM
|
|||||||
activerecord
|
activerecord
|
||||||
kaminari-core (= 1.2.2)
|
kaminari-core (= 1.2.2)
|
||||||
kaminari-core (1.2.2)
|
kaminari-core (1.2.2)
|
||||||
launchy (2.5.0)
|
launchy (3.1.0)
|
||||||
addressable (~> 2.7)
|
addressable (~> 2.8)
|
||||||
letter_opener (1.7.0)
|
childprocess (~> 5.0)
|
||||||
launchy (~> 2.2)
|
logger (~> 1.6)
|
||||||
loofah (2.13.0)
|
letter_opener (1.10.0)
|
||||||
|
launchy (>= 2.2, < 4)
|
||||||
|
logger (1.6.5)
|
||||||
|
loofah (2.24.0)
|
||||||
crass (~> 1.0.2)
|
crass (~> 1.0.2)
|
||||||
nokogiri (>= 1.5.9)
|
nokogiri (>= 1.12.0)
|
||||||
mail (2.7.1)
|
mail (2.8.1)
|
||||||
mini_mime (>= 0.1.1)
|
mini_mime (>= 0.1.1)
|
||||||
marcel (1.0.2)
|
net-imap
|
||||||
|
net-pop
|
||||||
|
net-smtp
|
||||||
|
marcel (1.0.4)
|
||||||
matrix (0.4.2)
|
matrix (0.4.2)
|
||||||
method_source (1.0.0)
|
method_source (1.1.0)
|
||||||
middleware (0.1.0)
|
mime-types (3.6.0)
|
||||||
mime-types (3.4.1)
|
logger
|
||||||
mime-types-data (~> 3.2015)
|
mime-types-data (~> 3.2015)
|
||||||
mime-types-data (3.2022.0105)
|
mime-types-data (3.2025.0204)
|
||||||
mimemagic (0.3.10)
|
mimemagic (0.3.10)
|
||||||
nokogiri (~> 1)
|
nokogiri (~> 1)
|
||||||
rake
|
rake
|
||||||
mini_magick (4.11.0)
|
mini_magick (5.1.2)
|
||||||
mini_mime (1.1.2)
|
benchmark
|
||||||
minitest (5.15.0)
|
logger
|
||||||
|
mini_mime (1.1.5)
|
||||||
|
minitest (5.25.4)
|
||||||
multi_json (1.15.0)
|
multi_json (1.15.0)
|
||||||
multi_xml (0.6.0)
|
multi_xml (0.7.1)
|
||||||
multipart-post (2.1.1)
|
bigdecimal (~> 3.1)
|
||||||
|
mutex_m (0.3.0)
|
||||||
naught (1.1.0)
|
naught (1.1.0)
|
||||||
nio4r (2.5.8)
|
net-http (0.6.0)
|
||||||
nokogiri (1.13.1-x86_64-darwin)
|
uri
|
||||||
|
net-imap (0.5.6)
|
||||||
|
date
|
||||||
|
net-protocol
|
||||||
|
net-pop (0.1.2)
|
||||||
|
net-protocol
|
||||||
|
net-protocol (0.2.2)
|
||||||
|
timeout
|
||||||
|
net-smtp (0.5.1)
|
||||||
|
net-protocol
|
||||||
|
nio4r (2.7.4)
|
||||||
|
nokogiri (1.18.2-aarch64-linux-gnu)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
nokogiri (1.13.1-x86_64-linux)
|
nokogiri (1.18.2-x86_64-darwin)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
oauth2 (1.4.7)
|
nokogiri (1.18.2-x86_64-linux-gnu)
|
||||||
faraday (>= 0.8, < 2.0)
|
racc (~> 1.4)
|
||||||
|
oauth2 (2.0.9)
|
||||||
|
faraday (>= 0.17.3, < 3.0)
|
||||||
jwt (>= 1.0, < 3.0)
|
jwt (>= 1.0, < 3.0)
|
||||||
multi_json (~> 1.3)
|
|
||||||
multi_xml (~> 0.5)
|
multi_xml (~> 0.5)
|
||||||
rack (>= 1.2, < 3)
|
rack (>= 1.2, < 4)
|
||||||
omniauth (1.9.1)
|
snaky_hash (~> 2.0)
|
||||||
|
version_gem (~> 1.1)
|
||||||
|
omniauth (1.9.2)
|
||||||
hashie (>= 3.4.6)
|
hashie (>= 3.4.6)
|
||||||
rack (>= 1.6.2, < 3)
|
rack (>= 1.6.2, < 3)
|
||||||
omniauth-facebook (9.0.0)
|
omniauth-facebook (10.0.0)
|
||||||
omniauth-oauth2 (~> 1.2)
|
bigdecimal
|
||||||
|
omniauth-oauth2 (>= 1.2, < 3)
|
||||||
omniauth-instagram (1.3.0)
|
omniauth-instagram (1.3.0)
|
||||||
omniauth (~> 1)
|
omniauth (~> 1)
|
||||||
omniauth-oauth2 (~> 1)
|
omniauth-oauth2 (~> 1)
|
||||||
omniauth-oauth2 (1.7.2)
|
omniauth-oauth2 (1.7.3)
|
||||||
oauth2 (~> 1.4)
|
oauth2 (>= 1.4, < 3)
|
||||||
omniauth (>= 1.9, < 3)
|
omniauth (>= 1.9, < 3)
|
||||||
orm_adapter (0.5.0)
|
orm_adapter (0.5.0)
|
||||||
paperclip (6.1.0)
|
paperclip (6.1.0)
|
||||||
@@ -329,96 +368,104 @@ GEM
|
|||||||
capybara (>= 2.1, < 4)
|
capybara (>= 2.1, < 4)
|
||||||
cliver (~> 0.3.1)
|
cliver (~> 0.3.1)
|
||||||
websocket-driver (>= 0.2.0)
|
websocket-driver (>= 0.2.0)
|
||||||
protobuf-cucumber (3.10.8)
|
pp (0.6.2)
|
||||||
activesupport (>= 3.2)
|
prettyprint
|
||||||
middleware
|
prettyprint (0.2.0)
|
||||||
thor
|
pry (0.15.2)
|
||||||
thread_safe
|
|
||||||
pry (0.14.1)
|
|
||||||
coderay (~> 1.1)
|
coderay (~> 1.1)
|
||||||
method_source (~> 1.0)
|
method_source (~> 1.0)
|
||||||
pry-doc (1.3.0)
|
pry-doc (1.5.0)
|
||||||
pry (~> 0.11)
|
pry (~> 0.11)
|
||||||
yard (~> 0.9.11)
|
yard (~> 0.9.11)
|
||||||
pry-rails (0.3.9)
|
pry-rails (0.3.11)
|
||||||
pry (>= 0.10.4)
|
pry (>= 0.13.0)
|
||||||
public_suffix (4.0.6)
|
psych (5.2.3)
|
||||||
puma (4.3.10)
|
date
|
||||||
|
stringio
|
||||||
|
public_suffix (6.0.1)
|
||||||
|
puma (6.6.0)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
racc (1.6.0)
|
racc (1.8.1)
|
||||||
rack (2.2.3)
|
rack (2.2.10)
|
||||||
rack-cors (1.1.1)
|
rack-cors (2.0.2)
|
||||||
rack (>= 2.0.0)
|
rack (>= 2.0.0)
|
||||||
rack-test (1.1.0)
|
rack-session (1.0.2)
|
||||||
rack (>= 1.0, < 3)
|
rack (< 3)
|
||||||
rails (6.1.4.4)
|
rack-test (2.2.0)
|
||||||
actioncable (= 6.1.4.4)
|
rack (>= 1.3)
|
||||||
actionmailbox (= 6.1.4.4)
|
rackup (1.0.1)
|
||||||
actionmailer (= 6.1.4.4)
|
rack (< 3)
|
||||||
actionpack (= 6.1.4.4)
|
webrick
|
||||||
actiontext (= 6.1.4.4)
|
rails (8.0.1)
|
||||||
actionview (= 6.1.4.4)
|
actioncable (= 8.0.1)
|
||||||
activejob (= 6.1.4.4)
|
actionmailbox (= 8.0.1)
|
||||||
activemodel (= 6.1.4.4)
|
actionmailer (= 8.0.1)
|
||||||
activerecord (= 6.1.4.4)
|
actionpack (= 8.0.1)
|
||||||
activestorage (= 6.1.4.4)
|
actiontext (= 8.0.1)
|
||||||
activesupport (= 6.1.4.4)
|
actionview (= 8.0.1)
|
||||||
|
activejob (= 8.0.1)
|
||||||
|
activemodel (= 8.0.1)
|
||||||
|
activerecord (= 8.0.1)
|
||||||
|
activestorage (= 8.0.1)
|
||||||
|
activesupport (= 8.0.1)
|
||||||
bundler (>= 1.15.0)
|
bundler (>= 1.15.0)
|
||||||
railties (= 6.1.4.4)
|
railties (= 8.0.1)
|
||||||
sprockets-rails (>= 2.0.0)
|
rails-dom-testing (2.2.0)
|
||||||
rails-controller-testing (1.0.5)
|
activesupport (>= 5.0.0)
|
||||||
actionpack (>= 5.0.1.rc1)
|
minitest
|
||||||
actionview (>= 5.0.1.rc1)
|
|
||||||
activesupport (>= 5.0.1.rc1)
|
|
||||||
rails-dom-testing (2.0.3)
|
|
||||||
activesupport (>= 4.2.0)
|
|
||||||
nokogiri (>= 1.6)
|
nokogiri (>= 1.6)
|
||||||
rails-html-sanitizer (1.4.2)
|
rails-html-sanitizer (1.6.2)
|
||||||
loofah (~> 2.3)
|
loofah (~> 2.21)
|
||||||
railties (6.1.4.4)
|
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)
|
||||||
actionpack (= 6.1.4.4)
|
railties (8.0.1)
|
||||||
activesupport (= 6.1.4.4)
|
actionpack (= 8.0.1)
|
||||||
method_source
|
activesupport (= 8.0.1)
|
||||||
rake (>= 0.13)
|
irb (~> 1.13)
|
||||||
thor (~> 1.0)
|
rackup (>= 1.0.0)
|
||||||
rake (13.0.6)
|
rake (>= 12.2)
|
||||||
regexp_parser (2.2.0)
|
thor (~> 1.0, >= 1.2.2)
|
||||||
responders (3.0.1)
|
zeitwerk (~> 2.6)
|
||||||
actionpack (>= 5.0)
|
rake (13.2.1)
|
||||||
railties (>= 5.0)
|
rdoc (6.12.0)
|
||||||
rexml (3.2.5)
|
psych (>= 4.0.0)
|
||||||
rqrcode (2.1.0)
|
regexp_parser (2.10.0)
|
||||||
|
reline (0.6.0)
|
||||||
|
io-console (~> 0.5)
|
||||||
|
responders (3.1.1)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
railties (>= 5.2)
|
||||||
|
rexml (3.4.0)
|
||||||
|
rqrcode (2.2.0)
|
||||||
chunky_png (~> 1.0)
|
chunky_png (~> 1.0)
|
||||||
rqrcode_core (~> 1.0)
|
rqrcode_core (~> 1.0)
|
||||||
rqrcode_core (1.2.0)
|
rqrcode_core (1.2.0)
|
||||||
rspec (3.10.0)
|
rspec (3.13.0)
|
||||||
rspec-core (~> 3.10.0)
|
rspec-core (~> 3.13.0)
|
||||||
rspec-expectations (~> 3.10.0)
|
rspec-expectations (~> 3.13.0)
|
||||||
rspec-mocks (~> 3.10.0)
|
rspec-mocks (~> 3.13.0)
|
||||||
rspec-core (3.10.2)
|
rspec-core (3.13.3)
|
||||||
rspec-support (~> 3.10.0)
|
rspec-support (~> 3.13.0)
|
||||||
rspec-expectations (3.10.2)
|
rspec-expectations (3.13.3)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.10.0)
|
rspec-support (~> 3.13.0)
|
||||||
rspec-its (1.3.0)
|
rspec-its (2.0.0)
|
||||||
rspec-core (>= 3.0.0)
|
rspec-core (>= 3.13.0)
|
||||||
rspec-expectations (>= 3.0.0)
|
rspec-expectations (>= 3.13.0)
|
||||||
rspec-mocks (3.10.3)
|
rspec-mocks (3.13.2)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.10.0)
|
rspec-support (~> 3.13.0)
|
||||||
rspec-rails (5.1.0)
|
rspec-rails (7.1.1)
|
||||||
actionpack (>= 5.2)
|
actionpack (>= 7.0)
|
||||||
activesupport (>= 5.2)
|
activesupport (>= 7.0)
|
||||||
railties (>= 5.2)
|
railties (>= 7.0)
|
||||||
rspec-core (~> 3.10)
|
rspec-core (~> 3.13)
|
||||||
rspec-expectations (~> 3.10)
|
rspec-expectations (~> 3.13)
|
||||||
rspec-mocks (~> 3.10)
|
rspec-mocks (~> 3.13)
|
||||||
rspec-support (~> 3.10)
|
rspec-support (~> 3.13)
|
||||||
rspec-support (3.10.3)
|
rspec-support (3.13.2)
|
||||||
ruby-handlebars (0.4.0)
|
ruby-handlebars (0.4.1)
|
||||||
parslet (~> 1.6, >= 1.6.2)
|
parslet (~> 1.6, >= 1.6.2)
|
||||||
ruby-progressbar (1.11.0)
|
ruby-progressbar (1.13.0)
|
||||||
ruby2_keywords (0.0.5)
|
|
||||||
sass (3.4.25)
|
sass (3.4.25)
|
||||||
sass-rails (6.0.0)
|
sass-rails (6.0.0)
|
||||||
sassc-rails (~> 2.1, >= 2.1.1)
|
sassc-rails (~> 2.1, >= 2.1.1)
|
||||||
@@ -430,66 +477,73 @@ GEM
|
|||||||
sprockets (> 3.0)
|
sprockets (> 3.0)
|
||||||
sprockets-rails
|
sprockets-rails
|
||||||
tilt
|
tilt
|
||||||
simplecov (0.21.2)
|
securerandom (0.4.1)
|
||||||
|
simplecov (0.22.0)
|
||||||
docile (~> 1.1)
|
docile (~> 1.1)
|
||||||
simplecov-html (~> 0.11)
|
simplecov-html (~> 0.11)
|
||||||
simplecov_json_formatter (~> 0.1)
|
simplecov_json_formatter (~> 0.1)
|
||||||
simplecov-html (0.12.3)
|
simplecov-html (0.13.1)
|
||||||
simplecov_json_formatter (0.1.3)
|
simplecov_json_formatter (0.1.4)
|
||||||
slim (4.1.0)
|
slim (5.2.1)
|
||||||
temple (>= 0.7.6, < 0.9)
|
temple (~> 0.10.0)
|
||||||
tilt (>= 2.0.6, < 2.1)
|
tilt (>= 2.1.0)
|
||||||
slim-rails (3.3.0)
|
slim-rails (3.7.0)
|
||||||
actionpack (>= 3.1)
|
actionpack (>= 3.1)
|
||||||
railties (>= 3.1)
|
railties (>= 3.1)
|
||||||
slim (>= 3.0, < 5.0)
|
slim (>= 3.0, < 6.0, != 5.0.0)
|
||||||
spring (4.0.0)
|
snaky_hash (2.0.1)
|
||||||
spring-commands-rspec (1.0.4)
|
hashie
|
||||||
spring (>= 0.9.1)
|
version_gem (~> 1.1, >= 1.1.1)
|
||||||
sprockets (4.0.2)
|
sorbet-runtime (0.5.11813)
|
||||||
|
sprockets (4.2.1)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
rack (> 1, < 3)
|
rack (>= 2.2.4, < 4)
|
||||||
sprockets-rails (3.4.2)
|
sprockets-rails (3.5.2)
|
||||||
actionpack (>= 5.2)
|
actionpack (>= 6.1)
|
||||||
activesupport (>= 5.2)
|
activesupport (>= 6.1)
|
||||||
sprockets (>= 3.0.0)
|
sprockets (>= 3.0.0)
|
||||||
sucker_punch (3.0.1)
|
stringio (3.1.2)
|
||||||
|
sucker_punch (3.2.0)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
temple (0.8.2)
|
temple (0.10.3)
|
||||||
terrapin (0.6.0)
|
terrapin (0.6.0)
|
||||||
climate_control (>= 0.0.3, < 1.0)
|
climate_control (>= 0.0.3, < 1.0)
|
||||||
test_squad (0.1.3)
|
test_squad (0.1.3)
|
||||||
rails
|
rails
|
||||||
thor (1.2.1)
|
thor (1.3.2)
|
||||||
thread_safe (0.3.6)
|
tilt (2.6.0)
|
||||||
tilt (2.0.10)
|
timecop (0.9.10)
|
||||||
timecop (0.9.4)
|
timeout (0.4.3)
|
||||||
tinymce-rails (5.10.2)
|
tinymce-rails (7.6.1)
|
||||||
railties (>= 3.1.1)
|
railties (>= 3.1.1)
|
||||||
turnip (4.3.0)
|
turnip (4.4.1)
|
||||||
cucumber-gherkin (~> 14.0)
|
cuke_modeler (~> 3.15)
|
||||||
rspec (>= 3.0, < 4.0)
|
rspec (>= 3.0, < 4.0)
|
||||||
tzinfo (2.0.4)
|
tzinfo (2.0.6)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
uglifier (4.2.0)
|
uglifier (4.2.1)
|
||||||
execjs (>= 0.3.0, < 3)
|
execjs (>= 0.3.0, < 3)
|
||||||
|
uri (1.0.2)
|
||||||
|
useragent (0.16.11)
|
||||||
|
version_gem (1.1.4)
|
||||||
warden (1.2.9)
|
warden (1.2.9)
|
||||||
rack (>= 2.0.9)
|
rack (>= 2.0.9)
|
||||||
webmock (3.14.0)
|
webmock (3.25.0)
|
||||||
addressable (>= 2.8.0)
|
addressable (>= 2.8.0)
|
||||||
crack (>= 0.3.2)
|
crack (>= 0.3.2)
|
||||||
hashdiff (>= 0.4.0, < 2.0.0)
|
hashdiff (>= 0.4.0, < 2.0.0)
|
||||||
webrick (1.7.0)
|
webrick (1.9.1)
|
||||||
websocket-driver (0.7.5)
|
websocket-driver (0.7.7)
|
||||||
|
base64
|
||||||
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)
|
||||||
yard (0.9.27)
|
yard (0.9.37)
|
||||||
webrick (~> 1.7.0)
|
zeitwerk (2.7.1)
|
||||||
zeitwerk (2.5.4)
|
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
aarch64-linux
|
||||||
x86_64-darwin-21
|
x86_64-darwin-21
|
||||||
x86_64-linux
|
x86_64-linux
|
||||||
|
|
||||||
@@ -497,7 +551,6 @@ DEPENDENCIES
|
|||||||
ace-rails-ap
|
ace-rails-ap
|
||||||
active_attr
|
active_attr
|
||||||
active_decorator
|
active_decorator
|
||||||
bourbon
|
|
||||||
cancancan
|
cancancan
|
||||||
capybara-screenshot
|
capybara-screenshot
|
||||||
cmtool!
|
cmtool!
|
||||||
@@ -522,6 +575,7 @@ DEPENDENCIES
|
|||||||
launchy
|
launchy
|
||||||
letter_opener
|
letter_opener
|
||||||
mini_magick
|
mini_magick
|
||||||
|
mutex_m
|
||||||
naught
|
naught
|
||||||
omniauth-facebook
|
omniauth-facebook
|
||||||
omniauth-instagram
|
omniauth-instagram
|
||||||
@@ -530,10 +584,9 @@ DEPENDENCIES
|
|||||||
poltergeist
|
poltergeist
|
||||||
pry-doc
|
pry-doc
|
||||||
pry-rails
|
pry-rails
|
||||||
puma (~> 4.3.10)
|
puma (>= 5.0)
|
||||||
rack-cors
|
rack-cors
|
||||||
rails (~> 6.1.0)
|
rails (~> 8.0.1)
|
||||||
rails-controller-testing
|
|
||||||
rqrcode
|
rqrcode
|
||||||
rspec-its
|
rspec-its
|
||||||
rspec-rails
|
rspec-rails
|
||||||
@@ -542,8 +595,6 @@ DEPENDENCIES
|
|||||||
simplecov
|
simplecov
|
||||||
simply_stored!
|
simply_stored!
|
||||||
slim-rails
|
slim-rails
|
||||||
spring
|
|
||||||
spring-commands-rspec
|
|
||||||
sucker_punch
|
sucker_punch
|
||||||
test_squad
|
test_squad
|
||||||
timecop
|
timecop
|
||||||
@@ -552,4 +603,4 @@ DEPENDENCIES
|
|||||||
webmock
|
webmock
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.3.6
|
2.6.2
|
||||||
|
|||||||
@@ -1,6 +1,25 @@
|
|||||||
Mozo server backend README
|
Mozo server backend README
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
|
Start the server for development:
|
||||||
|
----------------------
|
||||||
|
### Start couchdb
|
||||||
|
Since in the Fedora Asahi on Macbook M1, couchdb is not an available package, it is build locally and started there:
|
||||||
|
```
|
||||||
|
cd ~/projects/couchdb/couchdb
|
||||||
|
./dev/run --admin=admin:admin
|
||||||
|
```
|
||||||
|
|
||||||
|
### Start rails
|
||||||
|
Note that the couchdb admin password can be changed for better security:
|
||||||
|
```
|
||||||
|
COUCHDB_ADMIN_PASSWORD=admin rails s
|
||||||
|
```
|
||||||
|
|
||||||
|
### Access the server
|
||||||
|
The server should now be accessible using:
|
||||||
|
https://localhost:3002/
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
------------------
|
------------------
|
||||||
### Supplier app
|
### Supplier app
|
||||||
@@ -15,6 +34,17 @@ TODO:
|
|||||||
Application architecture
|
Application architecture
|
||||||
-----------------------------------------------
|
-----------------------------------------------
|
||||||
|
|
||||||
|
Developing using SSL
|
||||||
|
-------------------------
|
||||||
|
When reading this, hopefully there will be a nice standardized solution, better than found at the time of writing this (2025-02-10)
|
||||||
|
A nice solution seems to be using:
|
||||||
|
* https://github.com/puma/puma-dev
|
||||||
|
The fast and dirty way, without trusting certificates will be:
|
||||||
|
https://spaquet.medium.com/setting-up-ssl-on-localhost-for-rails-development-with-puma-211574dbfb87
|
||||||
|
|
||||||
|
Also take a look at:
|
||||||
|
https://jfbcodes.medium.com/using-rails-with-ssl-on-localhost-52d60f14a382
|
||||||
|
|
||||||
Building the product
|
Building the product
|
||||||
------------------------------------------
|
------------------------------------------
|
||||||
1. Set the current routes to mozo-supplier client code (TODO: make way
|
1. Set the current routes to mozo-supplier client code (TODO: make way
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 427 B After Width: | Height: | Size: 427 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 427 B After Width: | Height: | Size: 427 B |
@@ -1,3 +1,4 @@
|
|||||||
|
require 'null_model'
|
||||||
class Page
|
class Page
|
||||||
include Cmtool::Includes::Page
|
include Cmtool::Includes::Page
|
||||||
include ActiveModel::SerializerSupport
|
include ActiveModel::SerializerSupport
|
||||||
|
|||||||
@@ -227,6 +227,7 @@ module Qwaiter
|
|||||||
|
|
||||||
# Custom directories with classes and modules you want to be autoloadable.
|
# Custom directories with classes and modules you want to be autoloadable.
|
||||||
# config.autoload_paths += %W(#{config.root}/extras)
|
# config.autoload_paths += %W(#{config.root}/extras)
|
||||||
|
config.autoload_paths << Rails.root.join('app/services').to_s
|
||||||
|
|
||||||
# Only load the plugins named here, in the order given (default is alphabetical).
|
# Only load the plugins named here, in the order given (default is alphabetical).
|
||||||
# :all can be used as a placeholder for all plugins not explicitly named.
|
# :all can be used as a placeholder for all plugins not explicitly named.
|
||||||
@@ -254,7 +255,8 @@ module Qwaiter
|
|||||||
# Enable escaping HTML in JSON.
|
# Enable escaping HTML in JSON.
|
||||||
config.active_support.escape_html_entities_in_json = true
|
config.active_support.escape_html_entities_in_json = true
|
||||||
|
|
||||||
initializer 'mozo.cmtool', after: 'cmtool.build_menu' do
|
# initializer 'mozo.cmtool', after: 'cmtool.build_menu' do
|
||||||
|
config.after_initialize do
|
||||||
Cmtool::Menu.register do
|
Cmtool::Menu.register do
|
||||||
before :users do
|
before :users do
|
||||||
group label: :mozo do # Allow other tools to inject into the mozo menu
|
group label: :mozo do # Allow other tools to inject into the mozo menu
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
development:
|
development:
|
||||||
validation_framework: :active_model #optional
|
validation_framework: :active_model #optional
|
||||||
#database: "http://mozo:secret@localhost:5984/qwaiter_development"
|
#database: "http://mozo:secret@localhost:5984/qwaiter_development"
|
||||||
database: "http://admin:<%= ENV['COUCHDB_ADMIN_PASSWORD']%>@localhost:5984/mozo_development"
|
database: "http://admin:<%= ENV['COUCHDB_ADMIN_PASSWORD']%>@localhost:15984/mozo_development"
|
||||||
#database: mozo_development
|
#database: mozo_development
|
||||||
test:
|
test:
|
||||||
validation_framework: :active_model #optional
|
validation_framework: :active_model #optional
|
||||||
#database: "http://mozo:secret@localhost:5984/qwaiter_test"
|
#database: "http://mozo:secret@localhost:5984/qwaiter_test"
|
||||||
#Testing can only be done as couchdb admin, since it requires creating and destroying the database
|
#Testing can only be done as couchdb admin, since it requires creating and destroying the database
|
||||||
database: "http://admin:<%= ENV['COUCHDB_ADMIN_PASSWORD']%>@localhost:5984/mozo_test"
|
database: "http://admin:<%= ENV['COUCHDB_ADMIN_PASSWORD']%>@localhost:15984/mozo_test"
|
||||||
# database: "http://admin:secret@localhost:5984/qwaiter_test"
|
# database: "http://admin:secret@localhost:5984/qwaiter_test"
|
||||||
production:
|
production:
|
||||||
validation_framework: :active_model #optional
|
validation_framework: :active_model #optional
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
module MustacheTemplateHandler
|
# module MustacheTemplateHandler
|
||||||
def self.call(template, source)
|
# def self.call(template, source)
|
||||||
binding.pry
|
# binding.pry
|
||||||
if template.locals.include? :locals
|
# if template.locals.include? :locals
|
||||||
"Mustache.render(#{template.source.inspect}, locals).html_safe"
|
# "Mustache.render(#{template.source.inspect}, locals).html_safe"
|
||||||
else
|
# else
|
||||||
"#{template.source.inspect}.html_safe"
|
# "#{template.source.inspect}.html_safe"
|
||||||
end
|
# end
|
||||||
end
|
# end
|
||||||
end
|
# end
|
||||||
ActionView::Template.register_template_handler(:mustache, MustacheTemplateHandler)
|
# ActionView::Template.register_template_handler(:mustache, MustacheTemplateHandler)
|
||||||
ActionController::Base.view_paths << Rails.root.join('app', 'templates')
|
# ActionController::Base.view_paths << Rails.root.join('app', 'templates')
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ port ENV.fetch("PORT") { 3001 }
|
|||||||
environment ENV.fetch("RAILS_ENV") { "development" }
|
environment ENV.fetch("RAILS_ENV") { "development" }
|
||||||
|
|
||||||
if ENV['RAILS_ENV'] == 'development'
|
if ENV['RAILS_ENV'] == 'development'
|
||||||
localhost_key = "#{File.join('config', 'certs-local', 'localhost-key.pem')}"
|
localhost_key = "#{File.join('config', 'certs-local', 'localhost.key')}"
|
||||||
localhost_crt = "#{File.join('config', 'certs-local', 'localhost.pem')}"
|
localhost_crt = "#{File.join('config', 'certs-local', 'localhost.crt')}"
|
||||||
# To be able to use rake etc
|
# To be able to use rake etc
|
||||||
ssl_bind '0.0.0.0', 3002, {
|
ssl_bind '0.0.0.0', 3002, {
|
||||||
key: localhost_key,
|
key: localhost_key,
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 136 B |
|
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 136 B |
|
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 136 B |
|
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 137 B |
|
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 183 B |
|
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 136 B |
|
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 214 B |
|
Before Width: | Height: | Size: 114 B After Width: | Height: | Size: 114 B |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |