grimen-bootstrapper 0.1.2 → 0.1.3

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.
@@ -11,9 +11,14 @@ Example
11
11
  Run the bootstrapper generator:
12
12
 
13
13
  ruby script/generate bootstrapper
14
-
14
+
15
15
  This will place a bootstrap.rb file in the db directory within your project.
16
16
 
17
+ If you use the gem, you need to manually require the rake tasks in you Rakefile like this:
18
+
19
+ # Rakefile
20
+ require 'bootstrapper/tasks'
21
+
17
22
  The file will have something like this in it:
18
23
 
19
24
  Bootstrapper.for :development do |b|
@@ -1,15 +1,11 @@
1
1
  # coding: utf-8
2
2
  require 'rubygems'
3
- require 'rake'
4
3
  gem 'activesupport', '>= 1.2.3'
5
4
  require 'active_support'
6
5
 
7
6
  require File.join(File.dirname(__FILE__), *%w(connection_adapters abstract_adapter))
8
7
  require File.join(File.dirname(__FILE__), *%w(connection_adapters mysql_adapter))
9
8
 
10
- # Make tasks visible for Rails also when used as gem.
11
- load File.expand_path(File.join(File.dirname(__FILE__), *%w(.. tasks bootstrap.rake)))
12
-
13
9
  class Bootstrapper
14
10
 
15
11
  class_inheritable_accessor :tasks
@@ -0,0 +1,5 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ # Make tasks visible for Rails also when used as gem.
5
+ load File.expand_path(File.join(File.dirname(__FILE__), *%w(.. .. tasks bootstrap.rake)))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grimen-bootstrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sevenwire
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-11 00:00:00 -07:00
12
+ date: 2009-09-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -28,12 +28,14 @@ files:
28
28
  - generators/bootstrapper/bootstrapper_generator.rb
29
29
  - generators/bootstrapper/templates/bootstrap.erb
30
30
  - lib/bootstrapper.rb
31
+ - lib/bootstrapper/tasks.rb
31
32
  - lib/connection_adapters/abstract_adapter.rb
32
33
  - lib/connection_adapters/mysql_adapter.rb
33
34
  - tasks/bootstrap.rake
34
35
  - test/bootstrapper_test.rb
35
36
  has_rdoc: false
36
37
  homepage: http://github.com/sevenwire/bootstrapper
38
+ licenses:
37
39
  post_install_message:
38
40
  rdoc_options:
39
41
  - --charset=UTF-8
@@ -54,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
56
  requirements: []
55
57
 
56
58
  rubyforge_project:
57
- rubygems_version: 1.2.0
59
+ rubygems_version: 1.3.5
58
60
  signing_key:
59
61
  specification_version: 3
60
62
  summary: A Rails plugin to assist in bootstrapping and seeding your database.