bludgeon 0.0.2
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/test/test_bludgeon.rb +26 -0
- metadata +74 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'minitest/unit'
|
3
|
+
require File.dirname(__FILE__) + '/../lib/bludgeon'
|
4
|
+
|
5
|
+
class TestBludgeon < MiniTest::Unit::TestCase
|
6
|
+
def test_bludgeon_bus_scheme
|
7
|
+
output = `#{File.dirname(__FILE__)}/../bin/bludgeon "Bus Scheme" \
|
8
|
+
git://github.com/technomancy/bus-scheme.git`
|
9
|
+
assert_match /could not bludgeon someone to death/, output
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_bludgeon_rspec
|
13
|
+
output = `#{File.dirname(__FILE__)}/../bin/bludgeon rspec \
|
14
|
+
git://github.com/dchelimsky/rspec.git`
|
15
|
+
assert_match /could bludgeon someone to death/, output
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_initialize
|
19
|
+
p = Bludgeon::Project.new 'http://github.com/technomancy/bus-scheme.git'
|
20
|
+
assert_equal :git, p.type
|
21
|
+
assert_equal 'bus-scheme', p.extract_name(p.url)
|
22
|
+
assert_equal 'bus-scheme', p.name
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
MiniTest::Unit.autorun
|
metadata
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bludgeon
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Phil Hagelberg
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-11-27 00:00:00 -08:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: minitest
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.3.0
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hoe
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.8.2
|
34
|
+
version:
|
35
|
+
description: "In #merb on Freenode: 11:54 <technomancy> I'm sticking with minitest because rspec nests instance_evals three-deep, but if that doesn't scare you away, go for it. =) 11:56 <scottmotte> i don't know enough for it to scare me yet =) 11:56 <jackdempsey> hehe 11:57 <technomancy> I'm just saying ... if you could take the printout of a library and bludgeon someone to death with it, it might be time to look for a lighter alternative."
|
36
|
+
email:
|
37
|
+
- technomancy@gmail.com
|
38
|
+
executables: []
|
39
|
+
|
40
|
+
extensions: []
|
41
|
+
|
42
|
+
extra_rdoc_files: []
|
43
|
+
|
44
|
+
files: []
|
45
|
+
|
46
|
+
has_rdoc: true
|
47
|
+
homepage: Bludgeon is a tool which will tell you if a given library is so large
|
48
|
+
post_install_message:
|
49
|
+
rdoc_options:
|
50
|
+
- --main
|
51
|
+
- README.txt
|
52
|
+
require_paths:
|
53
|
+
- lib
|
54
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: "0"
|
59
|
+
version:
|
60
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
|
+
requirements:
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: "0"
|
65
|
+
version:
|
66
|
+
requirements: []
|
67
|
+
|
68
|
+
rubyforge_project: seattlerb
|
69
|
+
rubygems_version: 1.3.1
|
70
|
+
signing_key:
|
71
|
+
specification_version: 2
|
72
|
+
summary: "In #merb on Freenode: 11:54 <technomancy> I'm sticking with minitest because rspec nests instance_evals three-deep, but if that doesn't scare you away, go for it"
|
73
|
+
test_files:
|
74
|
+
- test/test_bludgeon.rb
|