echoe 4.2 → 4.3

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 +0 -0
  2. data/CHANGELOG +2 -0
  3. data/README +2 -6
  4. data/echoe.gemspec +3 -3
  5. data/lib/echoe.rb +7 -5
  6. metadata +24 -13
  7. metadata.gz.sig +0 -0
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
 
2
+ v4.3. Don't use sudo if the GEM_HOME is local. Support prerelease gem versions.
3
+
2
4
  v4.2. Allow custom requirements (TylerRick); take advantage of .git_ignore (greatseth); only use -P MediumSecurity on install if it is the packaging machine.
3
5
 
4
6
  v4.1. Remove prompts until I can find a cursor library that's not GPL. Restore Rubyforge gem dependency, for the announce method.
data/README CHANGED
@@ -7,7 +7,7 @@ A Rubygems packaging tool that provides Rake tasks for documentation, extension
7
7
 
8
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
9
 
10
- The public certificate for the gem is here[http://rubyforge.org/frs/download.php/25331/evan_weaver-original-public_cert.pem].
10
+ The public certificate for the gem is here[http://blog.evanweaver.com/files/evan_weaver-original-public_cert.pem].
11
11
 
12
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.
13
13
 
@@ -105,10 +105,6 @@ Cleaning:
105
105
 
106
106
  == Reporting problems
107
107
 
108
- The support forum is here[http://rubyforge.org/forum/forum.php?forum_id=13986].
108
+ The support forum is here[http://github.com/fauna/echoe/issues].
109
109
 
110
110
  Patches and contributions are very welcome. Please note that contributors are required to assign copyright for their additions to Cloudburst, LLC.
111
-
112
- == Further resources
113
-
114
- * http://blog.evanweaver.com/articles/2007/01/10/if-you-dont-want-to-hoe-echoe
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{echoe}
5
- s.version = "4.2"
5
+ s.version = "4.3"
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"]
9
9
  s.cert_chain = ["/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-public_cert.pem"]
10
- s.date = %q{2010-02-18}
10
+ s.date = %q{2010-03-07}
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
13
  s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README", "TODO", "lib/echoe.rb", "lib/echoe/extensions.rb", "lib/echoe/platform.rb", "lib/echoe/rubygems.rb"]
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Echoe", "--main", "README"]
17
17
  s.require_paths = ["lib"]
18
18
  s.rubyforge_project = %q{fauna}
19
- s.rubygems_version = %q{1.3.5}
19
+ s.rubygems_version = %q{1.3.6}
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
 
@@ -19,7 +19,9 @@ require "#{$HERE}/echoe/extensions"
19
19
 
20
20
  require 'rubygems'
21
21
  require 'rubyforge'
22
- require 'rubygems/specification'
22
+
23
+ Echoe.silence { require 'rubygems/specification' }
24
+
23
25
  require "#{$HERE}/echoe/rubygems"
24
26
  require 'rubygems_plugin'
25
27
 
@@ -173,8 +175,8 @@ class Echoe
173
175
 
174
176
  self.changelog_patterns = {
175
177
  :version => [
176
- /^\s*v([\d\.]+)(\.|\s|$)/,
177
- /\s*\*\s*([\d\.]+)\s*\*\s*$/
178
+ /^\s*v([\d\w\.]+)(\.|\s|$)/,
179
+ /\s*\*\s*([\d\w\.]+)\s*\*\s*$/
178
180
  ],
179
181
  :changes => [
180
182
  /^\s*v([\d\.]+\. .*)/,
@@ -188,7 +190,7 @@ class Echoe
188
190
  self.executable_pattern = /^bin\//
189
191
  self.require_paths = nil
190
192
  self.has_rdoc = true
191
- self.use_sudo = !Platform.windows?
193
+ self.use_sudo = !(Platform.windows? or ENV['GEM_HOME'].to_s.include?(ENV['USER'].to_s))
192
194
  self.gem_bin = "gem#{Platform.suffix}"
193
195
  self.rcov_options = []
194
196
  self.rdoc_pattern = /^(lib|bin|tasks|ext)|^README|^CHANGELOG|^TODO|^LICENSE|^COPYING$/
@@ -493,7 +495,7 @@ private
493
495
  pkg_zip = pkg + ".zip"
494
496
 
495
497
  puts "Releasing #{name} v. #{version} to Gemcutter."
496
- Gem::Commands::PushCommand.new.invoke(pkg_gem)
498
+ system("gem push #{pkg_gem.inspect}")
497
499
  end
498
500
 
499
501
  ### Extension building
metadata CHANGED
@@ -1,7 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: echoe
3
3
  version: !ruby/object:Gem::Version
4
- version: "4.2"
4
+ prerelease: false
5
+ segments:
6
+ - 4
7
+ - 3
8
+ version: "4.3"
5
9
  platform: ruby
6
10
  authors:
7
11
  - Evan Weaver
@@ -30,29 +34,33 @@ cert_chain:
30
34
  yZ0=
31
35
  -----END CERTIFICATE-----
32
36
 
33
- date: 2010-02-18 00:00:00 -08:00
37
+ date: 2010-03-07 00:00:00 -08:00
34
38
  default_executable:
35
39
  dependencies:
36
40
  - !ruby/object:Gem::Dependency
37
41
  name: gemcutter
38
- type: :runtime
39
- version_requirement:
40
- version_requirements: !ruby/object:Gem::Requirement
42
+ prerelease: false
43
+ requirement: &id001 !ruby/object:Gem::Requirement
41
44
  requirements:
42
45
  - - ">="
43
46
  - !ruby/object:Gem::Version
47
+ segments:
48
+ - 0
44
49
  version: "0"
45
- version:
50
+ type: :runtime
51
+ version_requirements: *id001
46
52
  - !ruby/object:Gem::Dependency
47
53
  name: rubyforge
48
- type: :runtime
49
- version_requirement:
50
- version_requirements: !ruby/object:Gem::Requirement
54
+ prerelease: false
55
+ requirement: &id002 !ruby/object:Gem::Requirement
51
56
  requirements:
52
57
  - - ">="
53
58
  - !ruby/object:Gem::Version
59
+ segments:
60
+ - 0
54
61
  version: "0"
55
- version:
62
+ type: :runtime
63
+ version_requirements: *id002
56
64
  description: A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.
57
65
  email: ""
58
66
  executables: []
@@ -106,18 +114,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
114
  requirements:
107
115
  - - ">="
108
116
  - !ruby/object:Gem::Version
117
+ segments:
118
+ - 0
109
119
  version: "0"
110
- version:
111
120
  required_rubygems_version: !ruby/object:Gem::Requirement
112
121
  requirements:
113
122
  - - ">="
114
123
  - !ruby/object:Gem::Version
124
+ segments:
125
+ - 1
126
+ - 2
115
127
  version: "1.2"
116
- version:
117
128
  requirements: []
118
129
 
119
130
  rubyforge_project: fauna
120
- rubygems_version: 1.3.5
131
+ rubygems_version: 1.3.6
121
132
  signing_key:
122
133
  specification_version: 3
123
134
  summary: A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.
metadata.gz.sig CHANGED
Binary file