tigerpants 0.0.0 → 0.1.0

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/.gitignore CHANGED
@@ -1,5 +1,29 @@
1
+ <<<<<<< HEAD
2
+ ## MAC OS
3
+ .DS_Store
4
+
5
+ ## TEXTMATE
6
+ *.tmproj
7
+ tmtags
8
+
9
+ ## EMACS
10
+ *~
11
+ \#*
12
+ .\#*
13
+
14
+ ## VIM
15
+ *.swp
16
+
17
+ ## PROJECT::GENERAL
18
+ coverage
19
+ rdoc
20
+ pkg
21
+
22
+ ## PROJECT::SPECIFIC
23
+ =======
1
24
  *.sw?
2
25
  .DS_Store
3
26
  coverage
4
27
  rdoc
5
28
  pkg
29
+ >>>>>>> 1e65009bb6fb106caf09eca7c71301cf019dba4a
data/README.rdoc CHANGED
@@ -9,10 +9,9 @@ Description goes here.
9
9
  * Add tests for it. This is important so I don't break it in a
10
10
  future version unintentionally.
11
11
  * Commit, do not mess with rakefile, version, or history.
12
- (if you want to have your own version, that is fine but
13
- bump version in a commit by itself I can ignore when I pull)
12
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
14
13
  * Send me a pull request. Bonus points for topic branches.
15
14
 
16
15
  == Copyright
17
16
 
18
- Copyright (c) 2009 Chris Lerum. See LICENSE for details.
17
+ Copyright (c) 2010 Chris Lerum. See LICENSE for details.
data/Rakefile CHANGED
@@ -5,43 +5,46 @@ begin
5
5
  require 'jeweler'
6
6
  Jeweler::Tasks.new do |gem|
7
7
  gem.name = "tigerpants"
8
- gem.summary = %Q{The Summary}
9
- gem.description = %Q{Longer description}
8
+ gem.summary = %Q{undecided}
9
+ gem.description = %Q{undecided}
10
10
  gem.email = "chris.lerum@gmail.com"
11
11
  gem.homepage = "http://github.com/chrislerum/tigerpants"
12
12
  gem.authors = ["Chris Lerum"]
13
- gem.add_development_dependency "rspec"
13
+ gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
14
14
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
15
  end
16
16
  Jeweler::GemcutterTasks.new
17
17
  rescue LoadError
18
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
18
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
19
19
  end
20
20
 
21
- require 'spec/rake/spectask'
22
- Spec::Rake::SpecTask.new(:spec) do |spec|
23
- spec.libs << 'lib' << 'spec'
24
- spec.spec_files = FileList['spec/**/*_spec.rb']
21
+ require 'rake/testtask'
22
+ Rake::TestTask.new(:test) do |test|
23
+ test.libs << 'lib' << 'test'
24
+ test.pattern = 'test/**/test_*.rb'
25
+ test.verbose = true
25
26
  end
26
27
 
27
- Spec::Rake::SpecTask.new(:rcov) do |spec|
28
- spec.libs << 'lib' << 'spec'
29
- spec.pattern = 'spec/**/*_spec.rb'
30
- spec.rcov = true
28
+ begin
29
+ require 'rcov/rcovtask'
30
+ Rcov::RcovTask.new do |test|
31
+ test.libs << 'test'
32
+ test.pattern = 'test/**/test_*.rb'
33
+ test.verbose = true
34
+ end
35
+ rescue LoadError
36
+ task :rcov do
37
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
38
+ end
31
39
  end
32
40
 
33
- task :spec => :check_dependencies
41
+ task :test => :check_dependencies
34
42
 
35
- task :default => :spec
43
+ task :default => :test
36
44
 
37
45
  require 'rake/rdoctask'
38
46
  Rake::RDocTask.new do |rdoc|
39
- if File.exist?('VERSION')
40
- version = File.read('VERSION')
41
- else
42
- version = ""
43
- end
44
-
47
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
45
48
  rdoc.rdoc_dir = 'rdoc'
46
49
  rdoc.title = "tigerpants #{version}"
47
50
  rdoc.rdoc_files.include('README*')
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.1.0
data/lib/tigerpants.rb CHANGED
@@ -1 +0,0 @@
1
- puts 'hello from tigerpants'
@@ -1,9 +1,10 @@
1
- $LOAD_PATH.unshift(File.dirname(__FILE__))
1
+ require 'rubygems'
2
+ require 'test/unit'
3
+ require 'shoulda'
4
+
2
5
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
7
  require 'tigerpants'
4
- require 'spec'
5
- require 'spec/autorun'
6
8
 
7
- Spec::Runner.configure do |config|
8
-
9
+ class Test::Unit::TestCase
9
10
  end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestTigerpants < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
@@ -0,0 +1,54 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{tigerpants}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Chris Lerum"]
12
+ s.date = %q{2010-04-20}
13
+ s.description = %q{undecided}
14
+ s.email = %q{chris.lerum@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "lib/tigerpants.rb",
27
+ "test/helper.rb",
28
+ "test/test_tigerpants.rb",
29
+ "tigerpants.gemspec"
30
+ ]
31
+ s.homepage = %q{http://github.com/chrislerum/tigerpants}
32
+ s.rdoc_options = ["--charset=UTF-8"]
33
+ s.require_paths = ["lib"]
34
+ s.rubygems_version = %q{1.3.6}
35
+ s.summary = %q{undecided}
36
+ s.test_files = [
37
+ "test/helper.rb",
38
+ "test/test_tigerpants.rb"
39
+ ]
40
+
41
+ if s.respond_to? :specification_version then
42
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
43
+ s.specification_version = 3
44
+
45
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
46
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
47
+ else
48
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
49
+ end
50
+ else
51
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
52
+ end
53
+ end
54
+
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tigerpants
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
5
10
  platform: ruby
6
11
  authors:
7
12
  - Chris Lerum
@@ -9,20 +14,22 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-10-11 00:00:00 -04:00
17
+ date: 2010-04-20 00:00:00 -04:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
- name: rspec
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
21
+ name: thoughtbot-shoulda
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
23
29
  version: "0"
24
- version:
25
- description: Longer description
30
+ type: :development
31
+ version_requirements: *id001
32
+ description: undecided
26
33
  email: chris.lerum@gmail.com
27
34
  executables: []
28
35
 
@@ -39,8 +46,9 @@ files:
39
46
  - Rakefile
40
47
  - VERSION
41
48
  - lib/tigerpants.rb
42
- - spec/spec_helper.rb
43
- - spec/tigerpants_spec.rb
49
+ - test/helper.rb
50
+ - test/test_tigerpants.rb
51
+ - tigerpants.gemspec
44
52
  has_rdoc: true
45
53
  homepage: http://github.com/chrislerum/tigerpants
46
54
  licenses: []
@@ -54,21 +62,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
54
62
  requirements:
55
63
  - - ">="
56
64
  - !ruby/object:Gem::Version
65
+ segments:
66
+ - 0
57
67
  version: "0"
58
- version:
59
68
  required_rubygems_version: !ruby/object:Gem::Requirement
60
69
  requirements:
61
70
  - - ">="
62
71
  - !ruby/object:Gem::Version
72
+ segments:
73
+ - 0
63
74
  version: "0"
64
- version:
65
75
  requirements: []
66
76
 
67
77
  rubyforge_project:
68
- rubygems_version: 1.3.5
78
+ rubygems_version: 1.3.6
69
79
  signing_key:
70
80
  specification_version: 3
71
- summary: The Summary
81
+ summary: undecided
72
82
  test_files:
73
- - spec/spec_helper.rb
74
- - spec/tigerpants_spec.rb
83
+ - test/helper.rb
84
+ - test/test_tigerpants.rb
@@ -1,7 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
-
3
- describe "Tigerpants" do
4
- it "fails" do
5
- fail "hey buddy, you should probably rename this file and start specing for real"
6
- end
7
- end