picombo 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- metadata +2 -3
- data/lib/hooks/datamapper.rb +0 -9
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 4
|
9
|
+
version: 0.2.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jeremy Bush
|
@@ -52,7 +52,6 @@ files:
|
|
52
52
|
- ./lib/controllers/template.rb
|
53
53
|
- ./lib/core/core.rb
|
54
54
|
- ./lib/core/core_cli.rb
|
55
|
-
- ./lib/hooks/datamapper.rb
|
56
55
|
- ./lib/hooks/mustache.rb
|
57
56
|
- ./lib/hooks/profiler.rb
|
58
57
|
- ./lib/picombo.rb
|
data/lib/hooks/datamapper.rb
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
require 'dm-core'
|
2
|
-
|
3
|
-
# Set up database
|
4
|
-
DataMapper.setup(:default,
|
5
|
-
{:host => Picombo::Config.get('datamapper.default.host'),
|
6
|
-
:adapter => Picombo::Config.get('datamapper.default.driver'),
|
7
|
-
:database => Picombo::Config.get('datamapper.default.database'),
|
8
|
-
:username => Picombo::Config.get('datamapper.default.username'),
|
9
|
-
:password => Picombo::Config.get('datamapper.default.password')})
|