shellject 0.2.0 → 0.3.0
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/bash/shellject_wrapper.sh +5 -0
- data/lib/shellject/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f852ab84afcd6024a06c8800f9548070d46fab84
|
|
4
|
+
data.tar.gz: 265c5405d7f35afa07ff55ba6713299baa3d1359
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b683257c6b4260a07cfb8ea57e3fd99d113c8c7b50f3c17dc933fb0f59649979dd7d033c306a55ef0070e837861211bf9c898ae250f8e60129d6afe829def48e
|
|
7
|
+
data.tar.gz: d4100ca8c408ba0875d5ce6fed1b65360a37ff5edb73b71feea306e6b491926019a45d859780709651e326467103c75b9c6d1a3c64644d4ddbb624a7f1919c7e
|
data/bash/shellject_wrapper.sh
CHANGED
|
@@ -2,6 +2,11 @@ shellject ()
|
|
|
2
2
|
{
|
|
3
3
|
local executable output shellject_exit eval_exit
|
|
4
4
|
executable=$( type -P shellject );
|
|
5
|
+
if [[ "$executable" == "" ]]; then
|
|
6
|
+
>&2 echo "shellject executable does not seem to exist."
|
|
7
|
+
>&2 echo "Make sure shellject gem is installed correctly for $(ruby -v)"
|
|
8
|
+
return 1
|
|
9
|
+
fi
|
|
5
10
|
output=$( $executable $@ );
|
|
6
11
|
shellject_exit=$?;
|
|
7
12
|
if [[ $shellject_exit == 0 && "$1" == "load" && ! ($@ =~ "--help" || $@ =~ " -h") ]]; then
|
data/lib/shellject/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shellject
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sergei Matheson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-02-
|
|
11
|
+
date: 2015-02-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gpgme
|