Skip to content

Commit bf3b16c

Browse files
committed
gemified bootstrap components
1 parent 28b7a63 commit bf3b16c

File tree

278 files changed

+816052
-2445
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

278 files changed

+816052
-2445
lines changed

.dockerignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
node_modules/
2+
spec/dummy/db/*.sqlite3
3+
spec/dummy/db/*.sqlite3-journal
4+
spec/dummy/log/*.log
5+
spec/dummy/node_modules/
6+
spec/dummy/public/packs/
7+
spec/dummy/public/packs-test/
8+
spec/dummy/yarn-error.log
9+
spec/dummy/storage/
10+
spec/dummy/tmp/
11+
builder/db/*.sqlite3
12+
builder/db/*.sqlite3-journal
13+
builder/log/*.log
14+
builder/node_modules/
15+
builder/yarn-error.log
16+
builder/storage/
17+
builder/tmp/
18+
builder/public/packs
19+
.idea/
20+
.vscode
21+
.byebug_history
22+
23+
/coverage

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@
3939
/yarn-error.log
4040
yarn-debug.log*
4141
.yarn-integrity
42+
43+
/spec/dummy/node_modules
44+
/spec/dummy/tmp
45+
/spec/dummy/public

.ruby-version

-1
This file was deleted.

Dockerfile.dev

+17-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
FROM registry.gitlab.com/basemate-ops/workflow/dev:latest
1+
FROM ruby:2.7.2-alpine3.12
2+
3+
RUN gem install bundler:2.1.4
4+
5+
RUN apk update --no-cache && \
6+
apk add build-base postgresql-dev git nodejs yarn tzdata bash sqlite-dev npm && \
7+
mkdir -p /app
8+
9+
WORKDIR /app
10+
11+
COPY ./lib/ /app/lib/
12+
COPY matestack-ui-bootstrap.gemspec /app/
13+
COPY Gemfile* /app/
14+
RUN bundle install
15+
16+
COPY package.json* /app/
17+
RUN npm install

Gemfile

+27-53
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,45 @@
11
source 'https://rubygems.org'
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

4-
ruby '2.6.5'
5-
6-
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7-
gem 'rails', '~> 6.0.3', '>= 6.0.3.2'
8-
# Use postgres as the database for Active Record
9-
gem 'pg'
10-
# Use Puma as the app server
11-
gem 'puma', '~> 4.1'
12-
# Use SCSS for stylesheets
13-
gem 'sass-rails', '>= 6'
14-
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
15-
gem 'webpacker', '~> 4.0'
16-
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
17-
# gem 'turbolinks', '~> 5'
18-
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
19-
gem 'jbuilder', '~> 2.7'
20-
# Use Redis adapter to run Action Cable in production
21-
gem 'redis', '~> 4.0'
22-
# Use Active Model has_secure_password
23-
# gem 'bcrypt', '~> 3.1.7'
24-
25-
# Use Active Storage variant
26-
# gem 'image_processing', '~> 1.2'
27-
# gem 'matestack-ui-core', :git => 'https://github.com/matestack/matestack-ui-core.git', :branch => 'next-release'
28-
29-
gem 'matestack-ui-core', '~> 1.4'
30-
# gem 'matestack-ui-core', :git => 'https://github.com/matestack/matestack-ui-core.git', :branch => 'next_release'
31-
32-
334
# For dummy application
345
gem 'devise'
356
gem 'faker'
367
gem 'paper_trail'
378
gem 'redcarpet' # for markdown usage
389
gem 'rouge' # for syntax highlighting
3910

40-
# Reduces boot times through caching; required in config/boot.rb
41-
gem 'bootsnap', '>= 1.4.2', require: false
11+
gem 'bootsnap', require: false
12+
gem "trailblazer-cells"
13+
gem "cells-rails"
14+
gem "cells-haml"
4215

43-
group :development, :test do
44-
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
45-
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
46-
end
16+
# Declare your gem's dependencies in matestack-ui-material.gemspec.
17+
# Bundler will treat runtime dependencies like base dependencies, and
18+
# development dependencies will be added by default to the :development group.
19+
gemspec
4720

48-
group :development do
49-
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
50-
gem 'web-console', '>= 3.3.0'
51-
gem 'listen', '~> 3.2'
52-
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
53-
gem 'spring'
54-
gem 'spring-watcher-listen', '~> 2.0.0'
55-
gem 'rspec-rails', '~> 4.0.1'
21+
# Declare any dependencies that are still in development here instead of in
22+
# your gemspec. These might include edge Rails or gems from your path or
23+
# Git. Remember to move these dependencies to your gemspec before releasing
24+
# your gem to rubygems.org.
25+
26+
group :development, :test do
27+
gem 'rspec-rails', '~> 3.8'
28+
gem 'capybara'
29+
gem 'webpacker', '~> 5.0'
30+
gem 'pg', '>= 0.18', '< 2.0'
31+
gem 'selenium-webdriver'
32+
gem 'puma'
33+
gem 'simplecov', require: false, group: :test
5634
gem 'byebug'
57-
gem 'pry-rails'
58-
gem 'pry-byebug'
35+
gem 'webmock'
36+
gem 'turbolinks'
5937
end
6038

6139
group :test do
62-
# Adds support for Capybara system testing and selenium driver
63-
gem 'capybara', '>= 2.15'
64-
# gem 'selenium-webdriver'
65-
# Easy installation and use of web drivers to run system tests with browsers
66-
gem 'webdrivers'
40+
gem 'pry-rails'
41+
gem 'pry-byebug'
6742
gem "generator_spec"
43+
gem "rspec-retry" # repeating flaky tests
44+
gem "rspec-wait", "~> 0.0.9"
6845
end
69-
70-
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
71-
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

0 commit comments

Comments
 (0)