Capcode 0.6.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,9 +5,6 @@ require 'logger'
5
5
 
6
6
  module Capcode
7
7
  Base = CouchFoo::Base
8
- module Resource
9
- end
10
-
11
8
  class << self
12
9
  def db_connect( dbfile, logfile )
13
10
  dbconfig = YAML::load(File.open(dbfile)).keys_to_sym
@@ -15,4 +12,4 @@ module Capcode
15
12
  Base.logger = Logger.new(logfile)
16
13
  end
17
14
  end
18
- end
15
+ end
@@ -14,8 +14,8 @@ require 'logger'
14
14
  # end
15
15
  module Capcode
16
16
  class Base
17
+ include DataMapper::Resource
17
18
  end
18
- Resource = DataMapper::Resource
19
19
 
20
20
  class << self
21
21
  def db_connect( dbfile, logfile ) #:nodoc:
@@ -1,3 +1,3 @@
1
1
  module Capcode
2
- CAPCOD_VERION="0.6.2"
2
+ CAPCOD_VERION="0.7.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Capcode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Gr\xC3\xA9goire Lejeune"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-29 00:00:00 +02:00
12
+ date: 2009-07-01 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency