Skip to content

Commit 55db0c0

Browse files
committed
added auto unmount to observables
1 parent 113f25e commit 55db0c0

File tree

94 files changed

+1923
-82
lines changed

Some content is hidden

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

94 files changed

+1923
-82
lines changed

.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
AllCops:
2+
TargetRubyVersion: 2.3
23
Exclude:
34
- 'db/schema.rb'
45
- 'db/seeds.rb'

ruby/examples/docs/home-page/app/views/layouts/application.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>SmokeTest</title>
4+
<title>Doc Home Page Examples</title>
55
<%= csrf_meta_tags %>
66
<%= csp_meta_tag %>
77

ruby/examples/docs/home-page/config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# you've limited to :test, :development, or :production.
77
Bundler.require(*Rails.groups)
88

9-
module SmokeTest
9+
module HomePage
1010
class Application < Rails::Application
1111
# Initialize configuration defaults for originally generated Rails version.
1212
config.load_defaults 5.2
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
*.rbc
2+
capybara-*.html
3+
.rspec
4+
/log
5+
/tmp
6+
/db/*.sqlite3
7+
/db/*.sqlite3-journal
8+
/public/system
9+
/coverage/
10+
/spec/tmp
11+
*.orig
12+
rerun.txt
13+
pickle-email-*.html
14+
15+
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
16+
config/initializers/secret_token.rb
17+
config/master.key
18+
19+
# Only include if you have production secrets in this file, which is no longer a Rails default
20+
# config/secrets.yml
21+
22+
# dotenv
23+
# TODO Comment out this rule if environment variables can be committed
24+
.env
25+
26+
## Environment normalization:
27+
/.bundle
28+
/vendor/bundle
29+
30+
# these should all be checked in to normalize the environment:
31+
# Gemfile.lock, .ruby-version, .ruby-gemset
32+
33+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
34+
.rvmrc
35+
36+
# if using bower-rails ignore default bower_components path bower.json files
37+
/vendor/assets/bower_components
38+
*.bowerrc
39+
bower.json
40+
41+
# Ignore pow environment settings
42+
.powenv
43+
44+
# Ignore Byebug command history file.
45+
.byebug_history
46+
47+
# Ignore node_modules
48+
node_modules/
49+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby-2.4.1
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
source 'https://rubygems.org'
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
ruby '2.4.1'
5+
6+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7+
gem 'rails', '~> 5.2.1'
8+
# Use sqlite3 as the database for Active Record
9+
gem 'sqlite3'
10+
# Use Puma as the app server
11+
gem 'puma', '~> 3.11'
12+
# Use SCSS for stylesheets
13+
gem 'sass-rails', '~> 5.0'
14+
# Use Uglifier as compressor for JavaScript assets
15+
gem 'uglifier', '>= 1.3.0'
16+
# See https://github.com/rails/execjs#readme for more supported runtimes
17+
# gem 'mini_racer', platforms: :ruby
18+
19+
# Use CoffeeScript for .coffee assets and views
20+
gem 'coffee-rails', '~> 4.2'
21+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
22+
gem 'turbolinks', '~> 5'
23+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24+
gem 'jbuilder', '~> 2.5'
25+
# Use Redis adapter to run Action Cable in production
26+
# gem 'redis', '~> 4.0'
27+
# Use ActiveModel has_secure_password
28+
# gem 'bcrypt', '~> 3.1.7'
29+
30+
# Use ActiveStorage variant
31+
# gem 'mini_magick', '~> 4.8'
32+
33+
# Use Capistrano for deployment
34+
# gem 'capistrano-rails', group: :development
35+
36+
# Reduces boot times through caching; required in config/boot.rb
37+
gem 'bootsnap', '>= 1.1.0', require: false
38+
#https://github.com/hyperstack-org/hyperstack/blob/edge/ruby/hyper-component/hyper-component.gemspec
39+
# gem 'hyper-component', github: 'hyperstack-org/hyperstack', branch: 'edge', glob: 'ruby/*/*.gemspec'
40+
# gem 'hyper-state', github: 'hyperstack-org/hyperstack', branch: 'edge', glob: 'ruby/*/*.gemspec'
41+
# gem 'hyperstack-config', github: 'hyperstack-org/hyperstack', branch: 'edge', glob: 'ruby/*/*.gemspec'
42+
gem 'hyper-component', path: '../../../hyper-component'
43+
gem 'hyper-state', path: '../../../hyper-state'
44+
gem 'hyperstack-config', path: '../../../hyperstack-config'
45+
gem 'hyper-spec', path: '../../../hyper-spec'
46+
# gem 'hyperloop'
47+
#gem 'hyper-operation'
48+
gem 'opal-rails' #, '~> 0.9.4'
49+
gem 'opal-activesupport'
50+
51+
52+
group :development, :test do
53+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
54+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
55+
end
56+
57+
group :development do
58+
#gem 'opal_hot_reloader', path: '../opal-hot-reloader' #github: 'hyperstack-org/opal-hot-reloader', branch: :hyperstack #github: 'hyperstack-org/opal-hot-reloader' github: 'hyperstack-org/opal-hot-reloader'
59+
gem 'foreman'
60+
gem 'pry'
61+
62+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
63+
gem 'web-console', '>= 3.3.0'
64+
gem 'listen', '>= 3.0.5', '< 3.2'
65+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
66+
gem 'spring'
67+
gem 'spring-watcher-listen', '~> 2.0.0'
68+
end
69+
70+
group :test do
71+
# Adds support for Capybara system testing and selenium driver
72+
gem 'capybara', '>= 2.15'
73+
gem 'selenium-webdriver'
74+
# Easy installation and use of chromedriver to run system tests with Chrome
75+
gem 'chromedriver-helper'
76+
gem 'rspec', '~> 3.7.0'
77+
gem 'rspec-rails'
78+
end
79+
80+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
81+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

0 commit comments

Comments
 (0)