code-spec 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/.rspec +1 -0
- data/LICENSE +20 -0
- data/README.markdown +43 -0
- data/Rakefile +18 -0
- data/VERSION +1 -0
- data/lib/code-spec.rb +15 -0
- data/lib/code_spec/matchers/content_matcher.rb +110 -0
- data/lib/code_spec/matchers/have_block.rb +57 -0
- data/lib/code_spec/matchers/have_call.rb +62 -0
- data/lib/code_spec/matchers/have_calls.rb +60 -0
- data/lib/code_spec/matchers/have_class_self.rb +40 -0
- data/lib/code_spec/matchers/have_comment.rb +42 -0
- data/lib/code_spec/matchers/have_method.rb +66 -0
- data/lib/code_spec/matchers/have_module.rb +50 -0
- data/lib/code_spec/matchers/have_region.rb +48 -0
- data/lib/code_spec/matchers/have_subclass.rb +40 -0
- data/lib/code_spec/matchers/include_module.rb +34 -0
- data/lib/code_spec/matchers/inherit_from.rb +35 -0
- data/spec/code-spec/matchers/class_self_spec.rb +28 -0
- data/spec/code-spec/matchers/have_block_spec.rb +49 -0
- data/spec/code-spec/matchers/have_call_spec.rb +48 -0
- data/spec/code-spec/matchers/have_calls_spec.rb +41 -0
- data/spec/code-spec/matchers/have_class_spec.rb +34 -0
- data/spec/code-spec/matchers/have_method_spec.rb +56 -0
- data/spec/code-spec/matchers/have_module_spec.rb +33 -0
- data/spec/code-spec/matchers/have_region_spec.rb +52 -0
- data/spec/code-spec/matchers/have_subclass_spec.rb +32 -0
- data/spec/code-spec/matchers/include_module_spec.rb +34 -0
- data/spec/code-spec/matchers/inherit_from_spec.rb +32 -0
- data/spec/spec_helper.rb +4 -0
- metadata +154 -0
metadata
ADDED
@@ -0,0 +1,154 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: code-spec
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
version: 0.1.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Kristian Mandrup
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-08-16 00:00:00 +02:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rspec
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 2
|
30
|
+
- 0
|
31
|
+
- 0
|
32
|
+
- beta
|
33
|
+
- 19
|
34
|
+
version: 2.0.0.beta.19
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: require_all
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
segments:
|
46
|
+
- 1
|
47
|
+
- 1
|
48
|
+
- 0
|
49
|
+
version: 1.1.0
|
50
|
+
type: :runtime
|
51
|
+
version_requirements: *id002
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: activesupport
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
segments:
|
61
|
+
- 3
|
62
|
+
- 0
|
63
|
+
- 0
|
64
|
+
- rc
|
65
|
+
version: 3.0.0.rc
|
66
|
+
type: :runtime
|
67
|
+
version_requirements: *id003
|
68
|
+
description: Code file RSpec 2 matchers that make it easy to spec Ruby code files, fx updated or generated by a Thor generator
|
69
|
+
email: kmandrup@gmail.com
|
70
|
+
executables: []
|
71
|
+
|
72
|
+
extensions: []
|
73
|
+
|
74
|
+
extra_rdoc_files:
|
75
|
+
- LICENSE
|
76
|
+
- README.markdown
|
77
|
+
files:
|
78
|
+
- .document
|
79
|
+
- .gitignore
|
80
|
+
- .rspec
|
81
|
+
- LICENSE
|
82
|
+
- README.markdown
|
83
|
+
- Rakefile
|
84
|
+
- VERSION
|
85
|
+
- lib/code-spec.rb
|
86
|
+
- lib/code_spec/matchers/content_matcher.rb
|
87
|
+
- lib/code_spec/matchers/have_block.rb
|
88
|
+
- lib/code_spec/matchers/have_call.rb
|
89
|
+
- lib/code_spec/matchers/have_calls.rb
|
90
|
+
- lib/code_spec/matchers/have_class_self.rb
|
91
|
+
- lib/code_spec/matchers/have_comment.rb
|
92
|
+
- lib/code_spec/matchers/have_method.rb
|
93
|
+
- lib/code_spec/matchers/have_module.rb
|
94
|
+
- lib/code_spec/matchers/have_region.rb
|
95
|
+
- lib/code_spec/matchers/have_subclass.rb
|
96
|
+
- lib/code_spec/matchers/include_module.rb
|
97
|
+
- lib/code_spec/matchers/inherit_from.rb
|
98
|
+
- spec/code-spec/matchers/class_self_spec.rb
|
99
|
+
- spec/code-spec/matchers/have_block_spec.rb
|
100
|
+
- spec/code-spec/matchers/have_call_spec.rb
|
101
|
+
- spec/code-spec/matchers/have_calls_spec.rb
|
102
|
+
- spec/code-spec/matchers/have_class_spec.rb
|
103
|
+
- spec/code-spec/matchers/have_method_spec.rb
|
104
|
+
- spec/code-spec/matchers/have_module_spec.rb
|
105
|
+
- spec/code-spec/matchers/have_region_spec.rb
|
106
|
+
- spec/code-spec/matchers/have_subclass_spec.rb
|
107
|
+
- spec/code-spec/matchers/include_module_spec.rb
|
108
|
+
- spec/code-spec/matchers/inherit_from_spec.rb
|
109
|
+
- spec/spec_helper.rb
|
110
|
+
has_rdoc: true
|
111
|
+
homepage: http://github.com/kristianmandrup/code-spec
|
112
|
+
licenses: []
|
113
|
+
|
114
|
+
post_install_message:
|
115
|
+
rdoc_options:
|
116
|
+
- --charset=UTF-8
|
117
|
+
require_paths:
|
118
|
+
- lib
|
119
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
segments:
|
125
|
+
- 0
|
126
|
+
version: "0"
|
127
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
segments:
|
133
|
+
- 0
|
134
|
+
version: "0"
|
135
|
+
requirements: []
|
136
|
+
|
137
|
+
rubyforge_project:
|
138
|
+
rubygems_version: 1.3.7
|
139
|
+
signing_key:
|
140
|
+
specification_version: 3
|
141
|
+
summary: Code file RSpec 2 matchers
|
142
|
+
test_files:
|
143
|
+
- spec/code-spec/matchers/class_self_spec.rb
|
144
|
+
- spec/code-spec/matchers/have_block_spec.rb
|
145
|
+
- spec/code-spec/matchers/have_call_spec.rb
|
146
|
+
- spec/code-spec/matchers/have_calls_spec.rb
|
147
|
+
- spec/code-spec/matchers/have_class_spec.rb
|
148
|
+
- spec/code-spec/matchers/have_method_spec.rb
|
149
|
+
- spec/code-spec/matchers/have_module_spec.rb
|
150
|
+
- spec/code-spec/matchers/have_region_spec.rb
|
151
|
+
- spec/code-spec/matchers/have_subclass_spec.rb
|
152
|
+
- spec/code-spec/matchers/include_module_spec.rb
|
153
|
+
- spec/code-spec/matchers/inherit_from_spec.rb
|
154
|
+
- spec/spec_helper.rb
|