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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42c5c16ef31d11d1568b3b56f5046272b8ec650f
4
- data.tar.gz: 01560ee6b533f226a683b1211ec4edf3abaccab8
3
+ metadata.gz: 2a6589be49c4f0670edd89668eb31191ebdd13a3
4
+ data.tar.gz: b3f18ad08fffbf3f4123b614503c96959d941dbd
5
5
  SHA512:
6
- metadata.gz: 5aa0308255c3dbdc2b9eb89f724c12a48d4c813f1b1ea0714ae01d9ad8ae69afd1c7e02e1937449190e3a06b78505f261893a1cb1ffaa7f71c3b1c0dac55f6df
7
- data.tar.gz: de9e1de5191d93961f5fb64dc2fd308b81f82edf7d7266b86f4926e97fb78ff14497a726f9c94f65cf3d596e3c0696ba52d13e026b4e26aa59d080cd9d832bf3
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
 
@@ -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
@@ -1,4 +1,4 @@
1
1
  # Provides the gem version.
2
2
  module Shellject
3
- VERSION = '0.1.0'
3
+ VERSION = '0.2.0'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shellject
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergei Matheson