optics_view_components 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/Gemfile +4 -2
- data/Gemfile.lock +187 -1
- data/README.md +11 -1
- data/Rakefile +3 -1
- data/app/components/optics/application_view_component.rb +117 -0
- data/app/components/optics/application_view_component_preview.rb +7 -0
- data/app/components/optics/button/component.rb +57 -0
- data/app/components/optics/button/preview.rb +34 -0
- data/app/components/optics/icon/component.rb +59 -0
- data/app/components/optics/icon/preview.rb +33 -0
- data/demo/.ruby-version +1 -0
- data/demo/Gemfile +20 -0
- data/demo/Gemfile.lock +194 -0
- data/demo/Procfile.dev +2 -0
- data/demo/README.md +24 -0
- data/demo/Rakefile +8 -0
- data/demo/app/assets/builds/.keep +0 -0
- data/demo/app/assets/config/manifest.js +3 -0
- data/demo/app/assets/images/.keep +0 -0
- data/demo/app/assets/stylesheets/application.sass.scss +2 -0
- data/demo/app/controllers/application_controller.rb +4 -0
- data/demo/app/controllers/concerns/.keep +0 -0
- data/demo/app/controllers/home_controller.rb +5 -0
- data/demo/app/helpers/application_helper.rb +4 -0
- data/demo/app/javascript/application.js +3 -0
- data/demo/app/javascript/controllers/application.js +9 -0
- data/demo/app/javascript/controllers/index.js +11 -0
- data/demo/app/views/home/index.html.erb +3 -0
- data/demo/app/views/layouts/application.html.erb +15 -0
- data/demo/bin/bundle +113 -0
- data/demo/bin/dev +8 -0
- data/demo/bin/importmap +5 -0
- data/demo/bin/rails +6 -0
- data/demo/bin/rake +6 -0
- data/demo/bin/setup +35 -0
- data/demo/config/application.rb +36 -0
- data/demo/config/boot.rb +6 -0
- data/demo/config/cable.yml +10 -0
- data/demo/config/credentials.yml.enc +1 -0
- data/demo/config/database.yml +25 -0
- data/demo/config/environment.rb +7 -0
- data/demo/config/environments/development.rb +63 -0
- data/demo/config/environments/production.rb +89 -0
- data/demo/config/environments/test.rb +59 -0
- data/demo/config/importmap.rb +9 -0
- data/demo/config/initializers/assets.rb +14 -0
- data/demo/config/initializers/content_security_policy.rb +26 -0
- data/demo/config/initializers/filter_parameter_logging.rb +10 -0
- data/demo/config/initializers/inflections.rb +17 -0
- data/demo/config/initializers/permissions_policy.rb +12 -0
- data/demo/config/locales/en.yml +33 -0
- data/demo/config/puma.rb +45 -0
- data/demo/config/routes.rb +8 -0
- data/demo/config/storage.yml +34 -0
- data/demo/config.ru +8 -0
- data/demo/lib/assets/.keep +0 -0
- data/demo/lib/tasks/.keep +0 -0
- data/demo/log/.keep +0 -0
- data/demo/package.json +9 -0
- data/demo/public/404.html +67 -0
- data/demo/public/422.html +67 -0
- data/demo/public/500.html +66 -0
- data/demo/public/favicon.ico +0 -0
- data/demo/yarn.lock +157 -0
- data/lib/optics/view_components/engine.rb +19 -0
- data/lib/optics/view_components/version.rb +1 -1
- data/lib/optics/view_components.rb +4 -2
- metadata +155 -4
data/demo/yarn.lock
ADDED
@@ -0,0 +1,157 @@
|
|
1
|
+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
2
|
+
# yarn lockfile v1
|
3
|
+
|
4
|
+
|
5
|
+
"@orchidjs/sifter@^1.0.3":
|
6
|
+
version "1.0.3"
|
7
|
+
resolved "https://registry.yarnpkg.com/@orchidjs/sifter/-/sifter-1.0.3.tgz#43f42519472282eb632d0a1589184f044d64129b"
|
8
|
+
integrity sha512-zCZbwKegHytfsPm8Amcfh7v/4vHqTAaOu6xFswBYcn8nznBOuseu6COB2ON7ez0tFV0mKL0nRNnCiZZA+lU9/g==
|
9
|
+
dependencies:
|
10
|
+
"@orchidjs/unicode-variants" "^1.0.4"
|
11
|
+
|
12
|
+
"@orchidjs/unicode-variants@^1.0.4":
|
13
|
+
version "1.0.4"
|
14
|
+
resolved "https://registry.yarnpkg.com/@orchidjs/unicode-variants/-/unicode-variants-1.0.4.tgz#6d2f812e3b19545bba2d81caffff1204de9a6a58"
|
15
|
+
integrity sha512-NvVBRnZNE+dugiXERFsET1JlKZfM5lJDEpSMilKW4bToYJ7pxf0Zne78xyXB2ny2c2aHfJ6WLnz1AaTNHAmQeQ==
|
16
|
+
|
17
|
+
"@rolemodel/optics@^0.3.1":
|
18
|
+
version "0.3.1"
|
19
|
+
resolved "https://registry.yarnpkg.com/@rolemodel/optics/-/optics-0.3.1.tgz#87a8f3733d8fc3e59d26f3c484e3a308cffd1f54"
|
20
|
+
integrity sha512-/bbYc63WH8Yp/PWJ8jew/O1mYqKYqTIw7ixWViEDt/XM4AG8WYZZV+WUvMBUrff5k8kM6M8ZZVLkmaDple8e/Q==
|
21
|
+
dependencies:
|
22
|
+
modern-css-reset "^1.4.0"
|
23
|
+
tom-select "^2.0.0"
|
24
|
+
|
25
|
+
anymatch@~3.1.2:
|
26
|
+
version "3.1.3"
|
27
|
+
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e"
|
28
|
+
integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==
|
29
|
+
dependencies:
|
30
|
+
normalize-path "^3.0.0"
|
31
|
+
picomatch "^2.0.4"
|
32
|
+
|
33
|
+
binary-extensions@^2.0.0:
|
34
|
+
version "2.2.0"
|
35
|
+
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"
|
36
|
+
integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==
|
37
|
+
|
38
|
+
braces@~3.0.2:
|
39
|
+
version "3.0.2"
|
40
|
+
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
|
41
|
+
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
|
42
|
+
dependencies:
|
43
|
+
fill-range "^7.0.1"
|
44
|
+
|
45
|
+
"chokidar@>=3.0.0 <4.0.0":
|
46
|
+
version "3.5.3"
|
47
|
+
resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd"
|
48
|
+
integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==
|
49
|
+
dependencies:
|
50
|
+
anymatch "~3.1.2"
|
51
|
+
braces "~3.0.2"
|
52
|
+
glob-parent "~5.1.2"
|
53
|
+
is-binary-path "~2.1.0"
|
54
|
+
is-glob "~4.0.1"
|
55
|
+
normalize-path "~3.0.0"
|
56
|
+
readdirp "~3.6.0"
|
57
|
+
optionalDependencies:
|
58
|
+
fsevents "~2.3.2"
|
59
|
+
|
60
|
+
fill-range@^7.0.1:
|
61
|
+
version "7.0.1"
|
62
|
+
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
|
63
|
+
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
|
64
|
+
dependencies:
|
65
|
+
to-regex-range "^5.0.1"
|
66
|
+
|
67
|
+
fsevents@~2.3.2:
|
68
|
+
version "2.3.2"
|
69
|
+
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
|
70
|
+
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
|
71
|
+
|
72
|
+
glob-parent@~5.1.2:
|
73
|
+
version "5.1.2"
|
74
|
+
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
|
75
|
+
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
|
76
|
+
dependencies:
|
77
|
+
is-glob "^4.0.1"
|
78
|
+
|
79
|
+
immutable@^4.0.0:
|
80
|
+
version "4.3.0"
|
81
|
+
resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.3.0.tgz#eb1738f14ffb39fd068b1dbe1296117484dd34be"
|
82
|
+
integrity sha512-0AOCmOip+xgJwEVTQj1EfiDDOkPmuyllDuTuEX+DDXUgapLAsBIfkg3sxCYyCEA8mQqZrrxPUGjcOQ2JS3WLkg==
|
83
|
+
|
84
|
+
is-binary-path@~2.1.0:
|
85
|
+
version "2.1.0"
|
86
|
+
resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"
|
87
|
+
integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==
|
88
|
+
dependencies:
|
89
|
+
binary-extensions "^2.0.0"
|
90
|
+
|
91
|
+
is-extglob@^2.1.1:
|
92
|
+
version "2.1.1"
|
93
|
+
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
94
|
+
integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==
|
95
|
+
|
96
|
+
is-glob@^4.0.1, is-glob@~4.0.1:
|
97
|
+
version "4.0.3"
|
98
|
+
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
|
99
|
+
integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
|
100
|
+
dependencies:
|
101
|
+
is-extglob "^2.1.1"
|
102
|
+
|
103
|
+
is-number@^7.0.0:
|
104
|
+
version "7.0.0"
|
105
|
+
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
|
106
|
+
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
|
107
|
+
|
108
|
+
modern-css-reset@^1.4.0:
|
109
|
+
version "1.4.0"
|
110
|
+
resolved "https://registry.yarnpkg.com/modern-css-reset/-/modern-css-reset-1.4.0.tgz#5bee4d11eeca2ff19b882c6e8f1769773e792d04"
|
111
|
+
integrity sha512-0crZmSFmrxkI7159rvQWjpDhy0u4+Awg/iOycJdlVn0RSeft/a+6BrQHR3IqvmdK25sqt0o6Z5Ap7cWgUee2rw==
|
112
|
+
|
113
|
+
normalize-path@^3.0.0, normalize-path@~3.0.0:
|
114
|
+
version "3.0.0"
|
115
|
+
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
|
116
|
+
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
|
117
|
+
|
118
|
+
picomatch@^2.0.4, picomatch@^2.2.1:
|
119
|
+
version "2.3.1"
|
120
|
+
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
|
121
|
+
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
|
122
|
+
|
123
|
+
readdirp@~3.6.0:
|
124
|
+
version "3.6.0"
|
125
|
+
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
|
126
|
+
integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==
|
127
|
+
dependencies:
|
128
|
+
picomatch "^2.2.1"
|
129
|
+
|
130
|
+
sass@^1.62.1:
|
131
|
+
version "1.62.1"
|
132
|
+
resolved "https://registry.yarnpkg.com/sass/-/sass-1.62.1.tgz#caa8d6bf098935bc92fc73fa169fb3790cacd029"
|
133
|
+
integrity sha512-NHpxIzN29MXvWiuswfc1W3I0N8SXBd8UR26WntmDlRYf0bSADnwnOjsyMZ3lMezSlArD33Vs3YFhp7dWvL770A==
|
134
|
+
dependencies:
|
135
|
+
chokidar ">=3.0.0 <4.0.0"
|
136
|
+
immutable "^4.0.0"
|
137
|
+
source-map-js ">=0.6.2 <2.0.0"
|
138
|
+
|
139
|
+
"source-map-js@>=0.6.2 <2.0.0":
|
140
|
+
version "1.0.2"
|
141
|
+
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
|
142
|
+
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
|
143
|
+
|
144
|
+
to-regex-range@^5.0.1:
|
145
|
+
version "5.0.1"
|
146
|
+
resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"
|
147
|
+
integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==
|
148
|
+
dependencies:
|
149
|
+
is-number "^7.0.0"
|
150
|
+
|
151
|
+
tom-select@^2.0.0:
|
152
|
+
version "2.2.2"
|
153
|
+
resolved "https://registry.yarnpkg.com/tom-select/-/tom-select-2.2.2.tgz#8e5f9296e6d80254feccb57f0986bd6c44d126e2"
|
154
|
+
integrity sha512-igGah1yY6yhrnN2h/Ky8I5muw/nE/YQxIsEZoYu5qaA4bsRibvKto3s8QZZosKpOd0uO8fNYhRfAwgHB4IAYew==
|
155
|
+
dependencies:
|
156
|
+
"@orchidjs/sifter" "^1.0.3"
|
157
|
+
"@orchidjs/unicode-variants" "^1.0.4"
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'rails/engine'
|
4
|
+
|
5
|
+
module Optics
|
6
|
+
module ViewComponents
|
7
|
+
class Engine < ::Rails::Engine
|
8
|
+
isolate_namespace Optics::ViewComponents
|
9
|
+
|
10
|
+
config.autoload_paths = %W[
|
11
|
+
#{root}/lib
|
12
|
+
]
|
13
|
+
|
14
|
+
config.eager_load_paths = %W[
|
15
|
+
#{root}/app/components
|
16
|
+
]
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -1,10 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require_relative 'view_components/version'
|
4
|
+
require_relative 'view_components/engine'
|
4
5
|
|
5
6
|
module Optics
|
6
7
|
module ViewComponents
|
7
|
-
|
8
|
-
|
8
|
+
def self.root
|
9
|
+
Pathname(File.expand_path(File.join('..', '..'), __dir__))
|
10
|
+
end
|
9
11
|
end
|
10
12
|
end
|
metadata
CHANGED
@@ -1,15 +1,105 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: optics_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reed Law
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
12
|
-
dependencies:
|
11
|
+
date: 2023-05-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: view_component
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4.0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.0'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: capybara
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: pry
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rspec-rails
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: sprockets
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: sprockets-rails
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
13
103
|
description:
|
14
104
|
email:
|
15
105
|
- reed.law@rolemodelsoftware.com
|
@@ -25,7 +115,68 @@ files:
|
|
25
115
|
- LICENSE.txt
|
26
116
|
- README.md
|
27
117
|
- Rakefile
|
118
|
+
- app/components/optics/application_view_component.rb
|
119
|
+
- app/components/optics/application_view_component_preview.rb
|
120
|
+
- app/components/optics/button/component.rb
|
121
|
+
- app/components/optics/button/preview.rb
|
122
|
+
- app/components/optics/icon/component.rb
|
123
|
+
- app/components/optics/icon/preview.rb
|
124
|
+
- demo/.ruby-version
|
125
|
+
- demo/Gemfile
|
126
|
+
- demo/Gemfile.lock
|
127
|
+
- demo/Procfile.dev
|
128
|
+
- demo/README.md
|
129
|
+
- demo/Rakefile
|
130
|
+
- demo/app/assets/builds/.keep
|
131
|
+
- demo/app/assets/config/manifest.js
|
132
|
+
- demo/app/assets/images/.keep
|
133
|
+
- demo/app/assets/stylesheets/application.sass.scss
|
134
|
+
- demo/app/controllers/application_controller.rb
|
135
|
+
- demo/app/controllers/concerns/.keep
|
136
|
+
- demo/app/controllers/home_controller.rb
|
137
|
+
- demo/app/helpers/application_helper.rb
|
138
|
+
- demo/app/javascript/application.js
|
139
|
+
- demo/app/javascript/controllers/application.js
|
140
|
+
- demo/app/javascript/controllers/index.js
|
141
|
+
- demo/app/views/home/index.html.erb
|
142
|
+
- demo/app/views/layouts/application.html.erb
|
143
|
+
- demo/bin/bundle
|
144
|
+
- demo/bin/dev
|
145
|
+
- demo/bin/importmap
|
146
|
+
- demo/bin/rails
|
147
|
+
- demo/bin/rake
|
148
|
+
- demo/bin/setup
|
149
|
+
- demo/config.ru
|
150
|
+
- demo/config/application.rb
|
151
|
+
- demo/config/boot.rb
|
152
|
+
- demo/config/cable.yml
|
153
|
+
- demo/config/credentials.yml.enc
|
154
|
+
- demo/config/database.yml
|
155
|
+
- demo/config/environment.rb
|
156
|
+
- demo/config/environments/development.rb
|
157
|
+
- demo/config/environments/production.rb
|
158
|
+
- demo/config/environments/test.rb
|
159
|
+
- demo/config/importmap.rb
|
160
|
+
- demo/config/initializers/assets.rb
|
161
|
+
- demo/config/initializers/content_security_policy.rb
|
162
|
+
- demo/config/initializers/filter_parameter_logging.rb
|
163
|
+
- demo/config/initializers/inflections.rb
|
164
|
+
- demo/config/initializers/permissions_policy.rb
|
165
|
+
- demo/config/locales/en.yml
|
166
|
+
- demo/config/puma.rb
|
167
|
+
- demo/config/routes.rb
|
168
|
+
- demo/config/storage.yml
|
169
|
+
- demo/lib/assets/.keep
|
170
|
+
- demo/lib/tasks/.keep
|
171
|
+
- demo/log/.keep
|
172
|
+
- demo/package.json
|
173
|
+
- demo/public/404.html
|
174
|
+
- demo/public/422.html
|
175
|
+
- demo/public/500.html
|
176
|
+
- demo/public/favicon.ico
|
177
|
+
- demo/yarn.lock
|
28
178
|
- lib/optics/view_components.rb
|
179
|
+
- lib/optics/view_components/engine.rb
|
29
180
|
- lib/optics/view_components/version.rb
|
30
181
|
- sig/optics_view_components.rbs
|
31
182
|
homepage: https://github.com/RoleModel/optics_view_components
|
@@ -43,7 +194,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
194
|
requirements:
|
44
195
|
- - ">="
|
45
196
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
197
|
+
version: 3.1.0
|
47
198
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
48
199
|
requirements:
|
49
200
|
- - ">="
|