gem_skeleton 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,15 +1,11 @@
1
- # A sample Guardfile
2
- # More info at https://github.com/guard/guard#readme
3
-
4
1
  guard 'spork' do
5
2
  watch('Gemfile')
6
3
  watch('Gemfile.lock')
7
4
  watch('spec/spec_helper.rb') { :rspec }
8
5
  end
9
6
 
10
- guard 'rspec', :cli => "--color --format nested --fail-fast --drb" do
7
+ guard 'rspec', :all_after_pass => false, :cli => "--color --format documentation --drb" do
11
8
  watch(%r{^spec/.+_spec\.rb$})
12
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
13
- watch(%r{^lib/galaxy-presenters/(.+)\.rb$}) { |m| [ "lib/galaxy-presenters/#{m[1]}.rb", "spec/lib/galaxy-presenters/#{m[1]}_spec.rb" ] }
9
+ watch(%r{^lib/(.+)/(.+)\.rb$}) { |m| [ "lib/#{m[1]}/#{m[2]}.rb", "spec/#{m[1]}/#{m[2]}_spec.rb" ] }
14
10
  watch('spec/spec_helper.rb') { "spec" }
15
11
  end
@@ -10,7 +10,7 @@ SimpleCov.start do
10
10
  end
11
11
  end
12
12
  end
13
- require 'spork'
13
+ require 'guard/spork'
14
14
 
15
15
  Spork.prefork do
16
16
  require 'rspec/core'
@@ -23,5 +23,7 @@ Spork.prefork do
23
23
  end
24
24
 
25
25
  Spork.each_run do
26
+ Dir["#{File.dirname(__FILE__)}/../lib/<%=config[:name]%>.rb"].each {|f| load f}
27
+ Dir["#{File.dirname(__FILE__)}/../lib/<%=config[:name]%>/*.rb"].each {|f| load f}
26
28
  end
27
29
 
@@ -1,3 +1,3 @@
1
1
  module GemSkeleton
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/gem_skeleton.rb CHANGED
@@ -1 +0,0 @@
1
- # require "gem_skeleton/version"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_skeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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-04-11 00:00:00.000000000 Z
12
+ date: 2012-04-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor