echoe 4.4.1 → 4.5

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v4.5. Default to Allison template.
2
+
1
3
  v4.4.1. Correct default url.
2
4
 
3
5
  v4.4. Use GitHub for default url and documentation hosting.
data/README CHANGED
@@ -5,11 +5,7 @@ A Rubygems packaging tool that provides Rake tasks for documentation, extension
5
5
 
6
6
  == License
7
7
 
8
- Copyright 2007, 2008 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file. Portions copyright 2006 Ryan Davis/Zen Spider Software and used with permission. See the included MIT-LICENSE file.
9
-
10
- The public certificate for the gem is here[http://blog.evanweaver.com/files/evan_weaver-original-public_cert.pem].
11
-
12
- If you use this software, please {make a donation}[http://blog.evanweaver.com/donate/], or {recommend Evan}[http://www.workingwithrails.com/person/7739-evan-weaver] at Working with Rails.
8
+ Copyright 2007-2011 Cloudburst, LLC. Licensed under the AFL 3. See the included LICENSE file. Portions copyright 2006 Ryan Davis/Zen Spider Software and used with permission. See the included MIT-LICENSE file.
13
9
 
14
10
  == Features
15
11
 
@@ -26,10 +22,8 @@ If you use this software, please {make a donation}[http://blog.evanweaver.com/do
26
22
 
27
23
  Install the gem:
28
24
  sudo gem install echoe
29
-
30
- If you haven't already, make sure Rubyforge is configured locally and your password is correctly set:
31
- rubyforge setup
32
- rubyforge config
25
+
26
+ If you haven't already, make sure rubygems.org is configured locally and your password is correctly set.
33
27
 
34
28
  == Project configuration
35
29
 
@@ -46,18 +40,18 @@ You can add the <tt>bin/</tt> or <tt>ext/</tt> folders if you have executables o
46
40
  Your <tt>CHANGELOG</tt> should be formatted as follows (including newlines):
47
41
 
48
42
  v2.1. newest change
49
-
43
+
50
44
  v2. older change
51
-
45
+
52
46
  v1.9. oldest change
53
-
47
+
54
48
  This way Echoe can parse the latest version and changeset message automatically.
55
49
 
56
50
  Your <tt>Rakefile</tt> needs the following minimal contents:
57
51
 
58
- require 'echoe'
52
+ require 'echoe'
59
53
  Echoe.new('gem_name')
60
-
54
+
61
55
  More advanced configuration is described in the Echoe class.
62
56
 
63
57
  == Deploying your gem
@@ -94,14 +88,7 @@ Testing:
94
88
  Upload:
95
89
 
96
90
  * <tt>publish_docs</tt> - Publish documentation to the web.
97
- * <tt>release</tt> - Package and upload the latest release to Rubyforge.
98
- * <tt>announce</tt> - Generate a release announcement, edit it, and post it to Rubyforge.
99
-
100
- Cleaning:
101
-
102
- * <tt>clean</tt> - Delete all the generated documentation and packages.
103
- * <tt>redocs</tt> - Force a rebuild of the Rdoc files.
104
- * <tt>repackage</tt> - Force a rebuild of the package files.
91
+ * <tt>release</tt> - Package and upload the latest release to rubygems.org.
105
92
 
106
93
  == Reporting problems
107
94
 
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ 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']
8
+ p.runtime_dependencies = ['gemcutter', 'rubyforge', 'allison']
9
9
  p.development_dependencies = []
10
10
  p.retain_gemspec = true
11
11
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{echoe}
5
- s.version = "4.4.1"
5
+ s.version = "4.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Evan Weaver"]
@@ -27,12 +27,15 @@ Gem::Specification.new do |s|
27
27
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
28
  s.add_runtime_dependency(%q<gemcutter>, [">= 0"])
29
29
  s.add_runtime_dependency(%q<rubyforge>, [">= 0"])
30
+ s.add_runtime_dependency(%q<allison>, [">= 0"])
30
31
  else
31
32
  s.add_dependency(%q<gemcutter>, [">= 0"])
32
33
  s.add_dependency(%q<rubyforge>, [">= 0"])
34
+ s.add_dependency(%q<allison>, [">= 0"])
33
35
  end
34
36
  else
35
37
  s.add_dependency(%q<gemcutter>, [">= 0"])
36
38
  s.add_dependency(%q<rubyforge>, [">= 0"])
39
+ s.add_dependency(%q<allison>, [">= 0"])
37
40
  end
38
41
  end
@@ -156,7 +156,7 @@ class Echoe
156
156
  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
157
 
158
158
  # best left alone
159
- attr_accessor :name, :lib_files, :test_files, :bin_files, :spec, :rdoc_options, :rubyforge_name, :has_rdoc, :include_gemspec, :include_rakefile, :gemspec_name, :retain_gemspec, :rakefile_name, :eval, :files, :changelog_patterns, :rubygems_version, :use_sudo, :gem_bin
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
160
 
161
161
  # legacy
162
162
  attr_accessor :extra_deps, :rdoc_files, :extensions, :dependencies
@@ -236,7 +236,6 @@ class Echoe
236
236
  # legacy compatibility
237
237
  self.runtime_dependencies = dependencies if dependencies and runtime_dependencies.empty?
238
238
  self.runtime_dependencies = extra_deps if extra_deps and runtime_dependencies.empty?
239
- self.project = rubyforge_name if rubyforge_name
240
239
  self.rdoc_pattern = rdoc_files if rdoc_files
241
240
  self.extension_pattern = extensions if extensions
242
241
 
@@ -557,6 +556,8 @@ private
557
556
  rd.template = rdoc_template
558
557
  elsif ENV['RDOC_TEMPLATE']
559
558
  rd.template = ENV['RDOC_TEMPLATE']
559
+ elsif `allison --path`.any?
560
+ rd.template = `allison --path`.chomp
560
561
  end
561
562
  end
562
563
 
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: echoe
3
3
  version: !ruby/object:Gem::Version
4
- hash: 45
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 4
8
- - 4
9
- - 1
10
- version: 4.4.1
8
+ - 5
9
+ version: "4.5"
11
10
  platform: ruby
12
11
  authors:
13
12
  - Evan Weaver
@@ -67,6 +66,20 @@ dependencies:
67
66
  version: "0"
68
67
  type: :runtime
69
68
  version_requirements: *id002
69
+ - !ruby/object:Gem::Dependency
70
+ name: allison
71
+ prerelease: false
72
+ requirement: &id003 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ hash: 3
78
+ segments:
79
+ - 0
80
+ version: "0"
81
+ type: :runtime
82
+ version_requirements: *id003
70
83
  description: A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.
71
84
  email: ""
72
85
  executables: []
metadata.gz.sig CHANGED
Binary file