rubydeps 0.9.0.pre → 0.9.1.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.md +1 -1
  2. data/VERSION +1 -1
  3. data/bin/rubydeps +5 -5
  4. data/rubydeps.gemspec +1 -1
  5. metadata +2 -2
data/README.md CHANGED
@@ -82,7 +82,7 @@ Installation
82
82
  ------------
83
83
 
84
84
  ```bash
85
- gem install rubydeps
85
+ gem install rubydeps --pre
86
86
  ```
87
87
 
88
88
  Rubydeps now only supports ruby 1.9. If you need 1.8.x support then:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0.pre
1
+ 0.9.1.pre
data/bin/rubydeps CHANGED
@@ -48,7 +48,7 @@ module Rubydeps
48
48
  method_option :class_name_filter, :type => :string, :default => '', :required => true
49
49
  default_task :load_deps
50
50
  def load_deps
51
- puts options[:from_file]
51
+ create_dependencies_dot_for(options)
52
52
  end
53
53
 
54
54
  desc "rspec2", "Create the dependency graph after runnning the rspec 2 tests"
@@ -71,10 +71,10 @@ module Rubydeps
71
71
  def create_dependencies_dot_for(options)
72
72
  ARGV.clear
73
73
  Rubydeps.analyze(:path_filter => Regexp.new(options[:path_filter]),
74
- :class_name_filter => Regexp.new(options[:class_name_filter]),
75
- :to_file => options[:to_file],
76
- :from_file => options[:from_file]) do
77
- yield
74
+ :class_name_filter => Regexp.new(options[:class_name_filter]),
75
+ :to_file => options[:to_file],
76
+ :from_file => options[:from_file]) do
77
+ yield if block_given?
78
78
  end
79
79
  end
80
80
  end
data/rubydeps.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{rubydeps}
3
- s.version = "0.9.0.pre"
3
+ s.version = "0.9.1.pre"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Daniel Cadenas"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rubydeps
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 0.9.0.pre
5
+ version: 0.9.1.pre
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Cadenas
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-03-08 00:00:00 Z
13
+ date: 2012-03-09 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake-compiler