rails-frontend-cli 1.0.4 → 1.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ec869e69d114bf593c1c7006d81d506c43258e1704af073100165465989c6c9
4
- data.tar.gz: 2134c602cc003fc25339308018fb882bddbc8c6684a539c18dc11860ad19d5dc
3
+ metadata.gz: 3da8f1ac0ec844492088c0b7dbdef86a2f3ea6a26bd8edfb6d83ea719e606e21
4
+ data.tar.gz: 1736f4bb3caedd030c6c1f99e604814208e55b21be2459f38f0f88f11f3ffab3
5
5
  SHA512:
6
- metadata.gz: 2f66351d98cbefb78cf91684bd019b726366a5836b102870de1c20542ce21076856270579f58c16b90fe446cc541706d3c8f5b7cc6b83608cc3d061084dc0b20
7
- data.tar.gz: 4ec8b1c140f6a5d74855a0fe3d2a934c29e1fe9a0fc265b57a3860a5863552777f3a39dc0671ab211d02dbbc0c6ec7abce1476fbb2e95332597edb26a827d639
6
+ metadata.gz: 5b35ea2a462ee7d861e1c9e5340ac34181e0b45ae441569258613b2d23bc83292dfa7f00ac82ca3d509a58c3e0dcfbe6b23c18c1edf6b444384b4c615c9f6d8f
7
+ data.tar.gz: f8b90d96b1baf5d8a40b8a65e94adcd420ff24807054528a1b7278793f7816c53f9535ab4cf1571cf291eaec0018bab6771d47917f83432ef2b2e58dc8736a31
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Changelog
2
2
 
3
- [Türkçe](CHANGELOG_tr.md) | **English**
3
+ ## v1.0.5
4
+
5
+ ### Improvements
6
+ - **Build Command:**
7
+ - Added wget availability check before running `rails-frontend build` command
8
+ - Clear error message with installation instructions if wget is not installed
9
+
10
+ ---
4
11
 
5
12
  ## v1.0.4
6
13
 
data/README.md CHANGED
@@ -8,9 +8,9 @@ A CLI tool that makes frontend development with Rails incredibly easy, allowing
8
8
 
9
9
  For detailed usage guide, see [USER_MANUAL.md](USER_MANUAL.md)
10
10
 
11
- ## Rails Frontend Coding Tutorial
11
+ ## Rails Frontend Coding Course (Free)
12
12
 
13
- 📚 [Training material](https://gamma.app/docs/Rails-ile-Frontend-Kodlama-Egitimi-i6q19pjb2jpw9ny) (Turkish)
13
+ 📚 [Course material](https://gamma.app/docs/Frontend-Coding-Training-with-Rails-thatg6lvcpx4g7l) (English) | 📚 [Kurs materyali](https://gamma.app/docs/Rails-ile-Frontend-Kodlama-Egitimi-i6q19pjb2jpw9ny) (Türkçe)
14
14
 
15
15
  ## Features
16
16
 
data/USER_MANUAL.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
  A CLI tool that makes frontend development with Rails incredibly easy, allowing you to enjoy Rails frontend coding without needing to know Ruby or Rails.
6
6
 
7
- ## Rails Frontend Coding Tutorial
7
+ ## Rails Frontend Coding Course (Free)
8
8
 
9
- 📚 [Training material](https://gamma.app/docs/Frontend-Coding-Training-with-Rails-thatg6lvcpx4g7l) (English)
9
+ 📚 [Course material](https://gamma.app/docs/Frontend-Coding-Training-with-Rails-thatg6lvcpx4g7l) (English)
10
10
 
11
11
  ### Installation
12
12
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class RailsFrontendCLI
4
- VERSION = "1.0.4"
4
+ VERSION = "1.0.5"
5
5
  end
@@ -5,7 +5,7 @@ require 'fileutils'
5
5
  require 'optparse'
6
6
 
7
7
  class RailsFrontendCLI
8
- VERSION = "1.0.4"
8
+ VERSION = "1.0.5"
9
9
  AUTHOR = "Levent Özbilgiç"
10
10
  LINKEDIN = "https://www.linkedin.com/in/leventozbilgic/"
11
11
  GITHUB = "https://github.com/ozbilgic"
@@ -605,6 +605,12 @@ class RailsFrontendCLI
605
605
  end
606
606
 
607
607
  def wget_mirror(port)
608
+ # Check if wget is installed
609
+ unless system("which wget > /dev/null 2>&1")
610
+ puts "" # New line
611
+ error_message("wget is not installed! The build feature requires wget.\n\nPlease install wget:\n - Ubuntu/Debian: sudo apt-get install wget\n - macOS: brew install wget\n - Fedora: sudo dnf install wget")
612
+ end
613
+
608
614
  # Delete previous build folder
609
615
  FileUtils.rm_rf('build')
610
616
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-frontend-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Levent Özbilgiç
@@ -23,10 +23,11 @@ dependencies:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
25
  version: '13.0'
26
- description: Rails Frontend CLI is a command-line tool that enables fast and easy
27
- development of Rails projects for frontend developers. Rails Frontend CLI is a tool
28
- that makes frontend coding with Rails enjoyable, even without prior knowledge of
29
- Ruby or Rails.
26
+ description: "Rails Frontend CLI is a command-line tool that enables fast and easy
27
+ development of \n Rails projects for frontend developers and
28
+ frontend coding with Rails enjoyable, \n even without prior
29
+ knowledge of Ruby or Rails. I've created a free course on this \n topic.
30
+ You can find the course on the GitHub homepage for this CLI."
30
31
  email:
31
32
  - ozbilgiclevent@gmail.com
32
33
  executables: