зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-09-03 18:25:51 +03:00
Сравнить коммиты
3 Коммитов
| Автор | SHA1 | Дата | |
|---|---|---|---|
|
|
7eea36b07d | ||
|
|
21806ca9b4 | ||
|
|
1f13f6c65a |
2
.env
2
.env
@@ -1,2 +0,0 @@
|
|||||||
UID=1000
|
|
||||||
GID=1000
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
exclude_paths:
|
|
||||||
- bin/*
|
|
||||||
- db/schema.rb
|
|
||||||
- gemfiles/**/*
|
|
||||||
- spec/dummy/**/*
|
|
||||||
- vendor/**/*
|
|
||||||
13
.github/FUNDING.yml
поставляемый
13
.github/FUNDING.yml
поставляемый
@@ -1,13 +0,0 @@
|
|||||||
# These are supported funding model platforms
|
|
||||||
|
|
||||||
github: [blocknotes]
|
|
||||||
patreon: # Replace with a single Patreon username
|
|
||||||
open_collective: # Replace with a single Open Collective username
|
|
||||||
ko_fi: # Replace with a single Ko-fi username
|
|
||||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
|
||||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
|
||||||
liberapay: # Replace with a single Liberapay username
|
|
||||||
issuehunt: # Replace with a single IssueHunt username
|
|
||||||
otechie: # Replace with a single Otechie username
|
|
||||||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
|
||||||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
|
||||||
35
.github/workflows/linters.yml
поставляемый
35
.github/workflows/linters.yml
поставляемый
@@ -1,35 +0,0 @@
|
|||||||
---
|
|
||||||
name: Linters
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
reviewdog:
|
|
||||||
name: reviewdog
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Check out code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: '3.0'
|
|
||||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
||||||
|
|
||||||
- uses: reviewdog/action-setup@v1
|
|
||||||
with:
|
|
||||||
reviewdog_version: latest
|
|
||||||
|
|
||||||
- name: Run reviewdog
|
|
||||||
env:
|
|
||||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
reviewdog -fail-on-error -reporter=github-pr-review -runners=fasterer,rubocop
|
|
||||||
|
|
||||||
# NOTE: check with: reviewdog -fail-on-error -reporter=github-pr-review -runners=fasterer -diff="git diff" -tee
|
|
||||||
42
.github/workflows/specs_rails61.yml
поставляемый
42
.github/workflows/specs_rails61.yml
поставляемый
@@ -1,42 +0,0 @@
|
|||||||
---
|
|
||||||
name: Specs Rails 6.1
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
ruby: ['3.2']
|
|
||||||
gemfile: ['rails61_activeadmin29', 'rails61_activeadmin']
|
|
||||||
|
|
||||||
env:
|
|
||||||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: ${{ matrix.ruby }}
|
|
||||||
bundler-cache: true
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: bundle exec rspec --profile
|
|
||||||
|
|
||||||
- name: On failure, archive screenshots as artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
if: failure()
|
|
||||||
with:
|
|
||||||
name: test-failed-screenshots
|
|
||||||
path: spec/dummy/tmp/screenshots
|
|
||||||
42
.github/workflows/specs_rails70.yml
поставляемый
42
.github/workflows/specs_rails70.yml
поставляемый
@@ -1,42 +0,0 @@
|
|||||||
---
|
|
||||||
name: Specs Rails 7.0
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
ruby: ['3.3']
|
|
||||||
gemfile: ['rails70_activeadmin']
|
|
||||||
|
|
||||||
env:
|
|
||||||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: ${{ matrix.ruby }}
|
|
||||||
bundler-cache: true
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: bundle exec rspec --profile
|
|
||||||
|
|
||||||
- name: On failure, archive screenshots as artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
if: failure()
|
|
||||||
with:
|
|
||||||
name: test-failed-screenshots
|
|
||||||
path: spec/dummy/tmp/screenshots
|
|
||||||
42
.github/workflows/specs_rails71.yml
поставляемый
42
.github/workflows/specs_rails71.yml
поставляемый
@@ -1,42 +0,0 @@
|
|||||||
---
|
|
||||||
name: Specs Rails 7.1
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
ruby: ['3.2', '3.4']
|
|
||||||
gemfile: ['rails71_activeadmin']
|
|
||||||
|
|
||||||
env:
|
|
||||||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: ${{ matrix.ruby }}
|
|
||||||
bundler-cache: true
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: bundle exec rspec --profile
|
|
||||||
|
|
||||||
- name: On failure, archive screenshots as artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
if: failure()
|
|
||||||
with:
|
|
||||||
name: test-failed-screenshots
|
|
||||||
path: spec/dummy/tmp/screenshots
|
|
||||||
42
.github/workflows/specs_rails72.yml
поставляемый
42
.github/workflows/specs_rails72.yml
поставляемый
@@ -1,42 +0,0 @@
|
|||||||
---
|
|
||||||
name: Specs Rails 7.2
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
ruby: ['3.2', '3.4']
|
|
||||||
gemfile: ['rails72_activeadmin']
|
|
||||||
|
|
||||||
env:
|
|
||||||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: ${{ matrix.ruby }}
|
|
||||||
bundler-cache: true
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: bundle exec rspec --profile
|
|
||||||
|
|
||||||
- name: On failure, archive screenshots as artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
if: failure()
|
|
||||||
with:
|
|
||||||
name: test-failed-screenshots
|
|
||||||
path: spec/dummy/tmp/screenshots
|
|
||||||
42
.github/workflows/specs_rails80.yml
поставляемый
42
.github/workflows/specs_rails80.yml
поставляемый
@@ -1,42 +0,0 @@
|
|||||||
---
|
|
||||||
name: Specs Rails 8.0
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
ruby: ['3.2', '3.4']
|
|
||||||
gemfile: ['rails80_activeadmin']
|
|
||||||
|
|
||||||
env:
|
|
||||||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: ${{ matrix.ruby }}
|
|
||||||
bundler-cache: true
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: bundle exec rspec --profile
|
|
||||||
|
|
||||||
- name: On failure, archive screenshots as artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
if: failure()
|
|
||||||
with:
|
|
||||||
name: test-failed-screenshots
|
|
||||||
path: spec/dummy/tmp/screenshots
|
|
||||||
13
.gitignore
поставляемый
13
.gitignore
поставляемый
@@ -1,12 +1,3 @@
|
|||||||
*.gem
|
_misc/
|
||||||
|
|
||||||
*.orig
|
*.orig
|
||||||
|
|
||||||
/.rspec_failures
|
|
||||||
/.rubocop-*
|
|
||||||
/Gemfile.lock
|
|
||||||
|
|
||||||
/_misc/
|
|
||||||
/spec/dummy/db/*.sqlite3*
|
|
||||||
/spec/dummy/log/
|
|
||||||
/spec/dummy/storage/
|
|
||||||
/spec/dummy/tmp/
|
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
CommitMsg:
|
|
||||||
CapitalizedSubject:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
MessageFormat:
|
|
||||||
enabled: true
|
|
||||||
pattern: "^(fixup! ){0,1}(fix|feat|build|chore|ci|docs|style|refactor|perf|test)[!]{0,1}: .+$"
|
|
||||||
expected_pattern_message: "<Commit type>: <Commit Message>"
|
|
||||||
sample_message: "chore: add Overcommit config"
|
|
||||||
|
|
||||||
TextWidth:
|
|
||||||
enabled: true
|
|
||||||
max_subject_width: 72
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
runner:
|
|
||||||
fasterer:
|
|
||||||
cmd: bin/fasterer
|
|
||||||
level: info
|
|
||||||
rubocop:
|
|
||||||
cmd: bin/rubocop
|
|
||||||
level: info
|
|
||||||
2
.rspec
2
.rspec
@@ -1,2 +0,0 @@
|
|||||||
--require rails_helper
|
|
||||||
--format documentation
|
|
||||||
31
.rubocop.yml
31
.rubocop.yml
@@ -1,31 +0,0 @@
|
|||||||
---
|
|
||||||
inherit_from:
|
|
||||||
- https://relaxed.ruby.style/rubocop.yml
|
|
||||||
|
|
||||||
plugins:
|
|
||||||
- rubocop-capybara
|
|
||||||
- rubocop-performance
|
|
||||||
- rubocop-rails
|
|
||||||
- rubocop-rspec
|
|
||||||
- rubocop-rspec_rails
|
|
||||||
|
|
||||||
require:
|
|
||||||
- rubocop-packaging
|
|
||||||
|
|
||||||
AllCops:
|
|
||||||
Exclude:
|
|
||||||
- bin/*
|
|
||||||
- db/schema.rb
|
|
||||||
- gemfiles/**/*
|
|
||||||
- spec/dummy/**/*
|
|
||||||
- vendor/**/*
|
|
||||||
NewCops: enable
|
|
||||||
TargetRubyVersion: 3.0
|
|
||||||
|
|
||||||
RSpec/ExampleLength:
|
|
||||||
# default 5
|
|
||||||
Max: 12
|
|
||||||
|
|
||||||
RSpec/MultipleExpectations:
|
|
||||||
# default 1
|
|
||||||
Max: 4
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
ruby 3.4.2
|
|
||||||
33
Appraisals
33
Appraisals
@@ -1,33 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
appraise 'rails61-activeadmin29' do
|
|
||||||
gem 'activeadmin', '~> 2.9.0'
|
|
||||||
gem 'rails', '~> 6.1.0'
|
|
||||||
end
|
|
||||||
|
|
||||||
appraise 'rails61-activeadmin' do
|
|
||||||
gem 'activeadmin'
|
|
||||||
gem 'rails', '~> 6.1.0'
|
|
||||||
end
|
|
||||||
|
|
||||||
appraise 'rails70-activeadmin' do
|
|
||||||
gem 'activeadmin'
|
|
||||||
gem 'rails', '~> 7.0.0'
|
|
||||||
|
|
||||||
gem 'sqlite3', '~> 1.3'
|
|
||||||
end
|
|
||||||
|
|
||||||
appraise 'rails71-activeadmin' do
|
|
||||||
gem 'activeadmin'
|
|
||||||
gem 'rails', '~> 7.1.0'
|
|
||||||
end
|
|
||||||
|
|
||||||
appraise 'rails72-activeadmin' do
|
|
||||||
gem 'activeadmin'
|
|
||||||
gem 'rails', '~> 7.2.0'
|
|
||||||
end
|
|
||||||
|
|
||||||
appraise 'rails80-activeadmin' do
|
|
||||||
gem 'activeadmin'
|
|
||||||
gem 'rails', '~> 8.0.0'
|
|
||||||
end
|
|
||||||
68
CHANGELOG.md
68
CHANGELOG.md
@@ -1,68 +0,0 @@
|
|||||||
# Quill Editor for ActiveAdmin
|
|
||||||
|
|
||||||
An Active Admin plugin to use Quill Rich Text Editor.
|
|
||||||
|
|
||||||
## v1.3.0 - 2025-03-18
|
|
||||||
|
|
||||||
- Javascript API: expose Quill editor query functions
|
|
||||||
- ImageUploader: reject the Promise if an url is not provided in the response
|
|
||||||
|
|
||||||
## v1.2.0 - 2024-02-29
|
|
||||||
|
|
||||||
- Update minimum supported Ruby version to 3.0
|
|
||||||
|
|
||||||
## v1.1.0 - 2023-08-20
|
|
||||||
|
|
||||||
- Support ActiveAdmin 3.x
|
|
||||||
- Minor tests config improvements
|
|
||||||
|
|
||||||
## v1.0.0 - 2022-04-18
|
|
||||||
|
|
||||||
- Set minimum Ruby version to 2.6.0
|
|
||||||
- Remove `sassc` dependency
|
|
||||||
- Enable Ruby 3.0 specs support
|
|
||||||
- Enable Rails 7.0 specs support
|
|
||||||
- Internal improvements
|
|
||||||
|
|
||||||
## v0.3.4 - 2021-03-16
|
|
||||||
|
|
||||||
- Fix editor loading with Turbolinks
|
|
||||||
|
|
||||||
## v0.3.2 - 2021-03-14
|
|
||||||
|
|
||||||
- Specs improvements
|
|
||||||
- Minor internal changes
|
|
||||||
|
|
||||||
## v0.3.0 - 2020-10-01
|
|
||||||
|
|
||||||
- Add Webpacker support
|
|
||||||
|
|
||||||
## v0.2.14 - 2020-09-10
|
|
||||||
|
|
||||||
- JS: enable strict directive
|
|
||||||
- Minor specs improvement
|
|
||||||
|
|
||||||
## v0.2.12 - 2020-09-08
|
|
||||||
|
|
||||||
- JS refactoring
|
|
||||||
|
|
||||||
## v0.2.10 - 2020-09-05
|
|
||||||
|
|
||||||
- Include Image Uploader plugin
|
|
||||||
|
|
||||||
## v0.2.9 - 2020-09-04
|
|
||||||
|
|
||||||
- Fix not working alignments (issue #8)
|
|
||||||
- Fix empty editor problem which produces `<p><br></p>` (pull request #9)
|
|
||||||
|
|
||||||
## v0.2.8 - 2020-09-03
|
|
||||||
|
|
||||||
- Minor style improvements
|
|
||||||
- Add specs for editor in nested resources
|
|
||||||
- Add Rubocop and remove SimpleCov gems
|
|
||||||
|
|
||||||
## v0.2.4 - 2020-09-01
|
|
||||||
|
|
||||||
- Update Quill editor to version 1.3.7
|
|
||||||
- Add minimum specs (using RSpec)
|
|
||||||
- Minor internal changes
|
|
||||||
47
Gemfile
47
Gemfile
@@ -1,49 +1,4 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
if ENV['DEVEL'] == '1'
|
gemspec
|
||||||
# for Docker dev
|
|
||||||
rails_ver = ENV.fetch('RAILS_VERSION')
|
|
||||||
gem 'rails', rails_ver
|
|
||||||
|
|
||||||
gem 'activeadmin', ENV.fetch('ACTIVEADMIN_VERSION')
|
|
||||||
gem 'activeadmin_quill_editor', path: './'
|
|
||||||
|
|
||||||
if rails_ver.start_with?('7.0')
|
|
||||||
gem 'concurrent-ruby', '1.3.4'
|
|
||||||
gem 'sqlite3', '~> 1.4'
|
|
||||||
else
|
|
||||||
gem 'sqlite3'
|
|
||||||
end
|
|
||||||
else
|
|
||||||
gemspec
|
|
||||||
|
|
||||||
gem 'sqlite3'
|
|
||||||
end
|
|
||||||
|
|
||||||
gem 'bigdecimal'
|
|
||||||
gem 'mutex_m'
|
|
||||||
gem 'puma'
|
|
||||||
gem 'sassc'
|
|
||||||
gem 'sprockets-rails'
|
|
||||||
|
|
||||||
# Testing
|
|
||||||
gem 'capybara'
|
|
||||||
gem 'cuprite'
|
|
||||||
gem 'rspec_junit_formatter'
|
|
||||||
gem 'rspec-rails'
|
|
||||||
gem 'rspec-retry'
|
|
||||||
|
|
||||||
# Linters
|
|
||||||
gem 'fasterer'
|
|
||||||
gem 'rubocop'
|
|
||||||
gem 'rubocop-capybara'
|
|
||||||
gem 'rubocop-packaging'
|
|
||||||
gem 'rubocop-performance'
|
|
||||||
gem 'rubocop-rails'
|
|
||||||
gem 'rubocop-rspec'
|
|
||||||
gem 'rubocop-rspec_rails'
|
|
||||||
|
|
||||||
# Tools
|
|
||||||
gem 'pry-rails'
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2017-2022 Mattia Roccoberton
|
Copyright (c) 2017 Mattia Roccoberton
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
a copy of this software and associated documentation files (the
|
a copy of this software and associated documentation files (the
|
||||||
|
|||||||
38
Makefile
38
Makefile
@@ -1,38 +0,0 @@
|
|||||||
help:
|
|
||||||
@echo "Main targets: up / down / console / shell"
|
|
||||||
|
|
||||||
# Docker commands
|
|
||||||
down:
|
|
||||||
docker compose down
|
|
||||||
|
|
||||||
up:
|
|
||||||
docker compose up
|
|
||||||
|
|
||||||
attach:
|
|
||||||
docker compose attach app
|
|
||||||
|
|
||||||
up_attach:
|
|
||||||
docker compose up -d && docker compose attach app
|
|
||||||
|
|
||||||
cleanup:
|
|
||||||
docker container rm -f activeadmin_quill_editor_app && docker image rm -f activeadmin_quill_editor-app
|
|
||||||
|
|
||||||
# Rails specific commands
|
|
||||||
console:
|
|
||||||
docker compose exec -e "PAGER=more" app bin/rails console
|
|
||||||
|
|
||||||
routes:
|
|
||||||
docker compose exec app bin/rails routes
|
|
||||||
|
|
||||||
specs:
|
|
||||||
docker compose exec app bin/rspec --fail-fast
|
|
||||||
|
|
||||||
# Other commands
|
|
||||||
bundle:
|
|
||||||
docker compose exec app bundle
|
|
||||||
|
|
||||||
shell:
|
|
||||||
docker compose exec -e "PAGER=more" app bash
|
|
||||||
|
|
||||||
lint:
|
|
||||||
docker compose exec app bin/rubocop
|
|
||||||
156
README.md
156
README.md
@@ -1,67 +1,33 @@
|
|||||||
# ActiveAdmin Quill Editor
|
# ActiveAdmin Quill Editor [](https://badge.fury.io/rb/activeadmin_quill_editor)
|
||||||
[](https://badge.fury.io/rb/activeadmin_quill_editor)
|
|
||||||
[](https://rubygems.org/gems/activeadmin_quill_editor)
|
|
||||||
[](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/linters.yml)
|
|
||||||
|
|
||||||
[](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails61.yml)
|
An Active Admin plugin to use [Quill Rich Text Editor](https://github.com/quilljs/quill)
|
||||||
[](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails70.yml)
|
|
||||||
[](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails71.yml)
|
|
||||||
[](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails72.yml)
|
|
||||||
[](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails80.yml)
|
|
||||||
|
|
||||||
An Active Admin plugin to use [Quill Rich Text Editor](https://github.com/quilljs/quill) in form fields.
|

|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Please :star: if you like it.
|
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
_NOTE_: Ruby 2.7 is supported until version 1.1.0
|
- Update your Gemfile: `gem 'activeadmin_quill_editor'` (and execute *bundle*)
|
||||||
|
- Add at the end of your ActiveAdmin styles (_app/assets/stylesheets/active_admin.scss_):
|
||||||
After installing Active Admin, add to your Gemfile: `gem 'activeadmin_quill_editor'` (and execute *bundle*)
|
```css
|
||||||
|
|
||||||
If you installed Active Admin without Webpacker support (default for now):
|
|
||||||
|
|
||||||
- Add a SASS/SCSS gem to your Gemfile (ex. `gem 'sassc'`)
|
|
||||||
- Add at the end of your Active Admin styles (_app/assets/stylesheets/active_admin.scss_):
|
|
||||||
```scss
|
|
||||||
@import 'activeadmin/quill_editor/quill.snow';
|
|
||||||
@import 'activeadmin/quill_editor_input';
|
@import 'activeadmin/quill_editor_input';
|
||||||
```
|
```
|
||||||
- Add at the end of your Active Admin javascripts (_app/assets/javascripts/active_admin.js_):
|
- Add at the end of your ActiveAdmin javascripts (_app/assets/javascripts/active_admin.js_):
|
||||||
```js
|
```js
|
||||||
//= require activeadmin/quill_editor/quill
|
//= require activeadmin/quill_editor/quill
|
||||||
//= require activeadmin/quill_editor_input
|
//= require activeadmin/quill_editor_input
|
||||||
```
|
```
|
||||||
|
- Use the input with `as: :quill_editor` in Active Admin model conf
|
||||||
|
|
||||||
> **UPDATE FROM VERSION <= 2.0**: please add to your _app/assets/stylesheets/active_admin.scss_ the line `@import 'activeadmin/quill_editor/quill.snow';`
|
Why 2 separated scripts? In this way you can include a different version of *quill editor* if you like.
|
||||||
|
|
||||||
If you installed Active Admin with Webpacker support:
|
## Options
|
||||||
|
|
||||||
- Execute in your project root:
|
**data-options**: permits to set *quill editor* options directly - see [options list](https://quilljs.com/docs/quickstart/)
|
||||||
```sh
|
|
||||||
yarn add blocknotes/activeadmin_quill_editor
|
|
||||||
```
|
|
||||||
- Add to your *app/javascript/packs/active_admin.js*:
|
|
||||||
```js
|
|
||||||
require('activeadmin_quill_editor')
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
In your Active Admin models, form configuration, set the text inputs with `as: :quill_editor` where needed.
|
|
||||||
|
|
||||||
**data-options**: permits to set *quill editor* options directly - see [options list](https://quilljs.com/docs/configuration/)
|
|
||||||
|
|
||||||
If you are using Action Text (`has_rich_text`) on the same field of the Quill editor please take a look at [this workaround](https://github.com/blocknotes/activeadmin_quill_editor/issues/33#issuecomment-1965996947) to avoid issues.
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Basic usage
|
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
# Active Admin article form conf:
|
# ActiveAdmin article form conf:
|
||||||
form do |f|
|
form do |f|
|
||||||
f.inputs 'Article' do
|
f.inputs 'Article' do
|
||||||
f.input :title
|
f.input :title
|
||||||
@@ -72,102 +38,26 @@ If you are using Action Text (`has_rich_text`) on the same field of the Quill ed
|
|||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
### Toolbar buttons configuration
|
Toolbar buttons configuration:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
f.input :description, as: :quill_editor, input_html: { data: { options: { modules: { toolbar: [['bold', 'italic', 'underline'], ['link']] }, placeholder: 'Type something...', theme: 'snow' } } }
|
f.input :description, as: :quill_editor, input_html: {data: {options: {modules: {toolbar: [['bold', 'italic', 'underline'], ['link']]}, placeholder: 'Type something...', theme: 'snow'}}}
|
||||||
```
|
```
|
||||||
|
|
||||||
### ImageUploader plugin
|
## Notes
|
||||||
|
|
||||||
This plugin allows to upload images to the server (instead of storing them in *base64* by default), reference [here](https://github.com/NoelOConnell/quill-image-uploader).
|
- Upload functions (Images, Documents, Files, etc.) are not implemented yet
|
||||||
|
|
||||||
```ruby
|
|
||||||
# Upload method (to be included in the admin entity configuration)
|
|
||||||
member_action :upload, method: [:post] do
|
|
||||||
result = { success: resource.images.attach(params[:file_upload]) }
|
|
||||||
result[:url] = url_for(resource.images.last) if result[:success]
|
|
||||||
render json: result
|
|
||||||
end
|
|
||||||
```
|
|
||||||
|
|
||||||
```ruby
|
|
||||||
# Form field
|
|
||||||
unless object.new_record?
|
|
||||||
plugin_opts = { image_uploader: { server_url: upload_admin_post_path(object.id), field_name: 'file_upload' } }
|
|
||||||
f.input :description, as: :quill_editor, input_html: { data: { plugins: plugin_opts } }
|
|
||||||
end
|
|
||||||
```
|
|
||||||
|
|
||||||
For the relevant files of the upload example see [here](examples/upload_plugin_using_activestorage/).
|
|
||||||
Consider that this is just a basic example: images are uploaded as soon as they are attached to the
|
|
||||||
editor (regardless of the form submit), it shows the editor only for an existing record (because of
|
|
||||||
the *upload_admin_post_path*) and it doesn't provide a way to remove images (just deleting them from
|
|
||||||
the editor will not destroy them, you'll need to implement a purge logic for that).
|
|
||||||
|
|
||||||
## Javascript API
|
|
||||||
|
|
||||||
Some methods are provided for advanced use cases:
|
|
||||||
|
|
||||||
- `window.getQuillEditors()`: returns all the available Quill editors instances;
|
|
||||||
- `window.getQuillEditorByIndex(n)`: returns the N-th Quill editor instance;
|
|
||||||
- `window.getQuillEditorByElementId(id)`: returns the Quill editor instance related to the specified element id (e.g. _article_description_).
|
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
Project created by [Mattia Roccoberton](http://blocknot.es), thanks also to the good guys that opened issues and pull requests from time to time.
|
|
||||||
|
|
||||||
There 3 ways to interact with this project:
|
|
||||||
|
|
||||||
1) Using Docker:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# Run rails server on the dummy app (=> http://localhost:3000 to access to ActiveAdmin):
|
|
||||||
make up
|
|
||||||
# Enter in a Rails console (with the dummy app started):
|
|
||||||
make console
|
|
||||||
# Enter in a shell (with the dummy app started):
|
|
||||||
make shell
|
|
||||||
# Run the linter on the project (with the dummy app started):
|
|
||||||
make lint
|
|
||||||
# Run the test suite (with the dummy app started):
|
|
||||||
make specs
|
|
||||||
# Remove container and image:
|
|
||||||
make cleanup
|
|
||||||
# To try different versions of Ruby/Rails/ActiveAdmin edit docker-compose.yml
|
|
||||||
# For more commands please check the Makefile
|
|
||||||
```
|
|
||||||
|
|
||||||
2) Using Appraisal:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export RAILS_ENV=development
|
|
||||||
# Install dependencies
|
|
||||||
bin/appraisal
|
|
||||||
# Run server (or any command)
|
|
||||||
bin/appraisal rails s
|
|
||||||
# Or with specific versions
|
|
||||||
bin/appraisal rails71-activeadmin rails s
|
|
||||||
```
|
|
||||||
|
|
||||||
3) With a local setup:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# Dev setup (set the required envs)
|
|
||||||
source extra/dev_setup.sh
|
|
||||||
# Install dependencies
|
|
||||||
bundle
|
|
||||||
# Run server (or any command)
|
|
||||||
bin/rails s
|
|
||||||
# To try different versions of Rails/ActiveAdmin edit extra/dev_setup.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## Do you like it? Star it!
|
## Do you like it? Star it!
|
||||||
|
|
||||||
If you use this component just star it. A developer is more motivated to improve a project when there is some interest. My other [Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source).
|
If you use this component just star it. A developer is more motivated to improve a project when there is some interest.
|
||||||
|
|
||||||
Or consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).
|
Take a look at [other ActiveAdmin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source) that I made if you are curious.
|
||||||
|
|
||||||
|
## Contributors
|
||||||
|
|
||||||
|
- [Mattia Roccoberton](http://blocknot.es) - creator, maintainer
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The gem is available as open-source under the terms of the [MIT](LICENSE.txt).
|
[MIT](LICENSE.txt)
|
||||||
|
|||||||
17
Rakefile
17
Rakefile
@@ -1,16 +1,3 @@
|
|||||||
# frozen_string_literal: true
|
# encoding: utf-8
|
||||||
|
|
||||||
require 'bundler/gem_tasks'
|
require "bundler/gem_tasks"
|
||||||
|
|
||||||
begin
|
|
||||||
require 'rspec/core/rake_task'
|
|
||||||
|
|
||||||
RSpec::Core::RakeTask.new(:spec) do |t|
|
|
||||||
# t.ruby_opts = %w[-w]
|
|
||||||
t.rspec_opts = ['--color', '--format documentation']
|
|
||||||
end
|
|
||||||
|
|
||||||
task default: :spec
|
|
||||||
rescue LoadError
|
|
||||||
puts '! LoadError: no RSpec available'
|
|
||||||
end
|
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
# frozen_string_literal: true
|
lib = File.expand_path('../lib', __FILE__)
|
||||||
|
|
||||||
lib = File.expand_path('lib', __dir__)
|
|
||||||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
||||||
require 'activeadmin/quill_editor/version'
|
require 'activeadmin/quill_editor/version'
|
||||||
|
|
||||||
@@ -14,18 +12,8 @@ Gem::Specification.new do |spec|
|
|||||||
spec.email = 'mat@blocknot.es'
|
spec.email = 'mat@blocknot.es'
|
||||||
spec.homepage = 'https://github.com/blocknotes/activeadmin_quill_editor'
|
spec.homepage = 'https://github.com/blocknotes/activeadmin_quill_editor'
|
||||||
|
|
||||||
spec.required_ruby_version = '>= 3.0'
|
spec.files = `git ls-files -z`.split("\x0")
|
||||||
|
|
||||||
spec.metadata['homepage_uri'] = spec.homepage
|
|
||||||
spec.metadata['changelog_uri'] = 'https://github.com/blocknotes/activeadmin_quill_editor/blob/main/CHANGELOG.md'
|
|
||||||
spec.metadata['source_code_uri'] = spec.homepage
|
|
||||||
|
|
||||||
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
||||||
|
|
||||||
spec.files = Dir['{app,lib}/**/*', 'LICENSE.txt', 'Rakefile', 'README.md']
|
|
||||||
spec.require_paths = ['lib']
|
spec.require_paths = ['lib']
|
||||||
|
|
||||||
spec.add_runtime_dependency 'activeadmin', '>= 2.9', '< 4' # rubocop:disable Gemspec/AddRuntimeDependency
|
spec.add_runtime_dependency 'activeadmin', '2.0.0.alpha' # '~> 1.0'
|
||||||
|
|
||||||
spec.add_development_dependency 'appraisal', '~> 2.4' # rubocop:disable Gemspec/DevelopmentDependencies
|
|
||||||
end
|
end
|
||||||
|
|||||||
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Quill Editor v1.3.7
|
* Quill Editor v1.3.6
|
||||||
* https://quilljs.com/
|
* https://quilljs.com/
|
||||||
* Copyright (c) 2014, Jason Chen
|
* Copyright (c) 2014, Jason Chen
|
||||||
* Copyright (c) 2013, salesforce.com
|
* Copyright (c) 2013, salesforce.com
|
||||||
@@ -439,19 +439,7 @@ Delta.prototype.slice = function (start, end) {
|
|||||||
Delta.prototype.compose = function (other) {
|
Delta.prototype.compose = function (other) {
|
||||||
var thisIter = op.iterator(this.ops);
|
var thisIter = op.iterator(this.ops);
|
||||||
var otherIter = op.iterator(other.ops);
|
var otherIter = op.iterator(other.ops);
|
||||||
var ops = [];
|
var delta = new Delta();
|
||||||
var firstOther = otherIter.peek();
|
|
||||||
if (firstOther != null && typeof firstOther.retain === 'number' && firstOther.attributes == null) {
|
|
||||||
var firstLeft = firstOther.retain;
|
|
||||||
while (thisIter.peekType() === 'insert' && thisIter.peekLength() <= firstLeft) {
|
|
||||||
firstLeft -= thisIter.peekLength();
|
|
||||||
ops.push(thisIter.next());
|
|
||||||
}
|
|
||||||
if (firstOther.retain - firstLeft > 0) {
|
|
||||||
otherIter.next(firstOther.retain - firstLeft);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var delta = new Delta(ops);
|
|
||||||
while (thisIter.hasNext() || otherIter.hasNext()) {
|
while (thisIter.hasNext() || otherIter.hasNext()) {
|
||||||
if (otherIter.peekType() === 'insert') {
|
if (otherIter.peekType() === 'insert') {
|
||||||
delta.push(otherIter.next());
|
delta.push(otherIter.next());
|
||||||
@@ -472,13 +460,6 @@ Delta.prototype.compose = function (other) {
|
|||||||
var attributes = op.attributes.compose(thisOp.attributes, otherOp.attributes, typeof thisOp.retain === 'number');
|
var attributes = op.attributes.compose(thisOp.attributes, otherOp.attributes, typeof thisOp.retain === 'number');
|
||||||
if (attributes) newOp.attributes = attributes;
|
if (attributes) newOp.attributes = attributes;
|
||||||
delta.push(newOp);
|
delta.push(newOp);
|
||||||
|
|
||||||
// Optimization if rest of other is just retain
|
|
||||||
if (!otherIter.hasNext() && equal(delta.ops[delta.ops.length - 1], newOp)) {
|
|
||||||
var rest = new Delta(thisIter.rest());
|
|
||||||
return delta.concat(rest).chop();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Other op should be delete, we could be an insert or retain
|
// Other op should be delete, we could be an insert or retain
|
||||||
// Insert + delete cancels out
|
// Insert + delete cancels out
|
||||||
} else if (typeof otherOp['delete'] === 'number' && typeof thisOp.retain === 'number') {
|
} else if (typeof otherOp['delete'] === 'number' && typeof thisOp.retain === 'number') {
|
||||||
@@ -636,8 +617,6 @@ module.exports = Delta;
|
|||||||
|
|
||||||
var hasOwn = Object.prototype.hasOwnProperty;
|
var hasOwn = Object.prototype.hasOwnProperty;
|
||||||
var toStr = Object.prototype.toString;
|
var toStr = Object.prototype.toString;
|
||||||
var defineProperty = Object.defineProperty;
|
|
||||||
var gOPD = Object.getOwnPropertyDescriptor;
|
|
||||||
|
|
||||||
var isArray = function isArray(arr) {
|
var isArray = function isArray(arr) {
|
||||||
if (typeof Array.isArray === 'function') {
|
if (typeof Array.isArray === 'function') {
|
||||||
@@ -667,35 +646,6 @@ var isPlainObject = function isPlainObject(obj) {
|
|||||||
return typeof key === 'undefined' || hasOwn.call(obj, key);
|
return typeof key === 'undefined' || hasOwn.call(obj, key);
|
||||||
};
|
};
|
||||||
|
|
||||||
// If name is '__proto__', and Object.defineProperty is available, define __proto__ as an own property on target
|
|
||||||
var setProperty = function setProperty(target, options) {
|
|
||||||
if (defineProperty && options.name === '__proto__') {
|
|
||||||
defineProperty(target, options.name, {
|
|
||||||
enumerable: true,
|
|
||||||
configurable: true,
|
|
||||||
value: options.newValue,
|
|
||||||
writable: true
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
target[options.name] = options.newValue;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// Return undefined instead of __proto__ if '__proto__' is not an own property
|
|
||||||
var getProperty = function getProperty(obj, name) {
|
|
||||||
if (name === '__proto__') {
|
|
||||||
if (!hasOwn.call(obj, name)) {
|
|
||||||
return void 0;
|
|
||||||
} else if (gOPD) {
|
|
||||||
// In early versions of node, obj['__proto__'] is buggy when obj has
|
|
||||||
// __proto__ as an own property. Object.getOwnPropertyDescriptor() works.
|
|
||||||
return gOPD(obj, name).value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return obj[name];
|
|
||||||
};
|
|
||||||
|
|
||||||
module.exports = function extend() {
|
module.exports = function extend() {
|
||||||
var options, name, src, copy, copyIsArray, clone;
|
var options, name, src, copy, copyIsArray, clone;
|
||||||
var target = arguments[0];
|
var target = arguments[0];
|
||||||
@@ -720,8 +670,8 @@ module.exports = function extend() {
|
|||||||
if (options != null) {
|
if (options != null) {
|
||||||
// Extend the base object
|
// Extend the base object
|
||||||
for (name in options) {
|
for (name in options) {
|
||||||
src = getProperty(target, name);
|
src = target[name];
|
||||||
copy = getProperty(options, name);
|
copy = options[name];
|
||||||
|
|
||||||
// Prevent never-ending loop
|
// Prevent never-ending loop
|
||||||
if (target !== copy) {
|
if (target !== copy) {
|
||||||
@@ -735,11 +685,11 @@ module.exports = function extend() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Never move original objects, clone them
|
// Never move original objects, clone them
|
||||||
setProperty(target, { name: name, newValue: extend(deep, clone, copy) });
|
target[name] = extend(deep, clone, copy);
|
||||||
|
|
||||||
// Don't bring in undefined values
|
// Don't bring in undefined values
|
||||||
} else if (typeof copy !== 'undefined') {
|
} else if (typeof copy !== 'undefined') {
|
||||||
setProperty(target, { name: name, newValue: copy });
|
target[name] = copy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1583,7 +1533,7 @@ Quill.DEFAULTS = {
|
|||||||
Quill.events = _emitter4.default.events;
|
Quill.events = _emitter4.default.events;
|
||||||
Quill.sources = _emitter4.default.sources;
|
Quill.sources = _emitter4.default.sources;
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
Quill.version = false ? 'dev' : "1.3.7";
|
Quill.version = false ? 'dev' : "1.3.6";
|
||||||
|
|
||||||
Quill.imports = {
|
Quill.imports = {
|
||||||
'delta': _quillDelta2.default,
|
'delta': _quillDelta2.default,
|
||||||
@@ -3732,8 +3682,8 @@ var LeafBlot = /** @class */ (function (_super) {
|
|||||||
return [this.parent.domNode, offset];
|
return [this.parent.domNode, offset];
|
||||||
};
|
};
|
||||||
LeafBlot.prototype.value = function () {
|
LeafBlot.prototype.value = function () {
|
||||||
var _a;
|
|
||||||
return _a = {}, _a[this.statics.blotName] = this.statics.value(this.domNode) || true, _a;
|
return _a = {}, _a[this.statics.blotName] = this.statics.value(this.domNode) || true, _a;
|
||||||
|
var _a;
|
||||||
};
|
};
|
||||||
LeafBlot.scope = Registry.Scope.INLINE_BLOT;
|
LeafBlot.scope = Registry.Scope.INLINE_BLOT;
|
||||||
return LeafBlot;
|
return LeafBlot;
|
||||||
@@ -3882,22 +3832,6 @@ Iterator.prototype.peekType = function () {
|
|||||||
return 'retain';
|
return 'retain';
|
||||||
};
|
};
|
||||||
|
|
||||||
Iterator.prototype.rest = function () {
|
|
||||||
if (!this.hasNext()) {
|
|
||||||
return [];
|
|
||||||
} else if (this.offset === 0) {
|
|
||||||
return this.ops.slice(this.index);
|
|
||||||
} else {
|
|
||||||
var offset = this.offset;
|
|
||||||
var index = this.index;
|
|
||||||
var next = this.next();
|
|
||||||
var rest = this.ops.slice(this.index);
|
|
||||||
this.offset = offset;
|
|
||||||
this.index = index;
|
|
||||||
return [next].concat(rest);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
module.exports = lib;
|
module.exports = lib;
|
||||||
|
|
||||||
@@ -4012,13 +3946,7 @@ function clone(parent, circular, depth, prototype, includeNonEnumerable) {
|
|||||||
} else if (clone.__isDate(parent)) {
|
} else if (clone.__isDate(parent)) {
|
||||||
child = new Date(parent.getTime());
|
child = new Date(parent.getTime());
|
||||||
} else if (useBuffer && Buffer.isBuffer(parent)) {
|
} else if (useBuffer && Buffer.isBuffer(parent)) {
|
||||||
if (Buffer.allocUnsafe) {
|
|
||||||
// Node.js >= 4.5.0
|
|
||||||
child = Buffer.allocUnsafe(parent.length);
|
|
||||||
} else {
|
|
||||||
// Older Node.js versions
|
|
||||||
child = new Buffer(parent.length);
|
child = new Buffer(parent.length);
|
||||||
}
|
|
||||||
parent.copy(child);
|
parent.copy(child);
|
||||||
return child;
|
return child;
|
||||||
} else if (_instanceof(parent, Error)) {
|
} else if (_instanceof(parent, Error)) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Quill Editor v1.3.7
|
* Quill Editor v1.3.6
|
||||||
* https://quilljs.com/
|
* https://quilljs.com/
|
||||||
* Copyright (c) 2014, Jason Chen
|
* Copyright (c) 2014, Jason Chen
|
||||||
* Copyright (c) 2013, salesforce.com
|
* Copyright (c) 2013, salesforce.com
|
||||||
@@ -439,19 +439,7 @@ Delta.prototype.slice = function (start, end) {
|
|||||||
Delta.prototype.compose = function (other) {
|
Delta.prototype.compose = function (other) {
|
||||||
var thisIter = op.iterator(this.ops);
|
var thisIter = op.iterator(this.ops);
|
||||||
var otherIter = op.iterator(other.ops);
|
var otherIter = op.iterator(other.ops);
|
||||||
var ops = [];
|
var delta = new Delta();
|
||||||
var firstOther = otherIter.peek();
|
|
||||||
if (firstOther != null && typeof firstOther.retain === 'number' && firstOther.attributes == null) {
|
|
||||||
var firstLeft = firstOther.retain;
|
|
||||||
while (thisIter.peekType() === 'insert' && thisIter.peekLength() <= firstLeft) {
|
|
||||||
firstLeft -= thisIter.peekLength();
|
|
||||||
ops.push(thisIter.next());
|
|
||||||
}
|
|
||||||
if (firstOther.retain - firstLeft > 0) {
|
|
||||||
otherIter.next(firstOther.retain - firstLeft);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var delta = new Delta(ops);
|
|
||||||
while (thisIter.hasNext() || otherIter.hasNext()) {
|
while (thisIter.hasNext() || otherIter.hasNext()) {
|
||||||
if (otherIter.peekType() === 'insert') {
|
if (otherIter.peekType() === 'insert') {
|
||||||
delta.push(otherIter.next());
|
delta.push(otherIter.next());
|
||||||
@@ -472,13 +460,6 @@ Delta.prototype.compose = function (other) {
|
|||||||
var attributes = op.attributes.compose(thisOp.attributes, otherOp.attributes, typeof thisOp.retain === 'number');
|
var attributes = op.attributes.compose(thisOp.attributes, otherOp.attributes, typeof thisOp.retain === 'number');
|
||||||
if (attributes) newOp.attributes = attributes;
|
if (attributes) newOp.attributes = attributes;
|
||||||
delta.push(newOp);
|
delta.push(newOp);
|
||||||
|
|
||||||
// Optimization if rest of other is just retain
|
|
||||||
if (!otherIter.hasNext() && equal(delta.ops[delta.ops.length - 1], newOp)) {
|
|
||||||
var rest = new Delta(thisIter.rest());
|
|
||||||
return delta.concat(rest).chop();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Other op should be delete, we could be an insert or retain
|
// Other op should be delete, we could be an insert or retain
|
||||||
// Insert + delete cancels out
|
// Insert + delete cancels out
|
||||||
} else if (typeof otherOp['delete'] === 'number' && typeof thisOp.retain === 'number') {
|
} else if (typeof otherOp['delete'] === 'number' && typeof thisOp.retain === 'number') {
|
||||||
@@ -636,8 +617,6 @@ module.exports = Delta;
|
|||||||
|
|
||||||
var hasOwn = Object.prototype.hasOwnProperty;
|
var hasOwn = Object.prototype.hasOwnProperty;
|
||||||
var toStr = Object.prototype.toString;
|
var toStr = Object.prototype.toString;
|
||||||
var defineProperty = Object.defineProperty;
|
|
||||||
var gOPD = Object.getOwnPropertyDescriptor;
|
|
||||||
|
|
||||||
var isArray = function isArray(arr) {
|
var isArray = function isArray(arr) {
|
||||||
if (typeof Array.isArray === 'function') {
|
if (typeof Array.isArray === 'function') {
|
||||||
@@ -667,35 +646,6 @@ var isPlainObject = function isPlainObject(obj) {
|
|||||||
return typeof key === 'undefined' || hasOwn.call(obj, key);
|
return typeof key === 'undefined' || hasOwn.call(obj, key);
|
||||||
};
|
};
|
||||||
|
|
||||||
// If name is '__proto__', and Object.defineProperty is available, define __proto__ as an own property on target
|
|
||||||
var setProperty = function setProperty(target, options) {
|
|
||||||
if (defineProperty && options.name === '__proto__') {
|
|
||||||
defineProperty(target, options.name, {
|
|
||||||
enumerable: true,
|
|
||||||
configurable: true,
|
|
||||||
value: options.newValue,
|
|
||||||
writable: true
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
target[options.name] = options.newValue;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// Return undefined instead of __proto__ if '__proto__' is not an own property
|
|
||||||
var getProperty = function getProperty(obj, name) {
|
|
||||||
if (name === '__proto__') {
|
|
||||||
if (!hasOwn.call(obj, name)) {
|
|
||||||
return void 0;
|
|
||||||
} else if (gOPD) {
|
|
||||||
// In early versions of node, obj['__proto__'] is buggy when obj has
|
|
||||||
// __proto__ as an own property. Object.getOwnPropertyDescriptor() works.
|
|
||||||
return gOPD(obj, name).value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return obj[name];
|
|
||||||
};
|
|
||||||
|
|
||||||
module.exports = function extend() {
|
module.exports = function extend() {
|
||||||
var options, name, src, copy, copyIsArray, clone;
|
var options, name, src, copy, copyIsArray, clone;
|
||||||
var target = arguments[0];
|
var target = arguments[0];
|
||||||
@@ -720,8 +670,8 @@ module.exports = function extend() {
|
|||||||
if (options != null) {
|
if (options != null) {
|
||||||
// Extend the base object
|
// Extend the base object
|
||||||
for (name in options) {
|
for (name in options) {
|
||||||
src = getProperty(target, name);
|
src = target[name];
|
||||||
copy = getProperty(options, name);
|
copy = options[name];
|
||||||
|
|
||||||
// Prevent never-ending loop
|
// Prevent never-ending loop
|
||||||
if (target !== copy) {
|
if (target !== copy) {
|
||||||
@@ -735,11 +685,11 @@ module.exports = function extend() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Never move original objects, clone them
|
// Never move original objects, clone them
|
||||||
setProperty(target, { name: name, newValue: extend(deep, clone, copy) });
|
target[name] = extend(deep, clone, copy);
|
||||||
|
|
||||||
// Don't bring in undefined values
|
// Don't bring in undefined values
|
||||||
} else if (typeof copy !== 'undefined') {
|
} else if (typeof copy !== 'undefined') {
|
||||||
setProperty(target, { name: name, newValue: copy });
|
target[name] = copy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1583,7 +1533,7 @@ Quill.DEFAULTS = {
|
|||||||
Quill.events = _emitter4.default.events;
|
Quill.events = _emitter4.default.events;
|
||||||
Quill.sources = _emitter4.default.sources;
|
Quill.sources = _emitter4.default.sources;
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
Quill.version = false ? 'dev' : "1.3.7";
|
Quill.version = false ? 'dev' : "1.3.6";
|
||||||
|
|
||||||
Quill.imports = {
|
Quill.imports = {
|
||||||
'delta': _quillDelta2.default,
|
'delta': _quillDelta2.default,
|
||||||
@@ -3732,8 +3682,8 @@ var LeafBlot = /** @class */ (function (_super) {
|
|||||||
return [this.parent.domNode, offset];
|
return [this.parent.domNode, offset];
|
||||||
};
|
};
|
||||||
LeafBlot.prototype.value = function () {
|
LeafBlot.prototype.value = function () {
|
||||||
var _a;
|
|
||||||
return _a = {}, _a[this.statics.blotName] = this.statics.value(this.domNode) || true, _a;
|
return _a = {}, _a[this.statics.blotName] = this.statics.value(this.domNode) || true, _a;
|
||||||
|
var _a;
|
||||||
};
|
};
|
||||||
LeafBlot.scope = Registry.Scope.INLINE_BLOT;
|
LeafBlot.scope = Registry.Scope.INLINE_BLOT;
|
||||||
return LeafBlot;
|
return LeafBlot;
|
||||||
@@ -3882,22 +3832,6 @@ Iterator.prototype.peekType = function () {
|
|||||||
return 'retain';
|
return 'retain';
|
||||||
};
|
};
|
||||||
|
|
||||||
Iterator.prototype.rest = function () {
|
|
||||||
if (!this.hasNext()) {
|
|
||||||
return [];
|
|
||||||
} else if (this.offset === 0) {
|
|
||||||
return this.ops.slice(this.index);
|
|
||||||
} else {
|
|
||||||
var offset = this.offset;
|
|
||||||
var index = this.index;
|
|
||||||
var next = this.next();
|
|
||||||
var rest = this.ops.slice(this.index);
|
|
||||||
this.offset = offset;
|
|
||||||
this.index = index;
|
|
||||||
return [next].concat(rest);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
module.exports = lib;
|
module.exports = lib;
|
||||||
|
|
||||||
@@ -4012,13 +3946,7 @@ function clone(parent, circular, depth, prototype, includeNonEnumerable) {
|
|||||||
} else if (clone.__isDate(parent)) {
|
} else if (clone.__isDate(parent)) {
|
||||||
child = new Date(parent.getTime());
|
child = new Date(parent.getTime());
|
||||||
} else if (useBuffer && Buffer.isBuffer(parent)) {
|
} else if (useBuffer && Buffer.isBuffer(parent)) {
|
||||||
if (Buffer.allocUnsafe) {
|
|
||||||
// Node.js >= 4.5.0
|
|
||||||
child = Buffer.allocUnsafe(parent.length);
|
|
||||||
} else {
|
|
||||||
// Older Node.js versions
|
|
||||||
child = new Buffer(parent.length);
|
child = new Buffer(parent.length);
|
||||||
}
|
|
||||||
parent.copy(child);
|
parent.copy(child);
|
||||||
return child;
|
return child;
|
||||||
} else if (_instanceof(parent, Error)) {
|
} else if (_instanceof(parent, Error)) {
|
||||||
@@ -5363,7 +5291,6 @@ var Link = function (_Inline) {
|
|||||||
var node = _get(Link.__proto__ || Object.getPrototypeOf(Link), 'create', this).call(this, value);
|
var node = _get(Link.__proto__ || Object.getPrototypeOf(Link), 'create', this).call(this, value);
|
||||||
value = this.sanitize(value);
|
value = this.sanitize(value);
|
||||||
node.setAttribute('href', value);
|
node.setAttribute('href', value);
|
||||||
node.setAttribute('rel', 'noopener noreferrer');
|
|
||||||
node.setAttribute('target', '_blank');
|
node.setAttribute('target', '_blank');
|
||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
@@ -10027,7 +9954,7 @@ var SnowTooltip = function (_BaseTooltip) {
|
|||||||
return SnowTooltip;
|
return SnowTooltip;
|
||||||
}(_base.BaseTooltip);
|
}(_base.BaseTooltip);
|
||||||
|
|
||||||
SnowTooltip.TEMPLATE = ['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join('');
|
SnowTooltip.TEMPLATE = ['<a class="ql-preview" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join('');
|
||||||
|
|
||||||
exports.default = SnowTheme;
|
exports.default = SnowTheme;
|
||||||
|
|
||||||
|
|||||||
4
app/assets/javascripts/activeadmin/quill_editor/quill.min.js
поставляемый
4
app/assets/javascripts/activeadmin/quill_editor/quill.min.js
поставляемый
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
@@ -1,116 +1,49 @@
|
|||||||
/* eslint-disable no-undef */
|
window.onload = function () {
|
||||||
(function () {
|
initQuillEditors();
|
||||||
'use strict'
|
}
|
||||||
|
|
||||||
// --- functions ---------------------------------------------------------------
|
$(document).on('has_many_add:after', function() {
|
||||||
function initQuillEditors() {
|
initQuillEditors();
|
||||||
let default_theme = 'snow'
|
});
|
||||||
let default_toolbar = [
|
|
||||||
|
var initQuillEditors = function() {
|
||||||
|
var editors = document.querySelectorAll( '.quill-editor' );
|
||||||
|
var default_options = {
|
||||||
|
modules: {
|
||||||
|
toolbar: [
|
||||||
['bold', 'italic', 'underline'],
|
['bold', 'italic', 'underline'],
|
||||||
['link', 'blockquote', 'code-block'],
|
['link', 'blockquote', 'code-block'],
|
||||||
[{ 'script': 'sub' }, { 'script': 'super' }],
|
[{ 'script': 'sub'}, { 'script': 'super' }],
|
||||||
[{ 'align': [] }, { list: 'ordered' }, { list: 'bullet' }],
|
[{ 'align': [] }, { list: 'ordered' }, { list: 'bullet' }],
|
||||||
[{ 'color': [] }, { 'background': [] }],
|
[{ 'color': [] }, { 'background': [] }],
|
||||||
['image'],
|
|
||||||
['clean'],
|
['clean'],
|
||||||
|
// [{ 'size': ['small', false, 'large', 'huge'] }],
|
||||||
|
// [{ 'header': [1, 2, 3, 4, 5, 6, false] }],
|
||||||
]
|
]
|
||||||
let editors = document.querySelectorAll('[data-aa-quill-editor]')
|
},
|
||||||
let registered_plugins = {}
|
placeholder: '',
|
||||||
|
theme: 'snow'
|
||||||
|
};
|
||||||
|
|
||||||
for (let i = 0; i < editors.length; i++) {
|
for( var i = 0; i < editors.length; i++ ) {
|
||||||
let content = editors[i].querySelector('[data-aa-quill-content]')
|
var content = editors[i].querySelector( '.quill-editor-content' );
|
||||||
let isActive = editors[i].classList.contains('quill-editor--active')
|
var isActive = editors[i].classList.contains('quill-editor--active');
|
||||||
if (content && !isActive) {
|
if( content && !isActive) {
|
||||||
// Setup editor options
|
var options = editors[i].getAttribute( 'data-options' ) ? JSON.parse( editors[i].getAttribute( 'data-options' ) ) : default_options;
|
||||||
let options = editors[i].getAttribute('data-options') ? JSON.parse(editors[i].getAttribute('data-options')) : {}
|
editors[i]['_quill-editor'] = new Quill( content, options );
|
||||||
if (!options.theme) options.theme = default_theme
|
editors[i].classList += ' quill-editor--active';
|
||||||
if (!options.modules) options.modules = {}
|
|
||||||
if (!options.modules.toolbar) options.modules.toolbar = default_toolbar
|
|
||||||
|
|
||||||
// Setup plugin options
|
|
||||||
let plugin_options = editors[i].getAttribute('data-plugins') ? JSON.parse(editors[i].getAttribute('data-plugins')) : {}
|
|
||||||
if (plugin_options.image_uploader && plugin_options.image_uploader.server_url) {
|
|
||||||
if (!registered_plugins.image_uploader) {
|
|
||||||
Quill.register('modules/imageUploader', ImageUploader)
|
|
||||||
registered_plugins.image_uploader = true
|
|
||||||
}
|
|
||||||
let opts = plugin_options.image_uploader
|
|
||||||
options.modules.imageUploader = setupImageUploader(opts.server_url, opts.field_name)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Init editor
|
|
||||||
editors[i]['_quill-editor'] = new Quill(content, options)
|
|
||||||
editors[i].classList += ' quill-editor--active'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let formtastic = document.querySelector('form.formtastic')
|
var formtastic = document.querySelector( 'form.formtastic' );
|
||||||
if (formtastic) {
|
if( formtastic ) {
|
||||||
formtastic.onsubmit = () => {
|
formtastic.onsubmit = function() {
|
||||||
for (let i = 0; i < editors.length; i++) {
|
for( var i = 0; i < editors.length; i++ ) {
|
||||||
let input = editors[i].querySelector('input[type="hidden"]')
|
var input = editors[i].querySelector( 'input[type="hidden"]' );
|
||||||
if (editors[i]['_quill-editor'].editor.isBlank()) {
|
input.value = editors[i]['_quill-editor'].root.innerHTML;
|
||||||
input.value = ''
|
// input.value = editors[i]['_quill-editor'].getContents();
|
||||||
} else {
|
// input.value = editors[i].querySelector( '.quill-editor-content' ).innerHTML;
|
||||||
input.value = editors[i]['_quill-editor'].root.innerHTML
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
function setupImageUploader(server_url, field_name) {
|
|
||||||
return {
|
|
||||||
upload: file => {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
const formData = new FormData()
|
|
||||||
formData.append(field_name || 'file_upload', file)
|
|
||||||
|
|
||||||
fetch(server_url, {
|
|
||||||
body: formData,
|
|
||||||
headers: {
|
|
||||||
'X-CSRF-Token': document.querySelector('meta[name="csrf-token"]').getAttribute('content')
|
|
||||||
},
|
|
||||||
method: 'POST'
|
|
||||||
}).then(response => response.json())
|
|
||||||
.then(result => {
|
|
||||||
if (!result.url) {
|
|
||||||
reject('Upload failed')
|
|
||||||
}
|
|
||||||
resolve(result.url);
|
|
||||||
})
|
|
||||||
.catch(error => {
|
|
||||||
reject('Upload failed')
|
|
||||||
console.error('Error: ', error)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// --- public functions --------------------------------------------------------
|
|
||||||
window.getQuillEditors = function() {
|
|
||||||
const editors = document.querySelectorAll('[data-aa-quill-editor]')
|
|
||||||
let list = []
|
|
||||||
|
|
||||||
editors.forEach(function(editor) { list.push(editor['_quill-editor']) })
|
|
||||||
return list
|
|
||||||
}
|
|
||||||
|
|
||||||
window.getQuillEditorByIndex = function(index) {
|
|
||||||
const editors = document.querySelectorAll('[data-aa-quill-editor]')
|
|
||||||
|
|
||||||
return (index >= 0 && index < editors.length) ? editors[index]['_quill-editor'] : null
|
|
||||||
}
|
|
||||||
|
|
||||||
window.getQuillEditorByElementId = function(id) {
|
|
||||||
const editor = document.querySelector(`[data-aa-quill-editor]#${id}`)
|
|
||||||
|
|
||||||
return editor ? editor['_quill-editor'] : null
|
|
||||||
}
|
|
||||||
|
|
||||||
// --- events ------------------------------------------------------------------
|
|
||||||
$(document).ready(initQuillEditors)
|
|
||||||
$(document).on('has_many_add:after', '.has_many_container', initQuillEditors)
|
|
||||||
$(document).on('turbolinks:load', initQuillEditors)
|
|
||||||
})()
|
|
||||||
|
|||||||
24
app/assets/stylesheets/activeadmin/_quill_editor_input.sass
Обычный файл
24
app/assets/stylesheets/activeadmin/_quill_editor_input.sass
Обычный файл
@@ -0,0 +1,24 @@
|
|||||||
|
@import 'activeadmin/quill_editor/quill.snow.css'
|
||||||
|
|
||||||
|
body.active_admin form .quill-editor
|
||||||
|
display: inline-block
|
||||||
|
width: calc(80% - 22px)
|
||||||
|
.ql-editor
|
||||||
|
background-color: #fff
|
||||||
|
max-height: 300px
|
||||||
|
min-height: 150px
|
||||||
|
padding: 10px
|
||||||
|
// reset internal elements
|
||||||
|
*
|
||||||
|
margin: initial
|
||||||
|
padding: initial
|
||||||
|
text-align: initial
|
||||||
|
p
|
||||||
|
margin-bottom: 1em
|
||||||
|
ol
|
||||||
|
list-style-type: decimal
|
||||||
|
ul
|
||||||
|
list-style-type: disc
|
||||||
|
ul, ol
|
||||||
|
margin: 0 1.5em 1.5em 0
|
||||||
|
padding-left: 1.5em
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
// reset internal elements
|
|
||||||
.ql-editor * {
|
|
||||||
margin: initial;
|
|
||||||
padding: initial;
|
|
||||||
text-align: initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.active_admin [data-aa-quill-editor] {
|
|
||||||
display: inline-block;
|
|
||||||
width: calc(80% - 2px);
|
|
||||||
|
|
||||||
button {
|
|
||||||
text-shadow: none;
|
|
||||||
box-shadow: none;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-image: none;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ql-container {
|
|
||||||
border: 1px solid #c9d0d6;
|
|
||||||
border-radius: 0 0 3px 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ql-editor {
|
|
||||||
background-color: #fff;
|
|
||||||
max-height: 300px;
|
|
||||||
min-height: 150px;
|
|
||||||
padding: 10px;
|
|
||||||
word-break: break-all;
|
|
||||||
|
|
||||||
ol {
|
|
||||||
list-style-type: decimal;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
|
||||||
list-style-type: disc;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul, ol {
|
|
||||||
margin: 0 1.5em 1.5em 0;
|
|
||||||
padding-left: 1.5em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ql-toolbar {
|
|
||||||
border: 1px solid #c9d0d6;
|
|
||||||
border-radius: 3px 3px 0 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
33
app/assets/stylesheets/activeadmin/quill.imageUploader.min.css
поставляемый
33
app/assets/stylesheets/activeadmin/quill.imageUploader.min.css
поставляемый
@@ -1,33 +0,0 @@
|
|||||||
.image-uploading {
|
|
||||||
position: relative;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image-uploading img {
|
|
||||||
max-width: 98% !important;
|
|
||||||
filter: blur(5px);
|
|
||||||
opacity: 0.3;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image-uploading::before {
|
|
||||||
content: "";
|
|
||||||
box-sizing: border-box;
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
margin-top: -15px;
|
|
||||||
margin-left: -15px;
|
|
||||||
border-radius: 50%;
|
|
||||||
border: 3px solid #ccc;
|
|
||||||
border-top-color: #1e986c;
|
|
||||||
z-index: 1;
|
|
||||||
animation: spinner 0.6s linear infinite;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes spinner {
|
|
||||||
to {
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Quill Editor v1.3.7
|
* Quill Editor v1.3.6
|
||||||
* https://quilljs.com/
|
* https://quilljs.com/
|
||||||
* Copyright (c) 2014, Jason Chen
|
* Copyright (c) 2014, Jason Chen
|
||||||
* Copyright (c) 2013, salesforce.com
|
* Copyright (c) 2013, salesforce.com
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Quill Editor v1.3.7
|
* Quill Editor v1.3.6
|
||||||
* https://quilljs.com/
|
* https://quilljs.com/
|
||||||
* Copyright (c) 2014, Jason Chen
|
* Copyright (c) 2014, Jason Chen
|
||||||
* Copyright (c) 2013, salesforce.com
|
* Copyright (c) 2013, salesforce.com
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Quill Editor v1.3.7
|
* Quill Editor v1.3.6
|
||||||
* https://quilljs.com/
|
* https://quilljs.com/
|
||||||
* Copyright (c) 2014, Jason Chen
|
* Copyright (c) 2014, Jason Chen
|
||||||
* Copyright (c) 2013, salesforce.com
|
* Copyright (c) 2013, salesforce.com
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
#!/usr/bin/env ruby
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
#
|
|
||||||
# This file was generated by Bundler.
|
|
||||||
#
|
|
||||||
# The application 'appraisal' is installed as part of a gem, and
|
|
||||||
# this file is here to facilitate running it.
|
|
||||||
#
|
|
||||||
|
|
||||||
require "pathname"
|
|
||||||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
||||||
Pathname.new(__FILE__).realpath)
|
|
||||||
|
|
||||||
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
||||||
|
|
||||||
if File.file?(bundle_binstub)
|
|
||||||
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
|
||||||
load(bundle_binstub)
|
|
||||||
else
|
|
||||||
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
||||||
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
require "rubygems"
|
|
||||||
require "bundler/setup"
|
|
||||||
|
|
||||||
load Gem.bin_path("appraisal", "appraisal")
|
|
||||||
29
bin/fasterer
29
bin/fasterer
@@ -1,29 +0,0 @@
|
|||||||
#!/usr/bin/env ruby
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
#
|
|
||||||
# This file was generated by Bundler.
|
|
||||||
#
|
|
||||||
# The application 'fasterer' is installed as part of a gem, and
|
|
||||||
# this file is here to facilitate running it.
|
|
||||||
#
|
|
||||||
|
|
||||||
require "pathname"
|
|
||||||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
||||||
Pathname.new(__FILE__).realpath)
|
|
||||||
|
|
||||||
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
||||||
|
|
||||||
if File.file?(bundle_binstub)
|
|
||||||
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
|
||||||
load(bundle_binstub)
|
|
||||||
else
|
|
||||||
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
||||||
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
require "rubygems"
|
|
||||||
require "bundler/setup"
|
|
||||||
|
|
||||||
load Gem.bin_path("fasterer", "fasterer")
|
|
||||||
16
bin/rails
16
bin/rails
@@ -1,16 +0,0 @@
|
|||||||
#!/usr/bin/env ruby
|
|
||||||
# This command will automatically be run when you run "rails" with Rails gems
|
|
||||||
# installed from the root of your application.
|
|
||||||
|
|
||||||
ENV['RAILS_ENV'] ||= 'test'
|
|
||||||
|
|
||||||
ENGINE_ROOT = File.expand_path('..', __dir__)
|
|
||||||
ENGINE_PATH = File.expand_path('../lib/activeadmin/quill_editor/engine', __dir__)
|
|
||||||
APP_PATH = File.expand_path('../spec/dummy/config/application', __dir__)
|
|
||||||
|
|
||||||
# Set up gems listed in the Gemfile.
|
|
||||||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
|
||||||
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
|
||||||
|
|
||||||
require 'rails/all'
|
|
||||||
require 'rails/engine/commands'
|
|
||||||
29
bin/rake
29
bin/rake
@@ -1,29 +0,0 @@
|
|||||||
#!/usr/bin/env ruby
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
#
|
|
||||||
# This file was generated by Bundler.
|
|
||||||
#
|
|
||||||
# The application 'rake' is installed as part of a gem, and
|
|
||||||
# this file is here to facilitate running it.
|
|
||||||
#
|
|
||||||
|
|
||||||
require "pathname"
|
|
||||||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
||||||
Pathname.new(__FILE__).realpath)
|
|
||||||
|
|
||||||
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
||||||
|
|
||||||
if File.file?(bundle_binstub)
|
|
||||||
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
|
||||||
load(bundle_binstub)
|
|
||||||
else
|
|
||||||
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
||||||
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
require "rubygems"
|
|
||||||
require "bundler/setup"
|
|
||||||
|
|
||||||
load Gem.bin_path("rake", "rake")
|
|
||||||
29
bin/rspec
29
bin/rspec
@@ -1,29 +0,0 @@
|
|||||||
#!/usr/bin/env ruby
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
#
|
|
||||||
# This file was generated by Bundler.
|
|
||||||
#
|
|
||||||
# The application 'rspec' is installed as part of a gem, and
|
|
||||||
# this file is here to facilitate running it.
|
|
||||||
#
|
|
||||||
|
|
||||||
require "pathname"
|
|
||||||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
||||||
Pathname.new(__FILE__).realpath)
|
|
||||||
|
|
||||||
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
||||||
|
|
||||||
if File.file?(bundle_binstub)
|
|
||||||
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
|
||||||
load(bundle_binstub)
|
|
||||||
else
|
|
||||||
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
||||||
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
require "rubygems"
|
|
||||||
require "bundler/setup"
|
|
||||||
|
|
||||||
load Gem.bin_path("rspec-core", "rspec")
|
|
||||||
29
bin/rubocop
29
bin/rubocop
@@ -1,29 +0,0 @@
|
|||||||
#!/usr/bin/env ruby
|
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
#
|
|
||||||
# This file was generated by Bundler.
|
|
||||||
#
|
|
||||||
# The application 'rubocop' is installed as part of a gem, and
|
|
||||||
# this file is here to facilitate running it.
|
|
||||||
#
|
|
||||||
|
|
||||||
require "pathname"
|
|
||||||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
|
||||||
Pathname.new(__FILE__).realpath)
|
|
||||||
|
|
||||||
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
|
||||||
|
|
||||||
if File.file?(bundle_binstub)
|
|
||||||
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
|
||||||
load(bundle_binstub)
|
|
||||||
else
|
|
||||||
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
|
||||||
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
require "rubygems"
|
|
||||||
require "bundler/setup"
|
|
||||||
|
|
||||||
load Gem.bin_path("rubocop", "rubocop")
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
services:
|
|
||||||
app:
|
|
||||||
container_name: 'activeadmin_quill_editor_app'
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ./extra/Dockerfile
|
|
||||||
# dockerfile: ./extra/Dockerfile_alpine
|
|
||||||
args:
|
|
||||||
# Debian-based Ruby image:
|
|
||||||
RUBY_IMAGE: ruby:3.4-slim
|
|
||||||
UID: ${UID}
|
|
||||||
environment:
|
|
||||||
ACTIVEADMIN_VERSION: ~> 3.3
|
|
||||||
RAILS_VERSION: ~> 8.0
|
|
||||||
user: "${UID}:${GID}"
|
|
||||||
ports:
|
|
||||||
- '3000:3000'
|
|
||||||
working_dir: '/app'
|
|
||||||
volumes:
|
|
||||||
- '.:/app'
|
|
||||||
stdin_open: true
|
|
||||||
tty: true
|
|
||||||
entrypoint:
|
|
||||||
- /bin/sh
|
|
||||||
- ./extra/entrypoint.sh
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
ActiveAdmin.register Post do
|
|
||||||
permit_params :author_id,
|
|
||||||
:title,
|
|
||||||
:description,
|
|
||||||
:category,
|
|
||||||
:dt,
|
|
||||||
:position,
|
|
||||||
:published,
|
|
||||||
tag_ids: []
|
|
||||||
|
|
||||||
member_action :upload, method: [:post] do
|
|
||||||
result = { success: resource.images.attach(params[:file_upload]) }
|
|
||||||
result[:url] = url_for(resource.images.last) if result[:success]
|
|
||||||
render json: result
|
|
||||||
end
|
|
||||||
|
|
||||||
index do
|
|
||||||
selectable_column
|
|
||||||
id_column
|
|
||||||
column :title
|
|
||||||
column :author
|
|
||||||
column :published
|
|
||||||
column :created_at
|
|
||||||
actions
|
|
||||||
end
|
|
||||||
|
|
||||||
show do
|
|
||||||
attributes_table do
|
|
||||||
row :author
|
|
||||||
row :title
|
|
||||||
row :description
|
|
||||||
row :category
|
|
||||||
row :dt
|
|
||||||
row :position
|
|
||||||
row :published
|
|
||||||
row :tags
|
|
||||||
row :created_at
|
|
||||||
row :updated_at
|
|
||||||
row :images do |resurce|
|
|
||||||
resurce.images.each do |image|
|
|
||||||
div do
|
|
||||||
link_to image.filename, image, target: '_blank', rel: 'noopener'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
active_admin_comments
|
|
||||||
end
|
|
||||||
|
|
||||||
form do |f|
|
|
||||||
f.inputs 'Post' do
|
|
||||||
f.input :author
|
|
||||||
f.input :title
|
|
||||||
unless object.new_record?
|
|
||||||
plugin_opts = { image_uploader: { server_url: upload_admin_post_path(object.id), field_name: 'file_upload' } }
|
|
||||||
f.input :description, as: :quill_editor, input_html: { data: { plugins: plugin_opts } }
|
|
||||||
end
|
|
||||||
f.input :category
|
|
||||||
f.input :dt
|
|
||||||
f.input :position
|
|
||||||
f.input :published
|
|
||||||
end
|
|
||||||
|
|
||||||
f.inputs 'Tags' do
|
|
||||||
f.input :tags
|
|
||||||
end
|
|
||||||
|
|
||||||
f.actions
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
//= require active_admin/base
|
|
||||||
|
|
||||||
//= require activeadmin/quill_editor/quill
|
|
||||||
//= require activeadmin/quill_editor_input
|
|
||||||
|
|
||||||
//= require activeadmin/quill.imageUploader.min
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
@import 'active_admin/mixins';
|
|
||||||
@import 'active_admin/base';
|
|
||||||
|
|
||||||
@import 'activeadmin/quill_editor/quill.snow';
|
|
||||||
@import 'activeadmin/quill_editor_input';
|
|
||||||
|
|
||||||
@import 'activeadmin/quill.imageUploader.min';
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
class Post < ApplicationRecord
|
|
||||||
has_many_attached :images
|
|
||||||
|
|
||||||
validates :title, allow_blank: false, presence: true
|
|
||||||
end
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
ARG RUBY_IMAGE=ruby:3
|
|
||||||
FROM ${RUBY_IMAGE}
|
|
||||||
|
|
||||||
ARG UID
|
|
||||||
|
|
||||||
ENV DEVEL=1
|
|
||||||
ENV LANG=C.UTF-8
|
|
||||||
ENV RAILS_ENV=development
|
|
||||||
|
|
||||||
RUN apt-get update -qq
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -yqq --no-install-recommends build-essential chromium libyaml-dev nano
|
|
||||||
|
|
||||||
RUN gem install bundler
|
|
||||||
RUN echo 'gem: --no-document' > /etc/gemrc
|
|
||||||
|
|
||||||
RUN useradd -u ${UID} --shell /bin/bash app
|
|
||||||
RUN mkdir -p /home/app && chown -R app:app /home/app
|
|
||||||
RUN chown -R app /usr/local/bundle
|
|
||||||
|
|
||||||
USER ${UID}
|
|
||||||
COPY . /app
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
FROM ruby:3.3-alpine
|
|
||||||
|
|
||||||
ARG UID
|
|
||||||
|
|
||||||
ENV DEVEL=1
|
|
||||||
ENV LANG=C.UTF-8
|
|
||||||
ENV RAILS_ENV=development
|
|
||||||
|
|
||||||
RUN apk update && apk add --no-cache build-base chromium tzdata yaml-dev
|
|
||||||
|
|
||||||
RUN gem install bundler
|
|
||||||
RUN echo 'gem: --no-document' > /etc/gemrc
|
|
||||||
|
|
||||||
RUN adduser -u ${UID} -D app
|
|
||||||
RUN mkdir -p /home/app && chown -R app:app /home/app
|
|
||||||
RUN chown -R app /usr/local/bundle
|
|
||||||
|
|
||||||
COPY . /app
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
# Development
|
|
||||||
|
|
||||||
Overcommit can be used to ensure that Conventional commits are good.
|
|
||||||
|
|
||||||
## Releases
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# Update version.rb with the new version
|
|
||||||
# Update the gemfiles:
|
|
||||||
bin/appraisal
|
|
||||||
```
|
|
||||||
|
|
||||||
## Testing
|
|
||||||
|
|
||||||
```sh
|
|
||||||
# Running specs using a specific configuration:
|
|
||||||
bin/appraisal rails60-activeadmin22 rspec
|
|
||||||
# Using latest activeadmin version:
|
|
||||||
bin/appraisal rails60-activeadmin rspec
|
|
||||||
# See gemfiles for more configurations
|
|
||||||
```
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
export DEVEL=1
|
|
||||||
|
|
||||||
export RAILS_VERSION=7.2.2.1
|
|
||||||
export ACTIVEADMIN_VERSION=3.3.0
|
|
||||||
|
|
||||||
export RAILS_ENV=development
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
echo "> Install dependencies"
|
|
||||||
rm -f Gemfile.lock && bundle install
|
|
||||||
|
|
||||||
echo "> Run pending migrations"
|
|
||||||
cd spec/dummy && bundle exec rails db:migrate
|
|
||||||
|
|
||||||
echo "> Start Rails server"
|
|
||||||
cd /app && rm -f spec/dummy/tmp/pids/server.pid && bundle exec rails s -b 0.0.0.0
|
|
||||||
Двоичные данные
extra/screenshot.png
Двоичные данные
extra/screenshot.png
Двоичный файл не отображается.
|
До Ширина: | Высота: | Размер: 52 KiB |
@@ -1,2 +0,0 @@
|
|||||||
---
|
|
||||||
BUNDLE_RETRY: "1"
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# This file was generated by Appraisal
|
|
||||||
|
|
||||||
source "https://rubygems.org"
|
|
||||||
|
|
||||||
gem "sqlite3"
|
|
||||||
gem "bigdecimal"
|
|
||||||
gem "mutex_m"
|
|
||||||
gem "puma"
|
|
||||||
gem "sassc"
|
|
||||||
gem "sprockets-rails"
|
|
||||||
gem "capybara"
|
|
||||||
gem "cuprite"
|
|
||||||
gem "rspec_junit_formatter"
|
|
||||||
gem "rspec-rails"
|
|
||||||
gem "rspec-retry"
|
|
||||||
gem "fasterer"
|
|
||||||
gem "rubocop"
|
|
||||||
gem "rubocop-capybara"
|
|
||||||
gem "rubocop-packaging"
|
|
||||||
gem "rubocop-performance"
|
|
||||||
gem "rubocop-rails"
|
|
||||||
gem "rubocop-rspec"
|
|
||||||
gem "rubocop-rspec_rails"
|
|
||||||
gem "pry-rails"
|
|
||||||
gem "activeadmin"
|
|
||||||
gem "rails", "~> 6.1.0"
|
|
||||||
|
|
||||||
gemspec path: "../"
|
|
||||||
@@ -1,352 +0,0 @@
|
|||||||
PATH
|
|
||||||
remote: ..
|
|
||||||
specs:
|
|
||||||
activeadmin_quill_editor (1.3.0)
|
|
||||||
activeadmin (>= 2.9, < 4)
|
|
||||||
|
|
||||||
GEM
|
|
||||||
remote: https://rubygems.org/
|
|
||||||
specs:
|
|
||||||
actioncable (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
websocket-driver (>= 0.6.1)
|
|
||||||
actionmailbox (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
activejob (= 6.1.7.7)
|
|
||||||
activerecord (= 6.1.7.7)
|
|
||||||
activestorage (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
mail (>= 2.7.1)
|
|
||||||
actionmailer (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
actionview (= 6.1.7.7)
|
|
||||||
activejob (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
mail (~> 2.5, >= 2.5.4)
|
|
||||||
rails-dom-testing (~> 2.0)
|
|
||||||
actionpack (6.1.7.7)
|
|
||||||
actionview (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
rack (~> 2.0, >= 2.0.9)
|
|
||||||
rack-test (>= 0.6.3)
|
|
||||||
rails-dom-testing (~> 2.0)
|
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
||||||
actiontext (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
activerecord (= 6.1.7.7)
|
|
||||||
activestorage (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
nokogiri (>= 1.8.5)
|
|
||||||
actionview (6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
builder (~> 3.1)
|
|
||||||
erubi (~> 1.4)
|
|
||||||
rails-dom-testing (~> 2.0)
|
|
||||||
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
||||||
activeadmin (3.2.0)
|
|
||||||
arbre (~> 1.2, >= 1.2.1)
|
|
||||||
formtastic (>= 3.1)
|
|
||||||
formtastic_i18n (>= 0.4)
|
|
||||||
inherited_resources (~> 1.7)
|
|
||||||
jquery-rails (>= 4.2)
|
|
||||||
kaminari (>= 1.2.1)
|
|
||||||
railties (>= 6.1)
|
|
||||||
ransack (>= 4.0)
|
|
||||||
activejob (6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
globalid (>= 0.3.6)
|
|
||||||
activemodel (6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
activerecord (6.1.7.7)
|
|
||||||
activemodel (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
activestorage (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
activejob (= 6.1.7.7)
|
|
||||||
activerecord (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
marcel (~> 1.0)
|
|
||||||
mini_mime (>= 1.1.0)
|
|
||||||
activesupport (6.1.7.7)
|
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
||||||
i18n (>= 1.6, < 2)
|
|
||||||
minitest (>= 5.1)
|
|
||||||
tzinfo (~> 2.0)
|
|
||||||
zeitwerk (~> 2.3)
|
|
||||||
addressable (2.8.6)
|
|
||||||
public_suffix (>= 2.0.2, < 6.0)
|
|
||||||
appraisal (2.5.0)
|
|
||||||
bundler
|
|
||||||
rake
|
|
||||||
thor (>= 0.14.0)
|
|
||||||
arbre (1.7.0)
|
|
||||||
activesupport (>= 3.0.0)
|
|
||||||
ruby2_keywords (>= 0.0.2)
|
|
||||||
ast (2.4.2)
|
|
||||||
bigdecimal (3.1.9)
|
|
||||||
builder (3.2.4)
|
|
||||||
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)
|
|
||||||
coderay (1.1.3)
|
|
||||||
concurrent-ruby (1.2.3)
|
|
||||||
crass (1.0.6)
|
|
||||||
cuprite (0.15)
|
|
||||||
capybara (~> 3.0)
|
|
||||||
ferrum (~> 0.14.0)
|
|
||||||
date (3.3.4)
|
|
||||||
diff-lcs (1.5.1)
|
|
||||||
erubi (1.12.0)
|
|
||||||
fasterer (0.11.0)
|
|
||||||
ruby_parser (>= 3.19.1)
|
|
||||||
ferrum (0.14)
|
|
||||||
addressable (~> 2.5)
|
|
||||||
concurrent-ruby (~> 1.1)
|
|
||||||
webrick (~> 1.7)
|
|
||||||
websocket-driver (>= 0.6, < 0.8)
|
|
||||||
ffi (1.16.3)
|
|
||||||
formtastic (5.0.0)
|
|
||||||
actionpack (>= 6.0.0)
|
|
||||||
formtastic_i18n (0.7.0)
|
|
||||||
globalid (1.2.1)
|
|
||||||
activesupport (>= 6.1)
|
|
||||||
has_scope (0.8.2)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
activesupport (>= 5.2)
|
|
||||||
i18n (1.14.1)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
inherited_resources (1.14.0)
|
|
||||||
actionpack (>= 6.0)
|
|
||||||
has_scope (>= 0.6)
|
|
||||||
railties (>= 6.0)
|
|
||||||
responders (>= 2)
|
|
||||||
jquery-rails (4.6.0)
|
|
||||||
rails-dom-testing (>= 1, < 3)
|
|
||||||
railties (>= 4.2.0)
|
|
||||||
thor (>= 0.14, < 2.0)
|
|
||||||
json (2.7.1)
|
|
||||||
kaminari (1.2.2)
|
|
||||||
activesupport (>= 4.1.0)
|
|
||||||
kaminari-actionview (= 1.2.2)
|
|
||||||
kaminari-activerecord (= 1.2.2)
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-actionview (1.2.2)
|
|
||||||
actionview
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-activerecord (1.2.2)
|
|
||||||
activerecord
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-core (1.2.2)
|
|
||||||
language_server-protocol (3.17.0.3)
|
|
||||||
loofah (2.22.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.2)
|
|
||||||
matrix (0.4.2)
|
|
||||||
method_source (1.0.0)
|
|
||||||
mini_mime (1.1.5)
|
|
||||||
minitest (5.22.2)
|
|
||||||
mutex_m (0.3.0)
|
|
||||||
net-imap (0.4.10)
|
|
||||||
date
|
|
||||||
net-protocol
|
|
||||||
net-pop (0.1.2)
|
|
||||||
net-protocol
|
|
||||||
net-protocol (0.2.2)
|
|
||||||
timeout
|
|
||||||
net-smtp (0.4.0.1)
|
|
||||||
net-protocol
|
|
||||||
nio4r (2.7.0)
|
|
||||||
nokogiri (1.16.2-arm64-darwin)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.16.2-x86_64-darwin)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.16.2-x86_64-linux)
|
|
||||||
racc (~> 1.4)
|
|
||||||
parallel (1.24.0)
|
|
||||||
parser (3.3.0.5)
|
|
||||||
ast (~> 2.4.1)
|
|
||||||
racc
|
|
||||||
pry (0.14.2)
|
|
||||||
coderay (~> 1.1)
|
|
||||||
method_source (~> 1.0)
|
|
||||||
pry-rails (0.3.9)
|
|
||||||
pry (>= 0.10.4)
|
|
||||||
public_suffix (5.0.4)
|
|
||||||
puma (6.4.2)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
racc (1.7.3)
|
|
||||||
rack (2.2.8.1)
|
|
||||||
rack-test (2.1.0)
|
|
||||||
rack (>= 1.3)
|
|
||||||
rails (6.1.7.7)
|
|
||||||
actioncable (= 6.1.7.7)
|
|
||||||
actionmailbox (= 6.1.7.7)
|
|
||||||
actionmailer (= 6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
actiontext (= 6.1.7.7)
|
|
||||||
actionview (= 6.1.7.7)
|
|
||||||
activejob (= 6.1.7.7)
|
|
||||||
activemodel (= 6.1.7.7)
|
|
||||||
activerecord (= 6.1.7.7)
|
|
||||||
activestorage (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
bundler (>= 1.15.0)
|
|
||||||
railties (= 6.1.7.7)
|
|
||||||
sprockets-rails (>= 2.0.0)
|
|
||||||
rails-dom-testing (2.2.0)
|
|
||||||
activesupport (>= 5.0.0)
|
|
||||||
minitest
|
|
||||||
nokogiri (>= 1.6)
|
|
||||||
rails-html-sanitizer (1.6.0)
|
|
||||||
loofah (~> 2.21)
|
|
||||||
nokogiri (~> 1.14)
|
|
||||||
railties (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
method_source
|
|
||||||
rake (>= 12.2)
|
|
||||||
thor (~> 1.0)
|
|
||||||
rainbow (3.1.1)
|
|
||||||
rake (13.1.0)
|
|
||||||
ransack (4.1.1)
|
|
||||||
activerecord (>= 6.1.5)
|
|
||||||
activesupport (>= 6.1.5)
|
|
||||||
i18n
|
|
||||||
regexp_parser (2.9.0)
|
|
||||||
responders (3.1.1)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
railties (>= 5.2)
|
|
||||||
rexml (3.2.6)
|
|
||||||
rspec-core (3.13.0)
|
|
||||||
rspec-support (~> 3.13.0)
|
|
||||||
rspec-expectations (3.13.0)
|
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
|
||||||
rspec-support (~> 3.13.0)
|
|
||||||
rspec-mocks (3.13.0)
|
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
|
||||||
rspec-support (~> 3.13.0)
|
|
||||||
rspec-rails (6.1.1)
|
|
||||||
actionpack (>= 6.1)
|
|
||||||
activesupport (>= 6.1)
|
|
||||||
railties (>= 6.1)
|
|
||||||
rspec-core (~> 3.12)
|
|
||||||
rspec-expectations (~> 3.12)
|
|
||||||
rspec-mocks (~> 3.12)
|
|
||||||
rspec-support (~> 3.12)
|
|
||||||
rspec-retry (0.6.2)
|
|
||||||
rspec-core (> 3.3)
|
|
||||||
rspec-support (3.13.1)
|
|
||||||
rspec_junit_formatter (0.6.0)
|
|
||||||
rspec-core (>= 2, < 4, != 2.12.0)
|
|
||||||
rubocop (1.60.2)
|
|
||||||
json (~> 2.3)
|
|
||||||
language_server-protocol (>= 3.17.0)
|
|
||||||
parallel (~> 1.10)
|
|
||||||
parser (>= 3.3.0.2)
|
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
|
||||||
regexp_parser (>= 1.8, < 3.0)
|
|
||||||
rexml (>= 3.2.5, < 4.0)
|
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
|
||||||
ruby-progressbar (~> 1.7)
|
|
||||||
unicode-display_width (>= 2.4.0, < 3.0)
|
|
||||||
rubocop-ast (1.30.0)
|
|
||||||
parser (>= 3.2.1.0)
|
|
||||||
rubocop-capybara (2.20.0)
|
|
||||||
rubocop (~> 1.41)
|
|
||||||
rubocop-factory_bot (2.25.1)
|
|
||||||
rubocop (~> 1.41)
|
|
||||||
rubocop-packaging (0.5.2)
|
|
||||||
rubocop (>= 1.33, < 2.0)
|
|
||||||
rubocop-performance (1.20.2)
|
|
||||||
rubocop (>= 1.48.1, < 2.0)
|
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
|
||||||
rubocop-rails (2.23.1)
|
|
||||||
activesupport (>= 4.2.0)
|
|
||||||
rack (>= 1.1)
|
|
||||||
rubocop (>= 1.33.0, < 2.0)
|
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
|
||||||
rubocop-rspec (2.26.1)
|
|
||||||
rubocop (~> 1.40)
|
|
||||||
rubocop-capybara (~> 2.17)
|
|
||||||
rubocop-factory_bot (~> 2.22)
|
|
||||||
rubocop-rspec_rails (2.28.3)
|
|
||||||
rubocop (~> 1.40)
|
|
||||||
ruby-progressbar (1.13.0)
|
|
||||||
ruby2_keywords (0.0.5)
|
|
||||||
ruby_parser (3.21.0)
|
|
||||||
racc (~> 1.5)
|
|
||||||
sexp_processor (~> 4.16)
|
|
||||||
sassc (2.4.0)
|
|
||||||
ffi (~> 1.9)
|
|
||||||
sexp_processor (4.17.1)
|
|
||||||
sprockets (4.2.1)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
rack (>= 2.2.4, < 4)
|
|
||||||
sprockets-rails (3.4.2)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
activesupport (>= 5.2)
|
|
||||||
sprockets (>= 3.0.0)
|
|
||||||
sqlite3 (1.7.2-arm64-darwin)
|
|
||||||
sqlite3 (1.7.2-x86_64-darwin)
|
|
||||||
sqlite3 (1.7.2-x86_64-linux)
|
|
||||||
thor (1.3.0)
|
|
||||||
timeout (0.4.1)
|
|
||||||
tzinfo (2.0.6)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
unicode-display_width (2.5.0)
|
|
||||||
webrick (1.8.1)
|
|
||||||
websocket-driver (0.7.6)
|
|
||||||
websocket-extensions (>= 0.1.0)
|
|
||||||
websocket-extensions (0.1.5)
|
|
||||||
xpath (3.2.0)
|
|
||||||
nokogiri (~> 1.8)
|
|
||||||
zeitwerk (2.6.13)
|
|
||||||
|
|
||||||
PLATFORMS
|
|
||||||
arm64-darwin-22
|
|
||||||
arm64-darwin-23
|
|
||||||
x86_64-darwin-21
|
|
||||||
x86_64-linux
|
|
||||||
|
|
||||||
DEPENDENCIES
|
|
||||||
activeadmin
|
|
||||||
activeadmin_quill_editor!
|
|
||||||
appraisal (~> 2.4)
|
|
||||||
bigdecimal
|
|
||||||
capybara
|
|
||||||
cuprite
|
|
||||||
fasterer
|
|
||||||
mutex_m
|
|
||||||
pry-rails
|
|
||||||
puma
|
|
||||||
rails (~> 6.1.0)
|
|
||||||
rspec-rails
|
|
||||||
rspec-retry
|
|
||||||
rspec_junit_formatter
|
|
||||||
rubocop
|
|
||||||
rubocop-capybara
|
|
||||||
rubocop-packaging
|
|
||||||
rubocop-performance
|
|
||||||
rubocop-rails
|
|
||||||
rubocop-rspec
|
|
||||||
rubocop-rspec_rails
|
|
||||||
sassc
|
|
||||||
sprockets-rails
|
|
||||||
sqlite3
|
|
||||||
|
|
||||||
BUNDLED WITH
|
|
||||||
2.3.8
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# This file was generated by Appraisal
|
|
||||||
|
|
||||||
source "https://rubygems.org"
|
|
||||||
|
|
||||||
gem "sqlite3"
|
|
||||||
gem "bigdecimal"
|
|
||||||
gem "mutex_m"
|
|
||||||
gem "puma"
|
|
||||||
gem "sassc"
|
|
||||||
gem "sprockets-rails"
|
|
||||||
gem "capybara"
|
|
||||||
gem "cuprite"
|
|
||||||
gem "rspec_junit_formatter"
|
|
||||||
gem "rspec-rails"
|
|
||||||
gem "rspec-retry"
|
|
||||||
gem "fasterer"
|
|
||||||
gem "rubocop"
|
|
||||||
gem "rubocop-capybara"
|
|
||||||
gem "rubocop-packaging"
|
|
||||||
gem "rubocop-performance"
|
|
||||||
gem "rubocop-rails"
|
|
||||||
gem "rubocop-rspec"
|
|
||||||
gem "rubocop-rspec_rails"
|
|
||||||
gem "pry-rails"
|
|
||||||
gem "activeadmin", "~> 2.9.0"
|
|
||||||
gem "rails", "~> 6.1.0"
|
|
||||||
|
|
||||||
gemspec path: "../"
|
|
||||||
@@ -1,352 +0,0 @@
|
|||||||
PATH
|
|
||||||
remote: ..
|
|
||||||
specs:
|
|
||||||
activeadmin_quill_editor (1.3.0)
|
|
||||||
activeadmin (>= 2.9, < 4)
|
|
||||||
|
|
||||||
GEM
|
|
||||||
remote: https://rubygems.org/
|
|
||||||
specs:
|
|
||||||
actioncable (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
websocket-driver (>= 0.6.1)
|
|
||||||
actionmailbox (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
activejob (= 6.1.7.7)
|
|
||||||
activerecord (= 6.1.7.7)
|
|
||||||
activestorage (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
mail (>= 2.7.1)
|
|
||||||
actionmailer (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
actionview (= 6.1.7.7)
|
|
||||||
activejob (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
mail (~> 2.5, >= 2.5.4)
|
|
||||||
rails-dom-testing (~> 2.0)
|
|
||||||
actionpack (6.1.7.7)
|
|
||||||
actionview (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
rack (~> 2.0, >= 2.0.9)
|
|
||||||
rack-test (>= 0.6.3)
|
|
||||||
rails-dom-testing (~> 2.0)
|
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
||||||
actiontext (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
activerecord (= 6.1.7.7)
|
|
||||||
activestorage (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
nokogiri (>= 1.8.5)
|
|
||||||
actionview (6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
builder (~> 3.1)
|
|
||||||
erubi (~> 1.4)
|
|
||||||
rails-dom-testing (~> 2.0)
|
|
||||||
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
||||||
activeadmin (2.9.0)
|
|
||||||
arbre (~> 1.2, >= 1.2.1)
|
|
||||||
formtastic (>= 3.1, < 5.0)
|
|
||||||
formtastic_i18n (~> 0.4)
|
|
||||||
inherited_resources (~> 1.7)
|
|
||||||
jquery-rails (~> 4.2)
|
|
||||||
kaminari (~> 1.0, >= 1.2.1)
|
|
||||||
railties (>= 5.2, < 6.2)
|
|
||||||
ransack (~> 2.1, >= 2.1.1)
|
|
||||||
activejob (6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
globalid (>= 0.3.6)
|
|
||||||
activemodel (6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
activerecord (6.1.7.7)
|
|
||||||
activemodel (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
activestorage (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
activejob (= 6.1.7.7)
|
|
||||||
activerecord (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
marcel (~> 1.0)
|
|
||||||
mini_mime (>= 1.1.0)
|
|
||||||
activesupport (6.1.7.7)
|
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
||||||
i18n (>= 1.6, < 2)
|
|
||||||
minitest (>= 5.1)
|
|
||||||
tzinfo (~> 2.0)
|
|
||||||
zeitwerk (~> 2.3)
|
|
||||||
addressable (2.8.6)
|
|
||||||
public_suffix (>= 2.0.2, < 6.0)
|
|
||||||
appraisal (2.5.0)
|
|
||||||
bundler
|
|
||||||
rake
|
|
||||||
thor (>= 0.14.0)
|
|
||||||
arbre (1.7.0)
|
|
||||||
activesupport (>= 3.0.0)
|
|
||||||
ruby2_keywords (>= 0.0.2)
|
|
||||||
ast (2.4.2)
|
|
||||||
bigdecimal (3.1.9)
|
|
||||||
builder (3.2.4)
|
|
||||||
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)
|
|
||||||
coderay (1.1.3)
|
|
||||||
concurrent-ruby (1.2.3)
|
|
||||||
crass (1.0.6)
|
|
||||||
cuprite (0.15)
|
|
||||||
capybara (~> 3.0)
|
|
||||||
ferrum (~> 0.14.0)
|
|
||||||
date (3.3.4)
|
|
||||||
diff-lcs (1.5.1)
|
|
||||||
erubi (1.12.0)
|
|
||||||
fasterer (0.11.0)
|
|
||||||
ruby_parser (>= 3.19.1)
|
|
||||||
ferrum (0.14)
|
|
||||||
addressable (~> 2.5)
|
|
||||||
concurrent-ruby (~> 1.1)
|
|
||||||
webrick (~> 1.7)
|
|
||||||
websocket-driver (>= 0.6, < 0.8)
|
|
||||||
ffi (1.16.3)
|
|
||||||
formtastic (4.0.0)
|
|
||||||
actionpack (>= 5.2.0)
|
|
||||||
formtastic_i18n (0.7.0)
|
|
||||||
globalid (1.2.1)
|
|
||||||
activesupport (>= 6.1)
|
|
||||||
has_scope (0.8.2)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
activesupport (>= 5.2)
|
|
||||||
i18n (1.14.1)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
inherited_resources (1.14.0)
|
|
||||||
actionpack (>= 6.0)
|
|
||||||
has_scope (>= 0.6)
|
|
||||||
railties (>= 6.0)
|
|
||||||
responders (>= 2)
|
|
||||||
jquery-rails (4.6.0)
|
|
||||||
rails-dom-testing (>= 1, < 3)
|
|
||||||
railties (>= 4.2.0)
|
|
||||||
thor (>= 0.14, < 2.0)
|
|
||||||
json (2.7.1)
|
|
||||||
kaminari (1.2.2)
|
|
||||||
activesupport (>= 4.1.0)
|
|
||||||
kaminari-actionview (= 1.2.2)
|
|
||||||
kaminari-activerecord (= 1.2.2)
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-actionview (1.2.2)
|
|
||||||
actionview
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-activerecord (1.2.2)
|
|
||||||
activerecord
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-core (1.2.2)
|
|
||||||
language_server-protocol (3.17.0.3)
|
|
||||||
loofah (2.22.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.2)
|
|
||||||
matrix (0.4.2)
|
|
||||||
method_source (1.0.0)
|
|
||||||
mini_mime (1.1.5)
|
|
||||||
minitest (5.22.2)
|
|
||||||
mutex_m (0.3.0)
|
|
||||||
net-imap (0.4.10)
|
|
||||||
date
|
|
||||||
net-protocol
|
|
||||||
net-pop (0.1.2)
|
|
||||||
net-protocol
|
|
||||||
net-protocol (0.2.2)
|
|
||||||
timeout
|
|
||||||
net-smtp (0.4.0.1)
|
|
||||||
net-protocol
|
|
||||||
nio4r (2.7.0)
|
|
||||||
nokogiri (1.16.2-arm64-darwin)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.16.2-x86_64-darwin)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.16.2-x86_64-linux)
|
|
||||||
racc (~> 1.4)
|
|
||||||
parallel (1.24.0)
|
|
||||||
parser (3.3.0.5)
|
|
||||||
ast (~> 2.4.1)
|
|
||||||
racc
|
|
||||||
pry (0.14.2)
|
|
||||||
coderay (~> 1.1)
|
|
||||||
method_source (~> 1.0)
|
|
||||||
pry-rails (0.3.9)
|
|
||||||
pry (>= 0.10.4)
|
|
||||||
public_suffix (5.0.4)
|
|
||||||
puma (6.4.2)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
racc (1.7.3)
|
|
||||||
rack (2.2.8.1)
|
|
||||||
rack-test (2.1.0)
|
|
||||||
rack (>= 1.3)
|
|
||||||
rails (6.1.7.7)
|
|
||||||
actioncable (= 6.1.7.7)
|
|
||||||
actionmailbox (= 6.1.7.7)
|
|
||||||
actionmailer (= 6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
actiontext (= 6.1.7.7)
|
|
||||||
actionview (= 6.1.7.7)
|
|
||||||
activejob (= 6.1.7.7)
|
|
||||||
activemodel (= 6.1.7.7)
|
|
||||||
activerecord (= 6.1.7.7)
|
|
||||||
activestorage (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
bundler (>= 1.15.0)
|
|
||||||
railties (= 6.1.7.7)
|
|
||||||
sprockets-rails (>= 2.0.0)
|
|
||||||
rails-dom-testing (2.2.0)
|
|
||||||
activesupport (>= 5.0.0)
|
|
||||||
minitest
|
|
||||||
nokogiri (>= 1.6)
|
|
||||||
rails-html-sanitizer (1.6.0)
|
|
||||||
loofah (~> 2.21)
|
|
||||||
nokogiri (~> 1.14)
|
|
||||||
railties (6.1.7.7)
|
|
||||||
actionpack (= 6.1.7.7)
|
|
||||||
activesupport (= 6.1.7.7)
|
|
||||||
method_source
|
|
||||||
rake (>= 12.2)
|
|
||||||
thor (~> 1.0)
|
|
||||||
rainbow (3.1.1)
|
|
||||||
rake (13.1.0)
|
|
||||||
ransack (2.6.0)
|
|
||||||
activerecord (>= 6.0.4)
|
|
||||||
activesupport (>= 6.0.4)
|
|
||||||
i18n
|
|
||||||
regexp_parser (2.9.0)
|
|
||||||
responders (3.1.1)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
railties (>= 5.2)
|
|
||||||
rexml (3.2.6)
|
|
||||||
rspec-core (3.13.0)
|
|
||||||
rspec-support (~> 3.13.0)
|
|
||||||
rspec-expectations (3.13.0)
|
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
|
||||||
rspec-support (~> 3.13.0)
|
|
||||||
rspec-mocks (3.13.0)
|
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
|
||||||
rspec-support (~> 3.13.0)
|
|
||||||
rspec-rails (6.1.1)
|
|
||||||
actionpack (>= 6.1)
|
|
||||||
activesupport (>= 6.1)
|
|
||||||
railties (>= 6.1)
|
|
||||||
rspec-core (~> 3.12)
|
|
||||||
rspec-expectations (~> 3.12)
|
|
||||||
rspec-mocks (~> 3.12)
|
|
||||||
rspec-support (~> 3.12)
|
|
||||||
rspec-retry (0.6.2)
|
|
||||||
rspec-core (> 3.3)
|
|
||||||
rspec-support (3.13.1)
|
|
||||||
rspec_junit_formatter (0.6.0)
|
|
||||||
rspec-core (>= 2, < 4, != 2.12.0)
|
|
||||||
rubocop (1.60.2)
|
|
||||||
json (~> 2.3)
|
|
||||||
language_server-protocol (>= 3.17.0)
|
|
||||||
parallel (~> 1.10)
|
|
||||||
parser (>= 3.3.0.2)
|
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
|
||||||
regexp_parser (>= 1.8, < 3.0)
|
|
||||||
rexml (>= 3.2.5, < 4.0)
|
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
|
||||||
ruby-progressbar (~> 1.7)
|
|
||||||
unicode-display_width (>= 2.4.0, < 3.0)
|
|
||||||
rubocop-ast (1.30.0)
|
|
||||||
parser (>= 3.2.1.0)
|
|
||||||
rubocop-capybara (2.20.0)
|
|
||||||
rubocop (~> 1.41)
|
|
||||||
rubocop-factory_bot (2.25.1)
|
|
||||||
rubocop (~> 1.41)
|
|
||||||
rubocop-packaging (0.5.2)
|
|
||||||
rubocop (>= 1.33, < 2.0)
|
|
||||||
rubocop-performance (1.20.2)
|
|
||||||
rubocop (>= 1.48.1, < 2.0)
|
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
|
||||||
rubocop-rails (2.23.1)
|
|
||||||
activesupport (>= 4.2.0)
|
|
||||||
rack (>= 1.1)
|
|
||||||
rubocop (>= 1.33.0, < 2.0)
|
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
|
||||||
rubocop-rspec (2.26.1)
|
|
||||||
rubocop (~> 1.40)
|
|
||||||
rubocop-capybara (~> 2.17)
|
|
||||||
rubocop-factory_bot (~> 2.22)
|
|
||||||
rubocop-rspec_rails (2.28.3)
|
|
||||||
rubocop (~> 1.40)
|
|
||||||
ruby-progressbar (1.13.0)
|
|
||||||
ruby2_keywords (0.0.5)
|
|
||||||
ruby_parser (3.21.0)
|
|
||||||
racc (~> 1.5)
|
|
||||||
sexp_processor (~> 4.16)
|
|
||||||
sassc (2.4.0)
|
|
||||||
ffi (~> 1.9)
|
|
||||||
sexp_processor (4.17.1)
|
|
||||||
sprockets (4.2.1)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
rack (>= 2.2.4, < 4)
|
|
||||||
sprockets-rails (3.4.2)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
activesupport (>= 5.2)
|
|
||||||
sprockets (>= 3.0.0)
|
|
||||||
sqlite3 (1.7.2-arm64-darwin)
|
|
||||||
sqlite3 (1.7.2-x86_64-darwin)
|
|
||||||
sqlite3 (1.7.2-x86_64-linux)
|
|
||||||
thor (1.3.0)
|
|
||||||
timeout (0.4.1)
|
|
||||||
tzinfo (2.0.6)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
unicode-display_width (2.5.0)
|
|
||||||
webrick (1.8.1)
|
|
||||||
websocket-driver (0.7.6)
|
|
||||||
websocket-extensions (>= 0.1.0)
|
|
||||||
websocket-extensions (0.1.5)
|
|
||||||
xpath (3.2.0)
|
|
||||||
nokogiri (~> 1.8)
|
|
||||||
zeitwerk (2.6.13)
|
|
||||||
|
|
||||||
PLATFORMS
|
|
||||||
arm64-darwin-22
|
|
||||||
arm64-darwin-23
|
|
||||||
x86_64-darwin-21
|
|
||||||
x86_64-linux
|
|
||||||
|
|
||||||
DEPENDENCIES
|
|
||||||
activeadmin (~> 2.9.0)
|
|
||||||
activeadmin_quill_editor!
|
|
||||||
appraisal (~> 2.4)
|
|
||||||
bigdecimal
|
|
||||||
capybara
|
|
||||||
cuprite
|
|
||||||
fasterer
|
|
||||||
mutex_m
|
|
||||||
pry-rails
|
|
||||||
puma
|
|
||||||
rails (~> 6.1.0)
|
|
||||||
rspec-rails
|
|
||||||
rspec-retry
|
|
||||||
rspec_junit_formatter
|
|
||||||
rubocop
|
|
||||||
rubocop-capybara
|
|
||||||
rubocop-packaging
|
|
||||||
rubocop-performance
|
|
||||||
rubocop-rails
|
|
||||||
rubocop-rspec
|
|
||||||
rubocop-rspec_rails
|
|
||||||
sassc
|
|
||||||
sprockets-rails
|
|
||||||
sqlite3
|
|
||||||
|
|
||||||
BUNDLED WITH
|
|
||||||
2.3.8
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# This file was generated by Appraisal
|
|
||||||
|
|
||||||
source "https://rubygems.org"
|
|
||||||
|
|
||||||
gem "sqlite3"
|
|
||||||
gem "bigdecimal"
|
|
||||||
gem "mutex_m"
|
|
||||||
gem "puma"
|
|
||||||
gem "sassc"
|
|
||||||
gem "sprockets-rails"
|
|
||||||
gem "capybara"
|
|
||||||
gem "cuprite"
|
|
||||||
gem "rspec_junit_formatter"
|
|
||||||
gem "rspec-rails"
|
|
||||||
gem "rspec-retry"
|
|
||||||
gem "fasterer"
|
|
||||||
gem "rubocop"
|
|
||||||
gem "rubocop-capybara"
|
|
||||||
gem "rubocop-packaging"
|
|
||||||
gem "rubocop-performance"
|
|
||||||
gem "rubocop-rails"
|
|
||||||
gem "rubocop-rspec"
|
|
||||||
gem "rubocop-rspec_rails"
|
|
||||||
gem "pry-rails"
|
|
||||||
gem "activeadmin"
|
|
||||||
gem "rails", "~> 7.0.0"
|
|
||||||
|
|
||||||
gemspec path: "../"
|
|
||||||
@@ -1,354 +0,0 @@
|
|||||||
PATH
|
|
||||||
remote: ..
|
|
||||||
specs:
|
|
||||||
activeadmin_quill_editor (1.3.0)
|
|
||||||
activeadmin (>= 2.9, < 4)
|
|
||||||
|
|
||||||
GEM
|
|
||||||
remote: https://rubygems.org/
|
|
||||||
specs:
|
|
||||||
actioncable (7.0.8.1)
|
|
||||||
actionpack (= 7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
websocket-driver (>= 0.6.1)
|
|
||||||
actionmailbox (7.0.8.1)
|
|
||||||
actionpack (= 7.0.8.1)
|
|
||||||
activejob (= 7.0.8.1)
|
|
||||||
activerecord (= 7.0.8.1)
|
|
||||||
activestorage (= 7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
mail (>= 2.7.1)
|
|
||||||
net-imap
|
|
||||||
net-pop
|
|
||||||
net-smtp
|
|
||||||
actionmailer (7.0.8.1)
|
|
||||||
actionpack (= 7.0.8.1)
|
|
||||||
actionview (= 7.0.8.1)
|
|
||||||
activejob (= 7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
mail (~> 2.5, >= 2.5.4)
|
|
||||||
net-imap
|
|
||||||
net-pop
|
|
||||||
net-smtp
|
|
||||||
rails-dom-testing (~> 2.0)
|
|
||||||
actionpack (7.0.8.1)
|
|
||||||
actionview (= 7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
rack (~> 2.0, >= 2.2.4)
|
|
||||||
rack-test (>= 0.6.3)
|
|
||||||
rails-dom-testing (~> 2.0)
|
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
||||||
actiontext (7.0.8.1)
|
|
||||||
actionpack (= 7.0.8.1)
|
|
||||||
activerecord (= 7.0.8.1)
|
|
||||||
activestorage (= 7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
globalid (>= 0.6.0)
|
|
||||||
nokogiri (>= 1.8.5)
|
|
||||||
actionview (7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
builder (~> 3.1)
|
|
||||||
erubi (~> 1.4)
|
|
||||||
rails-dom-testing (~> 2.0)
|
|
||||||
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
||||||
activeadmin (3.2.0)
|
|
||||||
arbre (~> 1.2, >= 1.2.1)
|
|
||||||
formtastic (>= 3.1)
|
|
||||||
formtastic_i18n (>= 0.4)
|
|
||||||
inherited_resources (~> 1.7)
|
|
||||||
jquery-rails (>= 4.2)
|
|
||||||
kaminari (>= 1.2.1)
|
|
||||||
railties (>= 6.1)
|
|
||||||
ransack (>= 4.0)
|
|
||||||
activejob (7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
globalid (>= 0.3.6)
|
|
||||||
activemodel (7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
activerecord (7.0.8.1)
|
|
||||||
activemodel (= 7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
activestorage (7.0.8.1)
|
|
||||||
actionpack (= 7.0.8.1)
|
|
||||||
activejob (= 7.0.8.1)
|
|
||||||
activerecord (= 7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
marcel (~> 1.0)
|
|
||||||
mini_mime (>= 1.1.0)
|
|
||||||
activesupport (7.0.8.1)
|
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
||||||
i18n (>= 1.6, < 2)
|
|
||||||
minitest (>= 5.1)
|
|
||||||
tzinfo (~> 2.0)
|
|
||||||
addressable (2.8.6)
|
|
||||||
public_suffix (>= 2.0.2, < 6.0)
|
|
||||||
appraisal (2.5.0)
|
|
||||||
bundler
|
|
||||||
rake
|
|
||||||
thor (>= 0.14.0)
|
|
||||||
arbre (1.7.0)
|
|
||||||
activesupport (>= 3.0.0)
|
|
||||||
ruby2_keywords (>= 0.0.2)
|
|
||||||
ast (2.4.2)
|
|
||||||
bigdecimal (3.1.9)
|
|
||||||
builder (3.2.4)
|
|
||||||
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)
|
|
||||||
coderay (1.1.3)
|
|
||||||
concurrent-ruby (1.2.3)
|
|
||||||
crass (1.0.6)
|
|
||||||
cuprite (0.15)
|
|
||||||
capybara (~> 3.0)
|
|
||||||
ferrum (~> 0.14.0)
|
|
||||||
date (3.3.4)
|
|
||||||
diff-lcs (1.5.1)
|
|
||||||
erubi (1.12.0)
|
|
||||||
fasterer (0.11.0)
|
|
||||||
ruby_parser (>= 3.19.1)
|
|
||||||
ferrum (0.14)
|
|
||||||
addressable (~> 2.5)
|
|
||||||
concurrent-ruby (~> 1.1)
|
|
||||||
webrick (~> 1.7)
|
|
||||||
websocket-driver (>= 0.6, < 0.8)
|
|
||||||
ffi (1.16.3)
|
|
||||||
formtastic (5.0.0)
|
|
||||||
actionpack (>= 6.0.0)
|
|
||||||
formtastic_i18n (0.7.0)
|
|
||||||
globalid (1.2.1)
|
|
||||||
activesupport (>= 6.1)
|
|
||||||
has_scope (0.8.2)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
activesupport (>= 5.2)
|
|
||||||
i18n (1.14.1)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
inherited_resources (1.14.0)
|
|
||||||
actionpack (>= 6.0)
|
|
||||||
has_scope (>= 0.6)
|
|
||||||
railties (>= 6.0)
|
|
||||||
responders (>= 2)
|
|
||||||
jquery-rails (4.6.0)
|
|
||||||
rails-dom-testing (>= 1, < 3)
|
|
||||||
railties (>= 4.2.0)
|
|
||||||
thor (>= 0.14, < 2.0)
|
|
||||||
json (2.7.1)
|
|
||||||
kaminari (1.2.2)
|
|
||||||
activesupport (>= 4.1.0)
|
|
||||||
kaminari-actionview (= 1.2.2)
|
|
||||||
kaminari-activerecord (= 1.2.2)
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-actionview (1.2.2)
|
|
||||||
actionview
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-activerecord (1.2.2)
|
|
||||||
activerecord
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-core (1.2.2)
|
|
||||||
language_server-protocol (3.17.0.3)
|
|
||||||
loofah (2.22.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.2)
|
|
||||||
matrix (0.4.2)
|
|
||||||
method_source (1.0.0)
|
|
||||||
mini_mime (1.1.5)
|
|
||||||
mini_portile2 (2.8.8)
|
|
||||||
minitest (5.22.2)
|
|
||||||
mutex_m (0.3.0)
|
|
||||||
net-imap (0.4.10)
|
|
||||||
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.0)
|
|
||||||
nokogiri (1.16.2)
|
|
||||||
mini_portile2 (~> 2.8.2)
|
|
||||||
racc (~> 1.4)
|
|
||||||
parallel (1.24.0)
|
|
||||||
parser (3.3.0.5)
|
|
||||||
ast (~> 2.4.1)
|
|
||||||
racc
|
|
||||||
pry (0.14.2)
|
|
||||||
coderay (~> 1.1)
|
|
||||||
method_source (~> 1.0)
|
|
||||||
pry-rails (0.3.9)
|
|
||||||
pry (>= 0.10.4)
|
|
||||||
public_suffix (5.0.4)
|
|
||||||
puma (6.4.2)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
racc (1.7.3)
|
|
||||||
rack (2.2.8.1)
|
|
||||||
rack-test (2.1.0)
|
|
||||||
rack (>= 1.3)
|
|
||||||
rails (7.0.8.1)
|
|
||||||
actioncable (= 7.0.8.1)
|
|
||||||
actionmailbox (= 7.0.8.1)
|
|
||||||
actionmailer (= 7.0.8.1)
|
|
||||||
actionpack (= 7.0.8.1)
|
|
||||||
actiontext (= 7.0.8.1)
|
|
||||||
actionview (= 7.0.8.1)
|
|
||||||
activejob (= 7.0.8.1)
|
|
||||||
activemodel (= 7.0.8.1)
|
|
||||||
activerecord (= 7.0.8.1)
|
|
||||||
activestorage (= 7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
bundler (>= 1.15.0)
|
|
||||||
railties (= 7.0.8.1)
|
|
||||||
rails-dom-testing (2.2.0)
|
|
||||||
activesupport (>= 5.0.0)
|
|
||||||
minitest
|
|
||||||
nokogiri (>= 1.6)
|
|
||||||
rails-html-sanitizer (1.6.0)
|
|
||||||
loofah (~> 2.21)
|
|
||||||
nokogiri (~> 1.14)
|
|
||||||
railties (7.0.8.1)
|
|
||||||
actionpack (= 7.0.8.1)
|
|
||||||
activesupport (= 7.0.8.1)
|
|
||||||
method_source
|
|
||||||
rake (>= 12.2)
|
|
||||||
thor (~> 1.0)
|
|
||||||
zeitwerk (~> 2.5)
|
|
||||||
rainbow (3.1.1)
|
|
||||||
rake (13.1.0)
|
|
||||||
ransack (4.1.1)
|
|
||||||
activerecord (>= 6.1.5)
|
|
||||||
activesupport (>= 6.1.5)
|
|
||||||
i18n
|
|
||||||
regexp_parser (2.9.0)
|
|
||||||
responders (3.1.1)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
railties (>= 5.2)
|
|
||||||
rexml (3.2.6)
|
|
||||||
rspec-core (3.13.0)
|
|
||||||
rspec-support (~> 3.13.0)
|
|
||||||
rspec-expectations (3.13.0)
|
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
|
||||||
rspec-support (~> 3.13.0)
|
|
||||||
rspec-mocks (3.13.0)
|
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
|
||||||
rspec-support (~> 3.13.0)
|
|
||||||
rspec-rails (6.1.1)
|
|
||||||
actionpack (>= 6.1)
|
|
||||||
activesupport (>= 6.1)
|
|
||||||
railties (>= 6.1)
|
|
||||||
rspec-core (~> 3.12)
|
|
||||||
rspec-expectations (~> 3.12)
|
|
||||||
rspec-mocks (~> 3.12)
|
|
||||||
rspec-support (~> 3.12)
|
|
||||||
rspec-retry (0.6.2)
|
|
||||||
rspec-core (> 3.3)
|
|
||||||
rspec-support (3.13.1)
|
|
||||||
rspec_junit_formatter (0.6.0)
|
|
||||||
rspec-core (>= 2, < 4, != 2.12.0)
|
|
||||||
rubocop (1.60.2)
|
|
||||||
json (~> 2.3)
|
|
||||||
language_server-protocol (>= 3.17.0)
|
|
||||||
parallel (~> 1.10)
|
|
||||||
parser (>= 3.3.0.2)
|
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
|
||||||
regexp_parser (>= 1.8, < 3.0)
|
|
||||||
rexml (>= 3.2.5, < 4.0)
|
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
|
||||||
ruby-progressbar (~> 1.7)
|
|
||||||
unicode-display_width (>= 2.4.0, < 3.0)
|
|
||||||
rubocop-ast (1.30.0)
|
|
||||||
parser (>= 3.2.1.0)
|
|
||||||
rubocop-capybara (2.20.0)
|
|
||||||
rubocop (~> 1.41)
|
|
||||||
rubocop-factory_bot (2.25.1)
|
|
||||||
rubocop (~> 1.41)
|
|
||||||
rubocop-packaging (0.5.2)
|
|
||||||
rubocop (>= 1.33, < 2.0)
|
|
||||||
rubocop-performance (1.20.2)
|
|
||||||
rubocop (>= 1.48.1, < 2.0)
|
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
|
||||||
rubocop-rails (2.23.1)
|
|
||||||
activesupport (>= 4.2.0)
|
|
||||||
rack (>= 1.1)
|
|
||||||
rubocop (>= 1.33.0, < 2.0)
|
|
||||||
rubocop-ast (>= 1.30.0, < 2.0)
|
|
||||||
rubocop-rspec (2.26.1)
|
|
||||||
rubocop (~> 1.40)
|
|
||||||
rubocop-capybara (~> 2.17)
|
|
||||||
rubocop-factory_bot (~> 2.22)
|
|
||||||
rubocop-rspec_rails (2.28.3)
|
|
||||||
rubocop (~> 1.40)
|
|
||||||
ruby-progressbar (1.13.0)
|
|
||||||
ruby2_keywords (0.0.5)
|
|
||||||
ruby_parser (3.21.0)
|
|
||||||
racc (~> 1.5)
|
|
||||||
sexp_processor (~> 4.16)
|
|
||||||
sassc (2.4.0)
|
|
||||||
ffi (~> 1.9)
|
|
||||||
sexp_processor (4.17.1)
|
|
||||||
sprockets (4.2.1)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
rack (>= 2.2.4, < 4)
|
|
||||||
sprockets-rails (3.4.2)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
activesupport (>= 5.2)
|
|
||||||
sprockets (>= 3.0.0)
|
|
||||||
sqlite3 (1.7.2)
|
|
||||||
mini_portile2 (~> 2.8.0)
|
|
||||||
thor (1.3.0)
|
|
||||||
timeout (0.4.1)
|
|
||||||
tzinfo (2.0.6)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
unicode-display_width (2.5.0)
|
|
||||||
webrick (1.8.1)
|
|
||||||
websocket-driver (0.7.6)
|
|
||||||
websocket-extensions (>= 0.1.0)
|
|
||||||
websocket-extensions (0.1.5)
|
|
||||||
xpath (3.2.0)
|
|
||||||
nokogiri (~> 1.8)
|
|
||||||
zeitwerk (2.6.13)
|
|
||||||
|
|
||||||
PLATFORMS
|
|
||||||
arm64-darwin-22
|
|
||||||
arm64-darwin-23
|
|
||||||
x86_64-linux
|
|
||||||
|
|
||||||
DEPENDENCIES
|
|
||||||
activeadmin
|
|
||||||
activeadmin_quill_editor!
|
|
||||||
appraisal (~> 2.4)
|
|
||||||
bigdecimal
|
|
||||||
capybara
|
|
||||||
cuprite
|
|
||||||
fasterer
|
|
||||||
mutex_m
|
|
||||||
pry-rails
|
|
||||||
puma
|
|
||||||
rails (~> 7.0.0)
|
|
||||||
rspec-rails
|
|
||||||
rspec-retry
|
|
||||||
rspec_junit_formatter
|
|
||||||
rubocop
|
|
||||||
rubocop-capybara
|
|
||||||
rubocop-packaging
|
|
||||||
rubocop-performance
|
|
||||||
rubocop-rails
|
|
||||||
rubocop-rspec
|
|
||||||
rubocop-rspec_rails
|
|
||||||
sassc
|
|
||||||
sprockets-rails
|
|
||||||
sqlite3
|
|
||||||
|
|
||||||
BUNDLED WITH
|
|
||||||
2.3.8
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# This file was generated by Appraisal
|
|
||||||
|
|
||||||
source "https://rubygems.org"
|
|
||||||
|
|
||||||
gem "sqlite3"
|
|
||||||
gem "bigdecimal"
|
|
||||||
gem "mutex_m"
|
|
||||||
gem "puma"
|
|
||||||
gem "sassc"
|
|
||||||
gem "sprockets-rails"
|
|
||||||
gem "capybara"
|
|
||||||
gem "cuprite"
|
|
||||||
gem "rspec_junit_formatter"
|
|
||||||
gem "rspec-rails"
|
|
||||||
gem "rspec-retry"
|
|
||||||
gem "fasterer"
|
|
||||||
gem "rubocop"
|
|
||||||
gem "rubocop-capybara"
|
|
||||||
gem "rubocop-packaging"
|
|
||||||
gem "rubocop-performance"
|
|
||||||
gem "rubocop-rails"
|
|
||||||
gem "rubocop-rspec"
|
|
||||||
gem "rubocop-rspec_rails"
|
|
||||||
gem "pry-rails"
|
|
||||||
gem "activeadmin"
|
|
||||||
gem "rails", "~> 7.1.0"
|
|
||||||
|
|
||||||
gemspec path: "../"
|
|
||||||
@@ -1,401 +0,0 @@
|
|||||||
PATH
|
|
||||||
remote: ..
|
|
||||||
specs:
|
|
||||||
activeadmin_quill_editor (1.3.0)
|
|
||||||
activeadmin (>= 2.9, < 4)
|
|
||||||
|
|
||||||
GEM
|
|
||||||
remote: https://rubygems.org/
|
|
||||||
specs:
|
|
||||||
actioncable (7.1.5.1)
|
|
||||||
actionpack (= 7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
websocket-driver (>= 0.6.1)
|
|
||||||
zeitwerk (~> 2.6)
|
|
||||||
actionmailbox (7.1.5.1)
|
|
||||||
actionpack (= 7.1.5.1)
|
|
||||||
activejob (= 7.1.5.1)
|
|
||||||
activerecord (= 7.1.5.1)
|
|
||||||
activestorage (= 7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
mail (>= 2.7.1)
|
|
||||||
net-imap
|
|
||||||
net-pop
|
|
||||||
net-smtp
|
|
||||||
actionmailer (7.1.5.1)
|
|
||||||
actionpack (= 7.1.5.1)
|
|
||||||
actionview (= 7.1.5.1)
|
|
||||||
activejob (= 7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
mail (~> 2.5, >= 2.5.4)
|
|
||||||
net-imap
|
|
||||||
net-pop
|
|
||||||
net-smtp
|
|
||||||
rails-dom-testing (~> 2.2)
|
|
||||||
actionpack (7.1.5.1)
|
|
||||||
actionview (= 7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
nokogiri (>= 1.8.5)
|
|
||||||
racc
|
|
||||||
rack (>= 2.2.4)
|
|
||||||
rack-session (>= 1.0.1)
|
|
||||||
rack-test (>= 0.6.3)
|
|
||||||
rails-dom-testing (~> 2.2)
|
|
||||||
rails-html-sanitizer (~> 1.6)
|
|
||||||
actiontext (7.1.5.1)
|
|
||||||
actionpack (= 7.1.5.1)
|
|
||||||
activerecord (= 7.1.5.1)
|
|
||||||
activestorage (= 7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
globalid (>= 0.6.0)
|
|
||||||
nokogiri (>= 1.8.5)
|
|
||||||
actionview (7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
builder (~> 3.1)
|
|
||||||
erubi (~> 1.11)
|
|
||||||
rails-dom-testing (~> 2.2)
|
|
||||||
rails-html-sanitizer (~> 1.6)
|
|
||||||
activeadmin (3.3.0)
|
|
||||||
arbre (~> 1.2, >= 1.2.1)
|
|
||||||
csv
|
|
||||||
formtastic (>= 3.1)
|
|
||||||
formtastic_i18n (>= 0.4)
|
|
||||||
inherited_resources (~> 1.7)
|
|
||||||
jquery-rails (>= 4.2)
|
|
||||||
kaminari (>= 1.2.1)
|
|
||||||
railties (>= 6.1)
|
|
||||||
ransack (>= 4.0)
|
|
||||||
activejob (7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
globalid (>= 0.3.6)
|
|
||||||
activemodel (7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
activerecord (7.1.5.1)
|
|
||||||
activemodel (= 7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
timeout (>= 0.4.0)
|
|
||||||
activestorage (7.1.5.1)
|
|
||||||
actionpack (= 7.1.5.1)
|
|
||||||
activejob (= 7.1.5.1)
|
|
||||||
activerecord (= 7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
marcel (~> 1.0)
|
|
||||||
activesupport (7.1.5.1)
|
|
||||||
base64
|
|
||||||
benchmark (>= 0.3)
|
|
||||||
bigdecimal
|
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
||||||
connection_pool (>= 2.2.5)
|
|
||||||
drb
|
|
||||||
i18n (>= 1.6, < 2)
|
|
||||||
logger (>= 1.4.2)
|
|
||||||
minitest (>= 5.1)
|
|
||||||
mutex_m
|
|
||||||
securerandom (>= 0.3)
|
|
||||||
tzinfo (~> 2.0)
|
|
||||||
addressable (2.8.7)
|
|
||||||
public_suffix (>= 2.0.2, < 7.0)
|
|
||||||
appraisal (2.5.0)
|
|
||||||
bundler
|
|
||||||
rake
|
|
||||||
thor (>= 0.14.0)
|
|
||||||
arbre (1.7.0)
|
|
||||||
activesupport (>= 3.0.0)
|
|
||||||
ruby2_keywords (>= 0.0.2)
|
|
||||||
ast (2.4.2)
|
|
||||||
base64 (0.2.0)
|
|
||||||
benchmark (0.4.0)
|
|
||||||
bigdecimal (3.1.9)
|
|
||||||
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)
|
|
||||||
coderay (1.1.3)
|
|
||||||
concurrent-ruby (1.3.5)
|
|
||||||
connection_pool (2.5.0)
|
|
||||||
crass (1.0.6)
|
|
||||||
csv (3.3.2)
|
|
||||||
cuprite (0.15.1)
|
|
||||||
capybara (~> 3.0)
|
|
||||||
ferrum (~> 0.15.0)
|
|
||||||
date (3.4.1)
|
|
||||||
diff-lcs (1.6.0)
|
|
||||||
drb (2.2.1)
|
|
||||||
erubi (1.13.1)
|
|
||||||
fasterer (0.11.0)
|
|
||||||
ruby_parser (>= 3.19.1)
|
|
||||||
ferrum (0.15)
|
|
||||||
addressable (~> 2.5)
|
|
||||||
concurrent-ruby (~> 1.1)
|
|
||||||
webrick (~> 1.7)
|
|
||||||
websocket-driver (~> 0.7)
|
|
||||||
ffi (1.17.1-arm64-darwin)
|
|
||||||
ffi (1.17.1-x86_64-linux-gnu)
|
|
||||||
formtastic (5.0.0)
|
|
||||||
actionpack (>= 6.0.0)
|
|
||||||
formtastic_i18n (0.7.0)
|
|
||||||
globalid (1.2.1)
|
|
||||||
activesupport (>= 6.1)
|
|
||||||
has_scope (0.8.2)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
activesupport (>= 5.2)
|
|
||||||
i18n (1.14.7)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
inherited_resources (1.14.0)
|
|
||||||
actionpack (>= 6.0)
|
|
||||||
has_scope (>= 0.6)
|
|
||||||
railties (>= 6.0)
|
|
||||||
responders (>= 2)
|
|
||||||
io-console (0.8.0)
|
|
||||||
irb (1.15.1)
|
|
||||||
pp (>= 0.6.0)
|
|
||||||
rdoc (>= 4.0.0)
|
|
||||||
reline (>= 0.4.2)
|
|
||||||
jquery-rails (4.6.0)
|
|
||||||
rails-dom-testing (>= 1, < 3)
|
|
||||||
railties (>= 4.2.0)
|
|
||||||
thor (>= 0.14, < 2.0)
|
|
||||||
json (2.10.2)
|
|
||||||
kaminari (1.2.2)
|
|
||||||
activesupport (>= 4.1.0)
|
|
||||||
kaminari-actionview (= 1.2.2)
|
|
||||||
kaminari-activerecord (= 1.2.2)
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-actionview (1.2.2)
|
|
||||||
actionview
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-activerecord (1.2.2)
|
|
||||||
activerecord
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-core (1.2.2)
|
|
||||||
language_server-protocol (3.17.0.4)
|
|
||||||
lint_roller (1.1.0)
|
|
||||||
logger (1.6.6)
|
|
||||||
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)
|
|
||||||
method_source (1.1.0)
|
|
||||||
mini_mime (1.1.5)
|
|
||||||
minitest (5.25.5)
|
|
||||||
mutex_m (0.3.0)
|
|
||||||
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.4-arm64-darwin)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-x86_64-linux-gnu)
|
|
||||||
racc (~> 1.4)
|
|
||||||
parallel (1.26.3)
|
|
||||||
parser (3.3.7.1)
|
|
||||||
ast (~> 2.4.1)
|
|
||||||
racc
|
|
||||||
pp (0.6.2)
|
|
||||||
prettyprint
|
|
||||||
prettyprint (0.2.0)
|
|
||||||
pry (0.15.2)
|
|
||||||
coderay (~> 1.1)
|
|
||||||
method_source (~> 1.0)
|
|
||||||
pry-rails (0.3.11)
|
|
||||||
pry (>= 0.13.0)
|
|
||||||
psych (5.2.3)
|
|
||||||
date
|
|
||||||
stringio
|
|
||||||
public_suffix (6.0.1)
|
|
||||||
puma (6.6.0)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
racc (1.8.1)
|
|
||||||
rack (3.1.12)
|
|
||||||
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.1.5.1)
|
|
||||||
actioncable (= 7.1.5.1)
|
|
||||||
actionmailbox (= 7.1.5.1)
|
|
||||||
actionmailer (= 7.1.5.1)
|
|
||||||
actionpack (= 7.1.5.1)
|
|
||||||
actiontext (= 7.1.5.1)
|
|
||||||
actionview (= 7.1.5.1)
|
|
||||||
activejob (= 7.1.5.1)
|
|
||||||
activemodel (= 7.1.5.1)
|
|
||||||
activerecord (= 7.1.5.1)
|
|
||||||
activestorage (= 7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
bundler (>= 1.15.0)
|
|
||||||
railties (= 7.1.5.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.1.5.1)
|
|
||||||
actionpack (= 7.1.5.1)
|
|
||||||
activesupport (= 7.1.5.1)
|
|
||||||
irb
|
|
||||||
rackup (>= 1.0.0)
|
|
||||||
rake (>= 12.2)
|
|
||||||
thor (~> 1.0, >= 1.2.2)
|
|
||||||
zeitwerk (~> 2.6)
|
|
||||||
rainbow (3.1.1)
|
|
||||||
rake (13.2.1)
|
|
||||||
ransack (4.3.0)
|
|
||||||
activerecord (>= 6.1.5)
|
|
||||||
activesupport (>= 6.1.5)
|
|
||||||
i18n
|
|
||||||
rdoc (6.12.0)
|
|
||||||
psych (>= 4.0.0)
|
|
||||||
regexp_parser (2.10.0)
|
|
||||||
reline (0.6.0)
|
|
||||||
io-console (~> 0.5)
|
|
||||||
responders (3.1.1)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
railties (>= 5.2)
|
|
||||||
rspec-core (3.13.3)
|
|
||||||
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.1)
|
|
||||||
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-retry (0.6.2)
|
|
||||||
rspec-core (> 3.3)
|
|
||||||
rspec-support (3.13.2)
|
|
||||||
rspec_junit_formatter (0.6.0)
|
|
||||||
rspec-core (>= 2, < 4, != 2.12.0)
|
|
||||||
rubocop (1.74.0)
|
|
||||||
json (~> 2.3)
|
|
||||||
language_server-protocol (~> 3.17.0.2)
|
|
||||||
lint_roller (~> 1.1.0)
|
|
||||||
parallel (~> 1.10)
|
|
||||||
parser (>= 3.3.0.2)
|
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
|
||||||
regexp_parser (>= 2.9.3, < 3.0)
|
|
||||||
rubocop-ast (>= 1.38.0, < 2.0)
|
|
||||||
ruby-progressbar (~> 1.7)
|
|
||||||
unicode-display_width (>= 2.4.0, < 4.0)
|
|
||||||
rubocop-ast (1.39.0)
|
|
||||||
parser (>= 3.3.1.0)
|
|
||||||
rubocop-capybara (2.22.1)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (~> 1.72, >= 1.72.1)
|
|
||||||
rubocop-packaging (0.5.2)
|
|
||||||
rubocop (>= 1.33, < 2.0)
|
|
||||||
rubocop-performance (1.24.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (>= 1.72.1, < 2.0)
|
|
||||||
rubocop-ast (>= 1.38.0, < 2.0)
|
|
||||||
rubocop-rails (2.30.3)
|
|
||||||
activesupport (>= 4.2.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rack (>= 1.1)
|
|
||||||
rubocop (>= 1.72.1, < 2.0)
|
|
||||||
rubocop-ast (>= 1.38.0, < 2.0)
|
|
||||||
rubocop-rspec (3.5.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (~> 1.72, >= 1.72.1)
|
|
||||||
rubocop-rspec_rails (2.31.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (~> 1.72, >= 1.72.1)
|
|
||||||
rubocop-rspec (~> 3.5)
|
|
||||||
ruby-progressbar (1.13.0)
|
|
||||||
ruby2_keywords (0.0.5)
|
|
||||||
ruby_parser (3.21.1)
|
|
||||||
racc (~> 1.5)
|
|
||||||
sexp_processor (~> 4.16)
|
|
||||||
sassc (2.4.0)
|
|
||||||
ffi (~> 1.9)
|
|
||||||
securerandom (0.4.1)
|
|
||||||
sexp_processor (4.17.3)
|
|
||||||
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)
|
|
||||||
sqlite3 (2.6.0-arm64-darwin)
|
|
||||||
sqlite3 (2.6.0-x86_64-linux-gnu)
|
|
||||||
stringio (3.1.5)
|
|
||||||
thor (1.3.2)
|
|
||||||
timeout (0.4.3)
|
|
||||||
tzinfo (2.0.6)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
unicode-display_width (3.1.4)
|
|
||||||
unicode-emoji (~> 4.0, >= 4.0.4)
|
|
||||||
unicode-emoji (4.0.4)
|
|
||||||
webrick (1.9.1)
|
|
||||||
websocket-driver (0.7.7)
|
|
||||||
base64
|
|
||||||
websocket-extensions (>= 0.1.0)
|
|
||||||
websocket-extensions (0.1.5)
|
|
||||||
xpath (3.2.0)
|
|
||||||
nokogiri (~> 1.8)
|
|
||||||
zeitwerk (2.6.18)
|
|
||||||
|
|
||||||
PLATFORMS
|
|
||||||
arm64-darwin-23
|
|
||||||
x86_64-linux
|
|
||||||
|
|
||||||
DEPENDENCIES
|
|
||||||
activeadmin
|
|
||||||
activeadmin_quill_editor!
|
|
||||||
appraisal (~> 2.4)
|
|
||||||
bigdecimal
|
|
||||||
capybara
|
|
||||||
cuprite
|
|
||||||
fasterer
|
|
||||||
mutex_m
|
|
||||||
pry-rails
|
|
||||||
puma
|
|
||||||
rails (~> 7.1.0)
|
|
||||||
rspec-rails
|
|
||||||
rspec-retry
|
|
||||||
rspec_junit_formatter
|
|
||||||
rubocop
|
|
||||||
rubocop-capybara
|
|
||||||
rubocop-packaging
|
|
||||||
rubocop-performance
|
|
||||||
rubocop-rails
|
|
||||||
rubocop-rspec
|
|
||||||
rubocop-rspec_rails
|
|
||||||
sassc
|
|
||||||
sprockets-rails
|
|
||||||
sqlite3
|
|
||||||
|
|
||||||
BUNDLED WITH
|
|
||||||
2.4.19
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# This file was generated by Appraisal
|
|
||||||
|
|
||||||
source "https://rubygems.org"
|
|
||||||
|
|
||||||
gem "sqlite3"
|
|
||||||
gem "bigdecimal"
|
|
||||||
gem "mutex_m"
|
|
||||||
gem "puma"
|
|
||||||
gem "sassc"
|
|
||||||
gem "sprockets-rails"
|
|
||||||
gem "capybara"
|
|
||||||
gem "cuprite"
|
|
||||||
gem "rspec_junit_formatter"
|
|
||||||
gem "rspec-rails"
|
|
||||||
gem "rspec-retry"
|
|
||||||
gem "fasterer"
|
|
||||||
gem "rubocop"
|
|
||||||
gem "rubocop-capybara"
|
|
||||||
gem "rubocop-packaging"
|
|
||||||
gem "rubocop-performance"
|
|
||||||
gem "rubocop-rails"
|
|
||||||
gem "rubocop-rspec"
|
|
||||||
gem "rubocop-rspec_rails"
|
|
||||||
gem "pry-rails"
|
|
||||||
gem "activeadmin"
|
|
||||||
gem "rails", "~> 7.2.0"
|
|
||||||
|
|
||||||
gemspec path: "../"
|
|
||||||
@@ -1,426 +0,0 @@
|
|||||||
PATH
|
|
||||||
remote: ..
|
|
||||||
specs:
|
|
||||||
activeadmin_quill_editor (1.3.0)
|
|
||||||
activeadmin (>= 2.9, < 4)
|
|
||||||
|
|
||||||
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)
|
|
||||||
activeadmin (3.3.0)
|
|
||||||
arbre (~> 1.2, >= 1.2.1)
|
|
||||||
csv
|
|
||||||
formtastic (>= 3.1)
|
|
||||||
formtastic_i18n (>= 0.4)
|
|
||||||
inherited_resources (~> 1.7)
|
|
||||||
jquery-rails (>= 4.2)
|
|
||||||
kaminari (>= 1.2.1)
|
|
||||||
railties (>= 6.1)
|
|
||||||
ransack (>= 4.0)
|
|
||||||
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)
|
|
||||||
appraisal (2.5.0)
|
|
||||||
bundler
|
|
||||||
rake
|
|
||||||
thor (>= 0.14.0)
|
|
||||||
arbre (1.7.0)
|
|
||||||
activesupport (>= 3.0.0)
|
|
||||||
ruby2_keywords (>= 0.0.2)
|
|
||||||
ast (2.4.2)
|
|
||||||
base64 (0.2.0)
|
|
||||||
benchmark (0.4.0)
|
|
||||||
bigdecimal (3.1.9)
|
|
||||||
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)
|
|
||||||
coderay (1.1.3)
|
|
||||||
concurrent-ruby (1.3.5)
|
|
||||||
connection_pool (2.5.0)
|
|
||||||
crass (1.0.6)
|
|
||||||
csv (3.3.2)
|
|
||||||
cuprite (0.15.1)
|
|
||||||
capybara (~> 3.0)
|
|
||||||
ferrum (~> 0.15.0)
|
|
||||||
date (3.4.1)
|
|
||||||
diff-lcs (1.6.0)
|
|
||||||
drb (2.2.1)
|
|
||||||
erubi (1.13.1)
|
|
||||||
fasterer (0.11.0)
|
|
||||||
ruby_parser (>= 3.19.1)
|
|
||||||
ferrum (0.15)
|
|
||||||
addressable (~> 2.5)
|
|
||||||
concurrent-ruby (~> 1.1)
|
|
||||||
webrick (~> 1.7)
|
|
||||||
websocket-driver (~> 0.7)
|
|
||||||
ffi (1.17.1-aarch64-linux-gnu)
|
|
||||||
ffi (1.17.1-aarch64-linux-musl)
|
|
||||||
ffi (1.17.1-arm-linux-gnu)
|
|
||||||
ffi (1.17.1-arm-linux-musl)
|
|
||||||
ffi (1.17.1-arm64-darwin)
|
|
||||||
ffi (1.17.1-x86_64-darwin)
|
|
||||||
ffi (1.17.1-x86_64-linux-gnu)
|
|
||||||
ffi (1.17.1-x86_64-linux-musl)
|
|
||||||
formtastic (5.0.0)
|
|
||||||
actionpack (>= 6.0.0)
|
|
||||||
formtastic_i18n (0.7.0)
|
|
||||||
globalid (1.2.1)
|
|
||||||
activesupport (>= 6.1)
|
|
||||||
has_scope (0.8.2)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
activesupport (>= 5.2)
|
|
||||||
i18n (1.14.7)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
inherited_resources (1.14.0)
|
|
||||||
actionpack (>= 6.0)
|
|
||||||
has_scope (>= 0.6)
|
|
||||||
railties (>= 6.0)
|
|
||||||
responders (>= 2)
|
|
||||||
io-console (0.8.0)
|
|
||||||
irb (1.15.1)
|
|
||||||
pp (>= 0.6.0)
|
|
||||||
rdoc (>= 4.0.0)
|
|
||||||
reline (>= 0.4.2)
|
|
||||||
jquery-rails (4.6.0)
|
|
||||||
rails-dom-testing (>= 1, < 3)
|
|
||||||
railties (>= 4.2.0)
|
|
||||||
thor (>= 0.14, < 2.0)
|
|
||||||
json (2.10.2)
|
|
||||||
kaminari (1.2.2)
|
|
||||||
activesupport (>= 4.1.0)
|
|
||||||
kaminari-actionview (= 1.2.2)
|
|
||||||
kaminari-activerecord (= 1.2.2)
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-actionview (1.2.2)
|
|
||||||
actionview
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-activerecord (1.2.2)
|
|
||||||
activerecord
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-core (1.2.2)
|
|
||||||
language_server-protocol (3.17.0.4)
|
|
||||||
lint_roller (1.1.0)
|
|
||||||
logger (1.6.6)
|
|
||||||
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)
|
|
||||||
method_source (1.1.0)
|
|
||||||
mini_mime (1.1.5)
|
|
||||||
minitest (5.25.5)
|
|
||||||
mutex_m (0.3.0)
|
|
||||||
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.4-aarch64-linux-gnu)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-aarch64-linux-musl)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-arm-linux-gnu)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-arm-linux-musl)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-arm64-darwin)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-x86_64-darwin)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-x86_64-linux-gnu)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-x86_64-linux-musl)
|
|
||||||
racc (~> 1.4)
|
|
||||||
parallel (1.26.3)
|
|
||||||
parser (3.3.7.1)
|
|
||||||
ast (~> 2.4.1)
|
|
||||||
racc
|
|
||||||
pp (0.6.2)
|
|
||||||
prettyprint
|
|
||||||
prettyprint (0.2.0)
|
|
||||||
pry (0.15.2)
|
|
||||||
coderay (~> 1.1)
|
|
||||||
method_source (~> 1.0)
|
|
||||||
pry-rails (0.3.11)
|
|
||||||
pry (>= 0.13.0)
|
|
||||||
psych (5.2.3)
|
|
||||||
date
|
|
||||||
stringio
|
|
||||||
public_suffix (6.0.1)
|
|
||||||
puma (6.6.0)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
racc (1.8.1)
|
|
||||||
rack (3.1.12)
|
|
||||||
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)
|
|
||||||
rainbow (3.1.1)
|
|
||||||
rake (13.2.1)
|
|
||||||
ransack (4.3.0)
|
|
||||||
activerecord (>= 6.1.5)
|
|
||||||
activesupport (>= 6.1.5)
|
|
||||||
i18n
|
|
||||||
rdoc (6.12.0)
|
|
||||||
psych (>= 4.0.0)
|
|
||||||
regexp_parser (2.10.0)
|
|
||||||
reline (0.6.0)
|
|
||||||
io-console (~> 0.5)
|
|
||||||
responders (3.1.1)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
railties (>= 5.2)
|
|
||||||
rspec-core (3.13.3)
|
|
||||||
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.1)
|
|
||||||
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-retry (0.6.2)
|
|
||||||
rspec-core (> 3.3)
|
|
||||||
rspec-support (3.13.2)
|
|
||||||
rspec_junit_formatter (0.6.0)
|
|
||||||
rspec-core (>= 2, < 4, != 2.12.0)
|
|
||||||
rubocop (1.74.0)
|
|
||||||
json (~> 2.3)
|
|
||||||
language_server-protocol (~> 3.17.0.2)
|
|
||||||
lint_roller (~> 1.1.0)
|
|
||||||
parallel (~> 1.10)
|
|
||||||
parser (>= 3.3.0.2)
|
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
|
||||||
regexp_parser (>= 2.9.3, < 3.0)
|
|
||||||
rubocop-ast (>= 1.38.0, < 2.0)
|
|
||||||
ruby-progressbar (~> 1.7)
|
|
||||||
unicode-display_width (>= 2.4.0, < 4.0)
|
|
||||||
rubocop-ast (1.39.0)
|
|
||||||
parser (>= 3.3.1.0)
|
|
||||||
rubocop-capybara (2.22.1)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (~> 1.72, >= 1.72.1)
|
|
||||||
rubocop-packaging (0.5.2)
|
|
||||||
rubocop (>= 1.33, < 2.0)
|
|
||||||
rubocop-performance (1.24.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (>= 1.72.1, < 2.0)
|
|
||||||
rubocop-ast (>= 1.38.0, < 2.0)
|
|
||||||
rubocop-rails (2.30.3)
|
|
||||||
activesupport (>= 4.2.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rack (>= 1.1)
|
|
||||||
rubocop (>= 1.72.1, < 2.0)
|
|
||||||
rubocop-ast (>= 1.38.0, < 2.0)
|
|
||||||
rubocop-rspec (3.5.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (~> 1.72, >= 1.72.1)
|
|
||||||
rubocop-rspec_rails (2.31.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (~> 1.72, >= 1.72.1)
|
|
||||||
rubocop-rspec (~> 3.5)
|
|
||||||
ruby-progressbar (1.13.0)
|
|
||||||
ruby2_keywords (0.0.5)
|
|
||||||
ruby_parser (3.21.1)
|
|
||||||
racc (~> 1.5)
|
|
||||||
sexp_processor (~> 4.16)
|
|
||||||
sassc (2.4.0)
|
|
||||||
ffi (~> 1.9)
|
|
||||||
securerandom (0.4.1)
|
|
||||||
sexp_processor (4.17.3)
|
|
||||||
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)
|
|
||||||
sqlite3 (2.6.0-aarch64-linux-gnu)
|
|
||||||
sqlite3 (2.6.0-aarch64-linux-musl)
|
|
||||||
sqlite3 (2.6.0-arm-linux-gnu)
|
|
||||||
sqlite3 (2.6.0-arm-linux-musl)
|
|
||||||
sqlite3 (2.6.0-arm64-darwin)
|
|
||||||
sqlite3 (2.6.0-x86_64-darwin)
|
|
||||||
sqlite3 (2.6.0-x86_64-linux-gnu)
|
|
||||||
sqlite3 (2.6.0-x86_64-linux-musl)
|
|
||||||
stringio (3.1.5)
|
|
||||||
thor (1.3.2)
|
|
||||||
timeout (0.4.3)
|
|
||||||
tzinfo (2.0.6)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
unicode-display_width (3.1.4)
|
|
||||||
unicode-emoji (~> 4.0, >= 4.0.4)
|
|
||||||
unicode-emoji (4.0.4)
|
|
||||||
useragent (0.16.11)
|
|
||||||
webrick (1.9.1)
|
|
||||||
websocket-driver (0.7.7)
|
|
||||||
base64
|
|
||||||
websocket-extensions (>= 0.1.0)
|
|
||||||
websocket-extensions (0.1.5)
|
|
||||||
xpath (3.2.0)
|
|
||||||
nokogiri (~> 1.8)
|
|
||||||
zeitwerk (2.6.18)
|
|
||||||
|
|
||||||
PLATFORMS
|
|
||||||
aarch64-linux-gnu
|
|
||||||
aarch64-linux-musl
|
|
||||||
arm-linux-gnu
|
|
||||||
arm-linux-musl
|
|
||||||
arm64-darwin
|
|
||||||
x86_64-darwin
|
|
||||||
x86_64-linux-gnu
|
|
||||||
x86_64-linux-musl
|
|
||||||
|
|
||||||
DEPENDENCIES
|
|
||||||
activeadmin
|
|
||||||
activeadmin_quill_editor!
|
|
||||||
appraisal (~> 2.4)
|
|
||||||
bigdecimal
|
|
||||||
capybara
|
|
||||||
cuprite
|
|
||||||
fasterer
|
|
||||||
mutex_m
|
|
||||||
pry-rails
|
|
||||||
puma
|
|
||||||
rails (~> 7.2.0)
|
|
||||||
rspec-rails
|
|
||||||
rspec-retry
|
|
||||||
rspec_junit_formatter
|
|
||||||
rubocop
|
|
||||||
rubocop-capybara
|
|
||||||
rubocop-packaging
|
|
||||||
rubocop-performance
|
|
||||||
rubocop-rails
|
|
||||||
rubocop-rspec
|
|
||||||
rubocop-rspec_rails
|
|
||||||
sassc
|
|
||||||
sprockets-rails
|
|
||||||
sqlite3
|
|
||||||
|
|
||||||
BUNDLED WITH
|
|
||||||
2.6.6
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# This file was generated by Appraisal
|
|
||||||
|
|
||||||
source "https://rubygems.org"
|
|
||||||
|
|
||||||
gem "sqlite3"
|
|
||||||
gem "bigdecimal"
|
|
||||||
gem "mutex_m"
|
|
||||||
gem "puma"
|
|
||||||
gem "sassc"
|
|
||||||
gem "sprockets-rails"
|
|
||||||
gem "capybara"
|
|
||||||
gem "cuprite"
|
|
||||||
gem "rspec_junit_formatter"
|
|
||||||
gem "rspec-rails"
|
|
||||||
gem "rspec-retry"
|
|
||||||
gem "fasterer"
|
|
||||||
gem "rubocop"
|
|
||||||
gem "rubocop-capybara"
|
|
||||||
gem "rubocop-packaging"
|
|
||||||
gem "rubocop-performance"
|
|
||||||
gem "rubocop-rails"
|
|
||||||
gem "rubocop-rspec"
|
|
||||||
gem "rubocop-rspec_rails"
|
|
||||||
gem "pry-rails"
|
|
||||||
gem "activeadmin"
|
|
||||||
gem "rails", "~> 8.0.0"
|
|
||||||
|
|
||||||
gemspec path: "../"
|
|
||||||
@@ -1,427 +0,0 @@
|
|||||||
PATH
|
|
||||||
remote: ..
|
|
||||||
specs:
|
|
||||||
activeadmin_quill_editor (1.3.0)
|
|
||||||
activeadmin (>= 2.9, < 4)
|
|
||||||
|
|
||||||
GEM
|
|
||||||
remote: https://rubygems.org/
|
|
||||||
specs:
|
|
||||||
actioncable (8.0.2)
|
|
||||||
actionpack (= 8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
websocket-driver (>= 0.6.1)
|
|
||||||
zeitwerk (~> 2.6)
|
|
||||||
actionmailbox (8.0.2)
|
|
||||||
actionpack (= 8.0.2)
|
|
||||||
activejob (= 8.0.2)
|
|
||||||
activerecord (= 8.0.2)
|
|
||||||
activestorage (= 8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
mail (>= 2.8.0)
|
|
||||||
actionmailer (8.0.2)
|
|
||||||
actionpack (= 8.0.2)
|
|
||||||
actionview (= 8.0.2)
|
|
||||||
activejob (= 8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
mail (>= 2.8.0)
|
|
||||||
rails-dom-testing (~> 2.2)
|
|
||||||
actionpack (8.0.2)
|
|
||||||
actionview (= 8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
nokogiri (>= 1.8.5)
|
|
||||||
rack (>= 2.2.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.2)
|
|
||||||
actionpack (= 8.0.2)
|
|
||||||
activerecord (= 8.0.2)
|
|
||||||
activestorage (= 8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
globalid (>= 0.6.0)
|
|
||||||
nokogiri (>= 1.8.5)
|
|
||||||
actionview (8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
builder (~> 3.1)
|
|
||||||
erubi (~> 1.11)
|
|
||||||
rails-dom-testing (~> 2.2)
|
|
||||||
rails-html-sanitizer (~> 1.6)
|
|
||||||
activeadmin (3.3.0)
|
|
||||||
arbre (~> 1.2, >= 1.2.1)
|
|
||||||
csv
|
|
||||||
formtastic (>= 3.1)
|
|
||||||
formtastic_i18n (>= 0.4)
|
|
||||||
inherited_resources (~> 1.7)
|
|
||||||
jquery-rails (>= 4.2)
|
|
||||||
kaminari (>= 1.2.1)
|
|
||||||
railties (>= 6.1)
|
|
||||||
ransack (>= 4.0)
|
|
||||||
activejob (8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
globalid (>= 0.3.6)
|
|
||||||
activemodel (8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
activerecord (8.0.2)
|
|
||||||
activemodel (= 8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
timeout (>= 0.4.0)
|
|
||||||
activestorage (8.0.2)
|
|
||||||
actionpack (= 8.0.2)
|
|
||||||
activejob (= 8.0.2)
|
|
||||||
activerecord (= 8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
marcel (~> 1.0)
|
|
||||||
activesupport (8.0.2)
|
|
||||||
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)
|
|
||||||
uri (>= 0.13.1)
|
|
||||||
addressable (2.8.7)
|
|
||||||
public_suffix (>= 2.0.2, < 7.0)
|
|
||||||
appraisal (2.5.0)
|
|
||||||
bundler
|
|
||||||
rake
|
|
||||||
thor (>= 0.14.0)
|
|
||||||
arbre (1.7.0)
|
|
||||||
activesupport (>= 3.0.0)
|
|
||||||
ruby2_keywords (>= 0.0.2)
|
|
||||||
ast (2.4.2)
|
|
||||||
base64 (0.2.0)
|
|
||||||
benchmark (0.4.0)
|
|
||||||
bigdecimal (3.1.9)
|
|
||||||
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)
|
|
||||||
coderay (1.1.3)
|
|
||||||
concurrent-ruby (1.3.5)
|
|
||||||
connection_pool (2.5.0)
|
|
||||||
crass (1.0.6)
|
|
||||||
csv (3.3.2)
|
|
||||||
cuprite (0.15.1)
|
|
||||||
capybara (~> 3.0)
|
|
||||||
ferrum (~> 0.15.0)
|
|
||||||
date (3.4.1)
|
|
||||||
diff-lcs (1.6.0)
|
|
||||||
drb (2.2.1)
|
|
||||||
erubi (1.13.1)
|
|
||||||
fasterer (0.11.0)
|
|
||||||
ruby_parser (>= 3.19.1)
|
|
||||||
ferrum (0.15)
|
|
||||||
addressable (~> 2.5)
|
|
||||||
concurrent-ruby (~> 1.1)
|
|
||||||
webrick (~> 1.7)
|
|
||||||
websocket-driver (~> 0.7)
|
|
||||||
ffi (1.17.1-aarch64-linux-gnu)
|
|
||||||
ffi (1.17.1-aarch64-linux-musl)
|
|
||||||
ffi (1.17.1-arm-linux-gnu)
|
|
||||||
ffi (1.17.1-arm-linux-musl)
|
|
||||||
ffi (1.17.1-arm64-darwin)
|
|
||||||
ffi (1.17.1-x86_64-darwin)
|
|
||||||
ffi (1.17.1-x86_64-linux-gnu)
|
|
||||||
ffi (1.17.1-x86_64-linux-musl)
|
|
||||||
formtastic (5.0.0)
|
|
||||||
actionpack (>= 6.0.0)
|
|
||||||
formtastic_i18n (0.7.0)
|
|
||||||
globalid (1.2.1)
|
|
||||||
activesupport (>= 6.1)
|
|
||||||
has_scope (0.8.2)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
activesupport (>= 5.2)
|
|
||||||
i18n (1.14.7)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
inherited_resources (1.14.0)
|
|
||||||
actionpack (>= 6.0)
|
|
||||||
has_scope (>= 0.6)
|
|
||||||
railties (>= 6.0)
|
|
||||||
responders (>= 2)
|
|
||||||
io-console (0.8.0)
|
|
||||||
irb (1.15.1)
|
|
||||||
pp (>= 0.6.0)
|
|
||||||
rdoc (>= 4.0.0)
|
|
||||||
reline (>= 0.4.2)
|
|
||||||
jquery-rails (4.6.0)
|
|
||||||
rails-dom-testing (>= 1, < 3)
|
|
||||||
railties (>= 4.2.0)
|
|
||||||
thor (>= 0.14, < 2.0)
|
|
||||||
json (2.10.2)
|
|
||||||
kaminari (1.2.2)
|
|
||||||
activesupport (>= 4.1.0)
|
|
||||||
kaminari-actionview (= 1.2.2)
|
|
||||||
kaminari-activerecord (= 1.2.2)
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-actionview (1.2.2)
|
|
||||||
actionview
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-activerecord (1.2.2)
|
|
||||||
activerecord
|
|
||||||
kaminari-core (= 1.2.2)
|
|
||||||
kaminari-core (1.2.2)
|
|
||||||
language_server-protocol (3.17.0.4)
|
|
||||||
lint_roller (1.1.0)
|
|
||||||
logger (1.6.6)
|
|
||||||
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)
|
|
||||||
method_source (1.1.0)
|
|
||||||
mini_mime (1.1.5)
|
|
||||||
minitest (5.25.5)
|
|
||||||
mutex_m (0.3.0)
|
|
||||||
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.4-aarch64-linux-gnu)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-aarch64-linux-musl)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-arm-linux-gnu)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-arm-linux-musl)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-arm64-darwin)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-x86_64-darwin)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-x86_64-linux-gnu)
|
|
||||||
racc (~> 1.4)
|
|
||||||
nokogiri (1.18.4-x86_64-linux-musl)
|
|
||||||
racc (~> 1.4)
|
|
||||||
parallel (1.26.3)
|
|
||||||
parser (3.3.7.1)
|
|
||||||
ast (~> 2.4.1)
|
|
||||||
racc
|
|
||||||
pp (0.6.2)
|
|
||||||
prettyprint
|
|
||||||
prettyprint (0.2.0)
|
|
||||||
pry (0.15.2)
|
|
||||||
coderay (~> 1.1)
|
|
||||||
method_source (~> 1.0)
|
|
||||||
pry-rails (0.3.11)
|
|
||||||
pry (>= 0.13.0)
|
|
||||||
psych (5.2.3)
|
|
||||||
date
|
|
||||||
stringio
|
|
||||||
public_suffix (6.0.1)
|
|
||||||
puma (6.6.0)
|
|
||||||
nio4r (~> 2.0)
|
|
||||||
racc (1.8.1)
|
|
||||||
rack (3.1.12)
|
|
||||||
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 (8.0.2)
|
|
||||||
actioncable (= 8.0.2)
|
|
||||||
actionmailbox (= 8.0.2)
|
|
||||||
actionmailer (= 8.0.2)
|
|
||||||
actionpack (= 8.0.2)
|
|
||||||
actiontext (= 8.0.2)
|
|
||||||
actionview (= 8.0.2)
|
|
||||||
activejob (= 8.0.2)
|
|
||||||
activemodel (= 8.0.2)
|
|
||||||
activerecord (= 8.0.2)
|
|
||||||
activestorage (= 8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
bundler (>= 1.15.0)
|
|
||||||
railties (= 8.0.2)
|
|
||||||
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 (8.0.2)
|
|
||||||
actionpack (= 8.0.2)
|
|
||||||
activesupport (= 8.0.2)
|
|
||||||
irb (~> 1.13)
|
|
||||||
rackup (>= 1.0.0)
|
|
||||||
rake (>= 12.2)
|
|
||||||
thor (~> 1.0, >= 1.2.2)
|
|
||||||
zeitwerk (~> 2.6)
|
|
||||||
rainbow (3.1.1)
|
|
||||||
rake (13.2.1)
|
|
||||||
ransack (4.3.0)
|
|
||||||
activerecord (>= 6.1.5)
|
|
||||||
activesupport (>= 6.1.5)
|
|
||||||
i18n
|
|
||||||
rdoc (6.12.0)
|
|
||||||
psych (>= 4.0.0)
|
|
||||||
regexp_parser (2.10.0)
|
|
||||||
reline (0.6.0)
|
|
||||||
io-console (~> 0.5)
|
|
||||||
responders (3.1.1)
|
|
||||||
actionpack (>= 5.2)
|
|
||||||
railties (>= 5.2)
|
|
||||||
rspec-core (3.13.3)
|
|
||||||
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.1)
|
|
||||||
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-retry (0.6.2)
|
|
||||||
rspec-core (> 3.3)
|
|
||||||
rspec-support (3.13.2)
|
|
||||||
rspec_junit_formatter (0.6.0)
|
|
||||||
rspec-core (>= 2, < 4, != 2.12.0)
|
|
||||||
rubocop (1.74.0)
|
|
||||||
json (~> 2.3)
|
|
||||||
language_server-protocol (~> 3.17.0.2)
|
|
||||||
lint_roller (~> 1.1.0)
|
|
||||||
parallel (~> 1.10)
|
|
||||||
parser (>= 3.3.0.2)
|
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
|
||||||
regexp_parser (>= 2.9.3, < 3.0)
|
|
||||||
rubocop-ast (>= 1.38.0, < 2.0)
|
|
||||||
ruby-progressbar (~> 1.7)
|
|
||||||
unicode-display_width (>= 2.4.0, < 4.0)
|
|
||||||
rubocop-ast (1.39.0)
|
|
||||||
parser (>= 3.3.1.0)
|
|
||||||
rubocop-capybara (2.22.1)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (~> 1.72, >= 1.72.1)
|
|
||||||
rubocop-packaging (0.5.2)
|
|
||||||
rubocop (>= 1.33, < 2.0)
|
|
||||||
rubocop-performance (1.24.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (>= 1.72.1, < 2.0)
|
|
||||||
rubocop-ast (>= 1.38.0, < 2.0)
|
|
||||||
rubocop-rails (2.30.3)
|
|
||||||
activesupport (>= 4.2.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rack (>= 1.1)
|
|
||||||
rubocop (>= 1.72.1, < 2.0)
|
|
||||||
rubocop-ast (>= 1.38.0, < 2.0)
|
|
||||||
rubocop-rspec (3.5.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (~> 1.72, >= 1.72.1)
|
|
||||||
rubocop-rspec_rails (2.31.0)
|
|
||||||
lint_roller (~> 1.1)
|
|
||||||
rubocop (~> 1.72, >= 1.72.1)
|
|
||||||
rubocop-rspec (~> 3.5)
|
|
||||||
ruby-progressbar (1.13.0)
|
|
||||||
ruby2_keywords (0.0.5)
|
|
||||||
ruby_parser (3.21.1)
|
|
||||||
racc (~> 1.5)
|
|
||||||
sexp_processor (~> 4.16)
|
|
||||||
sassc (2.4.0)
|
|
||||||
ffi (~> 1.9)
|
|
||||||
securerandom (0.4.1)
|
|
||||||
sexp_processor (4.17.3)
|
|
||||||
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)
|
|
||||||
sqlite3 (2.6.0-aarch64-linux-gnu)
|
|
||||||
sqlite3 (2.6.0-aarch64-linux-musl)
|
|
||||||
sqlite3 (2.6.0-arm-linux-gnu)
|
|
||||||
sqlite3 (2.6.0-arm-linux-musl)
|
|
||||||
sqlite3 (2.6.0-arm64-darwin)
|
|
||||||
sqlite3 (2.6.0-x86_64-darwin)
|
|
||||||
sqlite3 (2.6.0-x86_64-linux-gnu)
|
|
||||||
sqlite3 (2.6.0-x86_64-linux-musl)
|
|
||||||
stringio (3.1.5)
|
|
||||||
thor (1.3.2)
|
|
||||||
timeout (0.4.3)
|
|
||||||
tzinfo (2.0.6)
|
|
||||||
concurrent-ruby (~> 1.0)
|
|
||||||
unicode-display_width (3.1.4)
|
|
||||||
unicode-emoji (~> 4.0, >= 4.0.4)
|
|
||||||
unicode-emoji (4.0.4)
|
|
||||||
uri (1.0.3)
|
|
||||||
useragent (0.16.11)
|
|
||||||
webrick (1.9.1)
|
|
||||||
websocket-driver (0.7.7)
|
|
||||||
base64
|
|
||||||
websocket-extensions (>= 0.1.0)
|
|
||||||
websocket-extensions (0.1.5)
|
|
||||||
xpath (3.2.0)
|
|
||||||
nokogiri (~> 1.8)
|
|
||||||
zeitwerk (2.7.2)
|
|
||||||
|
|
||||||
PLATFORMS
|
|
||||||
aarch64-linux-gnu
|
|
||||||
aarch64-linux-musl
|
|
||||||
arm-linux-gnu
|
|
||||||
arm-linux-musl
|
|
||||||
arm64-darwin
|
|
||||||
x86_64-darwin
|
|
||||||
x86_64-linux-gnu
|
|
||||||
x86_64-linux-musl
|
|
||||||
|
|
||||||
DEPENDENCIES
|
|
||||||
activeadmin
|
|
||||||
activeadmin_quill_editor!
|
|
||||||
appraisal (~> 2.4)
|
|
||||||
bigdecimal
|
|
||||||
capybara
|
|
||||||
cuprite
|
|
||||||
fasterer
|
|
||||||
mutex_m
|
|
||||||
pry-rails
|
|
||||||
puma
|
|
||||||
rails (~> 8.0.0)
|
|
||||||
rspec-rails
|
|
||||||
rspec-retry
|
|
||||||
rspec_junit_formatter
|
|
||||||
rubocop
|
|
||||||
rubocop-capybara
|
|
||||||
rubocop-packaging
|
|
||||||
rubocop-performance
|
|
||||||
rubocop-rails
|
|
||||||
rubocop-rspec
|
|
||||||
rubocop-rspec_rails
|
|
||||||
sassc
|
|
||||||
sprockets-rails
|
|
||||||
sqlite3
|
|
||||||
|
|
||||||
BUNDLED WITH
|
|
||||||
2.6.6
|
|
||||||
7
index.js
7
index.js
@@ -1,7 +0,0 @@
|
|||||||
// Styles
|
|
||||||
import 'activeadmin_quill_editor/app/assets/stylesheets/activeadmin/quill_editor/quill.snow'
|
|
||||||
import 'activeadmin_quill_editor/app/assets/stylesheets/activeadmin/_quill_editor_input'
|
|
||||||
|
|
||||||
// JS
|
|
||||||
window.Quill = require('activeadmin_quill_editor/app/assets/javascripts/activeadmin/quill_editor/quill')
|
|
||||||
require('activeadmin_quill_editor/app/assets/javascripts/activeadmin/quill_editor_input')
|
|
||||||
@@ -1,3 +1 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
require 'activeadmin/quill_editor/engine'
|
require 'activeadmin/quill_editor/engine'
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
require 'active_admin'
|
require 'active_admin'
|
||||||
|
|
||||||
module ActiveAdmin
|
module ActiveAdmin
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
module ActiveAdmin
|
module ActiveAdmin
|
||||||
module QuillEditor
|
module QuillEditor
|
||||||
VERSION = '1.3.0'
|
VERSION = '0.1.4'
|
||||||
QUILL_VERSION = '1.3.7'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
require 'activeadmin/quill_editor'
|
require 'activeadmin/quill_editor'
|
||||||
|
|
||||||
require 'formtastic/inputs/quill_editor_input'
|
require 'formtastic/inputs/quill_editor_input'
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
module Formtastic
|
module Formtastic
|
||||||
module Inputs
|
module Inputs
|
||||||
class QuillEditorInput < Formtastic::Inputs::TextInput
|
class QuillEditorInput < Formtastic::Inputs::TextInput
|
||||||
def to_html
|
def to_html
|
||||||
input_wrapping do
|
input_wrapping do
|
||||||
label_html <<
|
label_html <<
|
||||||
template.content_tag(:div, input_html_options.merge('data-aa-quill-editor': '1')) do
|
template.content_tag( :div, input_html_options.merge( class: 'quill-editor' ) ) do
|
||||||
builder.hidden_field(input_name) <<
|
builder.hidden_field( input_name ) <<
|
||||||
template.content_tag(:div, 'data-aa-quill-content': '1') do
|
template.content_tag( :div, class: 'quill-editor-content' ) do
|
||||||
object.send(method).try :html_safe
|
object.send( method ).try :html_safe
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
18
package.json
18
package.json
@@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "activeadmin_quill_editor",
|
|
||||||
"version": "1.3.0",
|
|
||||||
"description": "Quill Editor for ActiveAdmin",
|
|
||||||
"author": "Mattia Roccoberton <mat@blocknot.es>",
|
|
||||||
"license": "MIT",
|
|
||||||
"homepage": "https://github.com/blocknotes/activeadmin_quill_editor",
|
|
||||||
"main": "index.js",
|
|
||||||
"files": [
|
|
||||||
"app/**/*",
|
|
||||||
"index.js"
|
|
||||||
],
|
|
||||||
"devDependencies": {
|
|
||||||
"@eslint/js": "^9.22.0",
|
|
||||||
"eslint": "^9.22.0",
|
|
||||||
"globals": "^16.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Двоичные данные
screenshot.jpg
Обычный файл
Двоичные данные
screenshot.jpg
Обычный файл
Двоичный файл не отображается.
|
После Ширина: | Высота: | Размер: 33 KiB |
@@ -1,6 +0,0 @@
|
|||||||
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
|
||||||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
||||||
|
|
||||||
require_relative 'config/application'
|
|
||||||
|
|
||||||
Rails.application.load_tasks
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
ActiveAdmin.register Author do
|
|
||||||
permit_params :name,
|
|
||||||
:email,
|
|
||||||
:age,
|
|
||||||
:avatar,
|
|
||||||
profile_attributes: %i[id description _destroy],
|
|
||||||
posts_attributes: %i[id title description]
|
|
||||||
|
|
||||||
index do
|
|
||||||
selectable_column
|
|
||||||
id_column
|
|
||||||
column :name
|
|
||||||
column :email
|
|
||||||
column :created_at
|
|
||||||
actions
|
|
||||||
end
|
|
||||||
|
|
||||||
filter :name
|
|
||||||
filter :created_at
|
|
||||||
|
|
||||||
show do
|
|
||||||
attributes_table do
|
|
||||||
row :name
|
|
||||||
row :email
|
|
||||||
row :age
|
|
||||||
row :avatar do |record|
|
|
||||||
image_tag url_for(record.avatar), style: 'max-width:800px;max-height:500px' if record.avatar.attached?
|
|
||||||
end
|
|
||||||
row :created_at
|
|
||||||
row :updated_at
|
|
||||||
row :profile
|
|
||||||
row :posts
|
|
||||||
end
|
|
||||||
active_admin_comments
|
|
||||||
end
|
|
||||||
|
|
||||||
form do |f|
|
|
||||||
f.inputs do
|
|
||||||
f.input :name
|
|
||||||
f.input :email
|
|
||||||
f.input :age
|
|
||||||
f.input :avatar,
|
|
||||||
as: :file,
|
|
||||||
hint: (object.avatar.attached? ? "Current: #{object.avatar.filename}" : nil)
|
|
||||||
end
|
|
||||||
f.has_many :profile, allow_destroy: true do |ff|
|
|
||||||
ff.input :description
|
|
||||||
end
|
|
||||||
f.has_many :posts do |fp|
|
|
||||||
fp.input :title
|
|
||||||
fp.input :description, as: :quill_editor
|
|
||||||
end
|
|
||||||
f.actions
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
ActiveAdmin.register_page "Dashboard" do
|
|
||||||
menu priority: 1, label: proc { I18n.t("active_admin.dashboard") }
|
|
||||||
|
|
||||||
content title: proc { I18n.t("active_admin.dashboard") } do
|
|
||||||
div class: "blank_slate_container", id: "dashboard_default_message" do
|
|
||||||
span class: "blank_slate" do
|
|
||||||
span I18n.t("active_admin.dashboard_welcome.welcome")
|
|
||||||
small I18n.t("active_admin.dashboard_welcome.call_to_action")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Here is an example of a simple dashboard with columns and panels.
|
|
||||||
#
|
|
||||||
# columns do
|
|
||||||
# column do
|
|
||||||
# panel "Recent Posts" do
|
|
||||||
# ul do
|
|
||||||
# Post.recent(5).map do |post|
|
|
||||||
# li link_to(post.title, admin_post_path(post))
|
|
||||||
# end
|
|
||||||
# end
|
|
||||||
# end
|
|
||||||
# end
|
|
||||||
|
|
||||||
# column do
|
|
||||||
# panel "Info" do
|
|
||||||
# para "Welcome to ActiveAdmin."
|
|
||||||
# end
|
|
||||||
# end
|
|
||||||
# end
|
|
||||||
end # content
|
|
||||||
end
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
ActiveAdmin.register Post do
|
|
||||||
permit_params :author_id, :title, :summary, :description, :category, :dt, :position, :published, tag_ids: []
|
|
||||||
|
|
||||||
index do
|
|
||||||
selectable_column
|
|
||||||
id_column
|
|
||||||
column :title
|
|
||||||
column :author
|
|
||||||
column :published
|
|
||||||
column :created_at
|
|
||||||
actions
|
|
||||||
end
|
|
||||||
|
|
||||||
show do
|
|
||||||
attributes_table do
|
|
||||||
row :author
|
|
||||||
row :title
|
|
||||||
row :summary
|
|
||||||
row :description
|
|
||||||
row :category
|
|
||||||
row :dt
|
|
||||||
row :position
|
|
||||||
row :published
|
|
||||||
row :tags
|
|
||||||
row :created_at
|
|
||||||
row :updated_at
|
|
||||||
row :images do |resurce|
|
|
||||||
resurce.images.each do |image|
|
|
||||||
div do
|
|
||||||
link_to image.filename, image, target: '_blank'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
active_admin_comments
|
|
||||||
end
|
|
||||||
|
|
||||||
form do |f|
|
|
||||||
toolbar = %w[bold italic underline link]
|
|
||||||
f.inputs 'Post' do
|
|
||||||
f.input :author
|
|
||||||
f.input :title
|
|
||||||
f.input :summary, as: :quill_editor, input_html: { data: { options: { modules: { toolbar: toolbar } } } }
|
|
||||||
f.input :description, as: :quill_editor, input_html: { data: { options: { modules: { toolbar: toolbar } } } }
|
|
||||||
f.input :category
|
|
||||||
f.input :dt
|
|
||||||
f.input :position
|
|
||||||
f.input :published
|
|
||||||
end
|
|
||||||
|
|
||||||
f.inputs 'Tags' do
|
|
||||||
f.input :tags
|
|
||||||
end
|
|
||||||
|
|
||||||
f.actions
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
ActiveAdmin.register Profile do
|
|
||||||
permit_params :author_id, :description
|
|
||||||
end
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
ActiveAdmin.register Tag do
|
|
||||||
end
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
//= link_tree ../images
|
|
||||||
//= link_directory ../stylesheets .css
|
|
||||||
// OFF link active_storage_db_manifest.js
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
//= require active_admin/base
|
|
||||||
|
|
||||||
//= require activeadmin/quill_editor/quill
|
|
||||||
//= require activeadmin/quill_editor_input
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
// SASS variable overrides must be declared before loading up Active Admin's styles.
|
|
||||||
//
|
|
||||||
// To view the variables that Active Admin provides, take a look at
|
|
||||||
// `app/assets/stylesheets/active_admin/mixins/_variables.scss` in the
|
|
||||||
// Active Admin source.
|
|
||||||
//
|
|
||||||
// For example, to change the sidebar width:
|
|
||||||
// $sidebar-width: 242px;
|
|
||||||
|
|
||||||
// Active Admin's got SASS!
|
|
||||||
@import 'active_admin/mixins';
|
|
||||||
@import 'active_admin/base';
|
|
||||||
|
|
||||||
@import 'activeadmin/quill_editor/quill.snow';
|
|
||||||
@import 'activeadmin/quill_editor_input';
|
|
||||||
|
|
||||||
// Overriding any non-variable SASS must be done after the fact.
|
|
||||||
// For example, to change the default status-tag color:
|
|
||||||
//
|
|
||||||
// .status_tag { background: #6090DB; }
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
/*
|
|
||||||
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
||||||
* listed below.
|
|
||||||
*
|
|
||||||
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
||||||
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
|
||||||
*
|
|
||||||
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
||||||
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
|
||||||
* files in this directory. Styles in this file should be added after the last require_* statement.
|
|
||||||
* It is generally better to create a new file per style scope.
|
|
||||||
*
|
|
||||||
*= require_tree .
|
|
||||||
*= require_self
|
|
||||||
*/
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
module ApplicationCable
|
|
||||||
class Channel < ActionCable::Channel::Base
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
module ApplicationCable
|
|
||||||
class Connection < ActionCable::Connection::Base
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
class ApplicationController < ActionController::Base
|
|
||||||
end
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
module ApplicationHelper
|
|
||||||
end
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
||||||
// listed below.
|
|
||||||
//
|
|
||||||
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
||||||
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
|
||||||
//
|
|
||||||
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
||||||
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
|
||||||
//
|
|
||||||
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
|
||||||
// about supported directives.
|
|
||||||
//
|
|
||||||
//= require rails-ujs
|
|
||||||
//= require activestorage
|
|
||||||
//= require_tree .
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
class ApplicationJob < ActiveJob::Base
|
|
||||||
# Automatically retry jobs that encountered a deadlock
|
|
||||||
# retry_on ActiveRecord::Deadlocked
|
|
||||||
|
|
||||||
# Most jobs are safe to ignore if the underlying records are no longer available
|
|
||||||
# discard_on ActiveJob::DeserializationError
|
|
||||||
end
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
class ApplicationMailer < ActionMailer::Base
|
|
||||||
default from: 'from@example.com'
|
|
||||||
layout 'mailer'
|
|
||||||
end
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
class ApplicationRecord < ActiveRecord::Base
|
|
||||||
self.abstract_class = true
|
|
||||||
|
|
||||||
scope :published, -> {}
|
|
||||||
end
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
class Author < ApplicationRecord
|
|
||||||
has_many :posts
|
|
||||||
has_many :published_posts, -> { published }, class_name: 'Post'
|
|
||||||
has_many :recent_posts, -> { recents }, class_name: 'Post'
|
|
||||||
|
|
||||||
has_many :tags, through: :posts
|
|
||||||
|
|
||||||
has_one :profile, inverse_of: :author, dependent: :destroy
|
|
||||||
|
|
||||||
has_one_attached :avatar
|
|
||||||
|
|
||||||
accepts_nested_attributes_for :profile, allow_destroy: true
|
|
||||||
accepts_nested_attributes_for :posts, allow_destroy: true
|
|
||||||
|
|
||||||
validates :email, format: { with: /\A[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\z/i, message: 'Invalid email' }
|
|
||||||
|
|
||||||
validate -> {
|
|
||||||
errors.add( :base, 'Invalid age' ) if !age || age.to_i % 3 == 1
|
|
||||||
}
|
|
||||||
|
|
||||||
def to_s
|
|
||||||
"#{name} (#{age})"
|
|
||||||
end
|
|
||||||
|
|
||||||
class << self
|
|
||||||
def ransackable_attributes(_auth_object = nil)
|
|
||||||
%w[age created_at email id name updated_at]
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
class Post < ApplicationRecord
|
|
||||||
# enum state: %i[available unavailable arriving]
|
|
||||||
|
|
||||||
belongs_to :author, inverse_of: :posts, autosave: true
|
|
||||||
|
|
||||||
has_one :author_profile, through: :author, source: :profile
|
|
||||||
|
|
||||||
has_many :post_tags, inverse_of: :post, dependent: :destroy
|
|
||||||
has_many :tags, through: :post_tags
|
|
||||||
|
|
||||||
has_many_attached :images
|
|
||||||
|
|
||||||
accepts_nested_attributes_for :post_tags, allow_destroy: true
|
|
||||||
|
|
||||||
validates :title, allow_blank: false, presence: true
|
|
||||||
|
|
||||||
scope :published, -> { where(published: true) }
|
|
||||||
scope :recents, -> { where('created_at > ?', Date.today - 8.month) }
|
|
||||||
|
|
||||||
def short_title
|
|
||||||
title.truncate 10
|
|
||||||
end
|
|
||||||
|
|
||||||
def upper_title
|
|
||||||
title.upcase
|
|
||||||
end
|
|
||||||
|
|
||||||
class << self
|
|
||||||
def ransackable_attributes(auth_object = nil)
|
|
||||||
%w[author_id category created_at description dt id position published summary title updated_at]
|
|
||||||
end
|
|
||||||
|
|
||||||
def ransackable_associations(auth_object = nil)
|
|
||||||
%w[author author_profile images_attachments images_blobs post_tags tags]
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
class PostTag < ApplicationRecord
|
|
||||||
belongs_to :post, inverse_of: :post_tags
|
|
||||||
belongs_to :tag, inverse_of: :post_tags
|
|
||||||
|
|
||||||
validates :post, presence: true
|
|
||||||
validates :tag, presence: true
|
|
||||||
|
|
||||||
class << self
|
|
||||||
def ransackable_attributes(auth_object = nil)
|
|
||||||
%w[created_at id post_id tag_id updated_at]
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
class Profile < ApplicationRecord
|
|
||||||
belongs_to :author, inverse_of: :profile, touch: true
|
|
||||||
|
|
||||||
# has_rich_text :description
|
|
||||||
|
|
||||||
# def to_s
|
|
||||||
# description
|
|
||||||
# end
|
|
||||||
|
|
||||||
class << self
|
|
||||||
def ransackable_associations(auth_object = nil)
|
|
||||||
%w[author]
|
|
||||||
end
|
|
||||||
|
|
||||||
def ransackable_attributes(_auth_object = nil)
|
|
||||||
%w[author_id created_at description id updated_at]
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
class Tag < ApplicationRecord
|
|
||||||
has_many :post_tags, inverse_of: :tag, dependent: :destroy
|
|
||||||
has_many :posts, through: :post_tags
|
|
||||||
|
|
||||||
class << self
|
|
||||||
def ransackable_associations(auth_object = nil)
|
|
||||||
%w[post_tags posts]
|
|
||||||
end
|
|
||||||
|
|
||||||
def ransackable_attributes(auth_object = nil)
|
|
||||||
%w[created_at id id_value name updated_at]
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Dummy</title>
|
|
||||||
<%= csrf_meta_tags %>
|
|
||||||
<%= csp_meta_tag %>
|
|
||||||
|
|
||||||
<%= stylesheet_link_tag 'application', media: 'all' %>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<%= yield %>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
||||||
<style>
|
|
||||||
/* Email styles need to be inline */
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<%= yield %>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Ссылка в новой задаче
Block a user