spadmin 0.1.0

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: d50063b4e5f28ebd0d0b53a7013a0408fb5411df04ed959e51b2cd8089972ad7
4
+ data.tar.gz: c3667ee127c13e9c3287574f5bcef82548c3cd5c15bab52ff7fd50b7a7917415
5
+ SHA512:
6
+ metadata.gz: 9c1fbb45c2bd557fd5f78e9accb7ab0c786f0b136a64d3912874688be88ef910eb57abdd165f65accfee57409460d05cbe7e70b340951d1ee45c952285282d4e
7
+ data.tar.gz: cdd46d46958932e4e010aec001f0efc7f9ad765d058fcfe89ec3d034fffdab00c3d971d32250d9176e67e3e4baf271ce6045604c5b99cb46a155ff621a35a2f6
@@ -0,0 +1,15 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
+ * files in this directory. Styles in this file should be added after the last require_* statement.
11
+ * It is generally better to create a new file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
@@ -0,0 +1,4 @@
1
+ module Spadmin
2
+ class ApplicationController < ActionController::Base
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Spadmin
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Spadmin
2
+ class ApplicationJob < ActiveJob::Base
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module Spadmin
2
+ class ApplicationMailer < ActionMailer::Base
3
+ default from: "from@example.com"
4
+ layout "mailer"
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module Spadmin
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
5
+ end
@@ -0,0 +1,17 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Spadmin</title>
5
+ <%= csrf_meta_tags %>
6
+ <%= csp_meta_tag %>
7
+
8
+ <%= yield :head %>
9
+
10
+ <%= stylesheet_link_tag "spadmin/application", media: "all" %>
11
+ </head>
12
+ <body>
13
+
14
+ <%= yield %>
15
+
16
+ </body>
17
+ </html>
data/config/routes.rb ADDED
@@ -0,0 +1,2 @@
1
+ Spadmin::Engine.routes.draw do
2
+ end
@@ -0,0 +1,5 @@
1
+ module Spadmin
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace Spadmin
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module Spadmin
2
+ VERSION = "0.1.0"
3
+ end
data/lib/spadmin.rb ADDED
@@ -0,0 +1,6 @@
1
+ require "spadmin/version"
2
+ require "spadmin/engine"
3
+
4
+ module Spadmin
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :spadmin do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,68 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spadmin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - oneureka
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-08-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 8.1.3
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 8.1.3
27
+ description:
28
+ email: oneureka@github.io
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - app/assets/stylesheets/spadmin/application.css
34
+ - app/controllers/spadmin/application_controller.rb
35
+ - app/helpers/spadmin/application_helper.rb
36
+ - app/jobs/spadmin/application_job.rb
37
+ - app/mailers/spadmin/application_mailer.rb
38
+ - app/models/spadmin/application_record.rb
39
+ - app/views/layouts/spadmin/application.html.erb
40
+ - config/routes.rb
41
+ - lib/spadmin.rb
42
+ - lib/spadmin/engine.rb
43
+ - lib/spadmin/version.rb
44
+ - lib/tasks/spadmin_tasks.rake
45
+ homepage: https://dub.sh/spadmin
46
+ licenses:
47
+ - BSD-1-Clause
48
+ metadata: {}
49
+ post_install_message:
50
+ rdoc_options: []
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ requirements: []
64
+ rubygems_version: 3.5.22
65
+ signing_key:
66
+ specification_version: 4
67
+ summary: A ready-made admin panel for API-only Rails apps
68
+ test_files: []