public
Description: Merb More: The Full Stack. Take what you need; leave what you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-more.git
Search Repo:
Leftover files
wycats (author)
Fri Jan 18 11:25:19 -0800 2008
commit  ab75de9dfc156514264de3307fede7bd79e2da56
tree    36682ffaa3ba50b39e8ff7544bac33fe8034acbb
parent  f55492066949a40348c1cc16ead91d45a6794a92
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
0
@@ -1 +1,52 @@
0
+require "rake/gempackagetask"
0
+
0
+NAME = "merb-more"
0
+
0
+spec = Gem::Specification.new do |s|
0
+ s.name = NAME
0
+ s.version = Merb::VERSION
0
+ s.platform = Gem::Platform::RUBY
0
+ s.author = "Ezra Zygmuntowicz"
0
+ s.email = "ez@engineyard.com"
0
+ s.homepage = "http://www.merbivore.com"
0
+ s.summary = "Merb == Mongrel + Erb. Pocket rocket web framework."
0
+ s.description = s.summary
0
+ s.require_path = "lib"
0
+ s.files = %w( LICENSE README Rakefile TODO ) + Dir["{spec,lib}/**/*"]
0
+
0
+ # rdoc
0
+ s.has_rdoc = true
0
+ s.extra_rdoc_files = %w( README LICENSE TODO )
0
+
0
+ # Dependencies
0
+ s.add_dependency "merb-core"
0
+end
0
+
0
+Rake::GemPackageTask.new(spec) do |package|
0
+ package.gem_spec = spec
0
+end
0
+
0
+desc "Run :package and install the resulting .gem"
0
+task :install => :package do
0
+ sh %{#{SUDO} gem install pkg/#{NAME}-#{Merb::VERSION}.gem --no-rdoc --no-ri}
0
+end
0
+
0
+desc "Run :clean and uninstall the .gem"
0
+task :uninstall => :clean do
0
+ sh %{#{SUDO} gem uninstall #{NAME}}
0
+end
0
+
0
+# SPECS
0
+desc "Run all specs"
0
+task :specs do
0
+ examples, failures, pending = 0, 0, 0
0
+ Dir["spec/**/*_spec.rb"].each do |spec|
0
+ response = `spec #{File.expand_path(spec)} -f s -c`
0
+ e, f, p = response.match(/(\d+) examples?, (\d+) failures?(?:, (\d+) pending?)?/)[1..-1]
0
+ examples += e.to_i; failures += f.to_i; pending += p.to_i
0
+ puts response
0
+ end
0
+ puts "\n*** TOTALS ***"
0
+ puts "#{examples} examples, #{failures} failures#{ ", #{pending} pending" if pending}"
0
+end
...
 
...
1
0
@@ -1 +1,2 @@
0
+pkg

Comments

    No one has commented yet.