зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-08-28 15:36:17 +03:00
Сравнить коммиты
28 Коммитов
| Автор | SHA1 | Дата | |
|---|---|---|---|
|
|
b00fcd90ab | ||
|
|
edf5cbcb13 | ||
|
|
38e5406d5d | ||
|
|
c560dd5c60 | ||
|
|
597cae7adb | ||
|
|
6d0599c39e | ||
|
|
664765ac79 | ||
|
|
7be390701f | ||
|
|
e4401a469b | ||
|
|
d8632f069a | ||
|
|
7498cd65a1 | ||
|
|
038d66f387 | ||
|
|
7af25106a2 | ||
|
|
d021f3650e | ||
|
|
8a13dd49a4 | ||
|
|
1cad5a10c3 | ||
|
|
63b4c118f6 | ||
|
|
277d1a521a | ||
|
|
4a0ea5e8f2 | ||
|
|
ffc57e7d90 | ||
|
|
2ebc9176b4 | ||
|
|
0b44c683e6 | ||
|
|
9b460d36e3 | ||
|
|
d41f8450ea | ||
|
|
401d2528e8 | ||
|
|
e086bac0a7 | ||
|
|
36cd836ca8 | ||
|
|
c05666673e |
@@ -1,33 +0,0 @@
|
|||||||
version: 2.1
|
|
||||||
orbs:
|
|
||||||
ruby: circleci/ruby@0.1.2
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
docker:
|
|
||||||
- image: circleci/ruby:2.6.6-stretch-node-browsers
|
|
||||||
executor: ruby/default
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- restore_cache:
|
|
||||||
key: gem-cache-{{ checksum "activeadmin_quill_editor.gemspec" }}
|
|
||||||
- run:
|
|
||||||
name: Setup Bundler
|
|
||||||
command: gem install bundler
|
|
||||||
- run:
|
|
||||||
name: Bundle Install
|
|
||||||
command: bundle install --path vendor/bundle
|
|
||||||
- save_cache:
|
|
||||||
key: gem-cache-{{ checksum "activeadmin_quill_editor.gemspec" }}
|
|
||||||
paths: vendor/bundle
|
|
||||||
- run:
|
|
||||||
name: Run Specs
|
|
||||||
command: |
|
|
||||||
bin/rspec \
|
|
||||||
--profile 10 \
|
|
||||||
--format RspecJunitFormatter \
|
|
||||||
--out test_results/rspec.xml \
|
|
||||||
--format progress \
|
|
||||||
$(circleci tests glob "spec/**/*_spec.rb")
|
|
||||||
- store_test_results:
|
|
||||||
path: test_results
|
|
||||||
7
.fasterer.yml
Обычный файл
7
.fasterer.yml
Обычный файл
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
exclude_paths:
|
||||||
|
- bin/*
|
||||||
|
- db/schema.rb
|
||||||
|
- gemfiles/**/*
|
||||||
|
- spec/dummy/**/*
|
||||||
|
- vendor/**/*
|
||||||
13
.github/FUNDING.yml
поставляемый
Обычный файл
13
.github/FUNDING.yml
поставляемый
Обычный файл
@@ -0,0 +1,13 @@
|
|||||||
|
# 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']
|
||||||
44
.github/workflows/brakeman-analysis.yml
поставляемый
44
.github/workflows/brakeman-analysis.yml
поставляемый
@@ -1,44 +0,0 @@
|
|||||||
# This workflow integrates Brakeman with GitHub's Code Scanning feature
|
|
||||||
# Brakeman is a static analysis security vulnerability scanner for Ruby on Rails applications
|
|
||||||
|
|
||||||
name: Brakeman Scan
|
|
||||||
|
|
||||||
# This section configures the trigger for the workflow. Feel free to customize depending on your convention
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "master", "main" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "master", "main" ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
brakeman-scan:
|
|
||||||
name: Brakeman Scan
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
# Checkout the repository to the GitHub Actions runner
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
# Customize the ruby version depending on your needs
|
|
||||||
- name: Setup Ruby
|
|
||||||
uses: actions/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: '2.7'
|
|
||||||
|
|
||||||
- name: Setup Brakeman
|
|
||||||
env:
|
|
||||||
BRAKEMAN_VERSION: '4.10' # SARIF support is provided in Brakeman version 4.10+
|
|
||||||
run: |
|
|
||||||
gem install brakeman --version $BRAKEMAN_VERSION
|
|
||||||
|
|
||||||
# Execute Brakeman CLI and generate a SARIF output with the security issues identified during the analysis
|
|
||||||
- name: Scan
|
|
||||||
continue-on-error: true
|
|
||||||
run: |
|
|
||||||
brakeman -f sarif -o output.sarif.json .
|
|
||||||
|
|
||||||
# Upload the SARIF file generated in the previous step
|
|
||||||
- name: Upload SARIF
|
|
||||||
uses: github/codeql-action/upload-sarif@v1
|
|
||||||
with:
|
|
||||||
sarif_file: output.sarif.json
|
|
||||||
35
.github/workflows/linters.yml
поставляемый
Обычный файл
35
.github/workflows/linters.yml
поставляемый
Обычный файл
@@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
name: Linters
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
reviewdog:
|
||||||
|
name: reviewdog
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Ruby
|
||||||
|
uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: '2.7'
|
||||||
|
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_rails60.yml
поставляемый
Обычный файл
42
.github/workflows/specs_rails60.yml
поставляемый
Обычный файл
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
name: Specs Rails 6.0
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
ruby: ['2.6', '2.7']
|
||||||
|
gemfile: ['rails60_activeadmin22', 'rails60_activeadmin']
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- 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@v2
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
name: test-failed-screenshots
|
||||||
|
path: spec/dummy/tmp/screenshots
|
||||||
42
.github/workflows/specs_rails61.yml
поставляемый
Обычный файл
42
.github/workflows/specs_rails61.yml
поставляемый
Обычный файл
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
name: Specs Rails 6.1
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
ruby: ['2.6', '2.7', '3.0']
|
||||||
|
gemfile: ['rails61_activeadmin29', 'rails61_activeadmin']
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- 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@v2
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
name: test-failed-screenshots
|
||||||
|
path: spec/dummy/tmp/screenshots
|
||||||
42
.github/workflows/specs_rails70.yml
поставляемый
Обычный файл
42
.github/workflows/specs_rails70.yml
поставляемый
Обычный файл
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
name: Specs Rails 7.0
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
ruby: ['2.7', '3.0']
|
||||||
|
gemfile: ['rails70_activeadmin']
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- 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@v2
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
name: test-failed-screenshots
|
||||||
|
path: spec/dummy/tmp/screenshots
|
||||||
8
.reviewdog.yml
Обычный файл
8
.reviewdog.yml
Обычный файл
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
runner:
|
||||||
|
fasterer:
|
||||||
|
cmd: bin/fasterer
|
||||||
|
level: info
|
||||||
|
rubocop:
|
||||||
|
cmd: bin/rubocop
|
||||||
|
level: info
|
||||||
33
.rubocop.yml
33
.rubocop.yml
@@ -1,27 +1,26 @@
|
|||||||
|
---
|
||||||
inherit_from:
|
inherit_from:
|
||||||
- https://relaxed.ruby.style/rubocop.yml
|
- https://relaxed.ruby.style/rubocop.yml
|
||||||
|
|
||||||
|
require:
|
||||||
|
- rubocop-packaging
|
||||||
|
- rubocop-performance
|
||||||
|
- rubocop-rails
|
||||||
|
- rubocop-rspec
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
Exclude:
|
Exclude:
|
||||||
- bin/*
|
- bin/*
|
||||||
|
- db/schema.rb
|
||||||
|
- gemfiles/**/*
|
||||||
- spec/dummy/**/*
|
- spec/dummy/**/*
|
||||||
|
- vendor/**/*
|
||||||
NewCops: enable
|
NewCops: enable
|
||||||
|
|
||||||
Gemspec/RequiredRubyVersion:
|
RSpec/ExampleLength:
|
||||||
Enabled: false
|
# default 5
|
||||||
|
Max: 12
|
||||||
|
|
||||||
Naming/FileName:
|
RSpec/MultipleExpectations:
|
||||||
Enabled: false
|
# default 1
|
||||||
|
Max: 4
|
||||||
Layout/LineLength:
|
|
||||||
Enabled: true
|
|
||||||
Max: 120
|
|
||||||
|
|
||||||
Style/HashEachMethods:
|
|
||||||
Enabled: true
|
|
||||||
|
|
||||||
Style/HashTransformKeys:
|
|
||||||
Enabled: true
|
|
||||||
|
|
||||||
Style/HashTransformValues:
|
|
||||||
Enabled: true
|
|
||||||
|
|||||||
34
Appraisals
Обычный файл
34
Appraisals
Обычный файл
@@ -0,0 +1,34 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
appraise 'rails52-activeadmin20' do
|
||||||
|
gem 'activeadmin', '~> 2.0.0'
|
||||||
|
gem 'rails', '~> 5.2.0'
|
||||||
|
end
|
||||||
|
|
||||||
|
appraise 'rails60-activeadmin22' do
|
||||||
|
gem 'activeadmin', '~> 2.2.0'
|
||||||
|
gem 'rails', '~> 6.0.0'
|
||||||
|
gem 'selenium-webdriver', require: false
|
||||||
|
end
|
||||||
|
|
||||||
|
appraise 'rails60-activeadmin' do
|
||||||
|
gem 'activeadmin'
|
||||||
|
gem 'rails', '~> 6.0.0'
|
||||||
|
gem 'selenium-webdriver', require: false
|
||||||
|
end
|
||||||
|
|
||||||
|
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 'sprockets-rails'
|
||||||
|
end
|
||||||
54
CHANGELOG.md
Обычный файл
54
CHANGELOG.md
Обычный файл
@@ -0,0 +1,54 @@
|
|||||||
|
# Quill Editor for ActiveAdmin
|
||||||
|
|
||||||
|
An Active Admin plugin to use Quill Rich Text Editor.
|
||||||
|
|
||||||
|
## 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
|
||||||
24
Gemfile
24
Gemfile
@@ -3,3 +3,27 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gemspec
|
gemspec
|
||||||
|
|
||||||
|
group :development, :test do
|
||||||
|
gem 'puma'
|
||||||
|
gem 'sassc'
|
||||||
|
gem 'sqlite3'
|
||||||
|
|
||||||
|
# Testing
|
||||||
|
gem 'capybara'
|
||||||
|
gem 'cuprite'
|
||||||
|
gem 'rspec_junit_formatter'
|
||||||
|
gem 'rspec-rails'
|
||||||
|
gem 'rspec-retry'
|
||||||
|
|
||||||
|
# Linters
|
||||||
|
gem 'fasterer'
|
||||||
|
gem 'rubocop'
|
||||||
|
gem 'rubocop-packaging'
|
||||||
|
gem 'rubocop-performance'
|
||||||
|
gem 'rubocop-rails'
|
||||||
|
gem 'rubocop-rspec'
|
||||||
|
|
||||||
|
# Tools
|
||||||
|
gem 'pry-rails'
|
||||||
|
end
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2017-2020 Mattia Roccoberton
|
Copyright (c) 2017-2022 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
|
||||||
|
|||||||
22
README.md
22
README.md
@@ -1,14 +1,23 @@
|
|||||||
# ActiveAdmin Quill Editor [](https://badge.fury.io/rb/activeadmin_quill_editor) [](https://circleci.com/gh/blocknotes/activeadmin_quill_editor)
|
# 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)
|
||||||
|
[](https://github.com/blocknotes/activeadmin_quill_editor/actions/workflows/specs_rails70.yml)
|
||||||
|
|
||||||
An Active Admin plugin to use [Quill Rich Text Editor](https://github.com/quilljs/quill) in form fields.
|
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
|
||||||
|
|
||||||
After installing Active Admin, add to your Gemfile: `gem 'activeadmin_quill_editor'` (and execute *bundle*)
|
After installing Active Admin, add to your Gemfile: `gem 'activeadmin_quill_editor'` (and execute *bundle*)
|
||||||
|
|
||||||
If you installed Active Admin without Webpacker support (default for now):
|
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_):
|
- Add at the end of your Active Admin styles (_app/assets/stylesheets/active_admin.scss_):
|
||||||
```scss
|
```scss
|
||||||
@import 'activeadmin/quill_editor/quill.snow';
|
@import 'activeadmin/quill_editor/quill.snow';
|
||||||
@@ -34,6 +43,7 @@ require('activeadmin_quill_editor')
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
In your Active Admin models, form configuration, set the text inputs with `as: :quill_editor` where needed.
|
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/)
|
**data-options**: permits to set *quill editor* options directly - see [options list](https://quilljs.com/docs/configuration/)
|
||||||
@@ -61,6 +71,7 @@ f.input :description, as: :quill_editor, input_html: { data: { options: { module
|
|||||||
```
|
```
|
||||||
|
|
||||||
### ImageUploader plugin
|
### ImageUploader plugin
|
||||||
|
|
||||||
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).
|
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).
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
@@ -86,14 +97,21 @@ Consider that this is just a basic example: images are uploaded as soon as they
|
|||||||
the *upload_admin_post_path*) and it doesn't provide a way to remove images (just deleting them from
|
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).
|
the editor will not destroy them, you'll need to implement a purge logic for that).
|
||||||
|
|
||||||
|
## Changelog
|
||||||
|
|
||||||
|
The changelog is available [here](CHANGELOG.md).
|
||||||
|
|
||||||
## 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. My other [Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source).
|
||||||
|
|
||||||
Or consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).
|
Or consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||
- [Mattia Roccoberton](http://blocknot.es): author
|
- [Mattia Roccoberton](http://blocknot.es): author
|
||||||
- The good guys that opened issues and pull requests from time to time
|
- The good guys that opened issues and pull requests from time to time
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The gem is available as open-source under the terms of the [MIT](LICENSE.txt).
|
The gem is available as open-source under the terms of the [MIT](LICENSE.txt).
|
||||||
|
|||||||
@@ -14,20 +14,18 @@ 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 = '>= 2.6.0'
|
||||||
|
|
||||||
|
spec.metadata['homepage_uri'] = spec.homepage
|
||||||
|
spec.metadata['changelog_uri'] = 'https://github.com/blocknotes/activeadmin_quill_editor/blob/master/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.files = Dir['{app,lib}/**/*', 'LICENSE.txt', 'Rakefile', 'README.md']
|
||||||
spec.require_paths = ['lib']
|
spec.require_paths = ['lib']
|
||||||
|
|
||||||
spec.add_runtime_dependency 'activeadmin', '~> 2.0'
|
spec.add_runtime_dependency 'activeadmin', '~> 2.0'
|
||||||
|
|
||||||
spec.add_development_dependency 'activestorage', '~> 6.0'
|
spec.add_development_dependency 'appraisal', '~> 2.4'
|
||||||
spec.add_development_dependency 'capybara', '~> 3.33'
|
|
||||||
spec.add_development_dependency 'pry', '~> 0.13'
|
|
||||||
spec.add_development_dependency 'puma', '~> 4.3'
|
|
||||||
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4'
|
|
||||||
spec.add_development_dependency 'rspec-rails', '~> 4.0'
|
|
||||||
spec.add_development_dependency 'rubocop', '~> 0.90'
|
|
||||||
spec.add_development_dependency 'sassc', '~> 2.4'
|
|
||||||
spec.add_development_dependency 'selenium-webdriver', '~> 3.142'
|
|
||||||
spec.add_development_dependency 'sprockets-rails', '~> 3.2'
|
|
||||||
spec.add_development_dependency 'sqlite3', '~> 1.4'
|
|
||||||
end
|
end
|
||||||
|
|||||||
29
bin/appraisal
Исполняемый файл
29
bin/appraisal
Исполняемый файл
@@ -0,0 +1,29 @@
|
|||||||
|
#!/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
Исполняемый файл
@@ -0,0 +1,29 @@
|
|||||||
|
#!/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")
|
||||||
35
bin/rails
35
bin/rails
@@ -1,29 +1,16 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
# frozen_string_literal: true
|
# This command will automatically be run when you run "rails" with Rails gems
|
||||||
|
# installed from the root of your application.
|
||||||
|
|
||||||
#
|
ENV['RAILS_ENV'] ||= 'test'
|
||||||
# This file was generated by Bundler.
|
|
||||||
#
|
|
||||||
# The application 'rails' is installed as part of a gem, and
|
|
||||||
# this file is here to facilitate running it.
|
|
||||||
#
|
|
||||||
|
|
||||||
require "pathname"
|
ENGINE_ROOT = File.expand_path('..', __dir__)
|
||||||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
ENGINE_PATH = File.expand_path('../lib/activeadmin/quill_editor/engine', __dir__)
|
||||||
Pathname.new(__FILE__).realpath)
|
APP_PATH = File.expand_path('../spec/dummy/config/application', __dir__)
|
||||||
|
|
||||||
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
# Set up gems listed in the Gemfile.
|
||||||
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
||||||
|
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
||||||
|
|
||||||
if File.file?(bundle_binstub)
|
require 'rails/all'
|
||||||
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
require 'rails/engine/commands'
|
||||||
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("railties", "rails")
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ ActiveAdmin.register Post do
|
|||||||
row :images do |resurce|
|
row :images do |resurce|
|
||||||
resurce.images.each do |image|
|
resurce.images.each do |image|
|
||||||
div do
|
div do
|
||||||
link_to image.filename, image, target: '_blank'
|
link_to image.filename, image, target: '_blank', rel: 'noopener'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
nil
|
nil
|
||||||
|
|||||||
19
extra/README.md
Обычный файл
19
extra/README.md
Обычный файл
@@ -0,0 +1,19 @@
|
|||||||
|
# Development
|
||||||
|
|
||||||
|
## 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
|
||||||
|
```
|
||||||
|
До Ширина: | Высота: | Размер: 52 KiB После Ширина: | Высота: | Размер: 52 KiB |
26
gemfiles/rails52_activeadmin20.gemfile
Обычный файл
26
gemfiles/rails52_activeadmin20.gemfile
Обычный файл
@@ -0,0 +1,26 @@
|
|||||||
|
# This file was generated by Appraisal
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "activeadmin", "~> 2.0.0"
|
||||||
|
gem "rails", "~> 5.2.0"
|
||||||
|
|
||||||
|
group :development, :test do
|
||||||
|
gem "puma"
|
||||||
|
gem "sassc"
|
||||||
|
gem "sqlite3"
|
||||||
|
gem "capybara"
|
||||||
|
gem "cuprite"
|
||||||
|
gem "rspec_junit_formatter"
|
||||||
|
gem "rspec-rails"
|
||||||
|
gem "rspec-retry"
|
||||||
|
gem "fasterer"
|
||||||
|
gem "rubocop"
|
||||||
|
gem "rubocop-packaging"
|
||||||
|
gem "rubocop-performance"
|
||||||
|
gem "rubocop-rails"
|
||||||
|
gem "rubocop-rspec"
|
||||||
|
gem "pry-rails"
|
||||||
|
end
|
||||||
|
|
||||||
|
gemspec path: "../"
|
||||||
311
gemfiles/rails52_activeadmin20.gemfile.lock
Обычный файл
311
gemfiles/rails52_activeadmin20.gemfile.lock
Обычный файл
@@ -0,0 +1,311 @@
|
|||||||
|
PATH
|
||||||
|
remote: ..
|
||||||
|
specs:
|
||||||
|
activeadmin_quill_editor (1.0.0)
|
||||||
|
activeadmin (~> 2.0)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
actioncable (5.2.7)
|
||||||
|
actionpack (= 5.2.7)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
websocket-driver (>= 0.6.1)
|
||||||
|
actionmailer (5.2.7)
|
||||||
|
actionpack (= 5.2.7)
|
||||||
|
actionview (= 5.2.7)
|
||||||
|
activejob (= 5.2.7)
|
||||||
|
mail (~> 2.5, >= 2.5.4)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
actionpack (5.2.7)
|
||||||
|
actionview (= 5.2.7)
|
||||||
|
activesupport (= 5.2.7)
|
||||||
|
rack (~> 2.0, >= 2.0.8)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
||||||
|
actionview (5.2.7)
|
||||||
|
activesupport (= 5.2.7)
|
||||||
|
builder (~> 3.1)
|
||||||
|
erubi (~> 1.4)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
||||||
|
activeadmin (2.0.0)
|
||||||
|
arbre (~> 1.2, >= 1.2.1)
|
||||||
|
formtastic (~> 3.1)
|
||||||
|
formtastic_i18n (~> 0.4)
|
||||||
|
inherited_resources (~> 1.7)
|
||||||
|
jquery-rails (~> 4.2)
|
||||||
|
kaminari (~> 1.0, >= 1.0.1)
|
||||||
|
railties (>= 5.0, < 6.0)
|
||||||
|
ransack (~> 2.1, >= 2.1.1)
|
||||||
|
sass (~> 3.4)
|
||||||
|
sprockets (>= 3.0, < 4.1)
|
||||||
|
sprockets-es6 (~> 0.9, >= 0.9.2)
|
||||||
|
activejob (5.2.7)
|
||||||
|
activesupport (= 5.2.7)
|
||||||
|
globalid (>= 0.3.6)
|
||||||
|
activemodel (5.2.7)
|
||||||
|
activesupport (= 5.2.7)
|
||||||
|
activerecord (5.2.7)
|
||||||
|
activemodel (= 5.2.7)
|
||||||
|
activesupport (= 5.2.7)
|
||||||
|
arel (>= 9.0)
|
||||||
|
activestorage (5.2.7)
|
||||||
|
actionpack (= 5.2.7)
|
||||||
|
activerecord (= 5.2.7)
|
||||||
|
marcel (~> 1.0.0)
|
||||||
|
activesupport (5.2.7)
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
|
i18n (>= 0.7, < 2)
|
||||||
|
minitest (~> 5.1)
|
||||||
|
tzinfo (~> 1.1)
|
||||||
|
addressable (2.8.0)
|
||||||
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
|
appraisal (2.4.1)
|
||||||
|
bundler
|
||||||
|
rake
|
||||||
|
thor (>= 0.14.0)
|
||||||
|
arbre (1.5.0)
|
||||||
|
activesupport (>= 3.0.0, < 7.1)
|
||||||
|
ruby2_keywords (>= 0.0.2, < 1.0)
|
||||||
|
arel (9.0.0)
|
||||||
|
ast (2.4.2)
|
||||||
|
babel-source (5.8.35)
|
||||||
|
babel-transpiler (0.7.0)
|
||||||
|
babel-source (>= 4.0, < 6)
|
||||||
|
execjs (~> 2.0)
|
||||||
|
builder (3.2.4)
|
||||||
|
capybara (3.36.0)
|
||||||
|
addressable
|
||||||
|
matrix
|
||||||
|
mini_mime (>= 0.1.3)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
rack (>= 1.6.0)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
regexp_parser (>= 1.5, < 3.0)
|
||||||
|
xpath (~> 3.2)
|
||||||
|
cliver (0.3.2)
|
||||||
|
coderay (1.1.3)
|
||||||
|
colorize (0.8.1)
|
||||||
|
concurrent-ruby (1.1.10)
|
||||||
|
crass (1.0.6)
|
||||||
|
cuprite (0.13)
|
||||||
|
capybara (>= 2.1, < 4)
|
||||||
|
ferrum (~> 0.11.0)
|
||||||
|
diff-lcs (1.5.0)
|
||||||
|
erubi (1.10.0)
|
||||||
|
execjs (2.8.1)
|
||||||
|
fasterer (0.9.0)
|
||||||
|
colorize (~> 0.7)
|
||||||
|
ruby_parser (>= 3.14.1)
|
||||||
|
ferrum (0.11)
|
||||||
|
addressable (~> 2.5)
|
||||||
|
cliver (~> 0.3)
|
||||||
|
concurrent-ruby (~> 1.1)
|
||||||
|
websocket-driver (>= 0.6, < 0.8)
|
||||||
|
ffi (1.15.5)
|
||||||
|
formtastic (3.1.5)
|
||||||
|
actionpack (>= 3.2.13)
|
||||||
|
formtastic_i18n (0.7.0)
|
||||||
|
globalid (1.0.0)
|
||||||
|
activesupport (>= 5.0)
|
||||||
|
has_scope (0.8.0)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
i18n (1.10.0)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
inherited_resources (1.13.1)
|
||||||
|
actionpack (>= 5.2, < 7.1)
|
||||||
|
has_scope (~> 0.6)
|
||||||
|
railties (>= 5.2, < 7.1)
|
||||||
|
responders (>= 2, < 4)
|
||||||
|
jquery-rails (4.4.0)
|
||||||
|
rails-dom-testing (>= 1, < 3)
|
||||||
|
railties (>= 4.2.0)
|
||||||
|
thor (>= 0.14, < 2.0)
|
||||||
|
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)
|
||||||
|
loofah (2.15.0)
|
||||||
|
crass (~> 1.0.2)
|
||||||
|
nokogiri (>= 1.5.9)
|
||||||
|
mail (2.7.1)
|
||||||
|
mini_mime (>= 0.1.1)
|
||||||
|
marcel (1.0.2)
|
||||||
|
matrix (0.4.2)
|
||||||
|
method_source (1.0.0)
|
||||||
|
mini_mime (1.1.2)
|
||||||
|
minitest (5.15.0)
|
||||||
|
nio4r (2.5.8)
|
||||||
|
nokogiri (1.13.3-x86_64-darwin)
|
||||||
|
racc (~> 1.4)
|
||||||
|
nokogiri (1.13.3-x86_64-linux)
|
||||||
|
racc (~> 1.4)
|
||||||
|
parallel (1.22.1)
|
||||||
|
parser (3.1.1.0)
|
||||||
|
ast (~> 2.4.1)
|
||||||
|
pry (0.14.1)
|
||||||
|
coderay (~> 1.1)
|
||||||
|
method_source (~> 1.0)
|
||||||
|
pry-rails (0.3.9)
|
||||||
|
pry (>= 0.10.4)
|
||||||
|
public_suffix (4.0.6)
|
||||||
|
puma (5.6.2)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
racc (1.6.0)
|
||||||
|
rack (2.2.3)
|
||||||
|
rack-test (1.1.0)
|
||||||
|
rack (>= 1.0, < 3)
|
||||||
|
rails (5.2.7)
|
||||||
|
actioncable (= 5.2.7)
|
||||||
|
actionmailer (= 5.2.7)
|
||||||
|
actionpack (= 5.2.7)
|
||||||
|
actionview (= 5.2.7)
|
||||||
|
activejob (= 5.2.7)
|
||||||
|
activemodel (= 5.2.7)
|
||||||
|
activerecord (= 5.2.7)
|
||||||
|
activestorage (= 5.2.7)
|
||||||
|
activesupport (= 5.2.7)
|
||||||
|
bundler (>= 1.3.0)
|
||||||
|
railties (= 5.2.7)
|
||||||
|
sprockets-rails (>= 2.0.0)
|
||||||
|
rails-dom-testing (2.0.3)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
nokogiri (>= 1.6)
|
||||||
|
rails-html-sanitizer (1.4.2)
|
||||||
|
loofah (~> 2.3)
|
||||||
|
railties (5.2.7)
|
||||||
|
actionpack (= 5.2.7)
|
||||||
|
activesupport (= 5.2.7)
|
||||||
|
method_source
|
||||||
|
rake (>= 0.8.7)
|
||||||
|
thor (>= 0.19.0, < 2.0)
|
||||||
|
rainbow (3.1.1)
|
||||||
|
rake (13.0.6)
|
||||||
|
ransack (2.5.0)
|
||||||
|
activerecord (>= 5.2.4)
|
||||||
|
activesupport (>= 5.2.4)
|
||||||
|
i18n
|
||||||
|
rb-fsevent (0.11.1)
|
||||||
|
rb-inotify (0.10.1)
|
||||||
|
ffi (~> 1.0)
|
||||||
|
regexp_parser (2.2.1)
|
||||||
|
responders (3.0.1)
|
||||||
|
actionpack (>= 5.0)
|
||||||
|
railties (>= 5.0)
|
||||||
|
rexml (3.2.5)
|
||||||
|
rspec-core (3.11.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-expectations (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-mocks (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-rails (5.1.1)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
railties (>= 5.2)
|
||||||
|
rspec-core (~> 3.10)
|
||||||
|
rspec-expectations (~> 3.10)
|
||||||
|
rspec-mocks (~> 3.10)
|
||||||
|
rspec-support (~> 3.10)
|
||||||
|
rspec-retry (0.6.2)
|
||||||
|
rspec-core (> 3.3)
|
||||||
|
rspec-support (3.11.0)
|
||||||
|
rspec_junit_formatter (0.5.1)
|
||||||
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
|
rubocop (1.26.1)
|
||||||
|
parallel (~> 1.10)
|
||||||
|
parser (>= 3.1.0.0)
|
||||||
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
|
regexp_parser (>= 1.8, < 3.0)
|
||||||
|
rexml
|
||||||
|
rubocop-ast (>= 1.16.0, < 2.0)
|
||||||
|
ruby-progressbar (~> 1.7)
|
||||||
|
unicode-display_width (>= 1.4.0, < 3.0)
|
||||||
|
rubocop-ast (1.16.0)
|
||||||
|
parser (>= 3.1.1.0)
|
||||||
|
rubocop-packaging (0.5.1)
|
||||||
|
rubocop (>= 0.89, < 2.0)
|
||||||
|
rubocop-performance (1.13.3)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-ast (>= 0.4.0)
|
||||||
|
rubocop-rails (2.14.2)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
rack (>= 1.1)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-rspec (2.9.0)
|
||||||
|
rubocop (~> 1.19)
|
||||||
|
ruby-progressbar (1.11.0)
|
||||||
|
ruby2_keywords (0.0.5)
|
||||||
|
ruby_parser (3.18.1)
|
||||||
|
sexp_processor (~> 4.16)
|
||||||
|
sass (3.7.4)
|
||||||
|
sass-listen (~> 4.0.0)
|
||||||
|
sass-listen (4.0.0)
|
||||||
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||||
|
rb-inotify (~> 0.9, >= 0.9.7)
|
||||||
|
sassc (2.4.0)
|
||||||
|
ffi (~> 1.9)
|
||||||
|
sexp_processor (4.16.0)
|
||||||
|
sprockets (4.0.3)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
rack (> 1, < 3)
|
||||||
|
sprockets-es6 (0.9.2)
|
||||||
|
babel-source (>= 5.8.11)
|
||||||
|
babel-transpiler
|
||||||
|
sprockets (>= 3.0.0)
|
||||||
|
sprockets-rails (3.4.2)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
sprockets (>= 3.0.0)
|
||||||
|
sqlite3 (1.4.2)
|
||||||
|
thor (1.2.1)
|
||||||
|
thread_safe (0.3.6)
|
||||||
|
tzinfo (1.2.9)
|
||||||
|
thread_safe (~> 0.1)
|
||||||
|
unicode-display_width (2.1.0)
|
||||||
|
websocket-driver (0.7.5)
|
||||||
|
websocket-extensions (>= 0.1.0)
|
||||||
|
websocket-extensions (0.1.5)
|
||||||
|
xpath (3.2.0)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
x86_64-darwin-21
|
||||||
|
x86_64-linux
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
activeadmin (~> 2.0.0)
|
||||||
|
activeadmin_quill_editor!
|
||||||
|
appraisal (~> 2.4)
|
||||||
|
capybara
|
||||||
|
cuprite
|
||||||
|
fasterer
|
||||||
|
pry-rails
|
||||||
|
puma
|
||||||
|
rails (~> 5.2.0)
|
||||||
|
rspec-rails
|
||||||
|
rspec-retry
|
||||||
|
rspec_junit_formatter
|
||||||
|
rubocop
|
||||||
|
rubocop-packaging
|
||||||
|
rubocop-performance
|
||||||
|
rubocop-rails
|
||||||
|
rubocop-rspec
|
||||||
|
sassc
|
||||||
|
sqlite3
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.3.8
|
||||||
27
gemfiles/rails60_activeadmin.gemfile
Обычный файл
27
gemfiles/rails60_activeadmin.gemfile
Обычный файл
@@ -0,0 +1,27 @@
|
|||||||
|
# This file was generated by Appraisal
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "activeadmin"
|
||||||
|
gem "rails", "~> 6.0.0"
|
||||||
|
gem "selenium-webdriver", require: false
|
||||||
|
|
||||||
|
group :development, :test do
|
||||||
|
gem "puma"
|
||||||
|
gem "sassc"
|
||||||
|
gem "sqlite3"
|
||||||
|
gem "capybara"
|
||||||
|
gem "cuprite"
|
||||||
|
gem "rspec_junit_formatter"
|
||||||
|
gem "rspec-rails"
|
||||||
|
gem "rspec-retry"
|
||||||
|
gem "fasterer"
|
||||||
|
gem "rubocop"
|
||||||
|
gem "rubocop-packaging"
|
||||||
|
gem "rubocop-performance"
|
||||||
|
gem "rubocop-rails"
|
||||||
|
gem "rubocop-rspec"
|
||||||
|
gem "pry-rails"
|
||||||
|
end
|
||||||
|
|
||||||
|
gemspec path: "../"
|
||||||
314
gemfiles/rails60_activeadmin.gemfile.lock
Обычный файл
314
gemfiles/rails60_activeadmin.gemfile.lock
Обычный файл
@@ -0,0 +1,314 @@
|
|||||||
|
PATH
|
||||||
|
remote: ..
|
||||||
|
specs:
|
||||||
|
activeadmin_quill_editor (1.0.0)
|
||||||
|
activeadmin (~> 2.0)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
actioncable (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
websocket-driver (>= 0.6.1)
|
||||||
|
actionmailbox (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
activejob (= 6.0.4.7)
|
||||||
|
activerecord (= 6.0.4.7)
|
||||||
|
activestorage (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
mail (>= 2.7.1)
|
||||||
|
actionmailer (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
actionview (= 6.0.4.7)
|
||||||
|
activejob (= 6.0.4.7)
|
||||||
|
mail (~> 2.5, >= 2.5.4)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
actionpack (6.0.4.7)
|
||||||
|
actionview (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
rack (~> 2.0, >= 2.0.8)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
||||||
|
actiontext (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
activerecord (= 6.0.4.7)
|
||||||
|
activestorage (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
nokogiri (>= 1.8.5)
|
||||||
|
actionview (6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
builder (~> 3.1)
|
||||||
|
erubi (~> 1.4)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
||||||
|
activeadmin (2.11.1)
|
||||||
|
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 (>= 6.0, < 7.1)
|
||||||
|
ransack (~> 2.1, >= 2.1.1)
|
||||||
|
activejob (6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
globalid (>= 0.3.6)
|
||||||
|
activemodel (6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
activerecord (6.0.4.7)
|
||||||
|
activemodel (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
activestorage (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
activejob (= 6.0.4.7)
|
||||||
|
activerecord (= 6.0.4.7)
|
||||||
|
marcel (~> 1.0.0)
|
||||||
|
activesupport (6.0.4.7)
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
|
i18n (>= 0.7, < 2)
|
||||||
|
minitest (~> 5.1)
|
||||||
|
tzinfo (~> 1.1)
|
||||||
|
zeitwerk (~> 2.2, >= 2.2.2)
|
||||||
|
addressable (2.8.0)
|
||||||
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
|
appraisal (2.4.1)
|
||||||
|
bundler
|
||||||
|
rake
|
||||||
|
thor (>= 0.14.0)
|
||||||
|
arbre (1.5.0)
|
||||||
|
activesupport (>= 3.0.0, < 7.1)
|
||||||
|
ruby2_keywords (>= 0.0.2, < 1.0)
|
||||||
|
ast (2.4.2)
|
||||||
|
builder (3.2.4)
|
||||||
|
capybara (3.36.0)
|
||||||
|
addressable
|
||||||
|
matrix
|
||||||
|
mini_mime (>= 0.1.3)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
rack (>= 1.6.0)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
regexp_parser (>= 1.5, < 3.0)
|
||||||
|
xpath (~> 3.2)
|
||||||
|
childprocess (4.1.0)
|
||||||
|
cliver (0.3.2)
|
||||||
|
coderay (1.1.3)
|
||||||
|
colorize (0.8.1)
|
||||||
|
concurrent-ruby (1.1.10)
|
||||||
|
crass (1.0.6)
|
||||||
|
cuprite (0.13)
|
||||||
|
capybara (>= 2.1, < 4)
|
||||||
|
ferrum (~> 0.11.0)
|
||||||
|
diff-lcs (1.5.0)
|
||||||
|
erubi (1.10.0)
|
||||||
|
fasterer (0.9.0)
|
||||||
|
colorize (~> 0.7)
|
||||||
|
ruby_parser (>= 3.14.1)
|
||||||
|
ferrum (0.11)
|
||||||
|
addressable (~> 2.5)
|
||||||
|
cliver (~> 0.3)
|
||||||
|
concurrent-ruby (~> 1.1)
|
||||||
|
websocket-driver (>= 0.6, < 0.8)
|
||||||
|
ffi (1.15.5)
|
||||||
|
formtastic (4.0.0)
|
||||||
|
actionpack (>= 5.2.0)
|
||||||
|
formtastic_i18n (0.7.0)
|
||||||
|
globalid (1.0.0)
|
||||||
|
activesupport (>= 5.0)
|
||||||
|
has_scope (0.8.0)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
i18n (1.10.0)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
inherited_resources (1.13.1)
|
||||||
|
actionpack (>= 5.2, < 7.1)
|
||||||
|
has_scope (~> 0.6)
|
||||||
|
railties (>= 5.2, < 7.1)
|
||||||
|
responders (>= 2, < 4)
|
||||||
|
jquery-rails (4.4.0)
|
||||||
|
rails-dom-testing (>= 1, < 3)
|
||||||
|
railties (>= 4.2.0)
|
||||||
|
thor (>= 0.14, < 2.0)
|
||||||
|
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)
|
||||||
|
loofah (2.15.0)
|
||||||
|
crass (~> 1.0.2)
|
||||||
|
nokogiri (>= 1.5.9)
|
||||||
|
mail (2.7.1)
|
||||||
|
mini_mime (>= 0.1.1)
|
||||||
|
marcel (1.0.2)
|
||||||
|
matrix (0.4.2)
|
||||||
|
method_source (1.0.0)
|
||||||
|
mini_mime (1.1.2)
|
||||||
|
minitest (5.15.0)
|
||||||
|
nio4r (2.5.8)
|
||||||
|
nokogiri (1.13.3-x86_64-darwin)
|
||||||
|
racc (~> 1.4)
|
||||||
|
nokogiri (1.13.3-x86_64-linux)
|
||||||
|
racc (~> 1.4)
|
||||||
|
parallel (1.22.1)
|
||||||
|
parser (3.1.1.0)
|
||||||
|
ast (~> 2.4.1)
|
||||||
|
pry (0.14.1)
|
||||||
|
coderay (~> 1.1)
|
||||||
|
method_source (~> 1.0)
|
||||||
|
pry-rails (0.3.9)
|
||||||
|
pry (>= 0.10.4)
|
||||||
|
public_suffix (4.0.6)
|
||||||
|
puma (5.6.2)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
racc (1.6.0)
|
||||||
|
rack (2.2.3)
|
||||||
|
rack-test (1.1.0)
|
||||||
|
rack (>= 1.0, < 3)
|
||||||
|
rails (6.0.4.7)
|
||||||
|
actioncable (= 6.0.4.7)
|
||||||
|
actionmailbox (= 6.0.4.7)
|
||||||
|
actionmailer (= 6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
actiontext (= 6.0.4.7)
|
||||||
|
actionview (= 6.0.4.7)
|
||||||
|
activejob (= 6.0.4.7)
|
||||||
|
activemodel (= 6.0.4.7)
|
||||||
|
activerecord (= 6.0.4.7)
|
||||||
|
activestorage (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
bundler (>= 1.3.0)
|
||||||
|
railties (= 6.0.4.7)
|
||||||
|
sprockets-rails (>= 2.0.0)
|
||||||
|
rails-dom-testing (2.0.3)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
nokogiri (>= 1.6)
|
||||||
|
rails-html-sanitizer (1.4.2)
|
||||||
|
loofah (~> 2.3)
|
||||||
|
railties (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
method_source
|
||||||
|
rake (>= 0.8.7)
|
||||||
|
thor (>= 0.20.3, < 2.0)
|
||||||
|
rainbow (3.1.1)
|
||||||
|
rake (13.0.6)
|
||||||
|
ransack (2.6.0)
|
||||||
|
activerecord (>= 6.0.4)
|
||||||
|
activesupport (>= 6.0.4)
|
||||||
|
i18n
|
||||||
|
regexp_parser (2.2.1)
|
||||||
|
responders (3.0.1)
|
||||||
|
actionpack (>= 5.0)
|
||||||
|
railties (>= 5.0)
|
||||||
|
rexml (3.2.5)
|
||||||
|
rspec-core (3.11.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-expectations (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-mocks (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-rails (5.1.1)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
railties (>= 5.2)
|
||||||
|
rspec-core (~> 3.10)
|
||||||
|
rspec-expectations (~> 3.10)
|
||||||
|
rspec-mocks (~> 3.10)
|
||||||
|
rspec-support (~> 3.10)
|
||||||
|
rspec-retry (0.6.2)
|
||||||
|
rspec-core (> 3.3)
|
||||||
|
rspec-support (3.11.0)
|
||||||
|
rspec_junit_formatter (0.5.1)
|
||||||
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
|
rubocop (1.26.1)
|
||||||
|
parallel (~> 1.10)
|
||||||
|
parser (>= 3.1.0.0)
|
||||||
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
|
regexp_parser (>= 1.8, < 3.0)
|
||||||
|
rexml
|
||||||
|
rubocop-ast (>= 1.16.0, < 2.0)
|
||||||
|
ruby-progressbar (~> 1.7)
|
||||||
|
unicode-display_width (>= 1.4.0, < 3.0)
|
||||||
|
rubocop-ast (1.16.0)
|
||||||
|
parser (>= 3.1.1.0)
|
||||||
|
rubocop-packaging (0.5.1)
|
||||||
|
rubocop (>= 0.89, < 2.0)
|
||||||
|
rubocop-performance (1.13.3)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-ast (>= 0.4.0)
|
||||||
|
rubocop-rails (2.14.2)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
rack (>= 1.1)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-rspec (2.9.0)
|
||||||
|
rubocop (~> 1.19)
|
||||||
|
ruby-progressbar (1.11.0)
|
||||||
|
ruby2_keywords (0.0.5)
|
||||||
|
ruby_parser (3.18.1)
|
||||||
|
sexp_processor (~> 4.16)
|
||||||
|
rubyzip (2.3.2)
|
||||||
|
sassc (2.4.0)
|
||||||
|
ffi (~> 1.9)
|
||||||
|
selenium-webdriver (4.1.0)
|
||||||
|
childprocess (>= 0.5, < 5.0)
|
||||||
|
rexml (~> 3.2, >= 3.2.5)
|
||||||
|
rubyzip (>= 1.2.2)
|
||||||
|
sexp_processor (4.16.0)
|
||||||
|
sprockets (4.0.3)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
rack (> 1, < 3)
|
||||||
|
sprockets-rails (3.4.2)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
sprockets (>= 3.0.0)
|
||||||
|
sqlite3 (1.4.2)
|
||||||
|
thor (1.2.1)
|
||||||
|
thread_safe (0.3.6)
|
||||||
|
tzinfo (1.2.9)
|
||||||
|
thread_safe (~> 0.1)
|
||||||
|
unicode-display_width (2.1.0)
|
||||||
|
websocket-driver (0.7.5)
|
||||||
|
websocket-extensions (>= 0.1.0)
|
||||||
|
websocket-extensions (0.1.5)
|
||||||
|
xpath (3.2.0)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
zeitwerk (2.5.4)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
x86_64-darwin-21
|
||||||
|
x86_64-linux
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
activeadmin
|
||||||
|
activeadmin_quill_editor!
|
||||||
|
appraisal (~> 2.4)
|
||||||
|
capybara
|
||||||
|
cuprite
|
||||||
|
fasterer
|
||||||
|
pry-rails
|
||||||
|
puma
|
||||||
|
rails (~> 6.0.0)
|
||||||
|
rspec-rails
|
||||||
|
rspec-retry
|
||||||
|
rspec_junit_formatter
|
||||||
|
rubocop
|
||||||
|
rubocop-packaging
|
||||||
|
rubocop-performance
|
||||||
|
rubocop-rails
|
||||||
|
rubocop-rspec
|
||||||
|
sassc
|
||||||
|
selenium-webdriver
|
||||||
|
sqlite3
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.3.8
|
||||||
27
gemfiles/rails60_activeadmin22.gemfile
Обычный файл
27
gemfiles/rails60_activeadmin22.gemfile
Обычный файл
@@ -0,0 +1,27 @@
|
|||||||
|
# This file was generated by Appraisal
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "activeadmin", "~> 2.2.0"
|
||||||
|
gem "rails", "~> 6.0.0"
|
||||||
|
gem "selenium-webdriver", require: false
|
||||||
|
|
||||||
|
group :development, :test do
|
||||||
|
gem "puma"
|
||||||
|
gem "sassc"
|
||||||
|
gem "sqlite3"
|
||||||
|
gem "capybara"
|
||||||
|
gem "cuprite"
|
||||||
|
gem "rspec_junit_formatter"
|
||||||
|
gem "rspec-rails"
|
||||||
|
gem "rspec-retry"
|
||||||
|
gem "fasterer"
|
||||||
|
gem "rubocop"
|
||||||
|
gem "rubocop-packaging"
|
||||||
|
gem "rubocop-performance"
|
||||||
|
gem "rubocop-rails"
|
||||||
|
gem "rubocop-rspec"
|
||||||
|
gem "pry-rails"
|
||||||
|
end
|
||||||
|
|
||||||
|
gemspec path: "../"
|
||||||
333
gemfiles/rails60_activeadmin22.gemfile.lock
Обычный файл
333
gemfiles/rails60_activeadmin22.gemfile.lock
Обычный файл
@@ -0,0 +1,333 @@
|
|||||||
|
PATH
|
||||||
|
remote: ..
|
||||||
|
specs:
|
||||||
|
activeadmin_quill_editor (1.0.0)
|
||||||
|
activeadmin (~> 2.0)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
actioncable (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
websocket-driver (>= 0.6.1)
|
||||||
|
actionmailbox (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
activejob (= 6.0.4.7)
|
||||||
|
activerecord (= 6.0.4.7)
|
||||||
|
activestorage (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
mail (>= 2.7.1)
|
||||||
|
actionmailer (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
actionview (= 6.0.4.7)
|
||||||
|
activejob (= 6.0.4.7)
|
||||||
|
mail (~> 2.5, >= 2.5.4)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
actionpack (6.0.4.7)
|
||||||
|
actionview (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
rack (~> 2.0, >= 2.0.8)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
||||||
|
actiontext (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
activerecord (= 6.0.4.7)
|
||||||
|
activestorage (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
nokogiri (>= 1.8.5)
|
||||||
|
actionview (6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
builder (~> 3.1)
|
||||||
|
erubi (~> 1.4)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
||||||
|
activeadmin (2.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.0, >= 1.0.1)
|
||||||
|
railties (>= 5.0, < 6.1)
|
||||||
|
ransack (~> 2.1, >= 2.1.1)
|
||||||
|
sassc-rails (~> 2.1)
|
||||||
|
sprockets (>= 3.0, < 4.1)
|
||||||
|
sprockets-es6 (~> 0.9, >= 0.9.2)
|
||||||
|
activejob (6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
globalid (>= 0.3.6)
|
||||||
|
activemodel (6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
activerecord (6.0.4.7)
|
||||||
|
activemodel (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
activestorage (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
activejob (= 6.0.4.7)
|
||||||
|
activerecord (= 6.0.4.7)
|
||||||
|
marcel (~> 1.0.0)
|
||||||
|
activesupport (6.0.4.7)
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
|
i18n (>= 0.7, < 2)
|
||||||
|
minitest (~> 5.1)
|
||||||
|
tzinfo (~> 1.1)
|
||||||
|
zeitwerk (~> 2.2, >= 2.2.2)
|
||||||
|
addressable (2.8.0)
|
||||||
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
|
appraisal (2.4.1)
|
||||||
|
bundler
|
||||||
|
rake
|
||||||
|
thor (>= 0.14.0)
|
||||||
|
arbre (1.5.0)
|
||||||
|
activesupport (>= 3.0.0, < 7.1)
|
||||||
|
ruby2_keywords (>= 0.0.2, < 1.0)
|
||||||
|
ast (2.4.2)
|
||||||
|
babel-source (5.8.35)
|
||||||
|
babel-transpiler (0.7.0)
|
||||||
|
babel-source (>= 4.0, < 6)
|
||||||
|
execjs (~> 2.0)
|
||||||
|
builder (3.2.4)
|
||||||
|
capybara (3.36.0)
|
||||||
|
addressable
|
||||||
|
matrix
|
||||||
|
mini_mime (>= 0.1.3)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
rack (>= 1.6.0)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
regexp_parser (>= 1.5, < 3.0)
|
||||||
|
xpath (~> 3.2)
|
||||||
|
childprocess (4.1.0)
|
||||||
|
cliver (0.3.2)
|
||||||
|
coderay (1.1.3)
|
||||||
|
colorize (0.8.1)
|
||||||
|
concurrent-ruby (1.1.10)
|
||||||
|
crass (1.0.6)
|
||||||
|
cuprite (0.13)
|
||||||
|
capybara (>= 2.1, < 4)
|
||||||
|
ferrum (~> 0.11.0)
|
||||||
|
diff-lcs (1.5.0)
|
||||||
|
erubi (1.10.0)
|
||||||
|
execjs (2.8.1)
|
||||||
|
fasterer (0.9.0)
|
||||||
|
colorize (~> 0.7)
|
||||||
|
ruby_parser (>= 3.14.1)
|
||||||
|
ferrum (0.11)
|
||||||
|
addressable (~> 2.5)
|
||||||
|
cliver (~> 0.3)
|
||||||
|
concurrent-ruby (~> 1.1)
|
||||||
|
websocket-driver (>= 0.6, < 0.8)
|
||||||
|
ffi (1.15.5)
|
||||||
|
formtastic (3.1.5)
|
||||||
|
actionpack (>= 3.2.13)
|
||||||
|
formtastic_i18n (0.7.0)
|
||||||
|
globalid (1.0.0)
|
||||||
|
activesupport (>= 5.0)
|
||||||
|
has_scope (0.8.0)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
i18n (1.10.0)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
inherited_resources (1.13.1)
|
||||||
|
actionpack (>= 5.2, < 7.1)
|
||||||
|
has_scope (~> 0.6)
|
||||||
|
railties (>= 5.2, < 7.1)
|
||||||
|
responders (>= 2, < 4)
|
||||||
|
jquery-rails (4.4.0)
|
||||||
|
rails-dom-testing (>= 1, < 3)
|
||||||
|
railties (>= 4.2.0)
|
||||||
|
thor (>= 0.14, < 2.0)
|
||||||
|
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)
|
||||||
|
loofah (2.15.0)
|
||||||
|
crass (~> 1.0.2)
|
||||||
|
nokogiri (>= 1.5.9)
|
||||||
|
mail (2.7.1)
|
||||||
|
mini_mime (>= 0.1.1)
|
||||||
|
marcel (1.0.2)
|
||||||
|
matrix (0.4.2)
|
||||||
|
method_source (1.0.0)
|
||||||
|
mini_mime (1.1.2)
|
||||||
|
minitest (5.15.0)
|
||||||
|
nio4r (2.5.8)
|
||||||
|
nokogiri (1.13.3-x86_64-darwin)
|
||||||
|
racc (~> 1.4)
|
||||||
|
nokogiri (1.13.3-x86_64-linux)
|
||||||
|
racc (~> 1.4)
|
||||||
|
parallel (1.22.1)
|
||||||
|
parser (3.1.1.0)
|
||||||
|
ast (~> 2.4.1)
|
||||||
|
pry (0.14.1)
|
||||||
|
coderay (~> 1.1)
|
||||||
|
method_source (~> 1.0)
|
||||||
|
pry-rails (0.3.9)
|
||||||
|
pry (>= 0.10.4)
|
||||||
|
public_suffix (4.0.6)
|
||||||
|
puma (5.6.2)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
racc (1.6.0)
|
||||||
|
rack (2.2.3)
|
||||||
|
rack-test (1.1.0)
|
||||||
|
rack (>= 1.0, < 3)
|
||||||
|
rails (6.0.4.7)
|
||||||
|
actioncable (= 6.0.4.7)
|
||||||
|
actionmailbox (= 6.0.4.7)
|
||||||
|
actionmailer (= 6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
actiontext (= 6.0.4.7)
|
||||||
|
actionview (= 6.0.4.7)
|
||||||
|
activejob (= 6.0.4.7)
|
||||||
|
activemodel (= 6.0.4.7)
|
||||||
|
activerecord (= 6.0.4.7)
|
||||||
|
activestorage (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
bundler (>= 1.3.0)
|
||||||
|
railties (= 6.0.4.7)
|
||||||
|
sprockets-rails (>= 2.0.0)
|
||||||
|
rails-dom-testing (2.0.3)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
nokogiri (>= 1.6)
|
||||||
|
rails-html-sanitizer (1.4.2)
|
||||||
|
loofah (~> 2.3)
|
||||||
|
railties (6.0.4.7)
|
||||||
|
actionpack (= 6.0.4.7)
|
||||||
|
activesupport (= 6.0.4.7)
|
||||||
|
method_source
|
||||||
|
rake (>= 0.8.7)
|
||||||
|
thor (>= 0.20.3, < 2.0)
|
||||||
|
rainbow (3.1.1)
|
||||||
|
rake (13.0.6)
|
||||||
|
ransack (2.6.0)
|
||||||
|
activerecord (>= 6.0.4)
|
||||||
|
activesupport (>= 6.0.4)
|
||||||
|
i18n
|
||||||
|
regexp_parser (2.2.1)
|
||||||
|
responders (3.0.1)
|
||||||
|
actionpack (>= 5.0)
|
||||||
|
railties (>= 5.0)
|
||||||
|
rexml (3.2.5)
|
||||||
|
rspec-core (3.11.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-expectations (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-mocks (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-rails (5.1.1)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
railties (>= 5.2)
|
||||||
|
rspec-core (~> 3.10)
|
||||||
|
rspec-expectations (~> 3.10)
|
||||||
|
rspec-mocks (~> 3.10)
|
||||||
|
rspec-support (~> 3.10)
|
||||||
|
rspec-retry (0.6.2)
|
||||||
|
rspec-core (> 3.3)
|
||||||
|
rspec-support (3.11.0)
|
||||||
|
rspec_junit_formatter (0.5.1)
|
||||||
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
|
rubocop (1.26.1)
|
||||||
|
parallel (~> 1.10)
|
||||||
|
parser (>= 3.1.0.0)
|
||||||
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
|
regexp_parser (>= 1.8, < 3.0)
|
||||||
|
rexml
|
||||||
|
rubocop-ast (>= 1.16.0, < 2.0)
|
||||||
|
ruby-progressbar (~> 1.7)
|
||||||
|
unicode-display_width (>= 1.4.0, < 3.0)
|
||||||
|
rubocop-ast (1.16.0)
|
||||||
|
parser (>= 3.1.1.0)
|
||||||
|
rubocop-packaging (0.5.1)
|
||||||
|
rubocop (>= 0.89, < 2.0)
|
||||||
|
rubocop-performance (1.13.3)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-ast (>= 0.4.0)
|
||||||
|
rubocop-rails (2.14.2)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
rack (>= 1.1)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-rspec (2.9.0)
|
||||||
|
rubocop (~> 1.19)
|
||||||
|
ruby-progressbar (1.11.0)
|
||||||
|
ruby2_keywords (0.0.5)
|
||||||
|
ruby_parser (3.18.1)
|
||||||
|
sexp_processor (~> 4.16)
|
||||||
|
rubyzip (2.3.2)
|
||||||
|
sassc (2.4.0)
|
||||||
|
ffi (~> 1.9)
|
||||||
|
sassc-rails (2.1.2)
|
||||||
|
railties (>= 4.0.0)
|
||||||
|
sassc (>= 2.0)
|
||||||
|
sprockets (> 3.0)
|
||||||
|
sprockets-rails
|
||||||
|
tilt
|
||||||
|
selenium-webdriver (4.1.0)
|
||||||
|
childprocess (>= 0.5, < 5.0)
|
||||||
|
rexml (~> 3.2, >= 3.2.5)
|
||||||
|
rubyzip (>= 1.2.2)
|
||||||
|
sexp_processor (4.16.0)
|
||||||
|
sprockets (4.0.3)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
rack (> 1, < 3)
|
||||||
|
sprockets-es6 (0.9.2)
|
||||||
|
babel-source (>= 5.8.11)
|
||||||
|
babel-transpiler
|
||||||
|
sprockets (>= 3.0.0)
|
||||||
|
sprockets-rails (3.4.2)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
sprockets (>= 3.0.0)
|
||||||
|
sqlite3 (1.4.2)
|
||||||
|
thor (1.2.1)
|
||||||
|
thread_safe (0.3.6)
|
||||||
|
tilt (2.0.10)
|
||||||
|
tzinfo (1.2.9)
|
||||||
|
thread_safe (~> 0.1)
|
||||||
|
unicode-display_width (2.1.0)
|
||||||
|
websocket-driver (0.7.5)
|
||||||
|
websocket-extensions (>= 0.1.0)
|
||||||
|
websocket-extensions (0.1.5)
|
||||||
|
xpath (3.2.0)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
zeitwerk (2.5.4)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
x86_64-darwin-21
|
||||||
|
x86_64-linux
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
activeadmin (~> 2.2.0)
|
||||||
|
activeadmin_quill_editor!
|
||||||
|
appraisal (~> 2.4)
|
||||||
|
capybara
|
||||||
|
cuprite
|
||||||
|
fasterer
|
||||||
|
pry-rails
|
||||||
|
puma
|
||||||
|
rails (~> 6.0.0)
|
||||||
|
rspec-rails
|
||||||
|
rspec-retry
|
||||||
|
rspec_junit_formatter
|
||||||
|
rubocop
|
||||||
|
rubocop-packaging
|
||||||
|
rubocop-performance
|
||||||
|
rubocop-rails
|
||||||
|
rubocop-rspec
|
||||||
|
sassc
|
||||||
|
selenium-webdriver
|
||||||
|
sqlite3
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.3.8
|
||||||
26
gemfiles/rails61_activeadmin.gemfile
Обычный файл
26
gemfiles/rails61_activeadmin.gemfile
Обычный файл
@@ -0,0 +1,26 @@
|
|||||||
|
# This file was generated by Appraisal
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "activeadmin"
|
||||||
|
gem "rails", "~> 6.1.0"
|
||||||
|
|
||||||
|
group :development, :test do
|
||||||
|
gem "puma"
|
||||||
|
gem "sassc"
|
||||||
|
gem "sqlite3"
|
||||||
|
gem "capybara"
|
||||||
|
gem "cuprite"
|
||||||
|
gem "rspec_junit_formatter"
|
||||||
|
gem "rspec-rails"
|
||||||
|
gem "rspec-retry"
|
||||||
|
gem "fasterer"
|
||||||
|
gem "rubocop"
|
||||||
|
gem "rubocop-packaging"
|
||||||
|
gem "rubocop-performance"
|
||||||
|
gem "rubocop-rails"
|
||||||
|
gem "rubocop-rspec"
|
||||||
|
gem "pry-rails"
|
||||||
|
end
|
||||||
|
|
||||||
|
gemspec path: "../"
|
||||||
310
gemfiles/rails61_activeadmin.gemfile.lock
Обычный файл
310
gemfiles/rails61_activeadmin.gemfile.lock
Обычный файл
@@ -0,0 +1,310 @@
|
|||||||
|
PATH
|
||||||
|
remote: ..
|
||||||
|
specs:
|
||||||
|
activeadmin_quill_editor (1.0.0)
|
||||||
|
activeadmin (~> 2.0)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
actioncable (6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
websocket-driver (>= 0.6.1)
|
||||||
|
actionmailbox (6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
activejob (= 6.1.5)
|
||||||
|
activerecord (= 6.1.5)
|
||||||
|
activestorage (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
mail (>= 2.7.1)
|
||||||
|
actionmailer (6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
actionview (= 6.1.5)
|
||||||
|
activejob (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
mail (~> 2.5, >= 2.5.4)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
actionpack (6.1.5)
|
||||||
|
actionview (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
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.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
activerecord (= 6.1.5)
|
||||||
|
activestorage (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
nokogiri (>= 1.8.5)
|
||||||
|
actionview (6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
builder (~> 3.1)
|
||||||
|
erubi (~> 1.4)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
||||||
|
activeadmin (2.11.1)
|
||||||
|
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 (>= 6.0, < 7.1)
|
||||||
|
ransack (~> 2.1, >= 2.1.1)
|
||||||
|
activejob (6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
globalid (>= 0.3.6)
|
||||||
|
activemodel (6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
activerecord (6.1.5)
|
||||||
|
activemodel (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
activestorage (6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
activejob (= 6.1.5)
|
||||||
|
activerecord (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
marcel (~> 1.0)
|
||||||
|
mini_mime (>= 1.1.0)
|
||||||
|
activesupport (6.1.5)
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
|
i18n (>= 1.6, < 2)
|
||||||
|
minitest (>= 5.1)
|
||||||
|
tzinfo (~> 2.0)
|
||||||
|
zeitwerk (~> 2.3)
|
||||||
|
addressable (2.8.0)
|
||||||
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
|
appraisal (2.4.1)
|
||||||
|
bundler
|
||||||
|
rake
|
||||||
|
thor (>= 0.14.0)
|
||||||
|
arbre (1.5.0)
|
||||||
|
activesupport (>= 3.0.0, < 7.1)
|
||||||
|
ruby2_keywords (>= 0.0.2, < 1.0)
|
||||||
|
ast (2.4.2)
|
||||||
|
builder (3.2.4)
|
||||||
|
capybara (3.36.0)
|
||||||
|
addressable
|
||||||
|
matrix
|
||||||
|
mini_mime (>= 0.1.3)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
rack (>= 1.6.0)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
regexp_parser (>= 1.5, < 3.0)
|
||||||
|
xpath (~> 3.2)
|
||||||
|
cliver (0.3.2)
|
||||||
|
coderay (1.1.3)
|
||||||
|
colorize (0.8.1)
|
||||||
|
concurrent-ruby (1.1.10)
|
||||||
|
crass (1.0.6)
|
||||||
|
cuprite (0.13)
|
||||||
|
capybara (>= 2.1, < 4)
|
||||||
|
ferrum (~> 0.11.0)
|
||||||
|
diff-lcs (1.5.0)
|
||||||
|
erubi (1.10.0)
|
||||||
|
fasterer (0.9.0)
|
||||||
|
colorize (~> 0.7)
|
||||||
|
ruby_parser (>= 3.14.1)
|
||||||
|
ferrum (0.11)
|
||||||
|
addressable (~> 2.5)
|
||||||
|
cliver (~> 0.3)
|
||||||
|
concurrent-ruby (~> 1.1)
|
||||||
|
websocket-driver (>= 0.6, < 0.8)
|
||||||
|
ffi (1.15.5)
|
||||||
|
formtastic (4.0.0)
|
||||||
|
actionpack (>= 5.2.0)
|
||||||
|
formtastic_i18n (0.7.0)
|
||||||
|
globalid (1.0.0)
|
||||||
|
activesupport (>= 5.0)
|
||||||
|
has_scope (0.8.0)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
i18n (1.10.0)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
inherited_resources (1.13.1)
|
||||||
|
actionpack (>= 5.2, < 7.1)
|
||||||
|
has_scope (~> 0.6)
|
||||||
|
railties (>= 5.2, < 7.1)
|
||||||
|
responders (>= 2, < 4)
|
||||||
|
jquery-rails (4.4.0)
|
||||||
|
rails-dom-testing (>= 1, < 3)
|
||||||
|
railties (>= 4.2.0)
|
||||||
|
thor (>= 0.14, < 2.0)
|
||||||
|
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)
|
||||||
|
loofah (2.15.0)
|
||||||
|
crass (~> 1.0.2)
|
||||||
|
nokogiri (>= 1.5.9)
|
||||||
|
mail (2.7.1)
|
||||||
|
mini_mime (>= 0.1.1)
|
||||||
|
marcel (1.0.2)
|
||||||
|
matrix (0.4.2)
|
||||||
|
method_source (1.0.0)
|
||||||
|
mini_mime (1.1.2)
|
||||||
|
minitest (5.15.0)
|
||||||
|
nio4r (2.5.8)
|
||||||
|
nokogiri (1.13.3-x86_64-darwin)
|
||||||
|
racc (~> 1.4)
|
||||||
|
nokogiri (1.13.3-x86_64-linux)
|
||||||
|
racc (~> 1.4)
|
||||||
|
parallel (1.22.1)
|
||||||
|
parser (3.1.1.0)
|
||||||
|
ast (~> 2.4.1)
|
||||||
|
pry (0.14.1)
|
||||||
|
coderay (~> 1.1)
|
||||||
|
method_source (~> 1.0)
|
||||||
|
pry-rails (0.3.9)
|
||||||
|
pry (>= 0.10.4)
|
||||||
|
public_suffix (4.0.6)
|
||||||
|
puma (5.6.2)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
racc (1.6.0)
|
||||||
|
rack (2.2.3)
|
||||||
|
rack-test (1.1.0)
|
||||||
|
rack (>= 1.0, < 3)
|
||||||
|
rails (6.1.5)
|
||||||
|
actioncable (= 6.1.5)
|
||||||
|
actionmailbox (= 6.1.5)
|
||||||
|
actionmailer (= 6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
actiontext (= 6.1.5)
|
||||||
|
actionview (= 6.1.5)
|
||||||
|
activejob (= 6.1.5)
|
||||||
|
activemodel (= 6.1.5)
|
||||||
|
activerecord (= 6.1.5)
|
||||||
|
activestorage (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
bundler (>= 1.15.0)
|
||||||
|
railties (= 6.1.5)
|
||||||
|
sprockets-rails (>= 2.0.0)
|
||||||
|
rails-dom-testing (2.0.3)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
nokogiri (>= 1.6)
|
||||||
|
rails-html-sanitizer (1.4.2)
|
||||||
|
loofah (~> 2.3)
|
||||||
|
railties (6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
method_source
|
||||||
|
rake (>= 12.2)
|
||||||
|
thor (~> 1.0)
|
||||||
|
rainbow (3.1.1)
|
||||||
|
rake (13.0.6)
|
||||||
|
ransack (2.6.0)
|
||||||
|
activerecord (>= 6.0.4)
|
||||||
|
activesupport (>= 6.0.4)
|
||||||
|
i18n
|
||||||
|
regexp_parser (2.2.1)
|
||||||
|
responders (3.0.1)
|
||||||
|
actionpack (>= 5.0)
|
||||||
|
railties (>= 5.0)
|
||||||
|
rexml (3.2.5)
|
||||||
|
rspec-core (3.11.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-expectations (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-mocks (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-rails (5.1.1)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
railties (>= 5.2)
|
||||||
|
rspec-core (~> 3.10)
|
||||||
|
rspec-expectations (~> 3.10)
|
||||||
|
rspec-mocks (~> 3.10)
|
||||||
|
rspec-support (~> 3.10)
|
||||||
|
rspec-retry (0.6.2)
|
||||||
|
rspec-core (> 3.3)
|
||||||
|
rspec-support (3.11.0)
|
||||||
|
rspec_junit_formatter (0.5.1)
|
||||||
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
|
rubocop (1.26.1)
|
||||||
|
parallel (~> 1.10)
|
||||||
|
parser (>= 3.1.0.0)
|
||||||
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
|
regexp_parser (>= 1.8, < 3.0)
|
||||||
|
rexml
|
||||||
|
rubocop-ast (>= 1.16.0, < 2.0)
|
||||||
|
ruby-progressbar (~> 1.7)
|
||||||
|
unicode-display_width (>= 1.4.0, < 3.0)
|
||||||
|
rubocop-ast (1.16.0)
|
||||||
|
parser (>= 3.1.1.0)
|
||||||
|
rubocop-packaging (0.5.1)
|
||||||
|
rubocop (>= 0.89, < 2.0)
|
||||||
|
rubocop-performance (1.13.3)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-ast (>= 0.4.0)
|
||||||
|
rubocop-rails (2.14.2)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
rack (>= 1.1)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-rspec (2.9.0)
|
||||||
|
rubocop (~> 1.19)
|
||||||
|
ruby-progressbar (1.11.0)
|
||||||
|
ruby2_keywords (0.0.5)
|
||||||
|
ruby_parser (3.18.1)
|
||||||
|
sexp_processor (~> 4.16)
|
||||||
|
sassc (2.4.0)
|
||||||
|
ffi (~> 1.9)
|
||||||
|
sexp_processor (4.16.0)
|
||||||
|
sprockets (4.0.3)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
rack (> 1, < 3)
|
||||||
|
sprockets-rails (3.4.2)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
sprockets (>= 3.0.0)
|
||||||
|
sqlite3 (1.4.2)
|
||||||
|
thor (1.2.1)
|
||||||
|
tzinfo (2.0.4)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
unicode-display_width (2.1.0)
|
||||||
|
websocket-driver (0.7.5)
|
||||||
|
websocket-extensions (>= 0.1.0)
|
||||||
|
websocket-extensions (0.1.5)
|
||||||
|
xpath (3.2.0)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
zeitwerk (2.5.4)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
x86_64-darwin-21
|
||||||
|
x86_64-linux
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
activeadmin
|
||||||
|
activeadmin_quill_editor!
|
||||||
|
appraisal (~> 2.4)
|
||||||
|
capybara
|
||||||
|
cuprite
|
||||||
|
fasterer
|
||||||
|
pry-rails
|
||||||
|
puma
|
||||||
|
rails (~> 6.1.0)
|
||||||
|
rspec-rails
|
||||||
|
rspec-retry
|
||||||
|
rspec_junit_formatter
|
||||||
|
rubocop
|
||||||
|
rubocop-packaging
|
||||||
|
rubocop-performance
|
||||||
|
rubocop-rails
|
||||||
|
rubocop-rspec
|
||||||
|
sassc
|
||||||
|
sqlite3
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.3.8
|
||||||
26
gemfiles/rails61_activeadmin29.gemfile
Обычный файл
26
gemfiles/rails61_activeadmin29.gemfile
Обычный файл
@@ -0,0 +1,26 @@
|
|||||||
|
# This file was generated by Appraisal
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "activeadmin", "~> 2.9.0"
|
||||||
|
gem "rails", "~> 6.1.0"
|
||||||
|
|
||||||
|
group :development, :test do
|
||||||
|
gem "puma"
|
||||||
|
gem "sassc"
|
||||||
|
gem "sqlite3"
|
||||||
|
gem "capybara"
|
||||||
|
gem "cuprite"
|
||||||
|
gem "rspec_junit_formatter"
|
||||||
|
gem "rspec-rails"
|
||||||
|
gem "rspec-retry"
|
||||||
|
gem "fasterer"
|
||||||
|
gem "rubocop"
|
||||||
|
gem "rubocop-packaging"
|
||||||
|
gem "rubocop-performance"
|
||||||
|
gem "rubocop-rails"
|
||||||
|
gem "rubocop-rspec"
|
||||||
|
gem "pry-rails"
|
||||||
|
end
|
||||||
|
|
||||||
|
gemspec path: "../"
|
||||||
310
gemfiles/rails61_activeadmin29.gemfile.lock
Обычный файл
310
gemfiles/rails61_activeadmin29.gemfile.lock
Обычный файл
@@ -0,0 +1,310 @@
|
|||||||
|
PATH
|
||||||
|
remote: ..
|
||||||
|
specs:
|
||||||
|
activeadmin_quill_editor (1.0.0)
|
||||||
|
activeadmin (~> 2.0)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
actioncable (6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
websocket-driver (>= 0.6.1)
|
||||||
|
actionmailbox (6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
activejob (= 6.1.5)
|
||||||
|
activerecord (= 6.1.5)
|
||||||
|
activestorage (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
mail (>= 2.7.1)
|
||||||
|
actionmailer (6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
actionview (= 6.1.5)
|
||||||
|
activejob (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
mail (~> 2.5, >= 2.5.4)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
actionpack (6.1.5)
|
||||||
|
actionview (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
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.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
activerecord (= 6.1.5)
|
||||||
|
activestorage (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
nokogiri (>= 1.8.5)
|
||||||
|
actionview (6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
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.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
globalid (>= 0.3.6)
|
||||||
|
activemodel (6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
activerecord (6.1.5)
|
||||||
|
activemodel (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
activestorage (6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
activejob (= 6.1.5)
|
||||||
|
activerecord (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
marcel (~> 1.0)
|
||||||
|
mini_mime (>= 1.1.0)
|
||||||
|
activesupport (6.1.5)
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
|
i18n (>= 1.6, < 2)
|
||||||
|
minitest (>= 5.1)
|
||||||
|
tzinfo (~> 2.0)
|
||||||
|
zeitwerk (~> 2.3)
|
||||||
|
addressable (2.8.0)
|
||||||
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
|
appraisal (2.4.1)
|
||||||
|
bundler
|
||||||
|
rake
|
||||||
|
thor (>= 0.14.0)
|
||||||
|
arbre (1.5.0)
|
||||||
|
activesupport (>= 3.0.0, < 7.1)
|
||||||
|
ruby2_keywords (>= 0.0.2, < 1.0)
|
||||||
|
ast (2.4.2)
|
||||||
|
builder (3.2.4)
|
||||||
|
capybara (3.36.0)
|
||||||
|
addressable
|
||||||
|
matrix
|
||||||
|
mini_mime (>= 0.1.3)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
rack (>= 1.6.0)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
regexp_parser (>= 1.5, < 3.0)
|
||||||
|
xpath (~> 3.2)
|
||||||
|
cliver (0.3.2)
|
||||||
|
coderay (1.1.3)
|
||||||
|
colorize (0.8.1)
|
||||||
|
concurrent-ruby (1.1.10)
|
||||||
|
crass (1.0.6)
|
||||||
|
cuprite (0.13)
|
||||||
|
capybara (>= 2.1, < 4)
|
||||||
|
ferrum (~> 0.11.0)
|
||||||
|
diff-lcs (1.5.0)
|
||||||
|
erubi (1.10.0)
|
||||||
|
fasterer (0.9.0)
|
||||||
|
colorize (~> 0.7)
|
||||||
|
ruby_parser (>= 3.14.1)
|
||||||
|
ferrum (0.11)
|
||||||
|
addressable (~> 2.5)
|
||||||
|
cliver (~> 0.3)
|
||||||
|
concurrent-ruby (~> 1.1)
|
||||||
|
websocket-driver (>= 0.6, < 0.8)
|
||||||
|
ffi (1.15.5)
|
||||||
|
formtastic (4.0.0)
|
||||||
|
actionpack (>= 5.2.0)
|
||||||
|
formtastic_i18n (0.7.0)
|
||||||
|
globalid (1.0.0)
|
||||||
|
activesupport (>= 5.0)
|
||||||
|
has_scope (0.8.0)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
i18n (1.10.0)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
inherited_resources (1.13.1)
|
||||||
|
actionpack (>= 5.2, < 7.1)
|
||||||
|
has_scope (~> 0.6)
|
||||||
|
railties (>= 5.2, < 7.1)
|
||||||
|
responders (>= 2, < 4)
|
||||||
|
jquery-rails (4.4.0)
|
||||||
|
rails-dom-testing (>= 1, < 3)
|
||||||
|
railties (>= 4.2.0)
|
||||||
|
thor (>= 0.14, < 2.0)
|
||||||
|
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)
|
||||||
|
loofah (2.15.0)
|
||||||
|
crass (~> 1.0.2)
|
||||||
|
nokogiri (>= 1.5.9)
|
||||||
|
mail (2.7.1)
|
||||||
|
mini_mime (>= 0.1.1)
|
||||||
|
marcel (1.0.2)
|
||||||
|
matrix (0.4.2)
|
||||||
|
method_source (1.0.0)
|
||||||
|
mini_mime (1.1.2)
|
||||||
|
minitest (5.15.0)
|
||||||
|
nio4r (2.5.8)
|
||||||
|
nokogiri (1.13.3-x86_64-darwin)
|
||||||
|
racc (~> 1.4)
|
||||||
|
nokogiri (1.13.3-x86_64-linux)
|
||||||
|
racc (~> 1.4)
|
||||||
|
parallel (1.22.1)
|
||||||
|
parser (3.1.1.0)
|
||||||
|
ast (~> 2.4.1)
|
||||||
|
pry (0.14.1)
|
||||||
|
coderay (~> 1.1)
|
||||||
|
method_source (~> 1.0)
|
||||||
|
pry-rails (0.3.9)
|
||||||
|
pry (>= 0.10.4)
|
||||||
|
public_suffix (4.0.6)
|
||||||
|
puma (5.6.2)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
racc (1.6.0)
|
||||||
|
rack (2.2.3)
|
||||||
|
rack-test (1.1.0)
|
||||||
|
rack (>= 1.0, < 3)
|
||||||
|
rails (6.1.5)
|
||||||
|
actioncable (= 6.1.5)
|
||||||
|
actionmailbox (= 6.1.5)
|
||||||
|
actionmailer (= 6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
actiontext (= 6.1.5)
|
||||||
|
actionview (= 6.1.5)
|
||||||
|
activejob (= 6.1.5)
|
||||||
|
activemodel (= 6.1.5)
|
||||||
|
activerecord (= 6.1.5)
|
||||||
|
activestorage (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
bundler (>= 1.15.0)
|
||||||
|
railties (= 6.1.5)
|
||||||
|
sprockets-rails (>= 2.0.0)
|
||||||
|
rails-dom-testing (2.0.3)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
nokogiri (>= 1.6)
|
||||||
|
rails-html-sanitizer (1.4.2)
|
||||||
|
loofah (~> 2.3)
|
||||||
|
railties (6.1.5)
|
||||||
|
actionpack (= 6.1.5)
|
||||||
|
activesupport (= 6.1.5)
|
||||||
|
method_source
|
||||||
|
rake (>= 12.2)
|
||||||
|
thor (~> 1.0)
|
||||||
|
rainbow (3.1.1)
|
||||||
|
rake (13.0.6)
|
||||||
|
ransack (2.6.0)
|
||||||
|
activerecord (>= 6.0.4)
|
||||||
|
activesupport (>= 6.0.4)
|
||||||
|
i18n
|
||||||
|
regexp_parser (2.2.1)
|
||||||
|
responders (3.0.1)
|
||||||
|
actionpack (>= 5.0)
|
||||||
|
railties (>= 5.0)
|
||||||
|
rexml (3.2.5)
|
||||||
|
rspec-core (3.11.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-expectations (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-mocks (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-rails (5.1.1)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
railties (>= 5.2)
|
||||||
|
rspec-core (~> 3.10)
|
||||||
|
rspec-expectations (~> 3.10)
|
||||||
|
rspec-mocks (~> 3.10)
|
||||||
|
rspec-support (~> 3.10)
|
||||||
|
rspec-retry (0.6.2)
|
||||||
|
rspec-core (> 3.3)
|
||||||
|
rspec-support (3.11.0)
|
||||||
|
rspec_junit_formatter (0.5.1)
|
||||||
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
|
rubocop (1.26.1)
|
||||||
|
parallel (~> 1.10)
|
||||||
|
parser (>= 3.1.0.0)
|
||||||
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
|
regexp_parser (>= 1.8, < 3.0)
|
||||||
|
rexml
|
||||||
|
rubocop-ast (>= 1.16.0, < 2.0)
|
||||||
|
ruby-progressbar (~> 1.7)
|
||||||
|
unicode-display_width (>= 1.4.0, < 3.0)
|
||||||
|
rubocop-ast (1.16.0)
|
||||||
|
parser (>= 3.1.1.0)
|
||||||
|
rubocop-packaging (0.5.1)
|
||||||
|
rubocop (>= 0.89, < 2.0)
|
||||||
|
rubocop-performance (1.13.3)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-ast (>= 0.4.0)
|
||||||
|
rubocop-rails (2.14.2)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
rack (>= 1.1)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-rspec (2.9.0)
|
||||||
|
rubocop (~> 1.19)
|
||||||
|
ruby-progressbar (1.11.0)
|
||||||
|
ruby2_keywords (0.0.5)
|
||||||
|
ruby_parser (3.18.1)
|
||||||
|
sexp_processor (~> 4.16)
|
||||||
|
sassc (2.4.0)
|
||||||
|
ffi (~> 1.9)
|
||||||
|
sexp_processor (4.16.0)
|
||||||
|
sprockets (4.0.3)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
rack (> 1, < 3)
|
||||||
|
sprockets-rails (3.4.2)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
sprockets (>= 3.0.0)
|
||||||
|
sqlite3 (1.4.2)
|
||||||
|
thor (1.2.1)
|
||||||
|
tzinfo (2.0.4)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
unicode-display_width (2.1.0)
|
||||||
|
websocket-driver (0.7.5)
|
||||||
|
websocket-extensions (>= 0.1.0)
|
||||||
|
websocket-extensions (0.1.5)
|
||||||
|
xpath (3.2.0)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
zeitwerk (2.5.4)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
x86_64-darwin-21
|
||||||
|
x86_64-linux
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
activeadmin (~> 2.9.0)
|
||||||
|
activeadmin_quill_editor!
|
||||||
|
appraisal (~> 2.4)
|
||||||
|
capybara
|
||||||
|
cuprite
|
||||||
|
fasterer
|
||||||
|
pry-rails
|
||||||
|
puma
|
||||||
|
rails (~> 6.1.0)
|
||||||
|
rspec-rails
|
||||||
|
rspec-retry
|
||||||
|
rspec_junit_formatter
|
||||||
|
rubocop
|
||||||
|
rubocop-packaging
|
||||||
|
rubocop-performance
|
||||||
|
rubocop-rails
|
||||||
|
rubocop-rspec
|
||||||
|
sassc
|
||||||
|
sqlite3
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.3.8
|
||||||
27
gemfiles/rails70_activeadmin.gemfile
Обычный файл
27
gemfiles/rails70_activeadmin.gemfile
Обычный файл
@@ -0,0 +1,27 @@
|
|||||||
|
# This file was generated by Appraisal
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "activeadmin"
|
||||||
|
gem "rails", "~> 7.0.0"
|
||||||
|
gem "sprockets-rails"
|
||||||
|
|
||||||
|
group :development, :test do
|
||||||
|
gem "puma"
|
||||||
|
gem "sassc"
|
||||||
|
gem "sqlite3"
|
||||||
|
gem "capybara"
|
||||||
|
gem "cuprite"
|
||||||
|
gem "rspec_junit_formatter"
|
||||||
|
gem "rspec-rails"
|
||||||
|
gem "rspec-retry"
|
||||||
|
gem "fasterer"
|
||||||
|
gem "rubocop"
|
||||||
|
gem "rubocop-packaging"
|
||||||
|
gem "rubocop-performance"
|
||||||
|
gem "rubocop-rails"
|
||||||
|
gem "rubocop-rspec"
|
||||||
|
gem "pry-rails"
|
||||||
|
end
|
||||||
|
|
||||||
|
gemspec path: "../"
|
||||||
336
gemfiles/rails70_activeadmin.gemfile.lock
Обычный файл
336
gemfiles/rails70_activeadmin.gemfile.lock
Обычный файл
@@ -0,0 +1,336 @@
|
|||||||
|
PATH
|
||||||
|
remote: ..
|
||||||
|
specs:
|
||||||
|
activeadmin_quill_editor (1.0.0)
|
||||||
|
activeadmin (~> 2.0)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
actioncable (7.0.2.3)
|
||||||
|
actionpack (= 7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
websocket-driver (>= 0.6.1)
|
||||||
|
actionmailbox (7.0.2.3)
|
||||||
|
actionpack (= 7.0.2.3)
|
||||||
|
activejob (= 7.0.2.3)
|
||||||
|
activerecord (= 7.0.2.3)
|
||||||
|
activestorage (= 7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
mail (>= 2.7.1)
|
||||||
|
net-imap
|
||||||
|
net-pop
|
||||||
|
net-smtp
|
||||||
|
actionmailer (7.0.2.3)
|
||||||
|
actionpack (= 7.0.2.3)
|
||||||
|
actionview (= 7.0.2.3)
|
||||||
|
activejob (= 7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
mail (~> 2.5, >= 2.5.4)
|
||||||
|
net-imap
|
||||||
|
net-pop
|
||||||
|
net-smtp
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
actionpack (7.0.2.3)
|
||||||
|
actionview (= 7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
rack (~> 2.0, >= 2.2.0)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
||||||
|
actiontext (7.0.2.3)
|
||||||
|
actionpack (= 7.0.2.3)
|
||||||
|
activerecord (= 7.0.2.3)
|
||||||
|
activestorage (= 7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
globalid (>= 0.6.0)
|
||||||
|
nokogiri (>= 1.8.5)
|
||||||
|
actionview (7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
builder (~> 3.1)
|
||||||
|
erubi (~> 1.4)
|
||||||
|
rails-dom-testing (~> 2.0)
|
||||||
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
||||||
|
activeadmin (2.11.1)
|
||||||
|
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 (>= 6.0, < 7.1)
|
||||||
|
ransack (~> 2.1, >= 2.1.1)
|
||||||
|
activejob (7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
globalid (>= 0.3.6)
|
||||||
|
activemodel (7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
activerecord (7.0.2.3)
|
||||||
|
activemodel (= 7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
activestorage (7.0.2.3)
|
||||||
|
actionpack (= 7.0.2.3)
|
||||||
|
activejob (= 7.0.2.3)
|
||||||
|
activerecord (= 7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
marcel (~> 1.0)
|
||||||
|
mini_mime (>= 1.1.0)
|
||||||
|
activesupport (7.0.2.3)
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
|
i18n (>= 1.6, < 2)
|
||||||
|
minitest (>= 5.1)
|
||||||
|
tzinfo (~> 2.0)
|
||||||
|
addressable (2.8.0)
|
||||||
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
|
appraisal (2.4.1)
|
||||||
|
bundler
|
||||||
|
rake
|
||||||
|
thor (>= 0.14.0)
|
||||||
|
arbre (1.5.0)
|
||||||
|
activesupport (>= 3.0.0, < 7.1)
|
||||||
|
ruby2_keywords (>= 0.0.2, < 1.0)
|
||||||
|
ast (2.4.2)
|
||||||
|
builder (3.2.4)
|
||||||
|
capybara (3.36.0)
|
||||||
|
addressable
|
||||||
|
matrix
|
||||||
|
mini_mime (>= 0.1.3)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
rack (>= 1.6.0)
|
||||||
|
rack-test (>= 0.6.3)
|
||||||
|
regexp_parser (>= 1.5, < 3.0)
|
||||||
|
xpath (~> 3.2)
|
||||||
|
cliver (0.3.2)
|
||||||
|
coderay (1.1.3)
|
||||||
|
colorize (0.8.1)
|
||||||
|
concurrent-ruby (1.1.10)
|
||||||
|
crass (1.0.6)
|
||||||
|
cuprite (0.13)
|
||||||
|
capybara (>= 2.1, < 4)
|
||||||
|
ferrum (~> 0.11.0)
|
||||||
|
diff-lcs (1.5.0)
|
||||||
|
digest (3.1.0)
|
||||||
|
erubi (1.10.0)
|
||||||
|
fasterer (0.9.0)
|
||||||
|
colorize (~> 0.7)
|
||||||
|
ruby_parser (>= 3.14.1)
|
||||||
|
ferrum (0.11)
|
||||||
|
addressable (~> 2.5)
|
||||||
|
cliver (~> 0.3)
|
||||||
|
concurrent-ruby (~> 1.1)
|
||||||
|
websocket-driver (>= 0.6, < 0.8)
|
||||||
|
ffi (1.15.5)
|
||||||
|
formtastic (4.0.0)
|
||||||
|
actionpack (>= 5.2.0)
|
||||||
|
formtastic_i18n (0.7.0)
|
||||||
|
globalid (1.0.0)
|
||||||
|
activesupport (>= 5.0)
|
||||||
|
has_scope (0.8.0)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
i18n (1.10.0)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
inherited_resources (1.13.1)
|
||||||
|
actionpack (>= 5.2, < 7.1)
|
||||||
|
has_scope (~> 0.6)
|
||||||
|
railties (>= 5.2, < 7.1)
|
||||||
|
responders (>= 2, < 4)
|
||||||
|
io-wait (0.2.1)
|
||||||
|
jquery-rails (4.4.0)
|
||||||
|
rails-dom-testing (>= 1, < 3)
|
||||||
|
railties (>= 4.2.0)
|
||||||
|
thor (>= 0.14, < 2.0)
|
||||||
|
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)
|
||||||
|
loofah (2.15.0)
|
||||||
|
crass (~> 1.0.2)
|
||||||
|
nokogiri (>= 1.5.9)
|
||||||
|
mail (2.7.1)
|
||||||
|
mini_mime (>= 0.1.1)
|
||||||
|
marcel (1.0.2)
|
||||||
|
matrix (0.4.2)
|
||||||
|
method_source (1.0.0)
|
||||||
|
mini_mime (1.1.2)
|
||||||
|
minitest (5.15.0)
|
||||||
|
net-imap (0.2.3)
|
||||||
|
digest
|
||||||
|
net-protocol
|
||||||
|
strscan
|
||||||
|
net-pop (0.1.1)
|
||||||
|
digest
|
||||||
|
net-protocol
|
||||||
|
timeout
|
||||||
|
net-protocol (0.1.2)
|
||||||
|
io-wait
|
||||||
|
timeout
|
||||||
|
net-smtp (0.3.1)
|
||||||
|
digest
|
||||||
|
net-protocol
|
||||||
|
timeout
|
||||||
|
nio4r (2.5.8)
|
||||||
|
nokogiri (1.13.3-x86_64-darwin)
|
||||||
|
racc (~> 1.4)
|
||||||
|
nokogiri (1.13.3-x86_64-linux)
|
||||||
|
racc (~> 1.4)
|
||||||
|
parallel (1.22.1)
|
||||||
|
parser (3.1.1.0)
|
||||||
|
ast (~> 2.4.1)
|
||||||
|
pry (0.14.1)
|
||||||
|
coderay (~> 1.1)
|
||||||
|
method_source (~> 1.0)
|
||||||
|
pry-rails (0.3.9)
|
||||||
|
pry (>= 0.10.4)
|
||||||
|
public_suffix (4.0.6)
|
||||||
|
puma (5.6.2)
|
||||||
|
nio4r (~> 2.0)
|
||||||
|
racc (1.6.0)
|
||||||
|
rack (2.2.3)
|
||||||
|
rack-test (1.1.0)
|
||||||
|
rack (>= 1.0, < 3)
|
||||||
|
rails (7.0.2.3)
|
||||||
|
actioncable (= 7.0.2.3)
|
||||||
|
actionmailbox (= 7.0.2.3)
|
||||||
|
actionmailer (= 7.0.2.3)
|
||||||
|
actionpack (= 7.0.2.3)
|
||||||
|
actiontext (= 7.0.2.3)
|
||||||
|
actionview (= 7.0.2.3)
|
||||||
|
activejob (= 7.0.2.3)
|
||||||
|
activemodel (= 7.0.2.3)
|
||||||
|
activerecord (= 7.0.2.3)
|
||||||
|
activestorage (= 7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
bundler (>= 1.15.0)
|
||||||
|
railties (= 7.0.2.3)
|
||||||
|
rails-dom-testing (2.0.3)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
nokogiri (>= 1.6)
|
||||||
|
rails-html-sanitizer (1.4.2)
|
||||||
|
loofah (~> 2.3)
|
||||||
|
railties (7.0.2.3)
|
||||||
|
actionpack (= 7.0.2.3)
|
||||||
|
activesupport (= 7.0.2.3)
|
||||||
|
method_source
|
||||||
|
rake (>= 12.2)
|
||||||
|
thor (~> 1.0)
|
||||||
|
zeitwerk (~> 2.5)
|
||||||
|
rainbow (3.1.1)
|
||||||
|
rake (13.0.6)
|
||||||
|
ransack (2.6.0)
|
||||||
|
activerecord (>= 6.0.4)
|
||||||
|
activesupport (>= 6.0.4)
|
||||||
|
i18n
|
||||||
|
regexp_parser (2.2.1)
|
||||||
|
responders (3.0.1)
|
||||||
|
actionpack (>= 5.0)
|
||||||
|
railties (>= 5.0)
|
||||||
|
rexml (3.2.5)
|
||||||
|
rspec-core (3.11.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-expectations (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-mocks (3.11.0)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.11.0)
|
||||||
|
rspec-rails (5.1.1)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
railties (>= 5.2)
|
||||||
|
rspec-core (~> 3.10)
|
||||||
|
rspec-expectations (~> 3.10)
|
||||||
|
rspec-mocks (~> 3.10)
|
||||||
|
rspec-support (~> 3.10)
|
||||||
|
rspec-retry (0.6.2)
|
||||||
|
rspec-core (> 3.3)
|
||||||
|
rspec-support (3.11.0)
|
||||||
|
rspec_junit_formatter (0.5.1)
|
||||||
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
|
rubocop (1.26.1)
|
||||||
|
parallel (~> 1.10)
|
||||||
|
parser (>= 3.1.0.0)
|
||||||
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
|
regexp_parser (>= 1.8, < 3.0)
|
||||||
|
rexml
|
||||||
|
rubocop-ast (>= 1.16.0, < 2.0)
|
||||||
|
ruby-progressbar (~> 1.7)
|
||||||
|
unicode-display_width (>= 1.4.0, < 3.0)
|
||||||
|
rubocop-ast (1.16.0)
|
||||||
|
parser (>= 3.1.1.0)
|
||||||
|
rubocop-packaging (0.5.1)
|
||||||
|
rubocop (>= 0.89, < 2.0)
|
||||||
|
rubocop-performance (1.13.3)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-ast (>= 0.4.0)
|
||||||
|
rubocop-rails (2.14.2)
|
||||||
|
activesupport (>= 4.2.0)
|
||||||
|
rack (>= 1.1)
|
||||||
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
|
rubocop-rspec (2.9.0)
|
||||||
|
rubocop (~> 1.19)
|
||||||
|
ruby-progressbar (1.11.0)
|
||||||
|
ruby2_keywords (0.0.5)
|
||||||
|
ruby_parser (3.18.1)
|
||||||
|
sexp_processor (~> 4.16)
|
||||||
|
sassc (2.4.0)
|
||||||
|
ffi (~> 1.9)
|
||||||
|
sexp_processor (4.16.0)
|
||||||
|
sprockets (4.0.3)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
rack (> 1, < 3)
|
||||||
|
sprockets-rails (3.4.2)
|
||||||
|
actionpack (>= 5.2)
|
||||||
|
activesupport (>= 5.2)
|
||||||
|
sprockets (>= 3.0.0)
|
||||||
|
sqlite3 (1.4.2)
|
||||||
|
strscan (3.0.1)
|
||||||
|
thor (1.2.1)
|
||||||
|
timeout (0.2.0)
|
||||||
|
tzinfo (2.0.4)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
unicode-display_width (2.1.0)
|
||||||
|
websocket-driver (0.7.5)
|
||||||
|
websocket-extensions (>= 0.1.0)
|
||||||
|
websocket-extensions (0.1.5)
|
||||||
|
xpath (3.2.0)
|
||||||
|
nokogiri (~> 1.8)
|
||||||
|
zeitwerk (2.5.4)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
x86_64-darwin-21
|
||||||
|
x86_64-linux
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
activeadmin
|
||||||
|
activeadmin_quill_editor!
|
||||||
|
appraisal (~> 2.4)
|
||||||
|
capybara
|
||||||
|
cuprite
|
||||||
|
fasterer
|
||||||
|
pry-rails
|
||||||
|
puma
|
||||||
|
rails (~> 7.0.0)
|
||||||
|
rspec-rails
|
||||||
|
rspec-retry
|
||||||
|
rspec_junit_formatter
|
||||||
|
rubocop
|
||||||
|
rubocop-packaging
|
||||||
|
rubocop-performance
|
||||||
|
rubocop-rails
|
||||||
|
rubocop-rspec
|
||||||
|
sassc
|
||||||
|
sprockets-rails
|
||||||
|
sqlite3
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.3.8
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
module ActiveAdmin
|
module ActiveAdmin
|
||||||
module QuillEditor
|
module QuillEditor
|
||||||
VERSION = '0.3.4'
|
VERSION = '1.0.0'
|
||||||
|
QUILL_VERSION = '1.3.7'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "activeadmin_quill_editor",
|
"name": "activeadmin_quill_editor",
|
||||||
"version": "0.3.4",
|
"version": "1.0.0",
|
||||||
"description": "Quill Editor for ActiveAdmin",
|
"description": "Quill Editor for ActiveAdmin",
|
||||||
"author": "Mattia Roccoberton <mat@blocknot.es>",
|
"author": "Mattia Roccoberton <mat@blocknot.es>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
ActiveAdmin.register Post do
|
ActiveAdmin.register Post do
|
||||||
permit_params :author_id, :title, :description, :category, :dt, :position, :published, tag_ids: []
|
permit_params :author_id, :title, :summary, :description, :category, :dt, :position, :published, tag_ids: []
|
||||||
|
|
||||||
index do
|
index do
|
||||||
selectable_column
|
selectable_column
|
||||||
@@ -17,6 +17,7 @@ ActiveAdmin.register Post do
|
|||||||
attributes_table do
|
attributes_table do
|
||||||
row :author
|
row :author
|
||||||
row :title
|
row :title
|
||||||
|
row :summary
|
||||||
row :description
|
row :description
|
||||||
row :category
|
row :category
|
||||||
row :dt
|
row :dt
|
||||||
@@ -42,6 +43,7 @@ ActiveAdmin.register Post do
|
|||||||
f.inputs 'Post' do
|
f.inputs 'Post' do
|
||||||
f.input :author
|
f.input :author
|
||||||
f.input :title
|
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 :description, as: :quill_editor, input_html: { data: { options: { modules: { toolbar: toolbar } } } }
|
||||||
f.input :category
|
f.input :category
|
||||||
f.input :dt
|
f.input :dt
|
||||||
|
|||||||
@@ -8,12 +8,15 @@ Bundler.require(*Rails.groups)
|
|||||||
module Dummy
|
module Dummy
|
||||||
class Application < Rails::Application
|
class Application < Rails::Application
|
||||||
# Initialize configuration defaults for originally generated Rails version.
|
# Initialize configuration defaults for originally generated Rails version.
|
||||||
config.load_defaults 6.0
|
config.load_defaults 6.0 if Rails::VERSION::MAJOR == 6
|
||||||
|
|
||||||
# Settings in config/environments/* take precedence over those specified here.
|
# Settings in config/environments/* take precedence over those specified here.
|
||||||
# Application configuration can go into files in config/initializers
|
# Application configuration can go into files in config/initializers
|
||||||
# -- all .rb files in that directory are automatically loaded after loading
|
# -- all .rb files in that directory are automatically loaded after loading
|
||||||
# the framework and any gems in your application.
|
# the framework and any gems in your application.
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
config.active_record.legacy_connection_handling = false if Rails::VERSION::MAJOR > 6
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
ActiveAdmin.routes(self)
|
ActiveAdmin.routes(self)
|
||||||
|
|
||||||
|
root to: redirect('/admin')
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ class CreatePosts < ActiveRecord::Migration[5.2]
|
|||||||
def change
|
def change
|
||||||
create_table :posts do |t|
|
create_table :posts do |t|
|
||||||
t.string :title
|
t.string :title
|
||||||
|
t.text :summary
|
||||||
t.text :description
|
t.text :description
|
||||||
t.belongs_to :author, foreign_key: true
|
t.belongs_to :author, foreign_key: true
|
||||||
t.string :category
|
t.string :category
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
# of editing this file, please use the migrations feature of Active Record to
|
# of editing this file, please use the migrations feature of Active Record to
|
||||||
# incrementally modify your database, and then regenerate this schema definition.
|
# incrementally modify your database, and then regenerate this schema definition.
|
||||||
#
|
#
|
||||||
# This file is the source Rails uses to define your schema when running `rails
|
# This file is the source Rails uses to define your schema when running `bin/rails
|
||||||
# db:schema:load`. When creating a new database, `rails db:schema:load` tends to
|
# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
|
||||||
# be faster and is potentially less error prone than running all of your
|
# be faster and is potentially less error prone than running all of your
|
||||||
# migrations from scratch. Old migrations may fail to apply correctly if those
|
# migrations from scratch. Old migrations may fail to apply correctly if those
|
||||||
# migrations use external dependencies or application code.
|
# migrations use external dependencies or application code.
|
||||||
@@ -16,9 +16,9 @@ ActiveRecord::Schema.define(version: 2018_06_07_053739) do
|
|||||||
t.string "namespace"
|
t.string "namespace"
|
||||||
t.text "body"
|
t.text "body"
|
||||||
t.string "resource_type"
|
t.string "resource_type"
|
||||||
t.integer "resource_id"
|
t.bigint "resource_id"
|
||||||
t.string "author_type"
|
t.string "author_type"
|
||||||
t.integer "author_id"
|
t.bigint "author_id"
|
||||||
t.datetime "created_at", precision: 6, null: false
|
t.datetime "created_at", precision: 6, null: false
|
||||||
t.datetime "updated_at", precision: 6, null: false
|
t.datetime "updated_at", precision: 6, null: false
|
||||||
t.index ["author_type", "author_id"], name: "index_active_admin_comments_on_author_type_and_author_id"
|
t.index ["author_type", "author_id"], name: "index_active_admin_comments_on_author_type_and_author_id"
|
||||||
@@ -66,6 +66,7 @@ ActiveRecord::Schema.define(version: 2018_06_07_053739) do
|
|||||||
|
|
||||||
create_table "posts", force: :cascade do |t|
|
create_table "posts", force: :cascade do |t|
|
||||||
t.string "title"
|
t.string "title"
|
||||||
|
t.text "summary"
|
||||||
t.text "description"
|
t.text "description"
|
||||||
t.integer "author_id"
|
t.integer "author_id"
|
||||||
t.string "category"
|
t.string "category"
|
||||||
|
|||||||
41
spec/dummy/db/seeds.rb
Обычный файл
41
spec/dummy/db/seeds.rb
Обычный файл
@@ -0,0 +1,41 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
puts 'Seeds:'
|
||||||
|
|
||||||
|
puts 'Tags...'
|
||||||
|
(11..16).each do |i|
|
||||||
|
Tag.find_or_create_by!(name: "Tag #{i}")
|
||||||
|
end
|
||||||
|
|
||||||
|
puts 'Authors...'
|
||||||
|
(11..20).each do |i|
|
||||||
|
age = 21 + 3 * (i - 10)
|
||||||
|
attrs = { name: "Author #{i}", age: age, email: "some@email#{i}.com" }
|
||||||
|
Author.find_or_create_by!(attrs) do |author|
|
||||||
|
author.profile = Profile.new(description: "Profile description for Author #{i}") if (i % 3).zero?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
puts 'Posts...'
|
||||||
|
authors = Author.pluck(:id)
|
||||||
|
tags = Tag.where.not(name: 'A test tag').pluck(:id)
|
||||||
|
(11..40).each do |i|
|
||||||
|
attrs = {
|
||||||
|
title: "Post #{i}",
|
||||||
|
author_id: authors.sample,
|
||||||
|
position: rand(100),
|
||||||
|
created_at: Time.now - rand(3600).seconds
|
||||||
|
}
|
||||||
|
attrs[:category] = 'news' if (i % 4).zero?
|
||||||
|
attrs[:dt] = Time.now - rand(30).days if (i % 3).zero?
|
||||||
|
|
||||||
|
Post.find_or_create_by!(title: "Post #{i}") do |post|
|
||||||
|
post.assign_attributes(attrs)
|
||||||
|
post.tags = Tag.where(id: tags.sample(2)) if (i % 2).zero?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
Author.find_or_create_by!(name: 'A test author', email: 'aaa@bbb.ccc', age: 30)
|
||||||
|
Tag.find_or_create_by!(name: 'A test tag')
|
||||||
|
|
||||||
|
puts 'done.'
|
||||||
@@ -10,6 +10,7 @@ abort('The Rails environment is running in production mode!') if Rails.env.produ
|
|||||||
|
|
||||||
require 'rspec/rails'
|
require 'rspec/rails'
|
||||||
require 'capybara/rails'
|
require 'capybara/rails'
|
||||||
|
require 'rspec/retry'
|
||||||
|
|
||||||
Dir[File.expand_path('support/**/*.rb', __dir__)].sort.each { |f| require f }
|
Dir[File.expand_path('support/**/*.rb', __dir__)].sort.each { |f| require f }
|
||||||
|
|
||||||
@@ -33,4 +34,17 @@ RSpec.configure do |config|
|
|||||||
config.use_transactional_fixtures = true
|
config.use_transactional_fixtures = true
|
||||||
config.use_instantiated_fixtures = false
|
config.use_instantiated_fixtures = false
|
||||||
config.render_views = false
|
config.render_views = false
|
||||||
|
|
||||||
|
config.default_retry_count = 2
|
||||||
|
|
||||||
|
config.before(:suite) do
|
||||||
|
intro = ('-' * 80)
|
||||||
|
intro << "\n"
|
||||||
|
intro << "- Ruby: #{RUBY_VERSION}\n"
|
||||||
|
intro << "- Rails: #{Rails.version}\n"
|
||||||
|
intro << "- ActiveAdmin: #{ActiveAdmin::VERSION}\n"
|
||||||
|
intro << ('-' * 80)
|
||||||
|
|
||||||
|
RSpec.configuration.reporter.message(intro)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -5,10 +5,12 @@ RSpec.configure do |config|
|
|||||||
config.filter_run focus: true
|
config.filter_run focus: true
|
||||||
config.filter_run_excluding changes_filesystem: true
|
config.filter_run_excluding changes_filesystem: true
|
||||||
config.run_all_when_everything_filtered = true
|
config.run_all_when_everything_filtered = true
|
||||||
config.color = true
|
|
||||||
config.order = :random
|
|
||||||
config.example_status_persistence_file_path = '.rspec_failures'
|
|
||||||
|
|
||||||
|
config.color = true
|
||||||
|
config.tty = true
|
||||||
|
|
||||||
|
config.example_status_persistence_file_path = '.rspec_failures'
|
||||||
|
config.order = :random
|
||||||
config.shared_context_metadata_behavior = :apply_to_host_groups
|
config.shared_context_metadata_behavior = :apply_to_host_groups
|
||||||
|
|
||||||
config.expect_with :rspec do |expectations|
|
config.expect_with :rspec do |expectations|
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
Capybara.server = :puma
|
Capybara.server = :puma
|
||||||
|
Capybara.default_driver = Capybara.javascript_driver = :cuprite
|
||||||
|
|
||||||
|
RSpec.configure do |config|
|
||||||
|
# Make sure this hook runs before others
|
||||||
|
config.prepend_before(:each, type: :system) do
|
||||||
|
# Use JS driver always
|
||||||
|
driven_by Capybara.javascript_driver
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|||||||
26
spec/support/capybara_cuprite.rb
Обычный файл
26
spec/support/capybara_cuprite.rb
Обычный файл
@@ -0,0 +1,26 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require 'capybara/cuprite'
|
||||||
|
|
||||||
|
Capybara.register_driver(:cuprite) do |app|
|
||||||
|
browser_options = {}.tap do |opts|
|
||||||
|
opts['no-sandbox'] = nil if ENV['CI']
|
||||||
|
end
|
||||||
|
|
||||||
|
Capybara::Cuprite::Driver.new(
|
||||||
|
app,
|
||||||
|
**{
|
||||||
|
window_size: [1600, 1280],
|
||||||
|
# See additional options for Dockerized environment in the respective section of this article
|
||||||
|
browser_options: browser_options,
|
||||||
|
# Increase Chrome startup wait time (required for stable CI builds)
|
||||||
|
process_timeout: 20,
|
||||||
|
# The number of seconds we'll wait for a response when communicating with browser. Default is 5
|
||||||
|
timeout: 20,
|
||||||
|
# Enable debugging capabilities
|
||||||
|
inspector: true,
|
||||||
|
# Allow running Chrome in a headful mode by setting HEADLESS env var to a falsey value
|
||||||
|
headless: !ENV['CUPRITE_HEADLESS'].in?(%w[n 0 no false])
|
||||||
|
}
|
||||||
|
)
|
||||||
|
end
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
RSpec.configure do |config|
|
|
||||||
config.before(:each, type: :system) do
|
|
||||||
driven_by(:selenium_chrome_headless)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -2,16 +2,7 @@
|
|||||||
|
|
||||||
RSpec.describe 'Quill editor', type: :system do
|
RSpec.describe 'Quill editor', type: :system do
|
||||||
let(:author) { Author.create!(email: 'some_email@example.com', name: 'John Doe', age: 30) }
|
let(:author) { Author.create!(email: 'some_email@example.com', name: 'John Doe', age: 30) }
|
||||||
let(:post) { Post.create!(title: 'Test', author: author, description: 'Some content...') }
|
let!(:post) { Post.create!(title: 'Test', author: author, description: 'Some content...') }
|
||||||
|
|
||||||
before do
|
|
||||||
post
|
|
||||||
end
|
|
||||||
|
|
||||||
after do
|
|
||||||
Post.delete_all
|
|
||||||
author.delete
|
|
||||||
end
|
|
||||||
|
|
||||||
context 'with a Quill editor' do
|
context 'with a Quill editor' do
|
||||||
it 'initialize the editor' do
|
it 'initialize the editor' do
|
||||||
@@ -30,6 +21,7 @@ RSpec.describe 'Quill editor', type: :system do
|
|||||||
find('#post_description_input .ql-editor').click
|
find('#post_description_input .ql-editor').click
|
||||||
find('#post_description_input .ql-editor').base.send_keys('more text')
|
find('#post_description_input .ql-editor').base.send_keys('more text')
|
||||||
find('[type="submit"]').click
|
find('[type="submit"]').click
|
||||||
|
|
||||||
expect(page).to have_content('was successfully updated')
|
expect(page).to have_content('was successfully updated')
|
||||||
expect(post.reload.description).to eq '<p>Some content...more text</p>'
|
expect(post.reload.description).to eq '<p>Some content...more text</p>'
|
||||||
end
|
end
|
||||||
@@ -41,6 +33,7 @@ RSpec.describe 'Quill editor', type: :system do
|
|||||||
find('#post_description_input .ql-toolbar .ql-bold').click
|
find('#post_description_input .ql-toolbar .ql-bold').click
|
||||||
find('#post_description_input .ql-editor').base.send_keys('more text')
|
find('#post_description_input .ql-editor').base.send_keys('more text')
|
||||||
find('[type="submit"]').click
|
find('[type="submit"]').click
|
||||||
|
|
||||||
expect(post.reload.description).to eq '<p>Some content...<strong>more text</strong></p>'
|
expect(post.reload.description).to eq '<p>Some content...<strong>more text</strong></p>'
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -51,10 +44,29 @@ RSpec.describe 'Quill editor', type: :system do
|
|||||||
find('#post_description_input .ql-toolbar .ql-italic').click
|
find('#post_description_input .ql-toolbar .ql-italic').click
|
||||||
find('#post_description_input .ql-editor').base.send_keys('more text')
|
find('#post_description_input .ql-editor').base.send_keys('more text')
|
||||||
find('[type="submit"]').click
|
find('[type="submit"]').click
|
||||||
|
|
||||||
expect(post.reload.description).to eq '<p>Some content...<em>more text</em></p>'
|
expect(post.reload.description).to eq '<p>Some content...<em>more text</em></p>'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
context 'with 2 Quill editors' do
|
||||||
|
it 'updates some HTML content for 2 fields' do
|
||||||
|
visit "/admin/posts/#{post.id}/edit"
|
||||||
|
|
||||||
|
find('#post_description_input .ql-editor').click
|
||||||
|
find('#post_description_input .ql-toolbar .ql-bold').click
|
||||||
|
find('#post_description_input .ql-editor').base.send_keys('more text')
|
||||||
|
find('#post_summary_input .ql-editor').click
|
||||||
|
find('#post_summary_input .ql-toolbar .ql-italic').click
|
||||||
|
find('#post_summary_input .ql-editor').base.send_keys('Summary text')
|
||||||
|
find('[type="submit"]').click
|
||||||
|
post.reload
|
||||||
|
|
||||||
|
expect(post.description).to eq '<p>Some content...<strong>more text</strong></p>'
|
||||||
|
expect(post.summary).to eq '<p><em>Summary text</em></p>'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
context 'with a Quill editor in a nested resource' do
|
context 'with a Quill editor in a nested resource' do
|
||||||
it 'updates some HTML content of a new nested resource' do
|
it 'updates some HTML content of a new nested resource' do
|
||||||
visit "/admin/authors/#{author.id}/edit"
|
visit "/admin/authors/#{author.id}/edit"
|
||||||
|
|||||||
10
spec/system/quill_js_spec.rb
Обычный файл
10
spec/system/quill_js_spec.rb
Обычный файл
@@ -0,0 +1,10 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
RSpec.describe 'Quill JS', type: :system do
|
||||||
|
it 'has a Javascript function defined and returns the version', :aggregate_failures do
|
||||||
|
visit '/admin/posts'
|
||||||
|
|
||||||
|
expect(page.evaluate_script('typeof Quill')).to eq 'function'
|
||||||
|
expect(page.evaluate_script('Quill.version')).to eq(ActiveAdmin::QuillEditor::QUILL_VERSION)
|
||||||
|
end
|
||||||
|
end
|
||||||
Ссылка в новой задаче
Block a user