echoe 2.7.11 → 2.7.13
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +4 -0
- data/README +3 -1
- data/Rakefile +2 -2
- data/lib/echoe.rb +16 -6
- metadata +7 -7
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
|
2
|
+
v2.7.13. Avoid Rubyforge 1.0.0 which seems broken.
|
3
|
+
|
4
|
+
v2.7.12. Respect system EDITOR setting (osteele).
|
5
|
+
|
2
6
|
v2.7.11. Include Platform module for abstracting RUBY_PLATFORM regex checks (luislavena).
|
3
7
|
|
4
8
|
v2.7.10. Include RDoc options in generated gemspec (Rob McKinnon).
|
data/README
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
|
2
|
-
Echoe
|
2
|
+
Echoe
|
3
|
+
|
4
|
+
A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.
|
3
5
|
|
4
6
|
== License
|
5
7
|
|
data/Rakefile
CHANGED
@@ -4,10 +4,10 @@ require 'lib/echoe'
|
|
4
4
|
Echoe.new('echoe') do |p|
|
5
5
|
p.project = 'fauna'
|
6
6
|
p.author = 'Evan Weaver'
|
7
|
-
p.summary = 'A tool for
|
7
|
+
p.summary = 'A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.'
|
8
8
|
p.url = 'http://blog.evanweaver.com/files/doc/fauna/echoe/'
|
9
9
|
p.docs_host = 'blog.evanweaver.com:~/www/bax/public/files/doc/'
|
10
|
-
p.dependencies = ['rake', 'rubyforge
|
10
|
+
p.dependencies = ['rake', 'rubyforge =0.4.5', 'highline']
|
11
11
|
p.require_signed = true
|
12
12
|
p.rubygems_version = '>= 0.9.4.5'
|
13
13
|
|
data/lib/echoe.rb
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
|
2
2
|
require 'rubygems'
|
3
|
+
|
4
|
+
gem 'rubyforge', '=0.4.5'
|
5
|
+
require 'rubyforge'
|
6
|
+
|
3
7
|
require 'rake'
|
4
8
|
require 'rake/clean'
|
5
9
|
require 'rake/contrib/sshpublisher'
|
@@ -16,13 +20,11 @@ rescue LoadError
|
|
16
20
|
end
|
17
21
|
|
18
22
|
begin
|
23
|
+
gem 'hoe', '<= 1.5.0'
|
19
24
|
require 'load_multi_rails_rake_tasks'
|
20
25
|
rescue LoadError
|
21
26
|
end
|
22
27
|
|
23
|
-
gem 'rubyforge', '>=0.4.0'
|
24
|
-
require 'rubyforge'
|
25
|
-
|
26
28
|
$LOAD_PATH << File.dirname(__FILE__)
|
27
29
|
require 'echoe/platform'
|
28
30
|
require 'echoe/extensions'
|
@@ -79,6 +81,12 @@ For example, on JRuby, <tt>rake package</tt> will build a generic <tt>-ruby</tt>
|
|
79
81
|
|
80
82
|
This way you can run <tt>rake java package</tt>, <tt>rake aix install</tt>, or whatever task you need and Echoe will behave just like you're packaging from within the target platform.
|
81
83
|
|
84
|
+
== Test environment setup and teardown
|
85
|
+
|
86
|
+
For some applications, you may need to setup and teardown environment state for the entire test suite. This is especially common for integration tests that may need to spawn an external daemon. To support this, you can add a file <tt>tests/setup.rb</tt> and it will be silently executed before the entire suite runs. Add a similar file <tt>tests/teardown.rb</tt> in your app to be executed at the end of the entire run.
|
87
|
+
|
88
|
+
Note; these files will only get executed if you run the tests via <tt>rake</tt>. Also, you can set the environment variable <tt>VERBOSE=1</tt> to not hide the setup/teardown output.
|
89
|
+
|
82
90
|
== Accessor options
|
83
91
|
|
84
92
|
Descriptive options:
|
@@ -405,7 +413,7 @@ class Echoe
|
|
405
413
|
|
406
414
|
desc 'Uninstall the gem'
|
407
415
|
task :uninstall do
|
408
|
-
system "#{'sudo' if use_sudo} gem uninstall #{name} -a -
|
416
|
+
system "#{'sudo' if use_sudo} gem uninstall #{name} -a -I -x"
|
409
417
|
end
|
410
418
|
|
411
419
|
desc 'Package and upload the release to Rubyforge'
|
@@ -449,6 +457,7 @@ class Echoe
|
|
449
457
|
|
450
458
|
if extension_pattern.any?
|
451
459
|
|
460
|
+
desc "Compile the binary extension module"
|
452
461
|
task :compile => [:lib] do
|
453
462
|
extension_pattern.each do |extension|
|
454
463
|
ext_dir = File.dirname(extension)
|
@@ -551,8 +560,9 @@ class Echoe
|
|
551
560
|
end
|
552
561
|
end
|
553
562
|
|
554
|
-
begin
|
555
|
-
|
563
|
+
begin
|
564
|
+
editor = ENV['EDITOR'] || 'nano'
|
565
|
+
system("#{editor} #{filename}") or raise "Editor '#{editor}' failed to start"
|
556
566
|
puts File.open(filename).read
|
557
567
|
end while !agree "Done editing? "
|
558
568
|
|
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.13
|
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-
|
33
|
+
date: 2008-05-26 00:00:00 -04:00
|
34
34
|
default_executable:
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -47,9 +47,9 @@ dependencies:
|
|
47
47
|
version_requirement:
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- - "
|
50
|
+
- - "="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.4.
|
52
|
+
version: 0.4.5
|
53
53
|
version:
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: highline
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: "0"
|
62
62
|
version:
|
63
|
-
description: A tool for
|
63
|
+
description: A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.
|
64
64
|
email: ""
|
65
65
|
executables: []
|
66
66
|
|
@@ -112,9 +112,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
requirements: []
|
113
113
|
|
114
114
|
rubyforge_project: fauna
|
115
|
-
rubygems_version: 1.
|
115
|
+
rubygems_version: 1.1.1
|
116
116
|
signing_key:
|
117
117
|
specification_version: 2
|
118
|
-
summary: A tool for
|
118
|
+
summary: A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.
|
119
119
|
test_files: []
|
120
120
|
|
metadata.gz.sig
CHANGED
Binary file
|