flutter_on_rails 0.0.1.alpha → 0.0.2.alpha

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -17
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94f09e0fe0bff2d6a62548366d061cb69c9afa207b3c539f8b0fcb0248c5abff
4
- data.tar.gz: 2fd112d4df8052bf90dabd165befff689b63366f66c45bc318c06c6bebf7884d
3
+ metadata.gz: 054d939cebc4bd103e061462251093765e8da94aef6032741f1a3b3d13564ab0
4
+ data.tar.gz: f54d722bd377304f49256d11630bf7f4d170f72c780195690b9aa9322c7c3e8a
5
5
  SHA512:
6
- metadata.gz: 90326bf30a94d939487f73bd459ab16d96b11f81259c7d47bafe6579a8c8b5b7f90b57034f5f2d7cbdc670231b00c07a5635eed93efbe1aa8e8019d4448cb582
7
- data.tar.gz: 97f8a3c74f4fa4b416a4ccb4dff8725dfb15ae4e3615ebdf6492c832d44bac555e61fc408e174a06f9333801924f10add7526939a27067afed22d7711e6215c5
6
+ metadata.gz: 20b6ea2d60bbbcdaabbaf8415a80e686c56c1b905ed50461b7b324985b934c7cf00d69f74b2599a460cd52adf1d68ff065b417290e03153432ab3bd76ec3e168
7
+ data.tar.gz: fb40835f9705a616d12b5e65a01f31d524ceb8764c23ba1349771f0be940240cc5432ce3ddaee8a6c791d263e717a542f6e2864806d2672b7b29da4f56722ec6
data/README.md CHANGED
@@ -1,41 +1,73 @@
1
1
  # Flutter on Rails CLI
2
2
 
3
- A Ruby CLI tool for managing Flutter applications with ease.
3
+ Flutter on Rails CLI is a powerful tool that helps you create and manage Flutter applications with Rails backend integration.
4
4
 
5
- ## Installation
5
+ ## Prerequisites
6
+
7
+ Before using Flutter on Rails CLI, make sure you have:
8
+
9
+ 1. **Flutter SDK** installed:
6
10
 
7
- 1. Make sure you have Ruby installed
8
- 2. Install dependencies:
11
+ - [Install Flutter](https://docs.flutter.dev/get-started/install) for your operating system
12
+ - After installation, verify it's working by running:
13
+ ```bash
14
+ flutter doctor
15
+ ```
16
+ - Make sure to follow any additional setup instructions provided by `flutter doctor`
17
+
18
+ 2. **Ruby** installed on your system
19
+
20
+ ## Installation
9
21
 
10
22
  ```bash
11
- bundle install
23
+ gem install flutter_on_rails
12
24
  ```
13
25
 
14
26
  ## Usage
15
27
 
16
- ### Create a new Flutter app
28
+ Create a new Flutter on Rails application:
17
29
 
18
30
  ```bash
19
- flutter_on_rails create or frails create
31
+ frails create my_app
32
+ # or
33
+ flutter_on_rails create my_app
20
34
  ```
21
35
 
22
- This will:
36
+ Run the application:
23
37
 
24
- - Create a new Flutter application
25
- - Optionally add dependencies
26
- - Optionally configure splash screen
38
+ ```bash
39
+ frails run
40
+ # or
41
+ flutter_on_rails run
42
+ ```
27
43
 
28
- ### Build Flutter app
44
+ Build the application for a specific platform:
29
45
 
30
46
  ```bash
31
- flutter_on_rails build or frails build
47
+ frails build [platform]
48
+ # or
49
+ flutter_on_rails build [platform]
32
50
  ```
33
51
 
34
- This will:
52
+ Available platforms:
53
+
54
+ - android
55
+ - ios
56
+ - windows
57
+ - macos
58
+ - linux
59
+
60
+ ## Commands
61
+
62
+ - `frails create` or `flutter_on_rails create` - Create a new Flutter on Rails application
63
+ - `frails run` or `flutter_on_rails run` - Run the Flutter app in debug mode
64
+ - `frails build` or `flutter_on_rails build` - Build Flutter app for different platforms
65
+ - `frails apply` or `flutter_on_rails apply` - Apply configurations (splash_screen or icon_launcher)
66
+ - `frails install` or `flutter_on_rails install` - Install dependencies
67
+
68
+ ## License
35
69
 
36
- - Let you choose the platform (android/ios/web/windows/macos/linux)
37
- - Let you choose build type (debug/release)
38
- - Build the application for the selected platform
70
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
39
71
 
40
72
  ## Features
41
73
 
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flutter_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha
4
+ version: 0.0.2.alpha
5
5
  platform: ruby
6
6
  authors:
7
- - Adam Moussa Ali
7
+ - Adam Musa Ali
8
8
  bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
@@ -148,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - ">="
150
150
  - !ruby/object:Gem::Version
151
- version: '3.0'
151
+ version: '0'
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  requirements:
154
154
  - - ">="