bard-rake 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bard-rake.gemspec +20 -27
- data/lib/bard/rake/db.rb +1 -1
- metadata +10 -14
- data/.gitignore +0 -21
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.8
|
data/bard-rake.gemspec
CHANGED
@@ -1,52 +1,45 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{bard-rake}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-
|
11
|
+
s.authors = [%q{Micah Geisel}]
|
12
|
+
s.date = %q{2011-06-03}
|
13
13
|
s.description = %q{Rake tasks for all bard projects.
|
14
14
|
* Bootstrap projects
|
15
15
|
* Database backup}
|
16
16
|
s.email = %q{micah@botandrose.com}
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE",
|
19
|
-
|
19
|
+
"README.rdoc"
|
20
20
|
]
|
21
21
|
s.files = [
|
22
22
|
".document",
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
"spec/spec_helper.rb"
|
23
|
+
"LICENSE",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"bard-rake.gemspec",
|
28
|
+
"lib/bard-rake.rb",
|
29
|
+
"lib/bard/rake.rb",
|
30
|
+
"lib/bard/rake/bootstrap.rb",
|
31
|
+
"lib/bard/rake/bundler.rb",
|
32
|
+
"lib/bard/rake/db.rb",
|
33
|
+
"spec/bard-rake_spec.rb",
|
34
|
+
"spec/spec.opts",
|
35
|
+
"spec/spec_helper.rb"
|
37
36
|
]
|
38
37
|
s.homepage = %q{http://github.com/botandrose/bard-rake}
|
39
|
-
s.
|
40
|
-
s.
|
41
|
-
s.rubygems_version = %q{1.3.7}
|
38
|
+
s.require_paths = [%q{lib}]
|
39
|
+
s.rubygems_version = %q{1.8.5}
|
42
40
|
s.summary = %q{Rake tasks for all bard projects.}
|
43
|
-
s.test_files = [
|
44
|
-
"spec/bard-rake_spec.rb",
|
45
|
-
"spec/spec_helper.rb"
|
46
|
-
]
|
47
41
|
|
48
42
|
if s.respond_to? :specification_version then
|
49
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
50
43
|
s.specification_version = 3
|
51
44
|
|
52
45
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
data/lib/bard/rake/db.rb
CHANGED
@@ -16,7 +16,7 @@ namespace :db do
|
|
16
16
|
options += " -p#{config['password']}" if config['password']
|
17
17
|
options += " -h #{config['host']}" if config['host']
|
18
18
|
|
19
|
-
raise RuntimeError, "I only work with mysql." unless config['adapter']
|
19
|
+
raise RuntimeError, "I only work with mysql." unless config['adapter'].include? 'mysql'
|
20
20
|
raise RuntimeError, "Cannot find mysql." if mysql.blank?
|
21
21
|
|
22
22
|
sh "#{mysql} #{options} '#{config["database"]}' < db/data.sql"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bard-rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 11
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Micah Geisel
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-06-03 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: rspec
|
@@ -48,7 +47,6 @@ extra_rdoc_files:
|
|
48
47
|
- README.rdoc
|
49
48
|
files:
|
50
49
|
- .document
|
51
|
-
- .gitignore
|
52
50
|
- LICENSE
|
53
51
|
- README.rdoc
|
54
52
|
- Rakefile
|
@@ -62,13 +60,12 @@ files:
|
|
62
60
|
- spec/bard-rake_spec.rb
|
63
61
|
- spec/spec.opts
|
64
62
|
- spec/spec_helper.rb
|
65
|
-
has_rdoc: true
|
66
63
|
homepage: http://github.com/botandrose/bard-rake
|
67
64
|
licenses: []
|
68
65
|
|
69
66
|
post_install_message:
|
70
|
-
rdoc_options:
|
71
|
-
|
67
|
+
rdoc_options: []
|
68
|
+
|
72
69
|
require_paths:
|
73
70
|
- lib
|
74
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -92,10 +89,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
89
|
requirements: []
|
93
90
|
|
94
91
|
rubyforge_project:
|
95
|
-
rubygems_version: 1.
|
92
|
+
rubygems_version: 1.8.5
|
96
93
|
signing_key:
|
97
94
|
specification_version: 3
|
98
95
|
summary: Rake tasks for all bard projects.
|
99
|
-
test_files:
|
100
|
-
|
101
|
-
- spec/spec_helper.rb
|
96
|
+
test_files: []
|
97
|
+
|