seanhussey-woulda 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2008 Sean Hussey
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.textile ADDED
@@ -0,0 +1,22 @@
1
+ h1. woulda
2
+
3
+ Testing is love. Especially when done
4
+
5
+ h2. Installing
6
+
7
+ Github: "Page":http://github.com/seanhussey/woulda/tree/master "Clone":git://github.com/seanhussey/woulda.git
8
+
9
+ Gem: <pre>gem install seanhussey-woulda --source http://gems.github.com</pre>
10
+
11
+ woulda requires "shoulda":http://github.com/thoughtbot/shoulda/tree/master >= 2.0.0.
12
+
13
+ h2. Included Macros
14
+
15
+ should_act_as_paranoid # acts_as_paranoid_
16
+ should_have_attachment # attachment_fu
17
+ should_act_as_enumerated # enumeration_mixin
18
+
19
+
20
+ Written by "Sean Hussey":mailto:sean@seanhussey.com and "Josh Nichols":http://technicalpickles.com
21
+
22
+ Copyright 2008 Sean Hussey and Josh Nichols.
data/Rakefile ADDED
@@ -0,0 +1,35 @@
1
+ require 'rake'
2
+ require 'rake/testtask'
3
+ require 'rake/rdoctask'
4
+ require 'rake/gempackagetask'
5
+
6
+ spec = Gem::Specification.new do |s|
7
+ s.name = "woulda"
8
+ s.version = "0.0.1"
9
+ s.summary = "woulda is a home for shoulda macros that don't belong in the main shoulda library"
10
+ s.homepage = "http://github.com/seanhussey/woulda"
11
+ s.rubyforge_project = "woulda"
12
+
13
+ s.files = FileList["[A-Z]*", "{shoulda_macros}/**/*"]
14
+
15
+ # s.has_rdoc = true
16
+ # s.extra_rdoc_files = ["README.rdoc", "CONTRIBUTION_GUIDELINES.rdoc"]
17
+ # s.rdoc_options = ["--line-numbers", "--inline-source", "--main", "README.rdoc"]
18
+
19
+ s.authors = ["Sean Hussey", "Josh Nichols"]
20
+ s.email = ["sean@seanhussey.com", "josh@technicalpickles.com"]
21
+
22
+ s.add_dependency "thoughtbot-shoulda", ">= 2.0.0"
23
+ end
24
+
25
+ Rake::GemPackageTask.new spec do |pkg|
26
+ pkg.need_tar = true
27
+ pkg.need_zip = true
28
+ end
29
+
30
+ desc "Generate a gemspec file for GitHub"
31
+ task :gemspec do
32
+ File.open("#{spec.name}.gemspec", 'w') do |f|
33
+ f.write spec.to_ruby
34
+ end
35
+ end
@@ -0,0 +1 @@
1
+ require 'woulda/acts_as_paranoid' if defined? Caboose::Acts::Paranoid
metadata ADDED
@@ -0,0 +1,67 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: seanhussey-woulda
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Sean Hussey
8
+ - Josh Nichols
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2008-09-29 00:00:00 -07:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: thoughtbot-shoulda
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.0.0
24
+ version:
25
+ description:
26
+ email:
27
+ - sean@seanhussey.com
28
+ - josh@technicalpickles.com
29
+ executables: []
30
+
31
+ extensions: []
32
+
33
+ extra_rdoc_files: []
34
+
35
+ files:
36
+ - LICENSE
37
+ - Rakefile
38
+ - README.textile
39
+ - shoulda_macros/should_act_as_paranoid.rb
40
+ has_rdoc: false
41
+ homepage: http://github.com/seanhussey/woulda
42
+ post_install_message:
43
+ rdoc_options: []
44
+
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: "0"
52
+ version:
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: "0"
58
+ version:
59
+ requirements: []
60
+
61
+ rubyforge_project: woulda
62
+ rubygems_version: 1.2.0
63
+ signing_key:
64
+ specification_version: 2
65
+ summary: woulda is a home for shoulda macros that don't belong in the main shoulda library
66
+ test_files: []
67
+