denv 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/exe/denv +2 -3
- data/lib/denv/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf22cb5ee036914c0ff04f38de957502cc96861a
|
4
|
+
data.tar.gz: e848b7552e5f071a1cf15304d8d721c1645829a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76cc50146b6345ea0ecb712aaeaa0804d5a365d868eb226a6555d2172fcd47f60cd7edfcbcad398ffb76bfcb4a36318ac3fbe108371393cdae3cce6f12fa1843
|
7
|
+
data.tar.gz: 9179d78fe86aedd2a744db9495f29aec65d8eaed3806e7519223285c031c9498cd63c031c20f758f1c66bf0fb6cc2941b8208599c3e4647d17e32f3f29919146
|
data/CHANGELOG.md
CHANGED
data/exe/denv
CHANGED
@@ -13,7 +13,7 @@ filename = Denv::DEFAULT_ENV_FILENAME
|
|
13
13
|
opt = OptionParser.new.
|
14
14
|
on('-f', '--filename FILENAME') {|v| filename = v }
|
15
15
|
opt.version = Denv::VERSION
|
16
|
-
opt.banner = "Usage: #{opt.program_name} [options] command [argument ...]"
|
16
|
+
opt.banner = "Usage: #{opt.program_name} [options] -- command [argument ...]"
|
17
17
|
|
18
18
|
begin
|
19
19
|
command = opt.parse(ARGV)
|
@@ -22,11 +22,10 @@ rescue OptionParser::InvalidOption
|
|
22
22
|
exit 1
|
23
23
|
end
|
24
24
|
|
25
|
-
Denv.load(filename)
|
26
|
-
|
27
25
|
if command.empty?
|
28
26
|
puts opt.help
|
29
27
|
exit 1
|
30
28
|
else
|
29
|
+
Denv.load(filename)
|
31
30
|
exec(*command)
|
32
31
|
end
|
data/lib/denv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: denv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taiki Ono
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
115
|
+
rubygems_version: 2.5.1
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Loads environment variables to `ENV` from `.env` file. No special treatments
|