rakeist 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/CHANGELOG +1 -0
- data/LICENSE +20 -0
- data/README.rdoc +37 -0
- data/Rakefile +19 -0
- data/TODO +1 -0
- data/VERSION +1 -0
- data/init.rb +1 -0
- data/install.rb +2 -0
- data/lib/rakeist/tasks.rb +17 -0
- data/lib/tasks/rakeist.rake +1 -0
- data/rails/init.rb +0 -0
- metadata +80 -0
data/.gitignore
ADDED
data/CHANGELOG
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
v0.1.0 Initial release.
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2008 Glenn Roberts
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
= Rake-ist
|
2
|
+
|
3
|
+
Common rake tasks for a Rails project.
|
4
|
+
|
5
|
+
== Install
|
6
|
+
|
7
|
+
To install as a gem, add the following to config/environment.rb:
|
8
|
+
|
9
|
+
config.gem 'rakeist'
|
10
|
+
|
11
|
+
Rake tasks are not automatically loaded from gems, so you’ll need to add the following to your Rakefile:
|
12
|
+
|
13
|
+
begin
|
14
|
+
require 'rakeist/tasks'
|
15
|
+
rescue LoadError
|
16
|
+
STDERR.puts "Run `rake gems:install` to install rakeist"
|
17
|
+
end
|
18
|
+
|
19
|
+
To install as a plugin:
|
20
|
+
|
21
|
+
script/plugin install git://github.com/glennr/rakeist.git
|
22
|
+
|
23
|
+
|
24
|
+
== Usage
|
25
|
+
|
26
|
+
rake
|
27
|
+
|
28
|
+
A full list of tasks provided:
|
29
|
+
|
30
|
+
== Contributors
|
31
|
+
|
32
|
+
Glenn Roberts (glenn.roberts@siyelo.com)
|
33
|
+
|
34
|
+
== License
|
35
|
+
|
36
|
+
Homepage:: http://github.com/glennr/rakeist
|
37
|
+
License:: Copyright (c) 2009 Glenn Roberts <mailto:glenn.roberts@siyelo.com>, released under the MIT license.
|
data/Rakefile
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'rake'
|
2
|
+
|
3
|
+
begin
|
4
|
+
require 'jeweler'
|
5
|
+
Jeweler::Tasks.new do |gem|
|
6
|
+
gem.name = "rakeist"
|
7
|
+
gem.summary = %Q{A bunch of useful Rake tasks}
|
8
|
+
gem.description = %Q{Common rake tasks for a Rails project}
|
9
|
+
gem.email = "glenn.roberts@siyelo.com"
|
10
|
+
gem.homepage = "http://github.com/glennr/rakeist"
|
11
|
+
gem.authors = ["Glenn Roberts"]
|
12
|
+
end
|
13
|
+
Jeweler::GemcutterTasks.new
|
14
|
+
rescue LoadError
|
15
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
16
|
+
end
|
17
|
+
|
18
|
+
desc 'Default: build gem.'
|
19
|
+
task :default => :build
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
data/init.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), 'rails', 'init')
|
data/install.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
desc "Install gems using bundler (Rakeist)"
|
2
|
+
task :bundle do
|
3
|
+
system "bundle install"
|
4
|
+
end
|
5
|
+
|
6
|
+
namespace :db do
|
7
|
+
desc "Create db from schema and seed it (Rakeist)"
|
8
|
+
task :setup => ["db:create", "db:schema:load", "db:seed"]
|
9
|
+
end
|
10
|
+
|
11
|
+
desc "Install gems and do db:setup (Rakeist)"
|
12
|
+
task :setup => ["gems:install", "db:setup"]
|
13
|
+
# TODO Rails 3
|
14
|
+
#task :setup => ["bundle", "db:setup"]
|
15
|
+
|
16
|
+
|
17
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'heroku_san', 'tasks'))
|
data/rails/init.rb
ADDED
File without changes
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rakeist
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Glenn Roberts
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-06-19 00:00:00 +02:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: Common rake tasks for a Rails project
|
23
|
+
email: glenn.roberts@siyelo.com
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions: []
|
27
|
+
|
28
|
+
extra_rdoc_files:
|
29
|
+
- LICENSE
|
30
|
+
- README.rdoc
|
31
|
+
- TODO
|
32
|
+
files:
|
33
|
+
- .gitignore
|
34
|
+
- CHANGELOG
|
35
|
+
- LICENSE
|
36
|
+
- README.rdoc
|
37
|
+
- Rakefile
|
38
|
+
- TODO
|
39
|
+
- VERSION
|
40
|
+
- init.rb
|
41
|
+
- install.rb
|
42
|
+
- lib/rakeist/tasks.rb
|
43
|
+
- lib/tasks/rakeist.rake
|
44
|
+
- rails/init.rb
|
45
|
+
has_rdoc: true
|
46
|
+
homepage: http://github.com/glennr/rakeist
|
47
|
+
licenses: []
|
48
|
+
|
49
|
+
post_install_message:
|
50
|
+
rdoc_options:
|
51
|
+
- --charset=UTF-8
|
52
|
+
require_paths:
|
53
|
+
- lib
|
54
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
version: "0"
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
hash: 3
|
69
|
+
segments:
|
70
|
+
- 0
|
71
|
+
version: "0"
|
72
|
+
requirements: []
|
73
|
+
|
74
|
+
rubyforge_project:
|
75
|
+
rubygems_version: 1.3.7
|
76
|
+
signing_key:
|
77
|
+
specification_version: 3
|
78
|
+
summary: A bunch of useful Rake tasks
|
79
|
+
test_files: []
|
80
|
+
|