pimon 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/bin/pimon CHANGED
@@ -5,7 +5,7 @@ environment = ARGV[1]
5
5
  case action
6
6
  when "start"
7
7
  require 'rack'
8
-
8
+
9
9
  puts 'Pimon is starting at http://localhost:3000'
10
10
  config = "#{File.dirname(__FILE__)}/../config/config.ru"
11
11
 
data/config/config.ru CHANGED
@@ -1,4 +1,4 @@
1
- require 'sinatra'
2
- require "#{File.dirname(__FILE__)}/../lib/pimon"
1
+ $: << "#{File.dirname(__FILE__)}/.."
2
+ require 'lib/pimon'
3
3
 
4
4
  run Pimon
data/lib/pimon.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  $: << File.dirname(__FILE__)
2
2
 
3
- if File.file?("Gemfile")
4
- require 'bundler'
3
+ if File.file?('Gemfile')
4
+ require 'bundler/setup'
5
5
  Bundler.require(:default, ENV['RACK_ENV'])
6
6
  end
7
7
  require 'eventmachine'
data/lib/pimon/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pimon
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pimon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-29 00:00:00.000000000 Z
12
+ date: 2012-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler