mongrel_console 0.2 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +2 -0
- data/CHANGELOG +2 -0
- data/Manifest +8 -0
- data/mongrel_console.gemspec +43 -0
- metadata +73 -23
- metadata.gz.sig +0 -0
- data/Rakefile +0 -38
- data/tools/rakehelp.rb +0 -105
data.tar.gz.sig
ADDED
data/CHANGELOG
ADDED
data/Manifest
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
|
2
|
+
# Gem::Specification for Mongrel_console-0.2.1
|
3
|
+
# Originally generated by Echoe
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = %q{mongrel_console}
|
7
|
+
s.version = "0.2.1"
|
8
|
+
|
9
|
+
s.specification_version = 2 if s.respond_to? :specification_version=
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.authors = ["Zed A. Shaw"]
|
13
|
+
s.date = %q{2007-10-26}
|
14
|
+
s.description = %q{Provides a combined Mongrel and Rails IRB console.}
|
15
|
+
s.email = %q{}
|
16
|
+
s.files = ["resources/defaults.yaml", "README", "Manifest", "LICENSE", "lib/mongrel_console/init.rb", "lib/mongrel_console/console.rb", "COPYING", "CHANGELOG", "mongrel_console.gemspec"]
|
17
|
+
s.has_rdoc = true
|
18
|
+
s.homepage = %q{}
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
s.rubyforge_project = %q{mongrel}
|
21
|
+
s.rubygems_version = %q{0.9.4.6}
|
22
|
+
s.summary = %q{Provides a combined Mongrel and Rails IRB console.}
|
23
|
+
|
24
|
+
s.add_dependency(%q<gem_plugin>, [">= 0.2.3"])
|
25
|
+
s.add_dependency(%q<mongrel>, [">= 1.0.2"])
|
26
|
+
end
|
27
|
+
|
28
|
+
|
29
|
+
# # Original Rakefile source (requires the Echoe gem):
|
30
|
+
#
|
31
|
+
#
|
32
|
+
# require 'echoe'
|
33
|
+
#
|
34
|
+
# Echoe.new("mongrel_console") do |p|
|
35
|
+
# p.summary = "Provides a combined Mongrel and Rails IRB console."
|
36
|
+
# p.project = "mongrel"
|
37
|
+
# p.author="Zed A. Shaw"
|
38
|
+
# p.dependencies = ['gem_plugin >=0.2.3', 'mongrel >=1.0.2']
|
39
|
+
#
|
40
|
+
# p.need_tar_gz = false
|
41
|
+
# p.need_tgz = true
|
42
|
+
# p.require_signed = true
|
43
|
+
# end
|
metadata
CHANGED
@@ -1,49 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.
|
3
|
-
specification_version:
|
2
|
+
rubygems_version: 0.9.4.6
|
3
|
+
specification_version: 2
|
4
4
|
name: mongrel_console
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version:
|
7
|
-
date: 2007-
|
6
|
+
version: 0.2.1
|
7
|
+
date: 2007-10-26 00:00:00 -04:00
|
8
8
|
summary: Provides a combined Mongrel and Rails IRB console.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
|
-
email:
|
12
|
-
homepage:
|
13
|
-
rubyforge_project:
|
11
|
+
email: ""
|
12
|
+
homepage: ""
|
13
|
+
rubyforge_project: mongrel
|
14
14
|
description: Provides a combined Mongrel and Rails IRB console.
|
15
15
|
autorequire:
|
16
16
|
default_executable:
|
17
17
|
bindir: bin
|
18
18
|
has_rdoc: true
|
19
|
-
required_ruby_version: !ruby/object:Gem::
|
19
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - "
|
21
|
+
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: "0"
|
24
30
|
version:
|
25
31
|
platform: ruby
|
26
32
|
signing_key:
|
27
33
|
cert_chain:
|
34
|
+
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gNPK9lGIWpB3CHzDaVNAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSw
|
69
|
+
MB0GA1UdDgQWBBT5aonPfFBdJ5rWFG+8dZwgyB54LjANBgkqhkiG9w0BAQUFAAOC
|
70
|
+
AQEAiKbzWgMcvZs/TPwJxr8tJ+7mSGz7+zDkWcbBl8FpQq1DtRcATh1oyTkQT7t+
|
71
|
+
rFEBYMmb0FxbbUnojQp8hIFgFkUwFpStwWBL/okLSehntzI2iwjuEtfj4ac9Q3Y2
|
72
|
+
uSdbmZqsQTuu+lEUc5C4qLK7YKwToaul+cx7vWxyk1YendcVwRlFLIBqA5cPrwo3
|
73
|
+
yyGLTHlRYn2c9PSbM1B63Yg+LqSSAa4QSU3Wv9pNdffVpvwHPVEQpO7ZDo5slQFL
|
74
|
+
Gf6+gbD/eZAvhpvmn8JlXb+LxKaFVMs2Yvrk1xOuT76SsPjEGWxkr7jZCIpsYfgQ
|
75
|
+
ALN3mi/9z0Mf1YroliUgF0v5Yw==
|
76
|
+
-----END CERTIFICATE-----
|
77
|
+
|
28
78
|
post_install_message:
|
29
79
|
authors:
|
30
80
|
- Zed A. Shaw
|
31
81
|
files:
|
32
|
-
-
|
33
|
-
- LICENSE
|
82
|
+
- resources/defaults.yaml
|
34
83
|
- README
|
35
|
-
-
|
36
|
-
-
|
37
|
-
- lib/mongrel_console/console.rb
|
84
|
+
- Manifest
|
85
|
+
- LICENSE
|
38
86
|
- lib/mongrel_console/init.rb
|
39
|
-
-
|
40
|
-
-
|
87
|
+
- lib/mongrel_console/console.rb
|
88
|
+
- COPYING
|
89
|
+
- CHANGELOG
|
90
|
+
- mongrel_console.gemspec
|
41
91
|
test_files: []
|
42
92
|
|
43
93
|
rdoc_options: []
|
44
94
|
|
45
|
-
extra_rdoc_files:
|
46
|
-
|
95
|
+
extra_rdoc_files: []
|
96
|
+
|
47
97
|
executables: []
|
48
98
|
|
49
99
|
extensions: []
|
@@ -54,18 +104,18 @@ dependencies:
|
|
54
104
|
- !ruby/object:Gem::Dependency
|
55
105
|
name: gem_plugin
|
56
106
|
version_requirement:
|
57
|
-
version_requirements: !ruby/object:Gem::
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
108
|
requirements:
|
59
109
|
- - ">="
|
60
110
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.2.
|
111
|
+
version: 0.2.3
|
62
112
|
version:
|
63
113
|
- !ruby/object:Gem::Dependency
|
64
114
|
name: mongrel
|
65
115
|
version_requirement:
|
66
|
-
version_requirements: !ruby/object:Gem::
|
116
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
117
|
requirements:
|
68
118
|
- - ">="
|
69
119
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.
|
120
|
+
version: 1.0.2
|
71
121
|
version:
|
metadata.gz.sig
ADDED
Binary file
|
data/Rakefile
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
require 'rake'
|
2
|
-
require 'rake/testtask'
|
3
|
-
require 'rake/clean'
|
4
|
-
require 'rake/gempackagetask'
|
5
|
-
require 'rake/rdoctask'
|
6
|
-
require 'tools/rakehelp'
|
7
|
-
require 'fileutils'
|
8
|
-
include FileUtils
|
9
|
-
|
10
|
-
setup_tests
|
11
|
-
setup_clean ["pkg", "lib/*.bundle", "*.gem", ".config"]
|
12
|
-
|
13
|
-
setup_rdoc ['README', 'LICENSE', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc']
|
14
|
-
|
15
|
-
desc "Does a full compile, test run"
|
16
|
-
task :default => [:test, :package]
|
17
|
-
|
18
|
-
version="0.2"
|
19
|
-
name="mongrel_console"
|
20
|
-
|
21
|
-
setup_gem(name, version) do |spec|
|
22
|
-
spec.summary = "Provides a combined Mongrel and Rails IRB console."
|
23
|
-
spec.description = spec.summary
|
24
|
-
spec.author="Zed A. Shaw"
|
25
|
-
spec.add_dependency('gem_plugin', '>= 0.2.1')
|
26
|
-
spec.add_dependency('mongrel', '>= 0.3.11')
|
27
|
-
spec.files += Dir.glob("resources/**/*")
|
28
|
-
end
|
29
|
-
|
30
|
-
|
31
|
-
task :install => [:test, :package] do
|
32
|
-
sh %{gem install pkg/#{name}-#{version}.gem}
|
33
|
-
end
|
34
|
-
|
35
|
-
task :uninstall => [:clean] do
|
36
|
-
sh %{gem uninstall #{name}}
|
37
|
-
end
|
38
|
-
|
data/tools/rakehelp.rb
DELETED
@@ -1,105 +0,0 @@
|
|
1
|
-
|
2
|
-
def make(makedir)
|
3
|
-
Dir.chdir(makedir) do
|
4
|
-
sh(PLATFORM =~ /win32/ ? 'nmake' : 'make')
|
5
|
-
end
|
6
|
-
end
|
7
|
-
|
8
|
-
|
9
|
-
def extconf(dir)
|
10
|
-
Dir.chdir(dir) do ruby "extconf.rb" end
|
11
|
-
end
|
12
|
-
|
13
|
-
|
14
|
-
def setup_tests
|
15
|
-
Rake::TestTask.new do |t|
|
16
|
-
t.libs << "test"
|
17
|
-
t.test_files = FileList['test/test*.rb']
|
18
|
-
t.verbose = true
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
23
|
-
def setup_clean otherfiles
|
24
|
-
files = ['build/*', '**/*.o', '**/*.so', '**/*.a', 'lib/*-*', '**/*.log'] + otherfiles
|
25
|
-
CLEAN.include(files)
|
26
|
-
end
|
27
|
-
|
28
|
-
|
29
|
-
def setup_rdoc files
|
30
|
-
Rake::RDocTask.new do |rdoc|
|
31
|
-
rdoc.rdoc_dir = 'doc/rdoc'
|
32
|
-
rdoc.options << '--line-numbers'
|
33
|
-
rdoc.rdoc_files.add(files)
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
|
38
|
-
def setup_extension(dir, extension)
|
39
|
-
ext = "ext/#{dir}"
|
40
|
-
ext_so = "#{ext}/#{extension}.#{Config::CONFIG['DLEXT']}"
|
41
|
-
ext_files = FileList[
|
42
|
-
"#{ext}/*.c",
|
43
|
-
"#{ext}/*.h",
|
44
|
-
"#{ext}/extconf.rb",
|
45
|
-
"#{ext}/Makefile",
|
46
|
-
"lib"
|
47
|
-
]
|
48
|
-
|
49
|
-
task "lib" do
|
50
|
-
directory "lib"
|
51
|
-
end
|
52
|
-
|
53
|
-
desc "Builds just the #{extension} extension"
|
54
|
-
task extension.to_sym => ["#{ext}/Makefile", ext_so ]
|
55
|
-
|
56
|
-
file "#{ext}/Makefile" => ["#{ext}/extconf.rb"] do
|
57
|
-
extconf "#{ext}"
|
58
|
-
end
|
59
|
-
|
60
|
-
file ext_so => ext_files do
|
61
|
-
make "#{ext}"
|
62
|
-
cp ext_so, "lib"
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
|
67
|
-
def base_gem_spec(pkg_name, pkg_version)
|
68
|
-
pkg_version = pkg_version
|
69
|
-
pkg_name = pkg_name
|
70
|
-
pkg_file_name = "#{pkg_name}-#{pkg_version}"
|
71
|
-
Gem::Specification.new do |s|
|
72
|
-
s.name = pkg_name
|
73
|
-
s.version = pkg_version
|
74
|
-
s.platform = Gem::Platform::RUBY
|
75
|
-
s.has_rdoc = true
|
76
|
-
s.extra_rdoc_files = [ "README" ]
|
77
|
-
|
78
|
-
s.files = %w(COPYING LICENSE README Rakefile) +
|
79
|
-
Dir.glob("{bin,doc/rdoc,test,lib}/**/*") +
|
80
|
-
Dir.glob("ext/**/*.{h,c,rb}") +
|
81
|
-
Dir.glob("examples/**/*.rb") +
|
82
|
-
Dir.glob("tools/*.rb")
|
83
|
-
|
84
|
-
s.require_path = "lib"
|
85
|
-
s.extensions = FileList["ext/**/extconf.rb"].to_a
|
86
|
-
s.bindir = "bin"
|
87
|
-
end
|
88
|
-
end
|
89
|
-
|
90
|
-
def setup_gem(pkg_name, pkg_version)
|
91
|
-
spec = base_gem_spec(pkg_name, pkg_version)
|
92
|
-
yield spec if block_given?
|
93
|
-
|
94
|
-
Rake::GemPackageTask.new(spec) do |p|
|
95
|
-
p.gem_spec = spec
|
96
|
-
p.need_tar = true
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
def setup_win32_gem(pkg_name, pkg_version)
|
101
|
-
spec = base_gem_spec(pkg_name, pkg_version)
|
102
|
-
yield spec if block_given?
|
103
|
-
|
104
|
-
Gem::Builder.new(spec).build
|
105
|
-
end
|