Skip to content

0.7.4 Release #373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 196 commits into from
Feb 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
89d4975
Adds the del component
cameronnorman Oct 4, 2019
5895efc
Merge branch 'develop' of github.com:basemate/matestack-ui-core into …
cameronnorman Oct 9, 2019
337b28d
Required changes for del
cameronnorman Oct 9, 2019
0af512d
Add iframe component with doc and spec.
mayanktap Oct 9, 2019
cecd055
added u tag
Manukam Oct 10, 2019
f5443f5
add Dfn tag
Manukam Oct 12, 2019
94c2a9c
iframe: Address review comments.
mayanktap Nov 9, 2019
962ec02
Bump loofah from 2.2.3 to 2.3.1
dependabot[bot] Nov 10, 2019
c7bfe69
Bump rubyzip from 1.2.2 to 1.3.0
dependabot[bot] Nov 10, 2019
2e54af8
saving latest state WIP
jonasjabari Nov 14, 2019
ae4297a
Merge branch 'develop' into dockerized_core_dev
jonasjabari Nov 14, 2019
f299c8c
updated Gems
jonasjabari Nov 14, 2019
8b5a138
added sandbox app and pages to dummy app
jonasjabari Nov 14, 2019
937eb0f
remove uncompleted guide from branch
jonasjabari Nov 14, 2019
de862d8
added docs and compose configs in order to support docker-compose usa…
jonasjabari Nov 14, 2019
1e883d2
added contribution docs for bundler and yarn
jonasjabari Nov 14, 2019
8457416
added new js builds
jonasjabari Nov 14, 2019
f495ef1
small cleanup & bundle install results
pascalwengerter Nov 14, 2019
2ca0f51
Add samp tag incl. test & docs
pascalwengerter Nov 14, 2019
39203a2
add data core component & tests & docs
pascalwengerter Nov 14, 2019
2c8fd7f
add tested & documented wbr core component
pascalwengerter Nov 14, 2019
88bf565
Merge pull request #292 from basemate/dependabot/bundler/rubyzip-1.3.0
pascalwengerter Nov 14, 2019
0687c4f
Merge pull request #289 from basemate/dependabot/bundler/loofah-2.3.1
pascalwengerter Nov 14, 2019
f4c75c4
add bdi core component & docs & tests
pascalwengerter Nov 14, 2019
7ffe262
Add bdo core component including tests & docs
pascalwengerter Nov 14, 2019
7ff2814
fixed dummy app
jonasjabari Nov 14, 2019
a0d22b0
Merge pull request #300 from basemate/add_bdi_component
pascalwengerter Nov 15, 2019
e91105e
replace misleading page_content in page generator layout
pascalwengerter Nov 15, 2019
b322a69
expose view context to matestack components and pages
fiedl Nov 17, 2019
42d24fa
extend `render` to support matestack pages
fiedl Nov 17, 2019
fc78b66
add support for implicit rendering
fiedl Nov 17, 2019
ba93b32
implicit `plain` when using a helper like `link_to` that returns an `…
fiedl Nov 17, 2019
d35e7aa
Merge pull request #233 from mayanktap/add-iframe-tag
pascalwengerter Nov 18, 2019
cb5a8cd
Update gemfile.lock & fix iframe specs
pascalwengerter Nov 18, 2019
5b30413
Merge pull request #297 from basemate/add_samp_component
pascalwengerter Nov 18, 2019
e504388
Merge pull request #299 from basemate/add_wbr_tag
pascalwengerter Nov 18, 2019
39b3598
Merge pull request #296 from basemate/update_Gemfile
pascalwengerter Nov 18, 2019
444f59e
Merge pull request #298 from basemate/add_data_component
pascalwengerter Nov 18, 2019
2ab910c
Merge branch 'master' of github.com:basemate/matestack-ui-core into i…
cameronnorman Nov 19, 2019
130ecd4
Merge branch 'develop' of github.com:basemate/matestack-ui-core into …
cameronnorman Nov 19, 2019
895094f
pulled develop and made small changes
cameronnorman Nov 19, 2019
395bd17
fixes spec
cameronnorman Nov 19, 2019
3ae4dac
Merge pull request #225 from basemate/issue-183
pascalwengerter Nov 19, 2019
dd569c3
merge develop
pascalwengerter Nov 20, 2019
2f93545
add spec for required attribute
pascalwengerter Nov 20, 2019
feb02c6
Merge pull request #301 from basemate/add_bdo_component
pascalwengerter Nov 20, 2019
71a4001
add picture matestack core component
marcoroth Nov 22, 2019
1bb4424
add option matestack core component
marcoroth Nov 23, 2019
6b740b0
add optgroup matestack core component
marcoroth Nov 23, 2019
59c38cb
Merge pull request #305 from marcoroth/picture_tag
pascalwengerter Nov 29, 2019
5f05bcc
Merge branch 'master' into develop
pascalwengerter Dec 1, 2019
9721614
Merge pull request #307 from marcoroth/optgroup_tag
pascalwengerter Dec 4, 2019
ccd5347
Bump puma from 3.12.0 to 4.3.1
dependabot[bot] Dec 6, 2019
f10e78b
Merge pull request #311 from basemate/dependabot/bundler/puma-4.3.1
pascalwengerter Dec 10, 2019
0939019
Fix RSpec spelling
PragTob Dec 11, 2019
eb2f360
Merge pull request #312 from PragTob/patch-1
pascalwengerter Dec 11, 2019
4c473d4
Refer to `p` for what it is (a Kernel method not a keyword)
PragTob Dec 11, 2019
010d66a
adding `pry`, `pry-rails`, and `pry-byebug` gems.
fiedl Dec 15, 2019
8d77734
adding spec for https://github.com/basemate/matestack-ui-core/issues/304
fiedl Dec 15, 2019
cb5a9c7
Form component: Reset form only on post requests.
fiedl Dec 15, 2019
8a34a1f
Merge pull request #313 from PragTob/fix-p-note
pascalwengerter Dec 16, 2019
9647d75
Fix broken link by changing filename
pascalwengerter Dec 16, 2019
1653b95
adding specs for action confirm option https://github.com/basemate/ma…
fiedl Dec 17, 2019
a9b9a03
implementing confirm option for action component
fiedl Dec 17, 2019
616a940
fixing routes issue in new spec
fiedl Dec 17, 2019
14d89f9
removing "Example 7" description from spec
fiedl Dec 17, 2019
3e3a6c4
adding documentation for action confirm option
fiedl Dec 17, 2019
7014479
adding spec for `follow_response` option for `action` component
fiedl Dec 18, 2019
1448f30
implementing `follow_response` option for `action` component
fiedl Dec 18, 2019
782b5dc
Adding spec for `follow_response` with `redirect_to`
fiedl Dec 19, 2019
59eb32b
implementing `follow_response` support for `redirect_to` (action comp…
fiedl Dec 19, 2019
ca12ec1
documenting `follow_response` option for `action` component
fiedl Dec 20, 2019
201122e
adding specs for implicit page rendering for `index` and `show` actions
fiedl Dec 21, 2019
9ca6489
adding spec for implicit rendering of custom actions
fiedl Dec 21, 2019
60944a3
trying to make circleci pickup the new specs
fiedl Dec 21, 2019
0cd4212
implement rendering of custom controller actions
fiedl Dec 21, 2019
92fff91
Merge pull request #234 from Manukam/add-u-tag
pascalwengerter Dec 28, 2019
82cace1
Fix minor things in <u> documentation
pascalwengerter Dec 28, 2019
be97ce9
Merge pull request #235 from Manukam/add-dfn-tag
pascalwengerter Dec 28, 2019
3adc626
Merge branch 'develop' of github.com:basemate/matestack-ui-core into …
pascalwengerter Dec 28, 2019
4d7ff18
Fix minor things in <dfn> documentation, add <u> & <dfn> to docs/comp…
pascalwengerter Dec 28, 2019
585a9b4
Update gemfile
pascalwengerter Dec 28, 2019
2a65a49
Add dialog component, add missing line in core component generator
pascalwengerter Dec 28, 2019
547ee34
add missing 'open' option to docs&test
pascalwengerter Dec 28, 2019
6c3c9aa
add template tag to core components
pascalwengerter Dec 28, 2019
89e7d75
Merge pull request #318 from basemate/add_dialog_component
pascalwengerter Jan 1, 2020
b58de2e
Merge pull request #317 from basemate/sf/action-follow-response-issue…
jonasjabari Jan 3, 2020
467ea2f
WIP saving status quo
jonasjabari Jan 3, 2020
b438fda
Merge branch 'develop' into sf/action-confirm-option-issue-257
jonasjabari Jan 3, 2020
8938cf6
Merge pull request #315 from basemate/sf/action-confirm-option-issue-257
jonasjabari Jan 3, 2020
d8f5317
improve description of test output
pascalwengerter Jan 8, 2020
ce64ce9
Merge branch 'develop' into add_template_component
pascalwengerter Jan 8, 2020
c1eed0d
fix documentation headlines
pascalwengerter Jan 8, 2020
5de1765
Change spelling of behaviour to behavior
pascalwengerter Jan 9, 2020
0f1f4bb
default_render: default to uniform naming scheme
fiedl Jan 11, 2020
bcbfd39
default_render: fix documentation text
fiedl Jan 11, 2020
a7d9014
make form reset on success configurable
fiedl Jan 12, 2020
a27e07f
Upgrade bundler to the 2.x line
PragTob Jan 27, 2020
b98361f
let circle get the newest bundler
PragTob Jan 27, 2020
ce97453
Merge pull request #320 from matestack/fix_spelling_errors
pascalwengerter Jan 27, 2020
f35db51
Ignore coverage folder to avoide senseless changes
PragTob Jan 27, 2020
64db703
Poltergeist isn't needed anymore
PragTob Jan 27, 2020
4e39921
Upgrade simplecov
PragTob Jan 28, 2020
a807d87
enable branch coverage
PragTob Jan 28, 2020
5b4c421
Custom SimpleCov configuration
PragTob Jan 28, 2020
22f925d
Use released simplecov version
PragTob Jan 28, 2020
736de7a
Merge pull request #302 from matestack/action-view-interoperability
jonasjabari Jan 29, 2020
cc4500a
Merge pull request #319 from matestack/add_template_component
jonasjabari Jan 29, 2020
04f577e
Merge pull request #323 from matestack/upgrade-bundler
jonasjabari Jan 29, 2020
e8adebd
Merge pull request #335 from matestack/ignore-coverage-folder
jonasjabari Jan 29, 2020
f4ec00c
Merge pull request #341 from matestack/remove-poltergeist
jonasjabari Jan 29, 2020
8cd6fc1
Merge pull request #344 from matestack/upgrade-simplecov
jonasjabari Jan 29, 2020
6ac52be
Updating webpacker from 3.5 to 4
fiedl Feb 1, 2020
f2842ad
define app/javascrtip/packs/material-ui-core.js as entry point.
fiedl Feb 1, 2020
a8b5296
using relative paths for js imports within matestack-ui-core
fiedl Feb 1, 2020
82d9238
Exposing js modules via link-module-alias
fiedl Feb 1, 2020
75b8434
Exposing js modules via package.json exports
fiedl Feb 1, 2020
a0d59a6
configure webpack to create a development and a production version of…
fiedl Feb 1, 2020
7d07144
Provide rake tasks to build the js dist packs
fiedl Feb 1, 2020
ad90a62
Adding automated switch for the development and production dist packa…
fiedl Feb 1, 2020
80e54a8
Declare dummy app assets (required by sprockets 4)
fiedl Feb 2, 2020
20a9102
expose MatestackUiCore to the global js namespace
fiedl Feb 2, 2020
d5bfe0a
re-create builder app
fiedl Feb 2, 2020
d9c2f83
configure new builder app to use the input and output directories for…
fiedl Feb 2, 2020
f0383de
configure webpacker builder to extract css into separate file
fiedl Feb 2, 2020
bb190e8
configure webpacker builder app to use output filenames without digests
fiedl Feb 2, 2020
0331816
include matestack-ui-core css in dummy app
fiedl Feb 2, 2020
b57d33a
adding auto switch for production vs development environment for mate…
fiedl Feb 2, 2020
cdc55b1
switching index file from css to scss, remove test css
fiedl Feb 2, 2020
08f60eb
rake webpack: wrap execution in clean env.
fiedl Feb 2, 2020
b7386aa
commit recompiled js [no changes]
fiedl Feb 2, 2020
e96915c
Fix basic XSS vector, check with more of them
PragTob Feb 4, 2020
aa9e194
some more specs
PragTob Feb 4, 2020
f03051d
Implement Rawhtml component
PragTob Feb 4, 2020
5c61571
Explicitly define html_escape
PragTob Feb 4, 2020
c667ee9
Initial working spec(s)
PragTob Feb 5, 2020
a265581
axios was not used here
PragTob Feb 5, 2020
ab399ea
Fix link navigation reloading & causing trouble
PragTob Feb 5, 2020
6a5003d
Test link navigation intact and some beautifications
PragTob Feb 5, 2020
6ce1f1e
Merge branch 'develop' into dockerized_core_dev
jonasjabari Feb 5, 2020
fa1f6db
WIP: updated ruby, alpine and bundler version in docker dev and test …
jonasjabari Feb 5, 2020
134e017
updated dummy app webpacker due to node-sass build errors
jonasjabari Feb 5, 2020
42391c1
Merge pull request #367 from matestack/sf/webpack
jonasjabari Feb 5, 2020
2da40ad
Merge branch 'develop' into fix-4-anchor-link
jonasjabari Feb 5, 2020
92a7a30
Merge branch 'fix-4-anchor-link' into develop
jonasjabari Feb 5, 2020
44cd31e
Merge branch 'develop' into dockerized_core_dev
jonasjabari Feb 6, 2020
420ce0c
upgraded builder app to ruby 2.7.0
jonasjabari Feb 6, 2020
dc8b6d2
downgraded to ruby 2.6.5 and alpine3.9 due to headless chrome errors
jonasjabari Feb 6, 2020
38941c0
added rspec-retry in order to resolve flaky specs
jonasjabari Feb 7, 2020
77a430b
added rspec-retry in order to resolve flaky specs
jonasjabari Feb 7, 2020
6ef1821
fixed html expectations due to xhtml rendering within dockerized head…
jonasjabari Feb 7, 2020
9fd717f
fixed typo
jonasjabari Feb 7, 2020
821b601
just render runtime exceptions instead of throwing exceptions in test…
jonasjabari Feb 7, 2020
65d3d05
deactivated generator tests as they are failing and causing issues th…
jonasjabari Feb 7, 2020
13c3520
moved renderer spec in order to streamline spec workflow. rethinking …
jonasjabari Feb 7, 2020
b553ff5
first try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
226a3f6
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
4a7cd0c
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
e41d6f9
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
761b620
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
6c626a7
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
64e1f30
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
2ffc738
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
eaceb2b
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
7bb2f56
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
1e95129
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
cd8553e
try to run dockerized test suite on circle ci
jonasjabari Feb 7, 2020
e33088d
switch to github workflows for ci testing
jonasjabari Feb 7, 2020
6671dcb
make async specs repeatable through checking if routes exist
jonasjabari Feb 7, 2020
f42b200
increase retry for flaky tests and added rspec wait gem
jonasjabari Feb 7, 2020
a29878a
changed order of expectation
jonasjabari Feb 7, 2020
50c2ee7
renamed workflow and added svg badge to readme
jonasjabari Feb 7, 2020
02c7192
prepare js polyfills
fiedl Feb 9, 2020
183ce15
Configure babel to include our js files for es5 transpiling
fiedl Feb 9, 2020
a492352
rake webpack: fixing deprecation issue
fiedl Feb 9, 2020
adbb22b
webpack: adding documentation
fiedl Feb 10, 2020
1ce7685
webpack: adding high-level integration test to make sure webpack inte…
fiedl Feb 10, 2020
f42974e
Merge pull request #368 from matestack/dockerized_core_dev
jonasjabari Feb 10, 2020
4e29945
Merge branch 'develop' into sf/fix-form-reset-on-update-issue-304
jonasjabari Feb 10, 2020
9713cc1
added general form params docs and form reset param docs
jonasjabari Feb 10, 2020
c61dfa9
updated rails dependency definition in order not to resolve to rails …
jonasjabari Feb 10, 2020
941cc3c
quick fixed specs
jonasjabari Feb 10, 2020
2337d87
Merge pull request #314 from matestack/sf/fix-form-reset-on-update-is…
jonasjabari Feb 10, 2020
72c903c
Merge branch 'develop' into sf/es5-javascript
jonasjabari Feb 10, 2020
0b65c13
Merge pull request #369 from matestack/sf/es5-javascript
jonasjabari Feb 10, 2020
e01cffb
Merge pull request #370 from matestack/sf/webpacker-part-2
jonasjabari Feb 10, 2020
e4df711
Merge remote-tracking branch 'origin/cells-haml-love' into prepare_0.…
jonasjabari Feb 10, 2020
14a74ae
added release note for 0.7.4
jonasjabari Feb 10, 2020
0e9aad7
webpack: updating release documentation
fiedl Feb 10, 2020
b1e4be1
Merge pull request #371 from matestack/sf/webpack-release-documentation
jonasjabari Feb 10, 2020
8f15972
renamed raw component
jonasjabari Feb 10, 2020
8e744c1
Merge branch 'develop' into prepare_0.7.4_release
jonasjabari Feb 10, 2020
7ffbec6
version bump js assets
jonasjabari Feb 10, 2020
a6699b2
Bump matestack-ui-core to 0.7.4
jonasjabari Feb 10, 2020
795b94a
Merge branch 'master' into prepare_0.7.4_release
jonasjabari Feb 10, 2020
915daf3
Merge pull request #372 from matestack/prepare_0.7.4_release
jonasjabari Feb 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 0 additions & 66 deletions .circleci/config.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<!-- This is a template only, remove/add sections below as appropriate (e.g. for a new feature, there might be no 'current behaviour'.) -->
<!-- This is a template only, remove/add sections below as appropriate (e.g. for a new feature, there might be no 'current behavior'.) -->

<!-- First indicate whether you want to request an ENHANCEMENT or report a BUG by using the correct Github label in the side panel* -->

**What is the current behaviour?**
**What is the current behavior?**

<!-- add current behaviour here -->
<!-- add current behavior here -->

**If the current behaviour is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug might get fixed faster if we can run your code and it doesn't have extra dependencies. Add a link to a sample repo and/or any relevant code below:**
**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug might get fixed faster if we can run your code and it doesn't have extra dependencies. Add a link to a sample repo and/or any relevant code below:**

<!-- add additional links/info here -->

**What is the expected behaviour?**
**What is the expected behavior?**

<!-- add expected behaviour here -->
<!-- add expected behavior here -->

**Which versions of Matestack, and which browser/OS are affected by this issue? Did this work in previous versions of Matestack?**

Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/dockerpush.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: specs

on: [push]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Run tests
run: |
docker-compose run --rm test bundle exec rake db:schema:load
docker-compose run --rm test bundle exec rspec spec/usage
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ spec/dummy/db/*.sqlite3
spec/dummy/db/*.sqlite3-journal
spec/dummy/log/*.log
spec/dummy/node_modules/
spec/dummy/public/packs/
spec/dummy/yarn-error.log
spec/dummy/storage/
spec/dummy/tmp/
Expand All @@ -18,3 +19,5 @@ builder/storage/
builder/tmp/
builder/public/packs
.idea/

/coverage
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.1
61 changes: 60 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,64 @@
# Changelog

## v0.7.4

[Merged PRs](https://github.com/basemate/matestack-ui-core/pulls?q=is%3Apr+is%3Aclosed+milestone%3A0.7.4)

[Solved Issues](https://github.com/basemate/matestack-ui-core/issues?q=is%3Aissue+is%3Aclosed+milestone%3A0.7.4)

### Improvements

* On form submit, matestack form values are reset to previous values by fiedl
--> The form component now does not reset itself when using `put`
--> The reset behavior can now be configured (described in `form` component docs)

* Dockerized core dev and test environment by jonasjabari
--> easy local dev and test setup, cross-platform default for dev and testing
--> CI is configured to run tests via dockerized test suite; same as local testing and good base for matrix testing (upcoming)
--> Usage described in contribution docs

* Add `follow_response` option to action component by fiedl
--> same behavior enhancement as added to the `form` component in 0.7.3
--> server may now decide where the transition should navigate to
--> described in `action` component docs

* Add confirm option to action component by fiedl
--> easily add confirmation before performing an action
--> prevent unintended delete action for example
--> described in `action` component docs

* New webpacker features by fiedl
* make webpacker create es5 code instead of es6 code
* Switch to Vue Production Mode if RAILS_ENV=staging or production
* Establish webpack(er) and asset-pipeline workflows

--> webpacker now builds assets for asset pipline usage AND webpacker usage (both usage approaches are described in the installation docs)
--> webpacker now builds minified versions of matestack-ui-core.js (great improvement in file size!)
--> webpacker now builds es5 code, which is compatible with IE11
--> when used via asset pipeline, the minified version of matestack-ui-core together with the production build of vue.js is automatically required
--> when used via webpacker, matestack-ui-core can be used within a modern javascript workflow, importing and extending single matestack module for example

* New components
* Add HTML `<picture>` tag to core components by pascalwengerter
* Add HTML `<option>` tag to core components by pascalwengerter
* Add HTML `<optgroup>` tag to core components by pascalwengerter
* Add HTML `<iframe>` tag to core components by pascalwengerter
* Add HTML `<dfn>` tag to core components by pascalwengerter
* Add HTML `<del>` tag to core components by pascalwengerter
* Add HTML `<data>` tag to core components by pascalwengerter
* Add HTML `<bdo>` tag to core components by pascalwengerter
* Add HTML `<bdi>` tag to core components by pascalwengerter
* Add HTML `<wbr>` tag to core components by pascalwengerter
* Add HTML `<samp>` tag to core components by pascalwengerter
* Add HTML `<u>` tag to core components by pascalwengerter
* Add HTML `<template>` tag to core components by pascalwengerter


### Bugfixes

* Anchor Link Click triggers full page transition by PragTob


## v0.7.3

[Merged PRs](https://github.com/basemate/matestack-ui-core/pulls?q=is%3Apr+is%3Aclosed+milestone%3A0.7.3)
Expand Down Expand Up @@ -53,7 +112,7 @@ none

### Bugfixes

* Unexpected behaviour when creating a record in progress by jonasjabari
* Unexpected behavior when creating a record in progress by jonasjabari
* couldn't find file 'matestack_ui_core_manifest.js' on dummy app by jonasjabari
* Add For Attribute to Stand Alone Label Component by bdlb77
* Form component doesn't work on component-level by jonasjabari
Expand Down
17 changes: 17 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM ruby:2.6.5-alpine3.9

RUN gem install bundler:2.1.4

RUN apk update --no-cache && \
apk add build-base git nodejs yarn tzdata bash sqlite-dev && \
mkdir -p /app

WORKDIR /app

COPY ./lib/ /app/lib/
COPY matestack-ui-core.gemspec /app/
COPY Gemfile* /app/
RUN bundle install

COPY package.json yarn* /app/
RUN yarn install
33 changes: 33 additions & 0 deletions Dockerfile.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
FROM ruby:2.6.5-alpine3.9

RUN gem install bundler:2.1.4

RUN apk update --no-cache && \
apk add build-base git nodejs yarn tzdata bash sqlite-dev && \
mkdir -p /app

WORKDIR /app

COPY ./lib/ /app/lib/
COPY matestack-ui-core.gemspec /app/
COPY Gemfile* /app/
RUN bundle install

COPY package.json yarn* /app/
RUN yarn install

RUN apk update && apk upgrade \
&& echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \
&& echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories \
&& apk add --no-cache \
chromium@edge=72.0.3626.121-r0 \
nss@edge \
&& rm -rf /var/lib/apt/lists/* \
/var/cache/apk/* \
/usr/share/man \
/tmp/*

RUN apk add chromium-chromedriver@edge=72.0.3626.121-r0

ENV CHROME_BIN=/usr/bin/chromium-browser \
CHROME_PATH=/usr/lib/chromium/
15 changes: 7 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ gemspec
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.

# To use a debugger
# gem 'byebug', group: [:development, :test]
# gem 'pry-byebug', group: [:development, :test]

gem "trailblazer"
gem "trailblazer-rails"
gem "trailblazer-cells"
Expand All @@ -24,17 +20,20 @@ gem "cells-haml"
group :development, :test do
gem 'rspec-rails', '~> 3.8'
gem 'capybara'
gem 'webpacker', '~> 3.5'
gem 'webpacker', '~> 4.0'
gem 'sqlite3', '~> 1.3.13'
gem 'selenium-webdriver'
gem 'poltergeist'
gem 'selenium-webdriver', '~> 3.142', '>= 3.142.7'
gem 'puma'
gem 'simplecov', require: false, group: :test
gem 'byebug'
gem 'pry-byebug'
gem 'webmock'
gem 'webdrivers', '~> 4.1'
gem 'pry-rails'
gem 'pry-byebug'
end

group :test do
gem "generator_spec"
gem "rspec-retry" # repeating flaky tests
gem "rspec-wait", "~> 0.0.9"
end
Loading