localtower 2.0.0 → 2.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 +4 -4
- data/README.md +30 -18
- data/{public/javascripts → app/assets/javascripts/localtower}/application.js.map +1 -1
- data/app/views/layouts/localtower/application.html.erb +2 -2
- data/lib/localtower/engine.rb +4 -0
- data/lib/localtower/version.rb +1 -1
- data/spec/dummy/Gemfile.lock +75 -71
- data/spec/dummy/db/schema.rb +2 -23
- data/spec/dummy/log/development.log +1726 -0
- data/spec/dummy/log/localtower.log +174 -0
- data/spec/dummy/log/test.log +429 -0
- metadata +6 -14
- data/spec/dummy/app/models/user.rb +0 -2
- data/spec/dummy/db/migrate/20241118233214_create_users.rb +0 -9
- data/spec/dummy/db/migrate/20241118233233_add_column_titme_for_user.rb +0 -6
- data/spec/dummy/tmp/pids/server.pid +0 -1
- /data/{public/javascripts → app/assets/javascripts/localtower}/application.js +0 -0
- /data/{public/stylesheets → app/assets/stylesheets/localtower}/application.css +0 -0
- /data/app/assets/stylesheets/{application.css → src/application.css} +0 -0
@@ -31,7 +31,7 @@
|
|
31
31
|
font-style: normal;
|
32
32
|
}
|
33
33
|
</style>
|
34
|
-
<%= stylesheet_link_tag "application" %>
|
34
|
+
<%= stylesheet_link_tag "localtower/application.css" %>
|
35
35
|
|
36
36
|
<%= csrf_meta_tags %>
|
37
37
|
<script>
|
@@ -90,6 +90,6 @@
|
|
90
90
|
lucide.createIcons();
|
91
91
|
</script>
|
92
92
|
|
93
|
-
<%= javascript_include_tag "application" %>
|
93
|
+
<%= javascript_include_tag "localtower/application" %>
|
94
94
|
</body>
|
95
95
|
</html>
|
data/lib/localtower/engine.rb
CHANGED
@@ -8,5 +8,9 @@ module Localtower
|
|
8
8
|
# Later: have a better assets pipeline to be able to version and cache assets forever
|
9
9
|
# app.config.middleware.use ::ActionDispatch::Static, "#{root}/public", headers: { "Cache-Control" => "public, max-age=31536000" }
|
10
10
|
end
|
11
|
+
|
12
|
+
initializer "localtower.assets.precompile" do |app|
|
13
|
+
app.config.assets.precompile += ["localtower/application.css", "localtower/application.js"]
|
14
|
+
end
|
11
15
|
end
|
12
16
|
end
|
data/lib/localtower/version.rb
CHANGED
data/spec/dummy/Gemfile.lock
CHANGED
@@ -9,35 +9,35 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actioncable (7.1.
|
13
|
-
actionpack (= 7.1.
|
14
|
-
activesupport (= 7.1.
|
12
|
+
actioncable (7.1.5)
|
13
|
+
actionpack (= 7.1.5)
|
14
|
+
activesupport (= 7.1.5)
|
15
15
|
nio4r (~> 2.0)
|
16
16
|
websocket-driver (>= 0.6.1)
|
17
17
|
zeitwerk (~> 2.6)
|
18
|
-
actionmailbox (7.1.
|
19
|
-
actionpack (= 7.1.
|
20
|
-
activejob (= 7.1.
|
21
|
-
activerecord (= 7.1.
|
22
|
-
activestorage (= 7.1.
|
23
|
-
activesupport (= 7.1.
|
18
|
+
actionmailbox (7.1.5)
|
19
|
+
actionpack (= 7.1.5)
|
20
|
+
activejob (= 7.1.5)
|
21
|
+
activerecord (= 7.1.5)
|
22
|
+
activestorage (= 7.1.5)
|
23
|
+
activesupport (= 7.1.5)
|
24
24
|
mail (>= 2.7.1)
|
25
25
|
net-imap
|
26
26
|
net-pop
|
27
27
|
net-smtp
|
28
|
-
actionmailer (7.1.
|
29
|
-
actionpack (= 7.1.
|
30
|
-
actionview (= 7.1.
|
31
|
-
activejob (= 7.1.
|
32
|
-
activesupport (= 7.1.
|
28
|
+
actionmailer (7.1.5)
|
29
|
+
actionpack (= 7.1.5)
|
30
|
+
actionview (= 7.1.5)
|
31
|
+
activejob (= 7.1.5)
|
32
|
+
activesupport (= 7.1.5)
|
33
33
|
mail (~> 2.5, >= 2.5.4)
|
34
34
|
net-imap
|
35
35
|
net-pop
|
36
36
|
net-smtp
|
37
37
|
rails-dom-testing (~> 2.2)
|
38
|
-
actionpack (7.1.
|
39
|
-
actionview (= 7.1.
|
40
|
-
activesupport (= 7.1.
|
38
|
+
actionpack (7.1.5)
|
39
|
+
actionview (= 7.1.5)
|
40
|
+
activesupport (= 7.1.5)
|
41
41
|
nokogiri (>= 1.8.5)
|
42
42
|
racc
|
43
43
|
rack (>= 2.2.4)
|
@@ -45,15 +45,15 @@ GEM
|
|
45
45
|
rack-test (>= 0.6.3)
|
46
46
|
rails-dom-testing (~> 2.2)
|
47
47
|
rails-html-sanitizer (~> 1.6)
|
48
|
-
actiontext (7.1.
|
49
|
-
actionpack (= 7.1.
|
50
|
-
activerecord (= 7.1.
|
51
|
-
activestorage (= 7.1.
|
52
|
-
activesupport (= 7.1.
|
48
|
+
actiontext (7.1.5)
|
49
|
+
actionpack (= 7.1.5)
|
50
|
+
activerecord (= 7.1.5)
|
51
|
+
activestorage (= 7.1.5)
|
52
|
+
activesupport (= 7.1.5)
|
53
53
|
globalid (>= 0.6.0)
|
54
54
|
nokogiri (>= 1.8.5)
|
55
|
-
actionview (7.1.
|
56
|
-
activesupport (= 7.1.
|
55
|
+
actionview (7.1.5)
|
56
|
+
activesupport (= 7.1.5)
|
57
57
|
builder (~> 3.1)
|
58
58
|
erubi (~> 1.11)
|
59
59
|
rails-dom-testing (~> 2.2)
|
@@ -61,40 +61,44 @@ GEM
|
|
61
61
|
active_link_to (1.0.5)
|
62
62
|
actionpack
|
63
63
|
addressable
|
64
|
-
activejob (7.1.
|
65
|
-
activesupport (= 7.1.
|
64
|
+
activejob (7.1.5)
|
65
|
+
activesupport (= 7.1.5)
|
66
66
|
globalid (>= 0.3.6)
|
67
|
-
activemodel (7.1.
|
68
|
-
activesupport (= 7.1.
|
69
|
-
activerecord (7.1.
|
70
|
-
activemodel (= 7.1.
|
71
|
-
activesupport (= 7.1.
|
67
|
+
activemodel (7.1.5)
|
68
|
+
activesupport (= 7.1.5)
|
69
|
+
activerecord (7.1.5)
|
70
|
+
activemodel (= 7.1.5)
|
71
|
+
activesupport (= 7.1.5)
|
72
72
|
timeout (>= 0.4.0)
|
73
|
-
activestorage (7.1.
|
74
|
-
actionpack (= 7.1.
|
75
|
-
activejob (= 7.1.
|
76
|
-
activerecord (= 7.1.
|
77
|
-
activesupport (= 7.1.
|
73
|
+
activestorage (7.1.5)
|
74
|
+
actionpack (= 7.1.5)
|
75
|
+
activejob (= 7.1.5)
|
76
|
+
activerecord (= 7.1.5)
|
77
|
+
activesupport (= 7.1.5)
|
78
78
|
marcel (~> 1.0)
|
79
|
-
activesupport (7.1.
|
79
|
+
activesupport (7.1.5)
|
80
80
|
base64
|
81
|
+
benchmark (>= 0.3)
|
81
82
|
bigdecimal
|
82
83
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
83
84
|
connection_pool (>= 2.2.5)
|
84
85
|
drb
|
85
86
|
i18n (>= 1.6, < 2)
|
87
|
+
logger (>= 1.4.2)
|
86
88
|
minitest (>= 5.1)
|
87
89
|
mutex_m
|
90
|
+
securerandom (>= 0.3)
|
88
91
|
tzinfo (~> 2.0)
|
89
92
|
addressable (2.8.7)
|
90
93
|
public_suffix (>= 2.0.2, < 7.0)
|
91
94
|
base64 (0.2.0)
|
95
|
+
benchmark (0.4.0)
|
92
96
|
bigdecimal (3.1.8)
|
93
97
|
builder (3.3.0)
|
94
98
|
concurrent-ruby (1.3.4)
|
95
99
|
connection_pool (2.4.1)
|
96
100
|
crass (1.0.6)
|
97
|
-
date (3.
|
101
|
+
date (3.4.0)
|
98
102
|
drb (2.2.1)
|
99
103
|
erubi (1.13.0)
|
100
104
|
globalid (1.2.1)
|
@@ -102,10 +106,11 @@ GEM
|
|
102
106
|
i18n (1.14.6)
|
103
107
|
concurrent-ruby (~> 1.0)
|
104
108
|
io-console (0.7.2)
|
105
|
-
irb (1.14.
|
109
|
+
irb (1.14.1)
|
106
110
|
rdoc (>= 4.0.0)
|
107
111
|
reline (>= 0.4.2)
|
108
|
-
|
112
|
+
logger (1.6.1)
|
113
|
+
loofah (2.23.1)
|
109
114
|
crass (~> 1.0.2)
|
110
115
|
nokogiri (>= 1.12.0)
|
111
116
|
mail (2.8.1)
|
@@ -115,10 +120,10 @@ GEM
|
|
115
120
|
net-smtp
|
116
121
|
marcel (1.0.4)
|
117
122
|
mini_mime (1.1.5)
|
118
|
-
mini_portile2 (2.8.
|
123
|
+
mini_portile2 (2.8.8)
|
119
124
|
minitest (5.25.1)
|
120
125
|
mutex_m (0.2.0)
|
121
|
-
net-imap (0.
|
126
|
+
net-imap (0.5.1)
|
122
127
|
date
|
123
128
|
net-protocol
|
124
129
|
net-pop (0.1.2)
|
@@ -127,39 +132,38 @@ GEM
|
|
127
132
|
timeout
|
128
133
|
net-smtp (0.5.0)
|
129
134
|
net-protocol
|
130
|
-
nio4r (2.7.
|
135
|
+
nio4r (2.7.4)
|
131
136
|
nokogiri (1.16.7)
|
132
137
|
mini_portile2 (~> 2.8.2)
|
133
138
|
racc (~> 1.4)
|
134
|
-
pg (1.
|
135
|
-
psych (5.
|
139
|
+
pg (1.5.9)
|
140
|
+
psych (5.2.0)
|
136
141
|
stringio
|
137
142
|
public_suffix (6.0.1)
|
138
|
-
puma (6.
|
143
|
+
puma (6.4.3)
|
139
144
|
nio4r (~> 2.0)
|
140
145
|
racc (1.8.1)
|
141
|
-
rack (3.1.
|
146
|
+
rack (3.1.8)
|
142
147
|
rack-session (2.0.0)
|
143
148
|
rack (>= 3.0.0)
|
144
149
|
rack-test (2.1.0)
|
145
150
|
rack (>= 1.3)
|
146
|
-
rackup (2.1
|
151
|
+
rackup (2.2.1)
|
147
152
|
rack (>= 3)
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
activesupport (= 7.1.4)
|
153
|
+
rails (7.1.5)
|
154
|
+
actioncable (= 7.1.5)
|
155
|
+
actionmailbox (= 7.1.5)
|
156
|
+
actionmailer (= 7.1.5)
|
157
|
+
actionpack (= 7.1.5)
|
158
|
+
actiontext (= 7.1.5)
|
159
|
+
actionview (= 7.1.5)
|
160
|
+
activejob (= 7.1.5)
|
161
|
+
activemodel (= 7.1.5)
|
162
|
+
activerecord (= 7.1.5)
|
163
|
+
activestorage (= 7.1.5)
|
164
|
+
activesupport (= 7.1.5)
|
161
165
|
bundler (>= 1.15.0)
|
162
|
-
railties (= 7.1.
|
166
|
+
railties (= 7.1.5)
|
163
167
|
rails-dom-testing (2.2.0)
|
164
168
|
activesupport (>= 5.0.0)
|
165
169
|
minitest
|
@@ -167,29 +171,29 @@ GEM
|
|
167
171
|
rails-html-sanitizer (1.6.0)
|
168
172
|
loofah (~> 2.21)
|
169
173
|
nokogiri (~> 1.14)
|
170
|
-
railties (7.1.
|
171
|
-
actionpack (= 7.1.
|
172
|
-
activesupport (= 7.1.
|
174
|
+
railties (7.1.5)
|
175
|
+
actionpack (= 7.1.5)
|
176
|
+
activesupport (= 7.1.5)
|
173
177
|
irb
|
174
178
|
rackup (>= 1.0.0)
|
175
179
|
rake (>= 12.2)
|
176
180
|
thor (~> 1.0, >= 1.2.2)
|
177
181
|
zeitwerk (~> 2.6)
|
178
182
|
rake (13.2.1)
|
179
|
-
rdoc (6.
|
183
|
+
rdoc (6.8.1)
|
180
184
|
psych (>= 4.0.0)
|
181
|
-
reline (0.5.
|
185
|
+
reline (0.5.11)
|
182
186
|
io-console (~> 0.5)
|
183
|
-
|
187
|
+
securerandom (0.3.2)
|
188
|
+
stringio (3.1.2)
|
184
189
|
thor (1.3.2)
|
185
|
-
timeout (0.4.
|
190
|
+
timeout (0.4.2)
|
186
191
|
tzinfo (2.0.6)
|
187
192
|
concurrent-ruby (~> 1.0)
|
188
|
-
webrick (1.8.2)
|
189
193
|
websocket-driver (0.7.6)
|
190
194
|
websocket-extensions (>= 0.1.0)
|
191
195
|
websocket-extensions (0.1.5)
|
192
|
-
zeitwerk (2.
|
196
|
+
zeitwerk (2.7.1)
|
193
197
|
|
194
198
|
PLATFORMS
|
195
199
|
ruby
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -1,25 +1,4 @@
|
|
1
|
-
# This file is auto-generated from the current state of the database. Instead
|
2
|
-
# of editing this file, please use the migrations feature of Active Record to
|
3
|
-
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
-
#
|
5
|
-
# This file is the source Rails uses to define your schema when running `bin/rails
|
6
|
-
# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
|
7
|
-
# be faster and is potentially less error prone than running all of your
|
8
|
-
# migrations from scratch. Old migrations may fail to apply correctly if those
|
9
|
-
# migrations use external dependencies or application code.
|
10
|
-
#
|
11
|
-
# It's strongly recommended that you check this file into your version control system.
|
12
|
-
|
13
|
-
ActiveRecord::Schema[7.1].define(version: 2024_11_18_233233) do
|
14
|
-
# These are extensions that must be enabled in order to support this database
|
15
|
-
enable_extension "plpgsql"
|
16
|
-
|
17
|
-
create_table "users", force: :cascade do |t|
|
18
|
-
t.string "name"
|
19
|
-
t.datetime "created_at", null: false
|
20
|
-
t.datetime "updated_at", null: false
|
21
|
-
t.text "titme", default: "", null: false
|
22
|
-
t.index ["titme"], name: "index_users_on_titme"
|
23
|
-
end
|
24
1
|
|
2
|
+
ActiveRecord::Schema.define(version: 0) do
|
25
3
|
end
|
4
|
+
|