turbo_reflex 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 649c64864cfc6cd0239438ef3e9fd0266f6a01323ab8f032a1442c87c87a55c7
4
+ data.tar.gz: '08968885af311ab3257079274c46774b99d63e01e7ca12139ec0907cfe0b62e4'
5
+ SHA512:
6
+ metadata.gz: b07b892124b636286664977759ac8d328de7f2de8a98fde0ce183a8eebd2169ecd4f9473020e2e6ccaa988e71da1dba17bd3f388b47f0e4a9204141a84bb1393
7
+ data.tar.gz: 8e0bf3ebb4fce5c1a6f1326988187fc0828c02af1045d02dfb6ca938098623dbabc5171d5058af363c2f4ee66a104b3536a7383b06e9dce610f997bdea75a265
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "https://rubygems.org"
2
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
+
4
+ # Specify your gem's dependencies in turbo_reflex.gemspec.
5
+ gemspec
6
+
7
+ gem "sqlite3"
8
+
9
+ # Start debugger with binding.b [https://github.com/ruby/debug]
10
+ # gem "debug", ">= 1.0.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,248 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ turbo_reflex (0.0.1)
5
+ rails (>= 7.0)
6
+ turbo-rails (>= 1.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (7.0.3.1)
12
+ actionpack (= 7.0.3.1)
13
+ activesupport (= 7.0.3.1)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailbox (7.0.3.1)
17
+ actionpack (= 7.0.3.1)
18
+ activejob (= 7.0.3.1)
19
+ activerecord (= 7.0.3.1)
20
+ activestorage (= 7.0.3.1)
21
+ activesupport (= 7.0.3.1)
22
+ mail (>= 2.7.1)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.3.1)
27
+ actionpack (= 7.0.3.1)
28
+ actionview (= 7.0.3.1)
29
+ activejob (= 7.0.3.1)
30
+ activesupport (= 7.0.3.1)
31
+ mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
35
+ rails-dom-testing (~> 2.0)
36
+ actionpack (7.0.3.1)
37
+ actionview (= 7.0.3.1)
38
+ activesupport (= 7.0.3.1)
39
+ rack (~> 2.0, >= 2.2.0)
40
+ rack-test (>= 0.6.3)
41
+ rails-dom-testing (~> 2.0)
42
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
+ actiontext (7.0.3.1)
44
+ actionpack (= 7.0.3.1)
45
+ activerecord (= 7.0.3.1)
46
+ activestorage (= 7.0.3.1)
47
+ activesupport (= 7.0.3.1)
48
+ globalid (>= 0.6.0)
49
+ nokogiri (>= 1.8.5)
50
+ actionview (7.0.3.1)
51
+ activesupport (= 7.0.3.1)
52
+ builder (~> 3.1)
53
+ erubi (~> 1.4)
54
+ rails-dom-testing (~> 2.0)
55
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
56
+ activejob (7.0.3.1)
57
+ activesupport (= 7.0.3.1)
58
+ globalid (>= 0.3.6)
59
+ activemodel (7.0.3.1)
60
+ activesupport (= 7.0.3.1)
61
+ activerecord (7.0.3.1)
62
+ activemodel (= 7.0.3.1)
63
+ activesupport (= 7.0.3.1)
64
+ activestorage (7.0.3.1)
65
+ actionpack (= 7.0.3.1)
66
+ activejob (= 7.0.3.1)
67
+ activerecord (= 7.0.3.1)
68
+ activesupport (= 7.0.3.1)
69
+ marcel (~> 1.0)
70
+ mini_mime (>= 1.1.0)
71
+ activesupport (7.0.3.1)
72
+ concurrent-ruby (~> 1.0, >= 1.0.2)
73
+ i18n (>= 1.6, < 2)
74
+ minitest (>= 5.1)
75
+ tzinfo (~> 2.0)
76
+ ast (2.4.2)
77
+ auto_injector (0.8.0)
78
+ marameters (~> 0.6)
79
+ zeitwerk (~> 2.6)
80
+ builder (3.2.4)
81
+ byebug (11.1.3)
82
+ coderay (1.1.3)
83
+ cogger (0.3.0)
84
+ pastel (~> 0.8)
85
+ refinements (~> 9.6)
86
+ zeitwerk (~> 2.6)
87
+ concurrent-ruby (1.1.10)
88
+ crass (1.0.6)
89
+ digest (3.1.0)
90
+ dry-container (0.10.1)
91
+ concurrent-ruby (~> 1.0)
92
+ dry-core (0.8.1)
93
+ concurrent-ruby (~> 1.0)
94
+ dry-monads (1.4.0)
95
+ concurrent-ruby (~> 1.0)
96
+ dry-core (~> 0.7)
97
+ erubi (1.11.0)
98
+ globalid (1.0.0)
99
+ activesupport (>= 5.0)
100
+ i18n (1.12.0)
101
+ concurrent-ruby (~> 1.0)
102
+ json (2.6.2)
103
+ loofah (2.18.0)
104
+ crass (~> 1.0.2)
105
+ nokogiri (>= 1.5.9)
106
+ magic_frozen_string_literal (1.2.0)
107
+ mail (2.7.1)
108
+ mini_mime (>= 0.1.1)
109
+ marameters (0.6.0)
110
+ refinements (~> 9.6)
111
+ zeitwerk (~> 2.6)
112
+ marcel (1.0.2)
113
+ method_source (1.0.0)
114
+ mini_mime (1.1.2)
115
+ minitest (5.16.3)
116
+ net-imap (0.2.3)
117
+ digest
118
+ net-protocol
119
+ strscan
120
+ net-pop (0.1.1)
121
+ digest
122
+ net-protocol
123
+ timeout
124
+ net-protocol (0.1.3)
125
+ timeout
126
+ net-smtp (0.3.1)
127
+ digest
128
+ net-protocol
129
+ timeout
130
+ nio4r (2.5.8)
131
+ nokogiri (1.13.8-arm64-darwin)
132
+ racc (~> 1.4)
133
+ parallel (1.22.1)
134
+ parser (3.1.2.1)
135
+ ast (~> 2.4.1)
136
+ pastel (0.8.0)
137
+ tty-color (~> 0.5)
138
+ pry (0.14.1)
139
+ coderay (~> 1.1)
140
+ method_source (~> 1.0)
141
+ pry-byebug (3.10.1)
142
+ byebug (~> 11.0)
143
+ pry (>= 0.13, < 0.15)
144
+ racc (1.6.0)
145
+ rack (2.2.4)
146
+ rack-test (2.0.2)
147
+ rack (>= 1.3)
148
+ rails (7.0.3.1)
149
+ actioncable (= 7.0.3.1)
150
+ actionmailbox (= 7.0.3.1)
151
+ actionmailer (= 7.0.3.1)
152
+ actionpack (= 7.0.3.1)
153
+ actiontext (= 7.0.3.1)
154
+ actionview (= 7.0.3.1)
155
+ activejob (= 7.0.3.1)
156
+ activemodel (= 7.0.3.1)
157
+ activerecord (= 7.0.3.1)
158
+ activestorage (= 7.0.3.1)
159
+ activesupport (= 7.0.3.1)
160
+ bundler (>= 1.15.0)
161
+ railties (= 7.0.3.1)
162
+ rails-dom-testing (2.0.3)
163
+ activesupport (>= 4.2.0)
164
+ nokogiri (>= 1.6)
165
+ rails-html-sanitizer (1.4.3)
166
+ loofah (~> 2.3)
167
+ railties (7.0.3.1)
168
+ actionpack (= 7.0.3.1)
169
+ activesupport (= 7.0.3.1)
170
+ method_source
171
+ rake (>= 12.2)
172
+ thor (~> 1.0)
173
+ zeitwerk (~> 2.5)
174
+ rainbow (3.1.1)
175
+ rake (13.0.6)
176
+ refinements (9.6.0)
177
+ regexp_parser (2.5.0)
178
+ rexml (3.2.5)
179
+ rubocop (1.35.0)
180
+ json (~> 2.3)
181
+ parallel (~> 1.10)
182
+ parser (>= 3.1.2.1)
183
+ rainbow (>= 2.2.2, < 4.0)
184
+ regexp_parser (>= 1.8, < 3.0)
185
+ rexml (>= 3.2.5, < 4.0)
186
+ rubocop-ast (>= 1.20.1, < 2.0)
187
+ ruby-progressbar (~> 1.7)
188
+ unicode-display_width (>= 1.4.0, < 3.0)
189
+ rubocop-ast (1.21.0)
190
+ parser (>= 3.1.1.0)
191
+ rubocop-performance (1.14.3)
192
+ rubocop (>= 1.7.0, < 2.0)
193
+ rubocop-ast (>= 0.4.0)
194
+ ruby-progressbar (1.11.0)
195
+ runcom (8.5.0)
196
+ refinements (~> 9.6)
197
+ xdg (~> 6.5)
198
+ spek (0.5.0)
199
+ dry-monads (~> 1.4)
200
+ refinements (~> 9.6)
201
+ versionaire (~> 10.5)
202
+ zeitwerk (~> 2.5)
203
+ sqlite3 (1.4.4)
204
+ standard (1.16.0)
205
+ rubocop (= 1.35.0)
206
+ rubocop-performance (= 1.14.3)
207
+ standardrb (1.0.1)
208
+ standard
209
+ strscan (3.0.4)
210
+ thor (1.2.1)
211
+ timeout (0.3.0)
212
+ tocer (14.3.0)
213
+ auto_injector (~> 0.7)
214
+ cogger (~> 0.2)
215
+ dry-container (~> 0.10)
216
+ refinements (~> 9.6)
217
+ runcom (~> 8.5)
218
+ spek (~> 0.5)
219
+ zeitwerk (~> 2.6)
220
+ tty-color (0.6.0)
221
+ turbo-rails (1.1.1)
222
+ actionpack (>= 6.0.0)
223
+ activejob (>= 6.0.0)
224
+ railties (>= 6.0.0)
225
+ tzinfo (2.0.5)
226
+ concurrent-ruby (~> 1.0)
227
+ unicode-display_width (2.2.0)
228
+ versionaire (10.5.0)
229
+ refinements (~> 9.6)
230
+ websocket-driver (0.7.5)
231
+ websocket-extensions (>= 0.1.0)
232
+ websocket-extensions (0.1.5)
233
+ xdg (6.5.0)
234
+ zeitwerk (2.6.0)
235
+
236
+ PLATFORMS
237
+ arm64-darwin-21
238
+
239
+ DEPENDENCIES
240
+ magic_frozen_string_literal
241
+ pry-byebug
242
+ sqlite3
243
+ standardrb
244
+ tocer
245
+ turbo_reflex!
246
+
247
+ BUNDLED WITH
248
+ 2.3.10
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2022 Nate Hopkins (hopsoft)
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # TurboReflex
2
+ Short description and motivation.
3
+
4
+ ## Usage
5
+ How to use my plugin.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem "turbo_reflex"
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install turbo_reflex
22
+ ```
23
+
24
+ ## Contributing
25
+ Contribution directions go here.
26
+
27
+ ## License
28
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ require "bundler/setup"
2
+
3
+ require "bundler/gem_tasks"
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=turbo_reflex.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
File without changes
data/bin/loc ADDED
@@ -0,0 +1,3 @@
1
+ #!/bin/bash
2
+
3
+ cloc --exclude-dir=Gemfile,Dockerfile,bin,builds,db,docs,log,node_modules,Procfile,public,storage,tmp --exclude-ext=example,json,lock,md,ru,toml,sql,svg,txt,yml "${1:-.}"
data/bin/standardize ADDED
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+
3
+ bundle exec magic_frozen_string_literal
4
+ bundle exec standardrb --fix
5
+ yarn run prettier-standard "app/javascript/**/*.js"
data/bin/test ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+ $: << File.expand_path("../test", __dir__)
3
+
4
+ require "bundler/setup"
5
+ require "rails/plugin/test"
@@ -0,0 +1,4 @@
1
+ module TurboReflex
2
+ class Railtie < ::Rails::Railtie
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module TurboReflex
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,6 @@
1
+ require "turbo_reflex/version"
2
+ require "turbo_reflex/railtie"
3
+
4
+ module TurboReflex
5
+ # Your code goes here...
6
+ end
data/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "turbo_reflex",
3
+ "version": "0.0.0",
4
+ "description": "Future home of TurboReflex",
5
+ "main": "app/assets/builds/turbo_reflex.js",
6
+ "repository": "https://github.com/hopsoft/turbo_reflex",
7
+ "author": "Nate Hopkins (hopsoft) <natehop@gmail.com>",
8
+ "license": "MIT",
9
+ "peerDependencies": {
10
+ "@hotwired/turbo-rails": ">= 7.1"
11
+ },
12
+ "devDependencies": {
13
+ "esbuild": "^0.14.48",
14
+ "eslint": "^8.19.0",
15
+ "prettier-standard": "^16.4.1"
16
+ },
17
+ "scripts": {
18
+ "build": "esbuild app/javascript/*.* --bundle --minify --sourcemap --format=esm --outdir=app/assets/builds"
19
+ }
20
+ }
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/turbo_reflex/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "turbo_reflex"
7
+ spec.version = TurboReflex::VERSION
8
+ spec.authors = ["Nate Hopkins (hopsoft)"]
9
+ spec.email = ["natehop@gmail.com"]
10
+ spec.homepage = "https://github.com/hopsoft/turbo_reflex"
11
+ spec.summary = "Future home of TurboReflex"
12
+ spec.description = spec.summary
13
+ spec.license = "MIT"
14
+
15
+ spec.metadata["homepage_uri"] = spec.homepage
16
+ spec.metadata["source_code_uri"] = spec.homepage
17
+ spec.metadata["changelog_uri"] = spec.homepage + "/blob/master/CHANGELOG.md"
18
+
19
+ spec.files = Dir["lib/**/*.rb", "app/**/*", "bin/*", "[A-Z]*"]
20
+
21
+ spec.add_dependency "rails", ">= 7.0"
22
+ spec.add_dependency "turbo-rails", ">= 1.1"
23
+
24
+ spec.add_development_dependency "magic_frozen_string_literal"
25
+ spec.add_development_dependency "pry-byebug"
26
+ spec.add_development_dependency "standardrb"
27
+ spec.add_development_dependency "tocer"
28
+ end