railst 0.2.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: 664b3b8d4db44f5d103ad5e55f0a3c21cf1656caf054196dbde9dcf1f2ec0808
4
+ data.tar.gz: 8c4829858987a562b87f035a42dd93451eeba1ea312dc62fc5dc78fceb32af80
5
+ SHA512:
6
+ metadata.gz: 6cf43b50d8f5d497975d5e9f20dea6aeaee2dd6f871c807f2960a81c49bcabfcf0c5b3d8e7d757bb13e836deebe586e00b530bcf5dd04cb6cdcac0e2aeca5f61
7
+ data.tar.gz: b53df00d4dd3bdab8889868edcb59cd7b6536ce6f718fb2798b35877ee47738a8752ead873afcf6d2991eeecefec58c711e5520db27a709fcc6ef911868895ae
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # `railst` CLI
2
+
3
+ The official command-line interface and installer for the **Rust on Rails** framework.
4
+
5
+ ## Installation
6
+
7
+ ### Via RubyGems
8
+ ```bash
9
+ gem install railst
10
+ ```
11
+
12
+ ### Via One-Line Shell Script
13
+ ```bash
14
+ curl -fsSL https://raw.githubusercontent.com/HarmlessValve/Rust-on-Rails/main/install.sh | bash
15
+ ```
16
+
17
+ ## Quick Start
18
+
19
+ Create a new high-performance Rust on Rails application:
20
+ ```bash
21
+ railst new my_app
22
+ cd my_app
23
+ railst s
24
+ ```
25
+
26
+ Diagnose your system compiler and hardware environment:
27
+ ```bash
28
+ railst doctor
29
+ ```
data/exe/railst ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ lib_dir = File.expand_path("../lib", __dir__)
5
+ $LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)
6
+
7
+ require "railst"
8
+
9
+ Railst::CLI.start