rubyc 0.1.3 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubyc (0.1.3)
4
+ rubyc (0.2.0)
5
5
  thor (~> 0.15)
6
6
 
7
7
  GEM
data/lib/rubyc/cli.rb CHANGED
@@ -5,12 +5,13 @@ require 'rubyc/core_extensions'
5
5
  module Rubyc
6
6
  class CLI < Thor
7
7
  class_option :require, :aliases => '-r'
8
-
8
+ class_option :sync, :type => :boolean, :default => false, :aliases => '-s', :banner => 'Synchronize stdout'
9
+
9
10
  def initialize(*args)
10
11
  super
11
12
  libs = options[:require] ? options[:require].strip.split(":") : []
12
13
  libs.each {|lib| require lib}
13
- $stdout.sync = true
14
+ $stdout.sync = options[:sync]
14
15
  end
15
16
 
16
17
  def help(*args)
data/lib/rubyc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rubyc
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
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-12-07 00:00:00.000000000 Z
12
+ date: 2013-01-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -153,7 +153,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
153
153
  version: '0'
154
154
  segments:
155
155
  - 0
156
- hash: 3393431867051759750
156
+ hash: -3499535431891997109
157
157
  required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  none: false
159
159
  requirements:
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  version: '0'
163
163
  segments:
164
164
  - 0
165
- hash: 3393431867051759750
165
+ hash: -3499535431891997109
166
166
  requirements: []
167
167
  rubyforge_project: rubyc
168
168
  rubygems_version: 1.8.24