shellject 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/bash/shellject_wrapper.sh +2 -2
- data/lib/shellject/version.rb +1 -1
- 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: 2a6589be49c4f0670edd89668eb31191ebdd13a3
|
4
|
+
data.tar.gz: b3f18ad08fffbf3f4123b614503c96959d941dbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a239436dfbdc50d97f9ee0e183a25921d53e182b85e06e5322deaebc7d27a278cb48e40386c12cb34f149e7d5fd9b19696155eb3f6cc5d21724f3a12bd9ef41
|
7
|
+
data.tar.gz: e1ec83dd39f74e7d36923de9aba0e5cf96f9778104db5d02462435c2d37d3da94498d9b5bab1228f58052d0155ac6ff3577e6b58d4f3c0c2f4a9585fb0de7691
|
data/README.md
CHANGED
@@ -5,6 +5,7 @@ Store your secret environment variables (API keys, AWS secrets etc.) with GPGME,
|
|
5
5
|
[![Build Status](https://travis-ci.org/sergei-matheson/shellject.svg?branch=master)](https://travis-ci.org/sergei-matheson/shellject)
|
6
6
|
[![Code Climate](https://codeclimate.com/github/sergei-matheson/shellject/badges/gpa.svg)](https://codeclimate.com/github/sergei-matheson/shellject)
|
7
7
|
[![Test Coverage](https://codeclimate.com/github/sergei-matheson/shellject/badges/coverage.svg)](https://codeclimate.com/github/sergei-matheson/shellject)
|
8
|
+
[![Gem Version](https://badge.fury.io/rb/shellject.svg)](http://badge.fury.io/rb/shellject)
|
8
9
|
|
9
10
|
## Installation
|
10
11
|
|
data/bash/shellject_wrapper.sh
CHANGED
@@ -4,12 +4,12 @@ shellject ()
|
|
4
4
|
executable=$( type -P shellject );
|
5
5
|
output=$( $executable $@ );
|
6
6
|
shellject_exit=$?;
|
7
|
-
if [[ $shellject_exit == 0 && "$1" == "load" && ! $@ =~ "--help" ]]; then
|
7
|
+
if [[ $shellject_exit == 0 && "$1" == "load" && ! ($@ =~ "--help" || $@ =~ " -h") ]]; then
|
8
8
|
eval "$output";
|
9
9
|
eval_exit=$?
|
10
10
|
if [[ $eval_exit != 0 ]]; then
|
11
11
|
echo "Loading shelljection $2 FAILED";
|
12
|
-
return $eval_exit
|
12
|
+
return $eval_exit;
|
13
13
|
fi;
|
14
14
|
else
|
15
15
|
if [[ $shellject_exit == 0 ]]; then
|
data/lib/shellject/version.rb
CHANGED