devcheck 0.3.2 → 0.3.3

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -1
  3. data/devcheck +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3daae8958d13219d8b43bdf0df0e95710dd060dea2ca401f20986580cd814c3
4
- data.tar.gz: dae60285594a15ee530d54c19875b82f80db8dfbfb1acef1fc03c71bb137429b
3
+ metadata.gz: 4557f8583d166864d19e37c1c297a2fc62b98ba311e6201f8c9d1c08fe599523
4
+ data.tar.gz: c99270276bf19211e96fb0d24bae594d15b8c1b44de17993ea388f18538c18fc
5
5
  SHA512:
6
- metadata.gz: 1c6594c2f9eec27279de837c644f3836a29e9bd1a6578f2b9518b6d6595005800f287196de3ba488b78852c9fd96e6cf4c2943c25763220f0ad4a07cafc7613e
7
- data.tar.gz: f16d78e1eb675ae313624b6261768da2fa1bbf518e6f24d31f28bedad19759dfac4cd39ab5084abc935f05d9900c07c6195fec411e4083352467f4b2c771edf6
6
+ metadata.gz: 4ea1d4b518510ebf88e39fd2fdacef55ee28e6f8df8881402bc072f331a3094b19ae603775de902d1bca9960cf3fb355f7c60ac2d87dfac8cbd6b46ee1b10878
7
+ data.tar.gz: d30704fd11ba862151c0211747994903ea38372c30fc229859794f16f230d3ea0906edb84135841084814b0fccadf881ff677250fa702b79e2d0e5d5f4f96a17
data/README.md CHANGED
@@ -6,6 +6,10 @@ are configured correctly for the project they are working on. `devcheck` provide
6
6
  an easy way to set up your development environment checking by just creating a `.devcheck.rb` file
7
7
  and populating it with the required commands and files needed for the project to function properly.
8
8
 
9
+ What makes `devcheck` unique is its ability to be flexible. Unlike compiled development environment
10
+ checkers, `devcheck` allows you to customize what commands and files to check for. You can also
11
+ personalize your project's name and ID to show up when running `devcheck`.
12
+
9
13
  ## Installation
10
14
  `devcheck` can be installed by running the `gem install devcheck` command from your terminal.
11
15
 
@@ -23,15 +27,17 @@ checks for commands and files.
23
27
  devcheck
24
28
  ```
25
29
  ```text
26
- devcheck v0.3.1
30
+ devcheck v0.3.2
27
31
  Project Name: Go Choose Your License
28
32
  Project ID: go-choose-license
29
33
 
30
34
  Checking Development Environment
31
35
 
36
+ Commands:
32
37
  ✓ go
33
38
  ✓ git
34
39
 
40
+ Files:
35
41
  ✓ LICENSE
36
42
  ✓ README.md
37
43
  ✓ go.mod
data/devcheck CHANGED
@@ -45,8 +45,8 @@ def command_exists?(cmd)
45
45
  checker = Gem.win_platform? ? 'where' : 'which'
46
46
 
47
47
  # Suppress output and check exit status
48
- system("#{checker} #{cmd} > /dev/null 2>&1")
49
- if $?.success?
48
+ #system("#{checker} #{cmd} > /dev/null 2>&1")
49
+ if system(checker, cmd, out: File::NULL, err: File::NULL )
50
50
  puts "\e[32m✓ #{cmd}\e[0m"
51
51
  else
52
52
  puts "\e[31m✗ #{cmd}\e[0m"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Louie Bloomberg