Magma 0.2.1 → 0.2.2
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 +4 -4
- data/lib/magma.rb +3 -3
- 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: 4a505ab1a3a43701dff52b4fd84c25fa6227e861
|
|
4
|
+
data.tar.gz: 4ebb35fc1c8bdf45595d702c4e4b7f316bd99fba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae50cf1cf93da0a9da7234cf160e493067618359181f61bf949a51e064565fec21d4ce7c55954ff5195f7595884443065dd6e3026201f9d637b9bfc732021ee8
|
|
7
|
+
data.tar.gz: 7efbcb19deb3216f197f54bd7b6ca29871b0a863f8551b9a4bea710b7ff4cf6a6b729d296c79c34370370fe5b6e6b9aaefe505660facc628abf43bb92755d799
|
data/lib/magma.rb
CHANGED
|
@@ -25,13 +25,13 @@ def magtutor
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
def exec(execution)
|
|
28
|
-
execc=(eval("`"+execution+"`") or eval("%x("+execution+")")
|
|
28
|
+
execc=(eval("`"+execution+"`") or eval("%x("+execution+")"))
|
|
29
29
|
puts execc
|
|
30
30
|
return execc
|
|
31
31
|
end
|
|
32
32
|
module CommandLine
|
|
33
33
|
def execute(execution)
|
|
34
|
-
execc=(eval("`"+execution+"`") or eval("%x("+execution+")")
|
|
34
|
+
execc=(eval("`"+execution+"`") or eval("%x("+execution+")"))
|
|
35
35
|
puts execc
|
|
36
36
|
return execc
|
|
37
37
|
end
|
|
@@ -41,7 +41,7 @@ module CommandLine
|
|
|
41
41
|
end
|
|
42
42
|
module Bedrock
|
|
43
43
|
def operatingsystem
|
|
44
|
-
return [
|
|
44
|
+
return [ENV["_system_name"],ENV["_system_version"],ENV["_system_arch"],ENV["_system_type"],ENV["COMMAND_MODE"]]
|
|
45
45
|
end
|
|
46
46
|
def commandline
|
|
47
47
|
return Commandline
|