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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/roda +0 -19
  3. data/lib/roda/bin/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b14bd1fe6d26d69cd502c48c2c724bd55f6edd0e
4
- data.tar.gz: 750d9eaa16308a1504d07de5addd4b47703ee55e
3
+ metadata.gz: 01e2b6c6c8d513172b452a57a330ebc180884cb7
4
+ data.tar.gz: 6ba8e33174cc4fd37572f760b6002ffa19ba7d27
5
5
  SHA512:
6
- metadata.gz: e610aec2a75ee9a314e9aa49019474958015fe5b56b358175dcc4c0553434e8f8222ebcf2b25a1ee19d01403ee91cb1e37d9e778edb47f37cf0d6e0db0c3b403
7
- data.tar.gz: 79ac57445a483d06d58b517d940016d80d20930fe4430199997eec11d67ec0b243e55c69d9c3ea4f367ecc0081a18e937026c739acf0a556a49e1be37358b510
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 }
@@ -1,5 +1,5 @@
1
1
  class Roda
2
2
  module BIN
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
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.7
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-01-16 00:00:00.000000000 Z
11
+ date: 2015-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: roda