bones-zentest 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ == 1.0.0 / 2010-10-17
2
+
3
+ * 1 major enhancement
4
+ * Birthday!
@@ -0,0 +1,37 @@
1
+ bones-zentest
2
+ by Tim Pease
3
+ http://rubygems.org/gems/bones-zentest
4
+
5
+ == DESCRIPTION:
6
+
7
+ The zentest package for Mr Bones provides tasks to incorporate ZentTest
8
+ automated testing into bones based projects.
9
+
10
+ == INSTALL:
11
+
12
+ gem install bones-zentest
13
+
14
+ == LICENSE:
15
+
16
+ (The MIT License)
17
+
18
+ Copyright (c) 2010
19
+
20
+ Permission is hereby granted, free of charge, to any person obtaining
21
+ a copy of this software and associated documentation files (the
22
+ 'Software'), to deal in the Software without restriction, including
23
+ without limitation the rights to use, copy, modify, merge, publish,
24
+ distribute, sublicense, and/or sell copies of the Software, and to
25
+ permit persons to whom the Software is furnished to do so, subject to
26
+ the following conditions:
27
+
28
+ The above copyright notice and this permission notice shall be
29
+ included in all copies or substantial portions of the Software.
30
+
31
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
32
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
33
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
34
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
35
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
36
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
37
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,20 @@
1
+
2
+ begin
3
+ require 'bones'
4
+ rescue LoadError
5
+ abort '### Please install the "bones" gem ###'
6
+ end
7
+
8
+ Bones {
9
+ name 'bones-zentest'
10
+ authors 'Tim Pease'
11
+ email 'tim.pease@gmail.com'
12
+ url 'http://github.com/TwP/bones-zentest'
13
+ ignore_file '.gitignore'
14
+
15
+ depend_on 'bones'
16
+ depend_on 'ZenTest'
17
+
18
+ use_gmail
19
+ }
20
+
@@ -0,0 +1,43 @@
1
+
2
+ module Bones::Plugins::Zentest
3
+ include ::Bones::Helpers
4
+ extend self
5
+
6
+ def post_load
7
+ require 'zentest'
8
+ have?(:zentest) { true }
9
+ rescue LoadError
10
+ have?(:zentest) { false }
11
+ end
12
+
13
+ def define_tasks
14
+ return unless have? :zentest
15
+
16
+ if have? :test
17
+ require 'autotest'
18
+ namespace :test do
19
+ task :autotest do
20
+ load '.autotest' if test(?f, '.autotest')
21
+ Autotest.run
22
+ end
23
+ end
24
+
25
+ desc 'Run the autotest loop'
26
+ task :autotest => 'test:autotest'
27
+ end
28
+
29
+ if have? :spec
30
+ require 'autotest/rspec'
31
+ namespace :spec do
32
+ task :autotest do
33
+ load '.autotest' if test(?f, '.autotest')
34
+ Autotest::Rspec.run
35
+ end
36
+ end
37
+
38
+ desc 'Run the autotest loop'
39
+ task :autotest => 'spec:autotest'
40
+ end
41
+ end
42
+
43
+ end # module Bones::Plugins::Zentest
@@ -0,0 +1 @@
1
+ 1.0.0
metadata ADDED
@@ -0,0 +1,121 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bones-zentest
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 0
10
+ version: 1.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Tim Pease
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-10-17 00:00:00 -06:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: bones
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 19
30
+ segments:
31
+ - 3
32
+ - 5
33
+ - 0
34
+ version: 3.5.0
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: ZenTest
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
48
+ version: "0"
49
+ type: :runtime
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ name: bones
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 19
60
+ segments:
61
+ - 3
62
+ - 5
63
+ - 0
64
+ version: 3.5.0
65
+ type: :development
66
+ version_requirements: *id003
67
+ description: |-
68
+ The zentest package for Mr Bones provides tasks to incorporate ZentTest
69
+ automated testing into bones based projects.
70
+ email: tim.pease@gmail.com
71
+ executables: []
72
+
73
+ extensions: []
74
+
75
+ extra_rdoc_files:
76
+ - History.txt
77
+ - README.txt
78
+ - version.txt
79
+ files:
80
+ - History.txt
81
+ - README.txt
82
+ - Rakefile
83
+ - lib/bones/plugins/zentest.rb
84
+ - version.txt
85
+ has_rdoc: true
86
+ homepage: http://github.com/TwP/bones-zentest
87
+ licenses: []
88
+
89
+ post_install_message:
90
+ rdoc_options:
91
+ - --main
92
+ - README.txt
93
+ require_paths:
94
+ - lib
95
+ required_ruby_version: !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ hash: 3
101
+ segments:
102
+ - 0
103
+ version: "0"
104
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ hash: 3
110
+ segments:
111
+ - 0
112
+ version: "0"
113
+ requirements: []
114
+
115
+ rubyforge_project: bones-zentest
116
+ rubygems_version: 1.3.7
117
+ signing_key:
118
+ specification_version: 3
119
+ summary: The zentest package for Mr Bones provides tasks to incorporate ZentTest automated testing into bones based projects
120
+ test_files: []
121
+