jsgarvin-flibberty 0.0.2

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.
Files changed (4) hide show
  1. data/README.textile +21 -0
  2. data/Rakefile +73 -0
  3. data/lib/flibberty.rb +3 -0
  4. metadata +58 -0
data/README.textile ADDED
@@ -0,0 +1,21 @@
1
+ h1. flibberty
2
+
3
+ Written by "Jon Garvin":mailto:jon@5valleys.com.
4
+
5
+ h2. Download
6
+
7
+ Github: "Page":http://github.com/jsgarvin/flibberty/tree/master "Clone":git://github.com/jsgarvin/flibberty.git
8
+
9
+ Gem: <pre>gem install jsgarvin-flibberty --source http://gems.github.com</pre>
10
+
11
+ Note: if you install flibberty using the gem from Github, you'll need this
12
+ in your environment.rb if you want to use Rails 2.1's dependency manager:
13
+
14
+ config.gem "jsgarvin-flibberty",
15
+ :lib => "flibberty",
16
+ :source => "http://gems.github.com"
17
+
18
+ h2. More Information
19
+
20
+ Flibberty is a (mostly) useless gem with a refreshingly cool name.
21
+
data/Rakefile ADDED
@@ -0,0 +1,73 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'rake/testtask'
4
+ require 'rake/rdoctask'
5
+ require 'rake/gempackagetask'
6
+ require 'rcov/rcovtask'
7
+ require 'date'
8
+
9
+ desc 'Default: run unit tests.'
10
+ task :default => :test
11
+
12
+ desc 'Test the flibberty gem.'
13
+ Rake::TestTask.new(:test) do |t|
14
+ t.libs << 'lib'
15
+ t.pattern = 'test/**/*_test.rb'
16
+ t.verbose = true
17
+ end
18
+
19
+ desc 'Performs code coverage on the flibberty gem.'
20
+ Rcov::RcovTask.new do |t|
21
+ t.libs << "test"
22
+ t.test_files = FileList['test/*_test.rb']
23
+ t.verbose = true
24
+ end
25
+
26
+ desc 'Generate documentation for the flibberty gem.'
27
+ Rake::RDocTask.new(:rdoc) do |rdoc|
28
+ rdoc.rdoc_dir = 'rdoc'
29
+ rdoc.title = 'Flibberty'
30
+ rdoc.options << '--line-numbers' << '--inline-source' << "--main" << "README.textile"
31
+ rdoc.rdoc_files.include('README.textile')
32
+ rdoc.rdoc_files.include('lib/**/*.rb')
33
+ end
34
+
35
+ desc 'Update documentation on website'
36
+ task :sync_docs => 'rdoc' do
37
+ #`rsync -ave ssh rdoc/ dev@dev.thoughtbot.com:/home/dev/www/dev.thoughtbot.com/factory_girl`
38
+ end
39
+
40
+ spec = Gem::Specification.new do |s|
41
+ s.name = %q{flibberty}
42
+ s.version = "0.0.2"
43
+ s.summary = %q{flibberty is useless.}
44
+ s.description = %q{flibberty is a useless gem to test creating gems.}
45
+ s.homepage = 'http://5valleys.com'
46
+ s.files = FileList['[A-Z]*', 'lib/**/*.rb', 'test/**/*.rb']
47
+ s.require_path = 'lib'
48
+ s.test_files = Dir[*['test/**/*_test.rb']]
49
+
50
+ s.has_rdoc = true
51
+ s.extra_rdoc_files = ["README.textile"]
52
+ s.rdoc_options = ['--line-numbers', '--inline-source', "--main", "README.textile"]
53
+
54
+ s.authors = ["Jon Garvin"]
55
+ s.email = %q{jon@5valleys.com}
56
+
57
+ s.platform = Gem::Platform::RUBY
58
+ end
59
+
60
+ Rake::GemPackageTask.new spec do |pkg|
61
+ pkg.need_tar = true
62
+ pkg.need_zip = true
63
+ end
64
+
65
+ desc "Clean files generated by rake tasks"
66
+ task :clobber => [:clobber_rdoc, :clobber_package]
67
+
68
+ desc "Generate a gemspec file"
69
+ task :gemspec do
70
+ File.open("#{spec.name}.gemspec", 'w') do |f|
71
+ f.write spec.to_ruby
72
+ end
73
+ end
data/lib/flibberty.rb ADDED
@@ -0,0 +1,3 @@
1
+ module Flibberty
2
+
3
+ end
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jsgarvin-flibberty
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Jon Garvin
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-12-23 00:00:00 -08:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: flibberty is a useless gem to test creating gems.
17
+ email: jon@5valleys.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - README.textile
24
+ files:
25
+ - Rakefile
26
+ - README.textile
27
+ - lib/flibberty.rb
28
+ has_rdoc: true
29
+ homepage: http://5valleys.com
30
+ post_install_message:
31
+ rdoc_options:
32
+ - --line-numbers
33
+ - --inline-source
34
+ - --main
35
+ - README.textile
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: "0"
43
+ version:
44
+ required_rubygems_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: "0"
49
+ version:
50
+ requirements: []
51
+
52
+ rubyforge_project:
53
+ rubygems_version: 1.2.0
54
+ signing_key:
55
+ specification_version: 2
56
+ summary: flibberty is useless.
57
+ test_files: []
58
+