public
Rubygem
Description: StrokeDB plugin for Merb. Allows the use of use_orm :strokedb
Clone URL: git://github.com/elliottcable/merb_strokedb.git
Search Repo:
Setup for GitHub gem hosting
elliottcable (author)
Tue Apr 29 04:26:50 -0700 2008
commit  eeceb2cd33169f6287e18164ab501efc88e47f82
tree    47ee8b9b7390ab743cbe70b5adefe668dc886ab0
parent  38b8625043381f4adc7975cb9a0ab84edbd995cc
...
1
2
3
4
 
5
...
1
 
 
2
3
4
0
@@ -1,3 +1,2 @@
0
 pkg
0
-.manifest
0
-*.gemspec
0
\ No newline at end of file
0
+.manifest
0
\ No newline at end of file
...
14
15
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
18
19
...
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
0
@@ -14,6 +14,20 @@ You can install merb_strokedb using the following command:
0
 
0
     sudo gem install merb_strokedb
0
 
0
+This installs merb_strokedb from RubyForge. This is mostl likely an
0
+out-of-date and older version of the package, and may be buggy. If you wish to
0
+install the latest edge version of the package, install it from the GitHub gem
0
+source instead:
0
+
0
+ gem sources -a http://gems.github.com/
0
+ sudo gem install elliottcable-merb_strokedb
0
+
0
+If you install both versions, you will need to use the following code to require
0
+the edge version correctly:
0
+
0
+ gem 'elliottcable-merb_strokedb'
0
+ require 'merb_strokedb'
0
+
0
 The authoritative source for this project is available at
0
 <http://github.com/elliottcable/merb_strokedb>. You can clone your own copy with the
0
 following command:
...
1
2
3
 
4
5
6
...
25
26
27
28
 
 
 
 
 
 
 
 
 
29
30
31
...
1
2
3
4
5
6
7
...
26
27
28
 
29
30
31
32
33
34
35
36
37
38
39
40
0
@@ -1,6 +1,7 @@
0
 require 'rubygems'; require 'merb-core'
0
 $:.unshift(File.dirname(__FILE__) + '/lib'); require 'merb_strokedb'
0
 Dir['task/**/*.task'].each {|t| load t}
0
+require 'fileutils'; include FileUtils
0
 
0
 Echoe.taskify do
0
   Echoe.new('merb_strokedb', Merb::Orms::StrokeDB::VERSION) do |g|
0
@@ -25,7 +26,15 @@ Echoe.taskify do
0
       puts "\nThe library files are present"
0
     end
0
   end
0
-
0
+
0
+ task :copy_gemspec => [:package] do
0
+ pkg = Dir['pkg/*'].select {|dir| File.directory? dir}.last
0
+ mv File.join(pkg, pkg.gsub(/^pkg\//,'').gsub(/\-\d+$/,'.gemspec')), './'
0
+ end
0
+
0
+ desc 'builds a gemspec as GitHub wants it'
0
+ task :gemspec => [:package, :copy_gemspec, :clobber_package]
0
+
0
   # desc 'Run specs, clean tree, update manifest, run coverage, and install gem!'
0
   desc 'Clean tree, update manifest, and install gem!'
0
   task :magic => [:clean, :manifest, :install]
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
...
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
0
@@ -0,0 +1,76 @@
0
+
0
+# Gem::Specification for Merb_strokedb-1
0
+# Originally generated by Echoe
0
+
0
+Gem::Specification.new do |s|
0
+ s.name = %q{merb_strokedb}
0
+ s.version = "1"
0
+
0
+ s.specification_version = 2 if s.respond_to? :specification_version=
0
+
0
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
0
+ s.authors = ["elliottcable"]
0
+ s.date = %q{2008-04-29}
0
+ s.description = %q{a plugin for Merb, that allows the use of StrokeDB as an ORM within a Merb application}
0
+ s.email = ["merb_strokedb@elliottcable.com"]
0
+ s.extra_rdoc_files = ["lib/merb/orms/strokedb/connection.rb", "lib/merb/orms/strokedb/store.example.yml", "lib/merb_strokedb/strokedb.task", "lib/merb_strokedb.rb", "README.mkdn"]
0
+ s.files = ["example_merb_app/application.rb", "example_merb_app/config/framework.rb", "example_merb_app/config/init.rb", "example_merb_app/config/store.yml", "example_merb_app/views/test.html.haml", "lib/merb/orms/strokedb/connection.rb", "lib/merb/orms/strokedb/store.example.yml", "lib/merb_strokedb/strokedb.task", "lib/merb_strokedb.rb", "README.mkdn", "task/echoe.task", ".manifest", "merb_strokedb.gemspec"]
0
+ s.has_rdoc = true
0
+ s.homepage = %q{http://find.elliottcable.name/merb_strokedb}
0
+ s.post_install_message = %q{ - Thanks for installing merb_strokedb!
0
+ - Add this to your config/init.rb to get started:
0
+ - use_orm :strokedb}
0
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Merb_strokedb", "--main", "README.mkdn"]
0
+ s.require_paths = ["lib"]
0
+ s.rubyforge_project = %q{merb-strokedb}
0
+ s.rubygems_version = %q{1.1.1}
0
+ s.summary = %q{StrokeDB plugin for Merb}
0
+
0
+ s.add_dependency(%q<merb-core>, [">= 0"])
0
+ s.add_dependency(%q<strokedb>, [">= 0"])
0
+end
0
+
0
+
0
+# # Original Rakefile source (requires the Echoe gem):
0
+#
0
+# require 'rubygems'; require 'merb-core'
0
+# $:.unshift(File.dirname(__FILE__) + '/lib'); require 'merb_strokedb'
0
+# Dir['task/**/*.task'].each {|t| load t}
0
+# require 'fileutils'; include FileUtils
0
+#
0
+# Echoe.taskify do
0
+# Echoe.new('merb_strokedb', Merb::Orms::StrokeDB::VERSION) do |g|
0
+# g.author = ['elliottcable']
0
+# g.email = ['merb_strokedb@elliottcable.com']
0
+# g.summary = 'StrokeDB plugin for Merb'
0
+# g.url = 'http://find.elliottcable.name/merb_strokedb'
0
+# g.description = 'a plugin for Merb, that allows the use of StrokeDB as an ORM within a Merb application'
0
+# g.dependencies = ['merb-core', 'strokedb']
0
+# g.manifest_name = '.manifest'
0
+# g.ignore_pattern = /(^\.git|^example_merb_app\/(db|log))/
0
+# g.project = 'merb-strokedb'
0
+# g.install_message = " - Thanks for installing merb_strokedb!\n" +
0
+# " - Add this to your config/init.rb to get started:\n"+
0
+# " - use_orm :strokedb"
0
+# end
0
+#
0
+# desc 'tests packaged files to ensure they are all present'
0
+# task :verify => :package do
0
+# # An error message will be displayed if files are missing
0
+# if system %(ruby -e "require 'rubygems'; require 'merb-core'; require 'pkg/merb_strokedb-#{Merb::Orms::StrokeDB::VERSION}/lib/merb_strokedb'")
0
+# puts "\nThe library files are present"
0
+# end
0
+# end
0
+#
0
+# task :copy_gemspec => [:package] do
0
+# pkg = Dir['pkg/*'].select {|dir| File.directory? dir}.last
0
+# mv File.join(pkg, pkg.gsub(/^pkg\//,'').gsub(/\-\d+$/,'.gemspec')), './'
0
+# end
0
+#
0
+# desc 'builds a gemspec as GitHub wants it'
0
+# task :gemspec => [:package, :copy_gemspec, :clobber_package]
0
+#
0
+# # desc 'Run specs, clean tree, update manifest, run coverage, and install gem!'
0
+# desc 'Clean tree, update manifest, and install gem!'
0
+# task :magic => [:clean, :manifest, :install]
0
+# end
0
\ No newline at end of file

Comments

    No one has commented yet.