nkryptic-sandbox 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -14,17 +14,39 @@ begin
14
14
  p.author = "Jacob Radford"
15
15
  p.email = "nkryptic@gmail.com"
16
16
  p.ignore_pattern = [ "tmp/*", "script/*" ]
17
+ p.rdoc_pattern = /^(lib|bin|ext).*(\.rb)$|^README|^CHANGELOG|^TODO|^LICENSE|^COPYING$/
18
+ p.runtime_dependencies = []
17
19
  p.development_dependencies = [
18
- # 'echoe ~> 3.0',
19
- # 'rspec ~> 1.1.0',
20
- # 'mocha ~> 0.9',
20
+ # 'echoe ~>3.0',
21
+ # 'dcov ~>0.2',
22
+ # 'rcov ~>0.8',
23
+ # 'rspec ~>1.1.0',
24
+ # 'cucumber ~>0.1.0',
25
+ # 'mocha ~>0.9',
21
26
  ]
27
+ # Version Specification
28
+ # 3 and up, ">= 3"
29
+ # 3.y.z, "~> 3.0"
30
+ # 3.0.z, "~> 3.0.0"
31
+ # 3.5.z to <4.0, "~> 3.5"
32
+ # 3.5.z to <3.6, "~> 3.5.0"
33
+
22
34
  # p.dependencies = ['ParseTree >=2.1.1', 'ruby2ruby >=1.1.8']
23
35
  end
24
36
 
37
+ desc "Create this gem's .gemspec file"
38
+ task :gemspec do
39
+ Rake::Task[ 'build_gemspec' ].invoke
40
+ end
41
+
25
42
  rescue LoadError => boom
26
- puts "You are missing a dependency required for meta-operations on this gem."
27
- puts "#{boom.to_s.capitalize}."
43
+ puts <<-EOS
44
+ You are missing a dependency required for meta-operations on this gem. Try:
45
+ gem install echoe
46
+
47
+ EOS
48
+ # puts "You are missing a dependency required for meta-operations on this gem."
49
+ # puts "#{boom.to_s.capitalize}."
28
50
  end
29
51
 
30
52
  Dir[ "#{File.dirname(__FILE__)}/tasks/*.rake" ].sort.each { |ext| load ext }
@@ -5,7 +5,7 @@ module Sandbox
5
5
 
6
6
  MAJOR = 0
7
7
  MINOR = 2
8
- TINY = 3
8
+ TINY = 4
9
9
 
10
10
  STRING = [ MAJOR, MINOR, TINY ].join( '.' )
11
11
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{sandbox}
5
- s.version = "0.2.3"
5
+ s.version = "0.2.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jacob Radford"]
@@ -11,8 +11,8 @@ Gem::Specification.new do |s|
11
11
  s.description = %q{Create virtual ruby/rubygems sandboxes.}
12
12
  s.email = %q{nkryptic@gmail.com}
13
13
  s.executables = ["sandbox"]
14
- s.extra_rdoc_files = ["CHANGELOG", "TODO", "README.rdoc", "tasks/rspec.rake", "tasks/cucumber.rake", "tasks/gem.rake", "tasks/dcov.rake", "lib/sandbox.rb", "lib/sandbox/installer.rb", "lib/sandbox/cli.rb", "lib/sandbox/templates/gemrc.erb", "lib/sandbox/templates/activate_sandbox.erb", "lib/sandbox/version.rb", "lib/sandbox/errors.rb", "lib/sandbox/output.rb", "bin/sandbox"]
15
- s.files = ["sandbox.gemspec", "CHANGELOG", "TODO", "spec/sandbox/errors_spec.rb", "spec/sandbox/cli_spec.rb", "spec/sandbox/output_spec.rb", "spec/sandbox/installer_spec.rb", "spec/sandbox_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "Manifest", "features/steps/common.rb", "features/steps/env.rb", "features/development.feature", "README.rdoc", "tasks/rspec.rake", "tasks/cucumber.rake", "tasks/gem.rake", "tasks/dcov.rake", "Rakefile", "lib/sandbox.rb", "lib/sandbox/installer.rb", "lib/sandbox/cli.rb", "lib/sandbox/templates/gemrc.erb", "lib/sandbox/templates/activate_sandbox.erb", "lib/sandbox/version.rb", "lib/sandbox/errors.rb", "lib/sandbox/output.rb", "bin/sandbox"]
14
+ s.extra_rdoc_files = ["CHANGELOG", "TODO", "README.rdoc", "lib/sandbox.rb", "lib/sandbox/installer.rb", "lib/sandbox/cli.rb", "lib/sandbox/version.rb", "lib/sandbox/errors.rb", "lib/sandbox/output.rb"]
15
+ s.files = ["sandbox.gemspec", "CHANGELOG", "TODO", "spec/sandbox/errors_spec.rb", "spec/sandbox/cli_spec.rb", "spec/sandbox/output_spec.rb", "spec/sandbox/installer_spec.rb", "spec/sandbox_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "Manifest", "features/steps/common.rb", "features/steps/env.rb", "features/development.feature", "README.rdoc", "tasks/rspec.rake", "tasks/cucumber.rake", "tasks/dcov.rake", "Rakefile", "lib/sandbox.rb", "lib/sandbox/installer.rb", "lib/sandbox/cli.rb", "lib/sandbox/templates/gemrc.erb", "lib/sandbox/templates/activate_sandbox.erb", "lib/sandbox/version.rb", "lib/sandbox/errors.rb", "lib/sandbox/output.rb", "bin/sandbox"]
16
16
  s.has_rdoc = true
17
17
  s.homepage = %q{http://github.com/nkryptic/sandbox}
18
18
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Sandbox", "--main", "README.rdoc"]
@@ -12,7 +12,8 @@ begin
12
12
  end
13
13
  rescue LoadError
14
14
  puts <<-EOS
15
- To use cucumber for testing you must install cucumber gem:
15
+ To use cucumber for testing you must install cucumber gem:
16
16
  gem install cucumber
17
+
17
18
  EOS
18
19
  end
@@ -27,8 +27,9 @@ begin
27
27
 
28
28
  rescue LoadError
29
29
  puts <<-EOS
30
- To generate documentation coverage with dcov you must install dcov gem:
30
+ To generate documentation coverage with dcov you must install dcov gem:
31
31
  gem install dcov
32
+
32
33
  EOS
33
34
  end
34
35
 
@@ -9,13 +9,24 @@ begin
9
9
  end
10
10
 
11
11
  namespace :spec do
12
- desc "Run all specs in spec directory with RCov"
13
- Spec::Rake::SpecTask.new( :rcov ) do |t|
14
- t.spec_opts = [ '--options', "spec/spec.opts" ]
15
- t.spec_files = FileList[ 'spec/**/*_spec.rb' ]
16
- t.rcov = true
17
- # t.rcov_opts = [ '--exclude', "spec/*" ]
18
- t.rcov_opts = [ '--exclude', "spec" ]
12
+ begin
13
+ require 'rcov'
14
+
15
+ desc "Run all specs in spec directory with RCov"
16
+ Spec::Rake::SpecTask.new( :rcov ) do |t|
17
+ t.spec_opts = [ '--options', "spec/spec.opts" ]
18
+ t.spec_files = FileList[ 'spec/**/*_spec.rb' ]
19
+ t.rcov = true
20
+ # t.rcov_opts = [ '--exclude', "spec/*" ]
21
+ t.rcov_opts = [ '--exclude', "spec" ]
22
+ end
23
+
24
+ rescue LoadError
25
+ puts <<-EOS
26
+ To use rcov for testing you must install rcov gem:
27
+ gem install rcov
28
+
29
+ EOS
19
30
  end
20
31
 
21
32
  desc "Print Specdoc for all specs in spec directory"
@@ -40,7 +51,8 @@ begin
40
51
 
41
52
  rescue LoadError
42
53
  puts <<-EOS
43
- To use rspec for testing you must install rspec gem:
54
+ To use rspec for testing you must install rspec gem:
44
55
  gem install rspec
56
+
45
57
  EOS
46
58
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nkryptic-sandbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Radford
@@ -23,19 +23,12 @@ extra_rdoc_files:
23
23
  - CHANGELOG
24
24
  - TODO
25
25
  - README.rdoc
26
- - tasks/rspec.rake
27
- - tasks/cucumber.rake
28
- - tasks/gem.rake
29
- - tasks/dcov.rake
30
26
  - lib/sandbox.rb
31
27
  - lib/sandbox/installer.rb
32
28
  - lib/sandbox/cli.rb
33
- - lib/sandbox/templates/gemrc.erb
34
- - lib/sandbox/templates/activate_sandbox.erb
35
29
  - lib/sandbox/version.rb
36
30
  - lib/sandbox/errors.rb
37
31
  - lib/sandbox/output.rb
38
- - bin/sandbox
39
32
  files:
40
33
  - sandbox.gemspec
41
34
  - CHANGELOG
@@ -54,7 +47,6 @@ files:
54
47
  - README.rdoc
55
48
  - tasks/rspec.rake
56
49
  - tasks/cucumber.rake
57
- - tasks/gem.rake
58
50
  - tasks/dcov.rake
59
51
  - Rakefile
60
52
  - lib/sandbox.rb
@@ -1,5 +0,0 @@
1
-
2
- desc "Create this gem's .gemspec file"
3
- task :gemspec do
4
- Rake::Task[ 'build_gemspec' ].invoke
5
- end