iqvoc_compound_forms 2.9.0 → 2.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +67 -0
- data/.gitignore +9 -0
- data/Gemfile +12 -8
- data/Gemfile.lock +496 -321
- data/README.md +3 -4
- data/app/assets/images/.gitkeep +0 -0
- data/app/assets/javascripts/iqvoc_compound_forms/manifest.js +1 -1
- data/app/assets/javascripts/manifest.js +4 -4
- data/app/assets/stylesheets/manifest.scss +1 -0
- data/app/models/application_record.rb +3 -0
- data/app/models/compound_form/base.rb +8 -5
- data/app/models/compound_form/content/base.rb +2 -2
- data/app/models/concerns/compound_forms_label_extensions.rb +8 -6
- data/app/views/partials/compound_form/_compound_form.html.erb +3 -3
- data/app/views/partials/compound_form/content/_base.html.erb +2 -2
- data/app/views/partials/compound_form/content/_base_no_header.html.erb +15 -0
- data/bin/bundle +3 -0
- data/bin/rails +3 -5
- data/bin/rake +3 -2
- data/bin/setup +33 -0
- data/bin/update +31 -0
- data/bin/yarn +17 -0
- data/config/application.rb +29 -48
- data/config/boot.rb +3 -12
- data/config/cable.yml +10 -0
- data/config/database.yml.postgresql +26 -0
- data/config/environment.rb +4 -4
- data/config/initializers/content_security_policy.rb +25 -0
- data/config/initializers/filter_parameter_logging.rb +8 -0
- data/config/initializers/inflections.rb +16 -0
- data/config/initializers/permissions_policy.rb +11 -0
- data/config/locales/de.yml +2 -0
- data/config/locales/en.yml +2 -0
- data/config/storage.yml +34 -0
- data/config.ru +4 -2
- data/db/migrate/20120112100000_create_compound_forms.rb +1 -1
- data/db/migrate/20150108153131_add_fk_constraints_iqvoc_compound_forms.rb +1 -1
- data/faucet.config.js +49 -0
- data/iqvoc_compound_forms.gemspec +2 -2
- data/lib/iqvoc/compound_forms/version.rb +1 -1
- data/package-lock.json +1495 -0
- data/package.json +32 -0
- data/public/favicon.ico +0 -0
- data/test/integration/compound_form_ui_test.rb +2 -2
- metadata +30 -18
- data/.travis.yml +0 -38
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 35a99bdde174a798da842418bfb5c67417b4f6cbdb9a277cd2b48d90256851c7
|
|
4
|
+
data.tar.gz: e3182038f0f4faeb5a88944bfb828c045a9aaf4041354701dacaacf48f940360
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82cdddcacd16461db340ed3f54c1755e49e09b53614ba046b10808e4859246440436b3e0e5b8102f6dfaf5c3c8ee7b038bf252556f031af73e296ff880b0755a
|
|
7
|
+
data.tar.gz: 9dbe115773df36c878b578f3a988e3103ce91a890ec88e7bfd4136beaacce1ca29e2d9d286deef15082b67b8fcc4d6b77049496d82676e53675942e717e3aa84
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on: [push, pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
strategy:
|
|
8
|
+
fail-fast: false
|
|
9
|
+
matrix:
|
|
10
|
+
ruby: ['2.7', '3.0']
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
services:
|
|
13
|
+
postgres:
|
|
14
|
+
image: postgres:12
|
|
15
|
+
ports: ['5432:5432']
|
|
16
|
+
options: >-
|
|
17
|
+
--health-cmd pg_isready
|
|
18
|
+
--health-interval 10s
|
|
19
|
+
--health-timeout 5s
|
|
20
|
+
--health-retries 5
|
|
21
|
+
env:
|
|
22
|
+
POSTGRES_USER: postgres
|
|
23
|
+
POSTGRES_PASSWORD: postgres
|
|
24
|
+
POSTGRES_DB: postgres
|
|
25
|
+
steps:
|
|
26
|
+
- name: Checkout repository
|
|
27
|
+
uses: actions/checkout@v2
|
|
28
|
+
|
|
29
|
+
- name: Setup Ruby
|
|
30
|
+
uses: ruby/setup-ruby@v1
|
|
31
|
+
with:
|
|
32
|
+
ruby-version: ${{ matrix.ruby }}
|
|
33
|
+
|
|
34
|
+
- name: Caching dependencies
|
|
35
|
+
uses: actions/cache@v1
|
|
36
|
+
with:
|
|
37
|
+
path: vendor/bundle
|
|
38
|
+
key: bundle-use-ruby-${{ runner.os }}-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
|
|
39
|
+
restore-keys: |
|
|
40
|
+
bundle-use-ruby-${{ runner.os }}-${{ matrix.ruby }}-
|
|
41
|
+
|
|
42
|
+
- name: Bundle Install
|
|
43
|
+
run: |
|
|
44
|
+
bundle config path vendor/bundle
|
|
45
|
+
bundle install --jobs 4 --retry 3
|
|
46
|
+
|
|
47
|
+
- name: Setup Node
|
|
48
|
+
uses: actions/setup-node@v2
|
|
49
|
+
with:
|
|
50
|
+
node-version: '14'
|
|
51
|
+
|
|
52
|
+
- name: Install Node dependencies
|
|
53
|
+
run: npm install
|
|
54
|
+
|
|
55
|
+
- name: Compile assets
|
|
56
|
+
run: npm run compile
|
|
57
|
+
|
|
58
|
+
- name: Setup Database
|
|
59
|
+
env:
|
|
60
|
+
RAILS_ENV: test
|
|
61
|
+
run: |
|
|
62
|
+
cp config/database.yml.postgresql config/database.yml
|
|
63
|
+
bin/rails db:create
|
|
64
|
+
bin/rails db:migrate
|
|
65
|
+
|
|
66
|
+
- name: Run Tests
|
|
67
|
+
run: bin/rails test
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
source 'https://rubygems.org'
|
|
2
2
|
|
|
3
|
-
gem 'iqvoc', '~> 4.
|
|
4
|
-
gem 'iqvoc_skosxl', '~> 2.
|
|
3
|
+
gem 'iqvoc', '~> 4.14.4', github: 'innoq/iqvoc', branch: 'master'
|
|
4
|
+
gem 'iqvoc_skosxl', '~> 2.11.3', github: 'innoq/iqvoc_skosxl', branch: 'master'
|
|
5
|
+
|
|
6
|
+
group :development do
|
|
7
|
+
gem 'better_errors'
|
|
8
|
+
gem 'web-console'
|
|
9
|
+
gem 'listen'
|
|
10
|
+
end
|
|
5
11
|
|
|
6
12
|
group :development, :test do
|
|
7
13
|
gem 'pry-rails'
|
|
8
14
|
|
|
9
15
|
group :test do
|
|
10
|
-
gem 'capybara'
|
|
11
|
-
gem 'poltergeist'
|
|
16
|
+
gem 'capybara'
|
|
17
|
+
gem 'poltergeist'
|
|
12
18
|
end
|
|
13
19
|
|
|
14
20
|
platforms :ruby do
|
|
15
|
-
gem '
|
|
16
|
-
gem 'sqlite3'
|
|
21
|
+
gem 'pg'
|
|
17
22
|
end
|
|
18
23
|
platforms :jruby do
|
|
19
|
-
gem 'activerecord-
|
|
20
|
-
gem 'activerecord-jdbcmysql-adapter'
|
|
24
|
+
gem 'activerecord-jdbcpostgresql-adapter'
|
|
21
25
|
end
|
|
22
26
|
end
|