climax 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/climax +1 -0
- data/lib/climax/application.rb +2 -2
- data/lib/climax/version.rb +1 -1
- data/templates/bin/application.rb.erb +2 -0
- data/templates/features/support/env.rb.erb +2 -0
- metadata +2 -2
data/bin/climax
CHANGED
data/lib/climax/application.rb
CHANGED
@@ -36,7 +36,7 @@ module Climax
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def _parse_options
|
39
|
-
slop.parse!
|
39
|
+
slop.parse!(@args)
|
40
40
|
@opts = slop
|
41
41
|
exit 0 if opts.help?
|
42
42
|
rescue => e
|
@@ -191,7 +191,7 @@ module Climax
|
|
191
191
|
|
192
192
|
def climax_has_event?
|
193
193
|
_events_mutex.synchronize {
|
194
|
-
_events.count >
|
194
|
+
_events.count > 0
|
195
195
|
}
|
196
196
|
end
|
197
197
|
|
data/lib/climax/version.rb
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
# -*- mode: ruby -*-
|
3
3
|
$:.unshift File.expand_path("../../lib", __FILE__)
|
4
4
|
require "rubygems" rescue nil
|
5
|
+
require 'bundler/setup'
|
5
6
|
require "<%= name %>"
|
7
|
+
Bundler.setup
|
6
8
|
app = <%= module_string %>::Application.new(ARGV)
|
7
9
|
received_ctrlc = false
|
8
10
|
trap("INT") do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: climax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
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: 2013-02-
|
12
|
+
date: 2013-02-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|