fir-cli 0.2.3 → 0.2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fir-cli/version.rb +1 -1
- data/lib/fir-cli.utils.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04154c446616e8eacac4ac9f0f22682a2bcaedc3
|
4
|
+
data.tar.gz: ebd13d2d7eeb162070919c639158999ac4ea6a1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaef251340151daaa73f356b4f93149b2ab41916dd54c28c0636a746af36949b5b540f80818692e5f9ce1d550edec6dc73fabb7045942bd377417f2c40749b2f
|
7
|
+
data.tar.gz: 8485d33558ce9d6c5052dbfd5b08cac8175b975194fcb57b587c856ce3d00bcb3e19fa2dec9234ec8df3c8a50ffd15e57ad82bcb588d9a3206927c0a6d1d2022
|
data/lib/fir-cli/version.rb
CHANGED
data/lib/fir-cli.utils.rb
CHANGED
@@ -59,6 +59,9 @@ module Fir
|
|
59
59
|
def _is_email?(str)
|
60
60
|
/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)$/i.match str
|
61
61
|
end
|
62
|
+
def _extends
|
63
|
+
@extends ||= Cli.find_extends
|
64
|
+
end
|
62
65
|
def _os
|
63
66
|
return 'mac' if /darwin/ =~ RUBY_PLATFORM
|
64
67
|
return 'windows' if /cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM
|