echoe 4.5.6 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data.tar.gz.sig +1 -2
  2. data/CHANGELOG +2 -0
  3. data/Rakefile +2 -1
  4. data/echoe.gemspec +25 -19
  5. data/lib/echoe.rb +15 -7
  6. metadata +51 -14
  7. metadata.gz.sig +0 -0
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- ���1�w2ut�+���S�=) ��|�)��ư��z0��aQ�
2
- �%���â1�� $
1
+ y�~����&�?�j�4_��谟A&�� tA����`�/ ~g|I>g�Ԓ]�0(j�Υ��n)�q�ő�o�� UNa<<��J�+!�L&��:u;vC���ۮ��
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v4.6.0. Compatibility with RubyGems 1.8.4 and Rake 0.9.0. Uncertain behavior on previous versions.
2
+
1
3
  v4.5.6. Add :prerelease task for user release checks.
2
4
 
3
5
  v4.5.5. Tag releases in git automatically (smulube).
data/Rakefile CHANGED
@@ -5,8 +5,9 @@ Echoe.new('echoe') do |p|
5
5
  p.project = 'fauna'
6
6
  p.author = 'Evan Weaver'
7
7
  p.summary = 'A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.'
8
- p.runtime_dependencies = ['gemcutter', 'rubyforge', 'allison']
8
+ p.runtime_dependencies = ['gemcutter >=0.7.0', 'rubyforge >=2.0.4', 'allison >=2.0.3', 'rdoc >=3.6.1', 'rake >=0.9.0']
9
9
  p.development_dependencies = []
10
10
  p.retain_gemspec = true
11
+ p.rubygems_version = ">=1.8.4"
11
12
  end
12
13
 
@@ -2,21 +2,21 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{echoe}
5
- s.version = "4.5.6"
5
+ s.version = "4.6.0"
6
6
 
7
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Evan Weaver"]
9
- s.cert_chain = ["/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-public_cert.pem"]
10
- s.date = %q{2011-03-30}
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.8.4") if s.respond_to? :required_rubygems_version=
8
+ s.authors = [%q{Evan Weaver}]
9
+ s.cert_chain = [%q{/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-public_cert.pem}]
10
+ s.date = %q{2011-05-30}
11
11
  s.description = %q{A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.}
12
12
  s.email = %q{}
13
- s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README", "lib/echoe.rb", "lib/echoe/extensions.rb", "lib/echoe/platform.rb", "lib/echoe/rubygems.rb"]
14
- s.files = ["CHANGELOG", "LICENSE", "MIT-LICENSE", "Manifest", "README", "Rakefile", "echoe.gemspec", "lib/echoe.rb", "lib/echoe/extensions.rb", "lib/echoe/platform.rb", "lib/echoe/rubygems.rb", "vendor/rake/MIT-LICENSE", "vendor/rake/lib/rake/contrib/compositepublisher.rb", "vendor/rake/lib/rake/contrib/ftptools.rb", "vendor/rake/lib/rake/contrib/publisher.rb", "vendor/rake/lib/rake/contrib/rubyforgepublisher.rb", "vendor/rake/lib/rake/contrib/sshpublisher.rb", "vendor/rake/lib/rake/contrib/sys.rb"]
13
+ s.extra_rdoc_files = [%q{CHANGELOG}, %q{LICENSE}, %q{README}, %q{lib/echoe.rb}, %q{lib/echoe/extensions.rb}, %q{lib/echoe/platform.rb}, %q{lib/echoe/rubygems.rb}]
14
+ s.files = [%q{CHANGELOG}, %q{LICENSE}, %q{MIT-LICENSE}, %q{Manifest}, %q{README}, %q{Rakefile}, %q{echoe.gemspec}, %q{lib/echoe.rb}, %q{lib/echoe/extensions.rb}, %q{lib/echoe/platform.rb}, %q{lib/echoe/rubygems.rb}, %q{vendor/rake/MIT-LICENSE}, %q{vendor/rake/lib/rake/contrib/compositepublisher.rb}, %q{vendor/rake/lib/rake/contrib/ftptools.rb}, %q{vendor/rake/lib/rake/contrib/publisher.rb}, %q{vendor/rake/lib/rake/contrib/rubyforgepublisher.rb}, %q{vendor/rake/lib/rake/contrib/sshpublisher.rb}, %q{vendor/rake/lib/rake/contrib/sys.rb}]
15
15
  s.homepage = %q{http://fauna.github.com/fauna/echoe/}
16
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Echoe", "--main", "README"]
17
- s.require_paths = ["lib"]
16
+ s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Echoe}, %q{--main}, %q{README}]
17
+ s.require_paths = [%q{lib}]
18
18
  s.rubyforge_project = %q{fauna}
19
- s.rubygems_version = %q{1.6.0}
19
+ s.rubygems_version = %q{1.8.4}
20
20
  s.signing_key = %q{/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-private_key.pem}
21
21
  s.summary = %q{A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.}
22
22
 
@@ -24,17 +24,23 @@ Gem::Specification.new do |s|
24
24
  s.specification_version = 3
25
25
 
26
26
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
27
- s.add_runtime_dependency(%q<gemcutter>, [">= 0"])
28
- s.add_runtime_dependency(%q<rubyforge>, [">= 0"])
29
- s.add_runtime_dependency(%q<allison>, [">= 0"])
27
+ s.add_runtime_dependency(%q<gemcutter>, [">= 0.7.0"])
28
+ s.add_runtime_dependency(%q<rubyforge>, [">= 2.0.4"])
29
+ s.add_runtime_dependency(%q<allison>, [">= 2.0.3"])
30
+ s.add_runtime_dependency(%q<rdoc>, [">= 3.6.1"])
31
+ s.add_runtime_dependency(%q<rake>, [">= 0.9.0"])
30
32
  else
31
- s.add_dependency(%q<gemcutter>, [">= 0"])
32
- s.add_dependency(%q<rubyforge>, [">= 0"])
33
- s.add_dependency(%q<allison>, [">= 0"])
33
+ s.add_dependency(%q<gemcutter>, [">= 0.7.0"])
34
+ s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
35
+ s.add_dependency(%q<allison>, [">= 2.0.3"])
36
+ s.add_dependency(%q<rdoc>, [">= 3.6.1"])
37
+ s.add_dependency(%q<rake>, [">= 0.9.0"])
34
38
  end
35
39
  else
36
- s.add_dependency(%q<gemcutter>, [">= 0"])
37
- s.add_dependency(%q<rubyforge>, [">= 0"])
38
- s.add_dependency(%q<allison>, [">= 0"])
40
+ s.add_dependency(%q<gemcutter>, [">= 0.7.0"])
41
+ s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
42
+ s.add_dependency(%q<allison>, [">= 2.0.3"])
43
+ s.add_dependency(%q<rdoc>, [">= 3.6.1"])
44
+ s.add_dependency(%q<rake>, [">= 0.9.0"])
39
45
  end
40
46
  end
@@ -3,10 +3,11 @@ $HERE = File.dirname(__FILE__)
3
3
 
4
4
  require 'rake'
5
5
  require 'rake/clean'
6
+ require 'rake/dsl'
6
7
  require "#{$HERE}/../vendor/rake/lib/rake/contrib/compositepublisher"
7
8
  require "#{$HERE}/../vendor/rake/lib/rake/contrib/sshpublisher"
8
- require 'rake/gempackagetask'
9
- require 'rake/rdoctask'
9
+ require 'rubygems/package_task'
10
+ require 'rdoc/task'
10
11
  require 'rake/testtask'
11
12
  begin
12
13
  require 'spec/rake/spectask'
@@ -156,7 +157,7 @@ class Echoe
156
157
  attr_accessor :author, :changes, :clean_pattern, :description, :email, :runtime_dependencies, :development_dependencies, :need_tgz, :need_tar_gz, :need_gem, :need_zip, :rdoc_pattern, :project, :summary, :test_pattern, :spec_pattern, :url, :version, :docs_host, :rdoc_template, :manifest_name, :install_message, :extension_pattern, :private_key, :certificate_chain, :require_signed, :ruby_version, :platform, :ignore_pattern, :executable_pattern, :require_paths, :changelog, :rcov_options, :gemspec_format
157
158
 
158
159
  # best left alone
159
- attr_accessor :name, :lib_files, :test_files, :bin_files, :spec, :rdoc_options, :has_rdoc, :include_gemspec, :include_rakefile, :gemspec_name, :retain_gemspec, :rakefile_name, :eval, :files, :changelog_patterns, :rubygems_version, :use_sudo, :gem_bin
160
+ attr_accessor :name, :lib_files, :test_files, :bin_files, :spec, :rdoc_options, :include_gemspec, :include_rakefile, :gemspec_name, :retain_gemspec, :rakefile_name, :eval, :files, :changelog_patterns, :rubygems_version, :use_sudo, :gem_bin
160
161
 
161
162
  # legacy
162
163
  attr_accessor :extra_deps, :rdoc_files, :extensions, :dependencies
@@ -191,7 +192,6 @@ class Echoe
191
192
  self.install_message = nil
192
193
  self.executable_pattern = /^bin\//
193
194
  self.require_paths = nil
194
- self.has_rdoc = true
195
195
  self.use_sudo = !(Platform.windows? or ENV['GEM_HOME'].to_s.include?(ENV['USER'].to_s))
196
196
  self.gem_bin = "gem#{Platform.suffix}"
197
197
  self.rcov_options = []
@@ -395,7 +395,6 @@ private
395
395
  else
396
396
  s.require_paths = dirs unless dirs.empty?
397
397
  end
398
- s.has_rdoc = has_rdoc
399
398
 
400
399
  if File.exist? "test/test_all.rb"
401
400
  s.test_file = "test/test_all.rb"
@@ -413,7 +412,7 @@ private
413
412
  self.bin_files = spec.files.grep(/^bin/)
414
413
  self.test_files = spec.files.grep(/^test/)
415
414
 
416
- Rake::GemPackageTask.new(spec) do |pkg|
415
+ Gem::PackageTask.new(spec) do |pkg|
417
416
  pkg.need_tar = @need_tgz
418
417
  pkg.need_tar_gz = @need_tar_gz
419
418
  pkg.need_zip = @need_zip
@@ -730,7 +729,6 @@ private
730
729
  ### Testing
731
730
 
732
731
  if test_pattern.any?
733
-
734
732
  Rake::TestTask.new(:test_inner) do |t|
735
733
  t.libs = ['lib', 'ext', 'bin', 'test']
736
734
  t.test_files = test_pattern
@@ -763,6 +761,10 @@ private
763
761
  end
764
762
 
765
763
  task :default => :test
764
+ else
765
+ task :default do
766
+ puts "Nothing to do."
767
+ end
766
768
  end
767
769
 
768
770
  if defined? Spec and spec_pattern.any?
@@ -782,6 +784,12 @@ private
782
784
  end
783
785
  task :rcov => :coverage
784
786
  end
787
+
788
+ # Irb console
789
+ desc 'Start an irb session and load the library.'
790
+ task :console do
791
+ exec "irb -I lib -r #{name}"
792
+ end
785
793
  end
786
794
  end
787
795
 
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  prerelease:
6
6
  segments:
7
7
  - 4
8
- - 5
9
8
  - 6
10
- version: 4.5.6
9
+ - 0
10
+ version: 4.6.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Evan Weaver
@@ -36,8 +36,7 @@ cert_chain:
36
36
  yZ0=
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2011-03-30 00:00:00 -07:00
40
- default_executable:
39
+ date: 2011-05-30 00:00:00 Z
41
40
  dependencies:
42
41
  - !ruby/object:Gem::Dependency
43
42
  name: gemcutter
@@ -50,7 +49,9 @@ dependencies:
50
49
  hash: 3
51
50
  segments:
52
51
  - 0
53
- version: "0"
52
+ - 7
53
+ - 0
54
+ version: 0.7.0
54
55
  type: :runtime
55
56
  version_requirements: *id001
56
57
  - !ruby/object:Gem::Dependency
@@ -61,10 +62,12 @@ dependencies:
61
62
  requirements:
62
63
  - - ">="
63
64
  - !ruby/object:Gem::Version
64
- hash: 3
65
+ hash: 7
65
66
  segments:
67
+ - 2
66
68
  - 0
67
- version: "0"
69
+ - 4
70
+ version: 2.0.4
68
71
  type: :runtime
69
72
  version_requirements: *id002
70
73
  - !ruby/object:Gem::Dependency
@@ -75,12 +78,46 @@ dependencies:
75
78
  requirements:
76
79
  - - ">="
77
80
  - !ruby/object:Gem::Version
78
- hash: 3
81
+ hash: 9
79
82
  segments:
83
+ - 2
80
84
  - 0
81
- version: "0"
85
+ - 3
86
+ version: 2.0.3
82
87
  type: :runtime
83
88
  version_requirements: *id003
89
+ - !ruby/object:Gem::Dependency
90
+ name: rdoc
91
+ prerelease: false
92
+ requirement: &id004 !ruby/object:Gem::Requirement
93
+ none: false
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ hash: 29
98
+ segments:
99
+ - 3
100
+ - 6
101
+ - 1
102
+ version: 3.6.1
103
+ type: :runtime
104
+ version_requirements: *id004
105
+ - !ruby/object:Gem::Dependency
106
+ name: rake
107
+ prerelease: false
108
+ requirement: &id005 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ hash: 59
114
+ segments:
115
+ - 0
116
+ - 9
117
+ - 0
118
+ version: 0.9.0
119
+ type: :runtime
120
+ version_requirements: *id005
84
121
  description: A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.
85
122
  email: ""
86
123
  executables: []
@@ -114,7 +151,6 @@ files:
114
151
  - vendor/rake/lib/rake/contrib/rubyforgepublisher.rb
115
152
  - vendor/rake/lib/rake/contrib/sshpublisher.rb
116
153
  - vendor/rake/lib/rake/contrib/sys.rb
117
- has_rdoc: true
118
154
  homepage: http://fauna.github.com/fauna/echoe/
119
155
  licenses: []
120
156
 
@@ -142,15 +178,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
178
  requirements:
143
179
  - - ">="
144
180
  - !ruby/object:Gem::Version
145
- hash: 11
181
+ hash: 63
146
182
  segments:
147
183
  - 1
148
- - 2
149
- version: "1.2"
184
+ - 8
185
+ - 4
186
+ version: 1.8.4
150
187
  requirements: []
151
188
 
152
189
  rubyforge_project: fauna
153
- rubygems_version: 1.6.0
190
+ rubygems_version: 1.8.4
154
191
  signing_key:
155
192
  specification_version: 3
156
193
  summary: A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.
metadata.gz.sig CHANGED
Binary file