echoe 2.7.6 → 2.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +1 -1
- data/TODO +2 -1
- data/lib/echoe.rb +4 -3
- metadata +2 -2
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG
CHANGED
data/TODO
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
*
|
|
2
|
+
* Support compiling without extension registration for win32 and java targets.
|
|
3
3
|
* Figure out why need_gem = false caused releasing to fail
|
|
4
|
+
* Add a non-repository source (ENV or file) for per-project per-developer certificate chains. (?)
|
data/lib/echoe.rb
CHANGED
|
@@ -144,7 +144,7 @@ class Echoe
|
|
|
144
144
|
attr_accessor :author, :changes, :clean_pattern, :description, :email, :dependencies, :need_tgz, :need_tar_gz, :need_gem, :need_zip, :rdoc_pattern, :project, :summary, :test_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, :changelog, :rcov_options
|
|
145
145
|
|
|
146
146
|
# best left alone
|
|
147
|
-
attr_accessor :name, :lib_files, :test_files, :bin_files, :spec, :rdoc_options, :rubyforge_name, :has_rdoc, :include_gemspec, :include_rakefile, :gemspec_name, :eval, :files, :changelog_patterns, :rubygems_version
|
|
147
|
+
attr_accessor :name, :lib_files, :test_files, :bin_files, :spec, :rdoc_options, :rubyforge_name, :has_rdoc, :include_gemspec, :include_rakefile, :gemspec_name, :eval, :files, :changelog_patterns, :rubygems_version, :use_sudo
|
|
148
148
|
|
|
149
149
|
# legacy
|
|
150
150
|
attr_accessor :extra_deps, :rdoc_files, :extensions
|
|
@@ -178,6 +178,7 @@ class Echoe
|
|
|
178
178
|
self.install_message = nil
|
|
179
179
|
self.executable_pattern = /^bin\//
|
|
180
180
|
self.has_rdoc = true
|
|
181
|
+
self.use_sudo = RUBY_PLATFORM !~ /mswin32|cygwin/
|
|
181
182
|
self.rcov_options = []
|
|
182
183
|
self.rdoc_pattern = /^(lib|bin|tasks|ext)|^README|^CHANGELOG|^TODO|^LICENSE|^COPYING$/
|
|
183
184
|
self.rdoc_options = ['--line-numbers', '--inline-source']
|
|
@@ -391,12 +392,12 @@ class Echoe
|
|
|
391
392
|
|
|
392
393
|
desc 'Install the gem'
|
|
393
394
|
task :install => [:clean, :package, :uninstall] do
|
|
394
|
-
system "sudo gem install pkg/*.gem -P MediumSecurity"
|
|
395
|
+
system "#{'sudo' if use_sudo} gem install pkg/*.gem -P MediumSecurity --no-update-sources"
|
|
395
396
|
end
|
|
396
397
|
|
|
397
398
|
desc 'Uninstall the gem'
|
|
398
399
|
task :uninstall do
|
|
399
|
-
system "sudo gem uninstall #{name} -a -i -x"
|
|
400
|
+
system "#{'sudo' if use_sudo} gem uninstall #{name} -a -i -x"
|
|
400
401
|
end
|
|
401
402
|
|
|
402
403
|
desc 'Package and upload the release to Rubyforge'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: echoe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.7.
|
|
4
|
+
version: 2.7.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Evan Weaver
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
yZ0=
|
|
31
31
|
-----END CERTIFICATE-----
|
|
32
32
|
|
|
33
|
-
date: 2008-01-
|
|
33
|
+
date: 2008-01-16 00:00:00 -05:00
|
|
34
34
|
default_executable:
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
metadata.gz.sig
CHANGED
|
Binary file
|