roda-bin 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/roda +0 -19
- data/lib/roda/bin/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: 01e2b6c6c8d513172b452a57a330ebc180884cb7
|
4
|
+
data.tar.gz: 6ba8e33174cc4fd37572f760b6002ffa19ba7d27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dddd9eb1ab1cca8feefcffcb80dcb28e54b63c6d41b0521c2deb199595332510aa9ec43e6337f03a2f52eaaf8dd7a00f3bb96738ce287940b9efba72e57fadf2
|
7
|
+
data.tar.gz: 060df535ff971adb8d47c3ad38ee13971d638c5c199b1ec85336aae48d41a4fc97c01b36ed64c22c5ff32e323b37e118fb527a522bc0126602520b2031d4243f
|
data/bin/roda
CHANGED
@@ -12,25 +12,6 @@ require "clap"
|
|
12
12
|
$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../lib"))
|
13
13
|
require 'roda/bin'
|
14
14
|
|
15
|
-
env = '.env'
|
16
|
-
rack_env = "#{env}.#{ENV['RACK_ENV']}"
|
17
|
-
|
18
|
-
if File.file? env
|
19
|
-
File.foreach env do |line|
|
20
|
-
key, value = line.split "=", 2
|
21
|
-
ENV[key] = value.gsub('\n', '').strip
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
if File.file? rack_env
|
26
|
-
File.foreach rack_env do |line|
|
27
|
-
key, value = line.split "=", 2
|
28
|
-
ENV[key] = value.gsub('\n', '').strip
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
Gem.clear_paths
|
33
|
-
|
34
15
|
Clap.run ARGV,
|
35
16
|
"server" => -> { Roda::BIN.server },
|
36
17
|
"s" => -> { Roda::BIN.server }
|
data/lib/roda/bin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roda-bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: roda
|