test-construct 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2009, 2010 Devver
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
data/README.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ ## THIS GEM IS DEPRECATED
2
+
3
+ The successor RubyGem (with a more consistent gem name) is [TestConstruct](https://github.com/bhb/test_construct). Please report all issues there.
4
+
1
5
  Construct
2
6
  =========
3
7
  by Ben Brinckerhoff and Avdi Grimm
data/construct.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.email = %q{ben@devver.net, avdi@devver.net}
13
13
  s.executables = ["construct"]
14
14
  s.extra_rdoc_files = ["History.txt", "bin/construct"]
15
- s.files = [".devver/devver_opts.yml", ".devver/hooks/build", ".devver/hooks/install_dependencies", ".devver/hooks/notify", ".devver/hooks/prepare_database", "History.txt", "README.markdown", "Rakefile", "bin/construct", "bugs/issue-0127c8c6ba1d31b5488f4551f8d869e57d53956d.yaml", "bugs/issue-404e5da7b128e5b34e7a33fbcd56603618010d92.yaml", "bugs/issue-50798912193be32b1dc610d949a557b3860d96fd.yaml", "bugs/issue-5a10ec7298127df3c62255ea59e01dcf831ff1d3.yaml", "bugs/issue-67f704f8b7190ccc1157eec007c3d584779dc805.yaml", "bugs/issue-881ae950569b6ca718fae0060f2751710b972fd2.yaml", "bugs/issue-bc8dfdf3834bb84b1d942ab2a90ac8c82b4389fb.yaml", "bugs/issue-d05e9a907202348d47c4bf92062c1f4673dcae68.yaml", "bugs/issue-f30a3db19d917f8e72ca8689e099ef0cb2681fd3.yaml", "bugs/project.yaml", "construct.gemspec", "geminstaller.yml", "lib/construct.rb", "lib/construct/helpers.rb", "lib/construct/path_extensions.rb", "tasks/ann.rake", "tasks/bones.rake", "tasks/gem.rake", "tasks/git.rake", "tasks/notes.rake", "tasks/post_load.rake", "tasks/rdoc.rake", "tasks/rubyforge.rake", "tasks/setup.rb", "tasks/spec.rake", "tasks/svn.rake", "tasks/test.rake", "tasks/zentest.rake", "test/construct_test.rb", "test/test_helper.rb"]
15
+ s.files = ["History.txt", "README.markdown", "Rakefile", "bin/construct", "construct.gemspec", "geminstaller.yml", "lib/construct.rb", "lib/construct/helpers.rb", "lib/construct/path_extensions.rb", "tasks/ann.rake", "tasks/bones.rake", "tasks/gem.rake", "tasks/git.rake", "tasks/notes.rake", "tasks/post_load.rake", "tasks/rdoc.rake", "tasks/rubyforge.rake", "tasks/setup.rb", "tasks/spec.rake", "tasks/svn.rake", "tasks/test.rake", "tasks/zentest.rake", "test/construct_test.rb", "test/test_helper.rb"]
16
16
  s.has_rdoc = true
17
17
  s.homepage = %q{http://github.com/devver/construct}
18
18
  s.rdoc_options = ["--main", "README.markdown"]
data/lib/construct.rb CHANGED
@@ -2,10 +2,12 @@ require 'pathname'
2
2
  require 'tmpdir'
3
3
  require 'English'
4
4
 
5
+ puts "WARNING: test-construct is no longer maintained. Please switch to test_construct."
6
+
5
7
  module Construct
6
8
 
7
9
  # :stopdoc:
8
- VERSION = '1.2.0'
10
+ VERSION = '1.2.1'
9
11
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
10
12
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
11
13
  # :startdoc:
data/tasks/rdoc.rake CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- require 'rake/rdoctask'
2
+ require 'rdoc/task'
3
3
 
4
4
  namespace :doc do
5
5
 
data/tasks/setup.rb CHANGED
@@ -143,6 +143,7 @@ DIFF = if system("gdiff '#{__FILE__}' '#{__FILE__}' > #{DEV_NULL} 2>&1") then 'g
143
143
  SUDO = if system("which sudo > #{DEV_NULL} 2>&1") then 'sudo'
144
144
  else '' end unless defined? SUDO
145
145
 
146
+ RUBY = 'ruby'
146
147
  RCOV = "#{RUBY} -S rcov"
147
148
  RDOC = "#{RUBY} -S rdoc"
148
149
  GEM = "#{RUBY} -S gem"
@@ -0,0 +1,420 @@
1
+ require File.join(File.dirname(__FILE__), %w[test_helper])
2
+ require File.join(File.dirname(__FILE__), '..', 'lib', 'construct')
3
+
4
+ require 'tmpdir'
5
+ require 'English'
6
+ require 'ruby-debug'
7
+ require 'mocha'
8
+
9
+ class ConstructTest < Test::Unit::TestCase
10
+ include Construct::Helpers
11
+
12
+ testing 'using within_construct explicitly' do
13
+
14
+ test 'creates construct' do
15
+ num = rand(1_000_000_000)
16
+ Construct.stubs(:rand).returns(num)
17
+ Construct::within_construct do |construct|
18
+ assert File.directory?(File.join(Construct::Helpers::tmpdir, "construct_container-#{$PROCESS_ID}-#{num}"))
19
+ end
20
+ end
21
+
22
+ end
23
+
24
+ testing 'creating a construct container' do
25
+
26
+ test 'should exist' do
27
+ num = rand(1_000_000_000)
28
+ self.stubs(:rand).returns(num)
29
+ within_construct do |construct|
30
+ assert File.directory?(File.join(Construct::Helpers::tmpdir, "construct_container-#{$PROCESS_ID}-#{num}"))
31
+ end
32
+ end
33
+
34
+ test 'should yield to its block' do
35
+ sensor = 'no yield'
36
+ within_construct do
37
+ sensor = 'yielded'
38
+ end
39
+ assert_equal 'yielded', sensor
40
+ end
41
+
42
+ test 'block argument should be container directory Pathname' do
43
+ num = rand(1_000_000_000)
44
+ self.stubs(:rand).returns(num)
45
+ within_construct do |container_path|
46
+ expected_path = (Pathname(Construct::Helpers.tmpdir) +
47
+ "construct_container-#{$PROCESS_ID}-#{num}")
48
+ assert_equal(expected_path, container_path)
49
+ end
50
+ end
51
+
52
+ test 'should not exist afterwards' do
53
+ path = nil
54
+ within_construct do |container_path|
55
+ path = container_path
56
+ end
57
+ assert !path.exist?
58
+ end
59
+
60
+ test 'should remove entire tree afterwards' do
61
+ path = nil
62
+ within_construct do |container_path|
63
+ path = container_path
64
+ (container_path + 'foo').mkdir
65
+ end
66
+ assert !path.exist?
67
+ end
68
+
69
+ test 'should remove dir if block raises exception' do
70
+ path = nil
71
+ begin
72
+ within_construct do |container_path|
73
+ path = container_path
74
+ raise 'something bad happens here'
75
+ end
76
+ rescue
77
+ end
78
+ assert !path.exist?
79
+ end
80
+
81
+ test 'should not capture exceptions raised in block' do
82
+ err = RuntimeError.new('an error')
83
+ begin
84
+ within_construct do
85
+ raise err
86
+ end
87
+ rescue RuntimeError => e
88
+ assert_same err, e
89
+ end
90
+ end
91
+
92
+ end
93
+
94
+ testing 'creating a file in a container' do
95
+
96
+ test 'should exist while in construct block' do
97
+ within_construct do |construct|
98
+ construct.file('foo.txt')
99
+ assert File.exists?(construct+'foo.txt')
100
+ end
101
+ end
102
+
103
+ test 'should not exist after construct block' do
104
+ filepath = 'unset'
105
+ within_construct do |construct|
106
+ filepath = construct.file('foo.txt')
107
+ end
108
+ assert !File.exists?(filepath)
109
+ end
110
+
111
+ test 'writes contents to file' do
112
+ within_construct do |construct|
113
+ construct.file('foo.txt','abcxyz')
114
+ assert_equal 'abcxyz', File.read(construct+'foo.txt')
115
+ end
116
+ end
117
+
118
+ test 'contents can be given in a block' do
119
+ within_construct do |construct|
120
+ construct.file('foo.txt') do
121
+ <<-EOS
122
+ File
123
+ Contents
124
+ EOS
125
+ end
126
+ assert_equal "File\nContents\n", File.read(construct+'foo.txt')
127
+ end
128
+ end
129
+
130
+ test 'contents block overwrites contents argument' do
131
+ within_construct do |construct|
132
+ construct.file('foo.txt','abc') do
133
+ 'xyz'
134
+ end
135
+ assert_equal 'xyz', File.read(construct+'foo.txt')
136
+ end
137
+ end
138
+
139
+ test 'block is passed File object' do
140
+ within_construct do |construct|
141
+ construct.file('foo.txt') do |file|
142
+ assert_equal((construct+'foo.txt').to_s, file.path)
143
+ end
144
+ end
145
+ end
146
+
147
+ test 'can write to File object passed to block' do
148
+ within_construct do |construct|
149
+ construct.file('foo.txt') do |file|
150
+ file << 'abc'
151
+ end
152
+ assert_equal 'abc', File.read(construct+'foo.txt')
153
+ end
154
+ end
155
+
156
+ test 'file is closed after block ends' do
157
+ within_construct do |construct|
158
+ construct_file = nil
159
+ construct.file('foo.txt') do |file|
160
+ construct_file = file
161
+ end
162
+ assert construct_file.closed?
163
+ end
164
+ end
165
+
166
+ test 'block return value not used as content if passed File object' do
167
+ within_construct do |construct|
168
+ construct.file('foo.txt') do |file|
169
+ file << 'abc'
170
+ 'xyz'
171
+ end
172
+ assert_equal 'abc', File.read(construct+'foo.txt')
173
+ end
174
+ end
175
+
176
+ test 'contents argument is ignored if block takes File arg' do
177
+ within_construct do |construct|
178
+ construct.file('foo.txt','xyz') do |file|
179
+ file << 'abc'
180
+ end
181
+ assert_equal 'abc', File.read(construct+'foo.txt')
182
+ end
183
+ end
184
+
185
+ test 'returns file path' do
186
+ within_construct do |construct|
187
+ assert_equal(construct+'foo.txt', construct.file('foo.txt'))
188
+ end
189
+ end
190
+
191
+ test 'can create file including path in one call' do
192
+ within_construct do |construct|
193
+ construct.file('foo/bar/baz.txt')
194
+ assert (construct+'foo/bar/baz.txt').exist?
195
+ end
196
+ end
197
+
198
+ test 'can create file including path in one call when directories exists' do
199
+ within_construct do |construct|
200
+ construct.directory('foo/bar')
201
+ construct.file('foo/bar/baz.txt')
202
+ assert (construct+'foo/bar/baz.txt').exist?
203
+ end
204
+ end
205
+
206
+ test 'can create file including path with chained calls' do
207
+ within_construct do |construct|
208
+ construct.directory('foo').directory('bar').file('baz.txt')
209
+ assert (construct+'foo/bar/baz.txt').exist?
210
+ end
211
+ end
212
+
213
+ end
214
+
215
+ testing 'creating a subdirectory in container' do
216
+
217
+ test 'should exist while in construct block' do
218
+ within_construct do |construct|
219
+ construct.directory 'foo'
220
+ assert (construct+'foo').directory?
221
+ end
222
+ end
223
+
224
+ test 'should not exist after construct block' do
225
+ subdir = 'unset'
226
+ within_construct do |construct|
227
+ construct.directory 'foo'
228
+ subdir = construct + 'foo'
229
+ end
230
+ assert !subdir.directory?
231
+ end
232
+
233
+ test 'returns the new path name' do
234
+ within_construct do |construct|
235
+ assert_equal((construct+'foo'), construct.directory('foo'))
236
+ end
237
+ end
238
+
239
+ test 'yield to block' do
240
+ sensor = 'unset'
241
+ within_construct do |construct|
242
+ construct.directory('bar') do
243
+ sensor = 'yielded'
244
+ end
245
+ end
246
+ assert_equal 'yielded', sensor
247
+ end
248
+
249
+ test 'block argument is subdirectory path' do
250
+ within_construct do |construct|
251
+ construct.directory('baz') do |dir|
252
+ assert_equal((construct+'baz'),dir)
253
+ end
254
+ end
255
+ end
256
+
257
+ test 'can create nested directory in one call' do
258
+ within_construct do |construct|
259
+ construct.directory('foo/bar')
260
+ assert (construct+'foo/bar').directory?
261
+ end
262
+ end
263
+
264
+ test 'can create a nested directory in two calls' do
265
+ within_construct do |construct|
266
+ construct.directory('foo').directory('bar')
267
+ assert (construct+'foo/bar').directory?
268
+ end
269
+ end
270
+
271
+ end
272
+
273
+ testing "subdirectories changing the working directory" do
274
+
275
+ test 'can force directory stays the same' do
276
+ within_construct do |construct|
277
+ old_pwd = Dir.pwd
278
+ construct.directory('foo',false) do
279
+ assert_equal old_pwd, Dir.pwd
280
+ end
281
+ end
282
+ end
283
+
284
+ test 'defaults chdir setting from construct' do
285
+ within_construct(false) do |construct|
286
+ old_pwd = Dir.pwd
287
+ construct.directory('foo') do
288
+ assert_equal old_pwd, Dir.pwd
289
+ end
290
+ end
291
+ end
292
+
293
+ test 'can override construct default' do
294
+ within_construct(false) do |construct|
295
+ old_pwd = Dir.pwd
296
+ construct.directory('foo', true) do |dir|
297
+ assert_equal dir.to_s, Dir.pwd
298
+ end
299
+ end
300
+ end
301
+
302
+ test 'current working directory is within subdirectory' do
303
+ within_construct do |construct|
304
+ construct.directory('foo') do |dir|
305
+ assert_equal dir.to_s, Dir.pwd
306
+ end
307
+ end
308
+ end
309
+
310
+ test 'current working directory is unchanged outside of subdirectory' do
311
+ within_construct do |construct|
312
+ old_pwd = Dir.pwd
313
+ construct.directory('foo')
314
+ assert_equal old_pwd, Dir.pwd
315
+ end
316
+ end
317
+
318
+ test 'current working directory is unchanged after exception' do
319
+ within_construct do |construct|
320
+ old_pwd = Dir.pwd
321
+ begin
322
+ construct.directory('foo') do
323
+ raise 'something bad happens here'
324
+ end
325
+ rescue
326
+ end
327
+ assert_equal old_pwd, Dir.pwd
328
+ end
329
+ end
330
+
331
+ test 'should not capture exceptions raised in block' do
332
+ within_construct do |construct|
333
+ error = assert_raises RuntimeError do
334
+ construct.directory('foo') do
335
+ raise 'fail!'
336
+ end
337
+ end
338
+ assert_equal 'fail!', error.message
339
+ end
340
+ end
341
+
342
+ test 'checking for a file is relative to subdirectory' do
343
+ within_construct do |construct|
344
+ construct.directory('bar') do |dir|
345
+ dir.file('foo.txt')
346
+ assert File.exists?('foo.txt')
347
+ end
348
+ end
349
+ end
350
+
351
+ test 'checking for a directory is relative to subdirectory' do
352
+ within_construct do |construct|
353
+ construct.directory('foo') do |dir|
354
+ dir.directory('mydir')
355
+ assert File.directory?('mydir')
356
+ end
357
+ end
358
+ end
359
+
360
+ end
361
+
362
+ testing "changing the working directory" do
363
+
364
+ test 'can force directory stays the same' do
365
+ old_pwd = Dir.pwd
366
+ within_construct(false) do |construct|
367
+ assert_equal old_pwd, Dir.pwd
368
+ end
369
+ end
370
+
371
+ test 'current working directory is within construct' do
372
+ within_construct do |construct|
373
+ assert_equal construct.to_s, Dir.pwd
374
+ end
375
+ end
376
+
377
+ test 'current working directory is unchanged outside of construct' do
378
+ old_pwd = Dir.pwd
379
+ within_construct do |construct|
380
+ end
381
+ assert_equal old_pwd, Dir.pwd
382
+ end
383
+
384
+ test 'current working directory is unchanged after exception' do
385
+ old_pwd = Dir.pwd
386
+ begin
387
+ within_construct do |construct|
388
+ raise 'something bad happens here'
389
+ end
390
+ rescue
391
+ end
392
+ assert_equal old_pwd, Dir.pwd
393
+ end
394
+
395
+ test 'should not capture exceptions raised in block' do
396
+ error = assert_raises RuntimeError do
397
+ within_construct do
398
+ raise 'fail!'
399
+ end
400
+ end
401
+ assert_equal 'fail!', error.message
402
+ end
403
+
404
+ test 'checking for a file is relative to container' do
405
+ within_construct do |construct|
406
+ construct.file('foo.txt')
407
+ assert File.exists?('foo.txt')
408
+ end
409
+ end
410
+
411
+ test 'checking for a directory is relative to container' do
412
+ within_construct do |construct|
413
+ construct.directory('mydir')
414
+ assert File.directory?('mydir')
415
+ end
416
+ end
417
+
418
+ end
419
+
420
+ end
@@ -3,7 +3,6 @@ require File.join(File.dirname(__FILE__), '..', 'lib', 'construct')
3
3
 
4
4
  require 'tmpdir'
5
5
  require 'English'
6
- require 'ruby-debug'
7
6
  require 'mocha'
8
7
 
9
8
  class ConstructTest < Test::Unit::TestCase
metadata CHANGED
@@ -1,52 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: test-construct
3
- version: !ruby/object:Gem::Version
4
- version: 1.2.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.1
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Ben Brinckerhoff (ben@devver.net) and Avdi Grimm (avdi@devver.net)
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2010-01-22 00:00:00 -05:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: bones
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 2.5.1
24
- version:
25
- - !ruby/object:Gem::Dependency
12
+ date: 2013-12-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
26
15
  name: jeremymcanally-pending
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '0.1'
27
22
  type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
31
27
  - - ~>
32
- - !ruby/object:Gem::Version
33
- version: "0.1"
34
- version:
35
- description: ""
28
+ - !ruby/object:Gem::Version
29
+ version: '0.1'
30
+ description: ''
36
31
  email: ben@devver.net, avdi@devver.net
37
- executables:
32
+ executables:
38
33
  - construct
39
34
  extensions: []
40
-
41
- extra_rdoc_files:
35
+ extra_rdoc_files:
42
36
  - History.txt
43
37
  - bin/construct
44
- files:
38
+ files:
45
39
  - .devver/hooks/build
46
40
  - .devver/hooks/install_dependencies
47
41
  - .devver/hooks/notify
48
42
  - .devver/hooks/prepare_database
49
43
  - History.txt
44
+ - LICENSE
50
45
  - README.markdown
51
46
  - Rakefile
52
47
  - bin/construct
@@ -78,37 +73,34 @@ files:
78
73
  - tasks/svn.rake
79
74
  - tasks/test.rake
80
75
  - tasks/zentest.rake
81
- - test-construct.gemspec
76
+ - test/#construct_test.rb#
82
77
  - test/construct_test.rb
83
78
  - test/test_helper.rb
84
- has_rdoc: true
85
79
  homepage: http://github.com/devver/construct
86
80
  licenses: []
87
-
88
81
  post_install_message:
89
- rdoc_options:
82
+ rdoc_options:
90
83
  - --main
91
84
  - README.markdown
92
- require_paths:
85
+ require_paths:
93
86
  - lib
94
- required_ruby_version: !ruby/object:Gem::Requirement
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- version: "0"
99
- version:
100
- required_rubygems_version: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: "0"
105
- version:
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
106
99
  requirements: []
107
-
108
100
  rubyforge_project: test-construct
109
- rubygems_version: 1.3.5
101
+ rubygems_version: 1.8.23
110
102
  signing_key:
111
103
  specification_version: 3
112
104
  summary: Construct is a DSL for creating temporary files and directories during testing.
113
- test_files:
105
+ test_files:
114
106
  - test/construct_test.rb
@@ -1,39 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{test-construct}
5
- s.version = "1.2.0"
6
-
7
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Ben Brinckerhoff (ben@devver.net) and Avdi Grimm (avdi@devver.net)"]
9
- s.date = %q{2010-01-22}
10
- s.default_executable = %q{construct}
11
- s.description = %q{}
12
- s.email = %q{ben@devver.net, avdi@devver.net}
13
- s.executables = ["construct"]
14
- s.extra_rdoc_files = ["History.txt", "bin/construct"]
15
- s.files = [".devver/hooks/build", ".devver/hooks/install_dependencies", ".devver/hooks/notify", ".devver/hooks/prepare_database", "History.txt", "README.markdown", "Rakefile", "bin/construct", "bugs/issue-0127c8c6ba1d31b5488f4551f8d869e57d53956d.yaml", "bugs/issue-404e5da7b128e5b34e7a33fbcd56603618010d92.yaml", "bugs/issue-50798912193be32b1dc610d949a557b3860d96fd.yaml", "bugs/issue-5a10ec7298127df3c62255ea59e01dcf831ff1d3.yaml", "bugs/issue-67f704f8b7190ccc1157eec007c3d584779dc805.yaml", "bugs/issue-881ae950569b6ca718fae0060f2751710b972fd2.yaml", "bugs/issue-bc8dfdf3834bb84b1d942ab2a90ac8c82b4389fb.yaml", "bugs/issue-d05e9a907202348d47c4bf92062c1f4673dcae68.yaml", "bugs/issue-f30a3db19d917f8e72ca8689e099ef0cb2681fd3.yaml", "bugs/project.yaml", "construct.gemspec", "geminstaller.yml", "lib/construct.rb", "lib/construct/helpers.rb", "lib/construct/path_extensions.rb", "tasks/ann.rake", "tasks/bones.rake", "tasks/gem.rake", "tasks/git.rake", "tasks/notes.rake", "tasks/post_load.rake", "tasks/rdoc.rake", "tasks/rubyforge.rake", "tasks/setup.rb", "tasks/spec.rake", "tasks/svn.rake", "tasks/test.rake", "tasks/zentest.rake", "test/construct_test.rb", "test/test_helper.rb"]
16
- s.homepage = %q{http://github.com/devver/construct}
17
- s.rdoc_options = ["--main", "README.markdown"]
18
- s.require_paths = ["lib"]
19
- s.rubyforge_project = %q{test-construct}
20
- s.rubygems_version = %q{1.3.5}
21
- s.summary = %q{Construct is a DSL for creating temporary files and directories during testing.}
22
- s.test_files = ["test/construct_test.rb"]
23
-
24
- if s.respond_to? :specification_version then
25
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
26
- s.specification_version = 3
27
-
28
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
29
- s.add_development_dependency(%q<bones>, [">= 2.5.1"])
30
- s.add_development_dependency(%q<jeremymcanally-pending>, ["~> 0.1"])
31
- else
32
- s.add_dependency(%q<bones>, [">= 2.5.1"])
33
- s.add_dependency(%q<jeremymcanally-pending>, ["~> 0.1"])
34
- end
35
- else
36
- s.add_dependency(%q<bones>, [">= 2.5.1"])
37
- s.add_dependency(%q<jeremymcanally-pending>, ["~> 0.1"])
38
- end
39
- end