dm-ferret-adapter 1.0.2 → 1.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +26 -58
- data/LICENSE +1 -1
- data/Rakefile +1 -7
- data/VERSION +1 -1
- data/dm-ferret-adapter.gemspec +38 -39
- data/tasks/spec.rake +0 -3
- metadata +40 -45
- data/.gitignore +0 -36
- data/tasks/ci.rake +0 -1
- data/tasks/local_gemfile.rake +0 -16
- data/tasks/metrics.rake +0 -36
data/Gemfile
CHANGED
@@ -1,82 +1,50 @@
|
|
1
|
-
|
2
|
-
# recommended to create a local Gemfile and use this instead of the git
|
3
|
-
# sources. This will make sure that you are developing against your
|
4
|
-
# other local datamapper sources that you currently work on. Gemfile.local
|
5
|
-
# will behave identically to the standard Gemfile apart from the fact that
|
6
|
-
# it fetches the gems from local paths. This means that you can use the
|
7
|
-
# same environment variables, like ADAPTER when running bundle commands.
|
8
|
-
# Gemfile.local is added to .gitignore, so you don't need to worry about
|
9
|
-
# accidentally checking local development paths into git.
|
10
|
-
#
|
11
|
-
# bundle exec rake local_gemfile
|
12
|
-
#
|
13
|
-
# will give you a Gemfile.local file that points to your local clones of
|
14
|
-
# the various datamapper gems. It's assumed that all datamapper repo clones
|
15
|
-
# reside in the same directory. You can use the Gemfile.local like so for
|
16
|
-
# running any bundle command:
|
17
|
-
#
|
18
|
-
# BUNDLE_GEMFILE=Gemfile.local bundle foo
|
19
|
-
#
|
20
|
-
# To speed up running bundle tasks, it's recommended to run
|
21
|
-
#
|
22
|
-
# bundle lock
|
23
|
-
#
|
24
|
-
# after running 'bundle install' for the first time. This will make 'bundle exec' run
|
25
|
-
# a lot faster compared to the unlocked version. With an unlocked bundle you would
|
26
|
-
# typically just run 'bundle install' from time to time to fetch the latest sources from
|
27
|
-
# upstream. When you locked your bundle, you need to run
|
28
|
-
#
|
29
|
-
# bundle install --relock
|
30
|
-
#
|
31
|
-
# to make sure to fetch the latest updates and then lock the bundle again. Gemfile.lock
|
32
|
-
# is added to the .gitignore file, so you don't need to worry about accidentally checking
|
33
|
-
# it into version control.
|
1
|
+
require 'pathname'
|
34
2
|
|
35
3
|
source 'http://rubygems.org'
|
36
4
|
|
37
|
-
|
38
|
-
|
5
|
+
SOURCE = ENV.fetch('SOURCE', :git).to_sym
|
6
|
+
REPO_POSTFIX = SOURCE == :path ? '' : '.git'
|
7
|
+
DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
|
8
|
+
DM_VERSION = '~> 1.1.0.rc1'
|
39
9
|
|
40
|
-
group :runtime do
|
10
|
+
group :runtime do
|
41
11
|
|
42
|
-
gem 'dm-core',
|
43
|
-
gem 'ferret',
|
12
|
+
gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
|
13
|
+
gem 'ferret', '~> 0.11.6'
|
44
14
|
|
45
15
|
end
|
46
16
|
|
47
|
-
group
|
17
|
+
group :development do
|
48
18
|
|
49
|
-
gem '
|
50
|
-
gem 'rake',
|
51
|
-
gem 'rspec',
|
52
|
-
gem '
|
19
|
+
gem 'jeweler', '~> 1.5.2'
|
20
|
+
gem 'rake', '~> 0.8.7'
|
21
|
+
gem 'rspec', '~> 1.3.1'
|
22
|
+
gem 'uuidtools', '~> 2.1.1'
|
53
23
|
|
54
24
|
end
|
55
25
|
|
56
|
-
group :
|
26
|
+
group :quality do
|
27
|
+
|
28
|
+
gem 'rcov', '~> 0.9.9', :platforms => :mri_18
|
29
|
+
gem 'yard', '~> 0.6'
|
30
|
+
gem 'yardstick', '~> 0.2'
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
group :datamapper do
|
57
35
|
|
58
36
|
if ENV['EXTLIB']
|
59
|
-
gem 'extlib',
|
37
|
+
gem 'extlib', '~> 0.9.15', SOURCE => "#{DATAMAPPER}/extlib#{REPO_POSTFIX}", :require => nil
|
60
38
|
else
|
61
|
-
gem 'activesupport', '~> 3.0.
|
39
|
+
gem 'activesupport', '~> 3.0.4', :require => nil
|
40
|
+
gem 'i18n', '~> 0.5.0'
|
62
41
|
end
|
63
42
|
|
64
43
|
plugins = ENV['PLUGINS'] || ENV['PLUGIN']
|
65
44
|
plugins = plugins.to_s.tr(',', ' ').split.uniq
|
66
45
|
|
67
46
|
plugins.each do |plugin|
|
68
|
-
gem plugin, DM_VERSION,
|
47
|
+
gem plugin, DM_VERSION, SOURCE => "#{DATAMAPPER}/#{plugin}#{REPO_POSTFIX}"
|
69
48
|
end
|
70
49
|
|
71
50
|
end
|
72
|
-
|
73
|
-
group :quality do # These gems contain rake tasks that check the quality of the source code
|
74
|
-
|
75
|
-
gem 'metric_fu', '~> 1.3'
|
76
|
-
gem 'rcov', '~> 0.9.7'
|
77
|
-
gem 'reek', '~> 1.2.7'
|
78
|
-
gem 'roodi', '~> 2.1'
|
79
|
-
gem 'yard', '~> 0.5'
|
80
|
-
gem 'yardstick', '~> 0.1'
|
81
|
-
|
82
|
-
end
|
data/LICENSE
CHANGED
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
|
4
4
|
begin
|
5
|
-
gem 'jeweler', '~> 1.
|
5
|
+
gem 'jeweler', '~> 1.5.2'
|
6
6
|
require 'jeweler'
|
7
7
|
|
8
8
|
Jeweler::Tasks.new do |gem|
|
@@ -15,12 +15,6 @@ begin
|
|
15
15
|
gem.has_rdoc = 'yard'
|
16
16
|
|
17
17
|
gem.rubyforge_project = 'datamapper'
|
18
|
-
|
19
|
-
gem.add_dependency 'dm-core', '~> 1.0.2'
|
20
|
-
gem.add_dependency 'ferret', '~> 0.11.6'
|
21
|
-
|
22
|
-
gem.add_development_dependency 'rspec', '~> 1.3'
|
23
|
-
gem.add_development_dependency 'uuidtools', '~> 2.1.1'
|
24
18
|
end
|
25
19
|
|
26
20
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.1.0.rc1
|
data/dm-ferret-adapter.gemspec
CHANGED
@@ -1,79 +1,78 @@
|
|
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{dm-ferret-adapter}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.1.0.rc1"
|
9
9
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Bernerd Schaefer"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-02-28}
|
13
13
|
s.default_executable = %q{ferret}
|
14
14
|
s.description = %q{Ferret Adapter for DataMapper}
|
15
15
|
s.email = %q{bernerd [a] wieck [d] com}
|
16
16
|
s.executables = ["ferret"]
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE",
|
19
|
-
|
19
|
+
"README.rdoc"
|
20
20
|
]
|
21
21
|
s.files = [
|
22
|
-
"
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
"tasks/metrics.rake",
|
42
|
-
"tasks/spec.rake",
|
43
|
-
"tasks/yard.rake",
|
44
|
-
"tasks/yardstick.rake"
|
22
|
+
"Gemfile",
|
23
|
+
"LICENSE",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"bin/ferret",
|
28
|
+
"dm-ferret-adapter.gemspec",
|
29
|
+
"lib/ferret_adapter.rb",
|
30
|
+
"lib/ferret_adapter/adapter.rb",
|
31
|
+
"lib/ferret_adapter/local_index.rb",
|
32
|
+
"lib/ferret_adapter/remote_index.rb",
|
33
|
+
"lib/ferret_adapter/repository_ext.rb",
|
34
|
+
"spec/adapter_spec.rb",
|
35
|
+
"spec/rcov.opts",
|
36
|
+
"spec/spec.opts",
|
37
|
+
"spec/spec_helper.rb",
|
38
|
+
"tasks/spec.rake",
|
39
|
+
"tasks/yard.rake",
|
40
|
+
"tasks/yardstick.rake"
|
45
41
|
]
|
46
|
-
s.has_rdoc = %q{yard}
|
47
42
|
s.homepage = %q{http://github.com/datamapper/dm-ferret-adapter}
|
48
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
49
43
|
s.require_paths = ["lib"]
|
50
44
|
s.rubyforge_project = %q{datamapper}
|
51
|
-
s.rubygems_version = %q{1.
|
45
|
+
s.rubygems_version = %q{1.5.2}
|
52
46
|
s.summary = %q{Ferret Adapter for DataMapper}
|
53
47
|
s.test_files = [
|
54
48
|
"spec/adapter_spec.rb",
|
55
|
-
|
49
|
+
"spec/spec_helper.rb"
|
56
50
|
]
|
57
51
|
|
58
52
|
if s.respond_to? :specification_version then
|
59
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
60
53
|
s.specification_version = 3
|
61
54
|
|
62
55
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
63
|
-
s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.
|
56
|
+
s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
|
64
57
|
s.add_runtime_dependency(%q<ferret>, ["~> 0.11.6"])
|
65
|
-
s.add_development_dependency(%q<
|
58
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
59
|
+
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
60
|
+
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
66
61
|
s.add_development_dependency(%q<uuidtools>, ["~> 2.1.1"])
|
67
62
|
else
|
68
|
-
s.add_dependency(%q<dm-core>, ["~> 1.0.
|
63
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
|
69
64
|
s.add_dependency(%q<ferret>, ["~> 0.11.6"])
|
70
|
-
s.add_dependency(%q<
|
65
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
66
|
+
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
67
|
+
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
71
68
|
s.add_dependency(%q<uuidtools>, ["~> 2.1.1"])
|
72
69
|
end
|
73
70
|
else
|
74
|
-
s.add_dependency(%q<dm-core>, ["~> 1.0.
|
71
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
|
75
72
|
s.add_dependency(%q<ferret>, ["~> 0.11.6"])
|
76
|
-
s.add_dependency(%q<
|
73
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
74
|
+
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
75
|
+
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
77
76
|
s.add_dependency(%q<uuidtools>, ["~> 2.1.1"])
|
78
77
|
end
|
79
78
|
end
|
data/tasks/spec.rake
CHANGED
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-ferret-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
version: 1.0.2
|
4
|
+
prerelease: 6
|
5
|
+
version: 1.1.0.rc1
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Bernerd Schaefer
|
@@ -14,68 +10,75 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
13
|
+
date: 2011-02-28 00:00:00 -08:00
|
18
14
|
default_executable: ferret
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
21
17
|
name: dm-core
|
22
|
-
prerelease: false
|
23
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
19
|
none: false
|
25
20
|
requirements:
|
26
21
|
- - ~>
|
27
22
|
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
- 1
|
30
|
-
- 0
|
31
|
-
- 2
|
32
|
-
version: 1.0.2
|
23
|
+
version: 1.1.0.rc1
|
33
24
|
type: :runtime
|
25
|
+
prerelease: false
|
34
26
|
version_requirements: *id001
|
35
27
|
- !ruby/object:Gem::Dependency
|
36
28
|
name: ferret
|
37
|
-
prerelease: false
|
38
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
30
|
none: false
|
40
31
|
requirements:
|
41
32
|
- - ~>
|
42
33
|
- !ruby/object:Gem::Version
|
43
|
-
segments:
|
44
|
-
- 0
|
45
|
-
- 11
|
46
|
-
- 6
|
47
34
|
version: 0.11.6
|
48
35
|
type: :runtime
|
36
|
+
prerelease: false
|
49
37
|
version_requirements: *id002
|
50
38
|
- !ruby/object:Gem::Dependency
|
51
|
-
name:
|
52
|
-
prerelease: false
|
39
|
+
name: jeweler
|
53
40
|
requirement: &id003 !ruby/object:Gem::Requirement
|
54
41
|
none: false
|
55
42
|
requirements:
|
56
43
|
- - ~>
|
57
44
|
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
- 1
|
60
|
-
- 3
|
61
|
-
version: "1.3"
|
45
|
+
version: 1.5.2
|
62
46
|
type: :development
|
47
|
+
prerelease: false
|
63
48
|
version_requirements: *id003
|
64
49
|
- !ruby/object:Gem::Dependency
|
65
|
-
name:
|
66
|
-
prerelease: false
|
50
|
+
name: rake
|
67
51
|
requirement: &id004 !ruby/object:Gem::Requirement
|
68
52
|
none: false
|
69
53
|
requirements:
|
70
54
|
- - ~>
|
71
55
|
- !ruby/object:Gem::Version
|
72
|
-
|
73
|
-
- 2
|
74
|
-
- 1
|
75
|
-
- 1
|
76
|
-
version: 2.1.1
|
56
|
+
version: 0.8.7
|
77
57
|
type: :development
|
58
|
+
prerelease: false
|
78
59
|
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: rspec
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ~>
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 1.3.1
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: uuidtools
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 2.1.1
|
79
|
+
type: :development
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: *id006
|
79
82
|
description: Ferret Adapter for DataMapper
|
80
83
|
email: bernerd [a] wieck [d] com
|
81
84
|
executables:
|
@@ -86,7 +89,6 @@ extra_rdoc_files:
|
|
86
89
|
- LICENSE
|
87
90
|
- README.rdoc
|
88
91
|
files:
|
89
|
-
- .gitignore
|
90
92
|
- Gemfile
|
91
93
|
- LICENSE
|
92
94
|
- README.rdoc
|
@@ -103,19 +105,16 @@ files:
|
|
103
105
|
- spec/rcov.opts
|
104
106
|
- spec/spec.opts
|
105
107
|
- spec/spec_helper.rb
|
106
|
-
- tasks/ci.rake
|
107
|
-
- tasks/local_gemfile.rake
|
108
|
-
- tasks/metrics.rake
|
109
108
|
- tasks/spec.rake
|
110
109
|
- tasks/yard.rake
|
111
110
|
- tasks/yardstick.rake
|
112
|
-
has_rdoc:
|
111
|
+
has_rdoc: true
|
113
112
|
homepage: http://github.com/datamapper/dm-ferret-adapter
|
114
113
|
licenses: []
|
115
114
|
|
116
115
|
post_install_message:
|
117
|
-
rdoc_options:
|
118
|
-
|
116
|
+
rdoc_options: []
|
117
|
+
|
119
118
|
require_paths:
|
120
119
|
- lib
|
121
120
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -123,21 +122,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
122
|
requirements:
|
124
123
|
- - ">="
|
125
124
|
- !ruby/object:Gem::Version
|
126
|
-
segments:
|
127
|
-
- 0
|
128
125
|
version: "0"
|
129
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
127
|
none: false
|
131
128
|
requirements:
|
132
|
-
- - "
|
129
|
+
- - ">"
|
133
130
|
- !ruby/object:Gem::Version
|
134
|
-
|
135
|
-
- 0
|
136
|
-
version: "0"
|
131
|
+
version: 1.3.1
|
137
132
|
requirements: []
|
138
133
|
|
139
134
|
rubyforge_project: datamapper
|
140
|
-
rubygems_version: 1.
|
135
|
+
rubygems_version: 1.5.2
|
141
136
|
signing_key:
|
142
137
|
specification_version: 3
|
143
138
|
summary: Ferret Adapter for DataMapper
|
data/.gitignore
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
## MAC OS
|
2
|
-
.DS_Store
|
3
|
-
|
4
|
-
## TEXTMATE
|
5
|
-
*.tmproj
|
6
|
-
tmtags
|
7
|
-
|
8
|
-
## EMACS
|
9
|
-
*~
|
10
|
-
\#*
|
11
|
-
.\#*
|
12
|
-
|
13
|
-
## VIM
|
14
|
-
*.swp
|
15
|
-
|
16
|
-
## Rubinius
|
17
|
-
*.rbc
|
18
|
-
|
19
|
-
## PROJECT::GENERAL
|
20
|
-
*.gem
|
21
|
-
coverage
|
22
|
-
rdoc
|
23
|
-
pkg
|
24
|
-
tmp
|
25
|
-
doc
|
26
|
-
log
|
27
|
-
.yardoc
|
28
|
-
measurements
|
29
|
-
|
30
|
-
## BUNDLER
|
31
|
-
.bundle
|
32
|
-
Gemfile.local
|
33
|
-
Gemfile.lock
|
34
|
-
Gemfile.local.lock
|
35
|
-
|
36
|
-
## PROJECT::SPECIFIC
|
data/tasks/ci.rake
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
task :ci => [ :verify_measurements, 'metrics:all' ]
|
data/tasks/local_gemfile.rake
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
desc "Support bundling from local source code (allows BUNDLE_GEMFILE=Gemfile.local bundle foo)"
|
2
|
-
task :local_gemfile do |t|
|
3
|
-
|
4
|
-
root = Pathname(__FILE__).dirname.parent
|
5
|
-
datamapper = root.parent
|
6
|
-
|
7
|
-
root.join('Gemfile.local').open('w') do |f|
|
8
|
-
root.join('Gemfile').open.each do |line|
|
9
|
-
line.sub!(/DATAMAPPER = 'git:\/\/github.com\/datamapper'/, "DATAMAPPER = '#{datamapper}'")
|
10
|
-
line.sub!(/:git => \"#\{DATAMAPPER\}\/(.+?)(?:\.git)?\"/, ':path => "#{DATAMAPPER}/\1"')
|
11
|
-
line.sub!(/do_options\[:git\] = \"#\{DATAMAPPER\}\/(.+?)(?:\.git)?\"/, 'do_options[:path] = "#{DATAMAPPER}/\1"')
|
12
|
-
f.puts line
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
end
|
data/tasks/metrics.rake
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'metric_fu'
|
3
|
-
rescue LoadError
|
4
|
-
namespace :metrics do
|
5
|
-
task :all do
|
6
|
-
abort 'metric_fu is not available. In order to run metrics:all, you must: gem install metric_fu'
|
7
|
-
end
|
8
|
-
end
|
9
|
-
end
|
10
|
-
|
11
|
-
begin
|
12
|
-
require 'reek/adapters/rake_task'
|
13
|
-
|
14
|
-
Reek::RakeTask.new do |t|
|
15
|
-
t.fail_on_error = true
|
16
|
-
t.verbose = false
|
17
|
-
t.source_files = 'lib/**/*.rb'
|
18
|
-
end
|
19
|
-
rescue LoadError
|
20
|
-
task :reek do
|
21
|
-
abort 'Reek is not available. In order to run reek, you must: gem install reek'
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
begin
|
26
|
-
require 'roodi'
|
27
|
-
require 'roodi_task'
|
28
|
-
|
29
|
-
RoodiTask.new do |t|
|
30
|
-
t.verbose = false
|
31
|
-
end
|
32
|
-
rescue LoadError
|
33
|
-
task :roodi do
|
34
|
-
abort 'Roodi is not available. In order to run roodi, you must: gem install roodi'
|
35
|
-
end
|
36
|
-
end
|