test-construct 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -30,6 +30,8 @@ PROJ.ruby_opts = []
30
30
  PROJ.readme_file = "README.markdown"
31
31
  PROJ.summary = "Construct is a DSL for creating temporary files and directories during testing."
32
32
  PROJ.ignore_file = ".gitignore"
33
+ PROJ.description = PROJ.summary
34
+ PROJ.post_install_message = Construct::DEPRECATION_WARNING
33
35
 
34
36
  PROJ.gem.development_dependencies << ["jeremymcanally-pending", "~> 0.1"]
35
37
 
@@ -1,18 +1,20 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
+ $: << File.expand_path("../lib", __FILE__)
4
+ require 'construct'
5
+
3
6
  Gem::Specification.new do |s|
4
7
  s.name = %q{construct}
5
- s.version = "1.1.0"
6
-
8
+ s.version = Construct.version
7
9
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
10
  s.authors = ["Ben Brinckerhoff (ben@devver.net) and Avdi Grimm (avdi@devver.net)"]
9
- s.date = %q{2009-09-09}
11
+ s.date = %q{2013-12-30}
10
12
  s.default_executable = %q{construct}
11
- s.description = %q{}
13
+ s.description = %q{Construct is a DSL for creating temporary files and directories during testing.}
12
14
  s.email = %q{ben@devver.net, avdi@devver.net}
13
15
  s.executables = ["construct"]
14
- s.extra_rdoc_files = ["History.txt", "bin/construct"]
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
+ s.extra_rdoc_files = ["History.txt"]
17
+ s.files = ["History.txt", "README.markdown", "Rakefile", "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
18
  s.has_rdoc = true
17
19
  s.homepage = %q{http://github.com/devver/construct}
18
20
  s.rdoc_options = ["--main", "README.markdown"]
@@ -21,6 +23,7 @@ Gem::Specification.new do |s|
21
23
  s.rubygems_version = %q{1.3.1}
22
24
  s.summary = %q{Construct is a DSL for creating temporary files and directories during testing.}
23
25
  s.test_files = ["test/construct_test.rb"]
26
+ s.post_install_message = Construct::DEPRECATION_WARNING
24
27
 
25
28
  if s.respond_to? :specification_version then
26
29
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
@@ -2,12 +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
-
7
5
  module Construct
8
6
 
7
+ DEPRECATION_WARNING = "WARNING: test-construct is no longer maintained. Please switch to test_construct."
8
+
9
9
  # :stopdoc:
10
- VERSION = '1.2.1'
10
+ VERSION = '1.2.2'
11
11
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
12
12
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
13
13
  # :startdoc:
@@ -67,4 +67,6 @@ end # module Construct
67
67
 
68
68
  Construct.require_all_libs_relative_to(__FILE__)
69
69
 
70
+ $stderr.puts Construct::DEPRECATION_WARNING
71
+
70
72
  # EOF
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-construct
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-16 00:00:00.000000000 Z
12
+ date: 2013-12-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jeremymcanally-pending
@@ -27,14 +27,13 @@ dependencies:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0.1'
30
- description: ''
30
+ description: Construct is a DSL for creating temporary files and directories during
31
+ testing.
31
32
  email: ben@devver.net, avdi@devver.net
32
- executables:
33
- - construct
33
+ executables: []
34
34
  extensions: []
35
35
  extra_rdoc_files:
36
36
  - History.txt
37
- - bin/construct
38
37
  files:
39
38
  - .devver/hooks/build
40
39
  - .devver/hooks/install_dependencies
@@ -44,7 +43,6 @@ files:
44
43
  - LICENSE
45
44
  - README.markdown
46
45
  - Rakefile
47
- - bin/construct
48
46
  - bugs/issue-0127c8c6ba1d31b5488f4551f8d869e57d53956d.yaml
49
47
  - bugs/issue-404e5da7b128e5b34e7a33fbcd56603618010d92.yaml
50
48
  - bugs/issue-50798912193be32b1dc610d949a557b3860d96fd.yaml
@@ -78,7 +76,8 @@ files:
78
76
  - test/test_helper.rb
79
77
  homepage: http://github.com/devver/construct
80
78
  licenses: []
81
- post_install_message:
79
+ post_install_message: ! 'WARNING: test-construct is no longer maintained. Please switch
80
+ to test_construct.'
82
81
  rdoc_options:
83
82
  - --main
84
83
  - README.markdown
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require File.expand_path(
4
- File.join(File.dirname(__FILE__), %w[.. lib construct]))
5
-
6
- # Put your code here
7
-
8
- # EOF