dm-do-adapter 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,36 @@
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
+
35
+ ## PROJECT::SPECIFIC
36
+ spec/db/
data/Gemfile ADDED
@@ -0,0 +1,41 @@
1
+ source 'http://rubygems.org'
2
+
3
+ DATAMAPPER = 'git://github.com/datamapper'
4
+ DM_VERSION = '~> 1.0.0.rc1'
5
+ DO_VERSION = '~> 0.10.2'
6
+
7
+ group :runtime do # Runtime dependencies (as in the gemspec)
8
+
9
+ gem 'data_objects', DO_VERSION, :git => "#{DATAMAPPER}/do.git"
10
+ gem 'dm-core', DM_VERSION, :git => "#{DATAMAPPER}/dm-core.git"
11
+
12
+ end
13
+
14
+ group(:development) do # Development dependencies
15
+
16
+ gem 'rake', '~> 0.8.7'
17
+ gem 'rspec', '~> 1.3'
18
+ gem 'jeweler', '~> 1.4'
19
+
20
+ end
21
+
22
+ group :datamapper do # We need this because we want to pin these dependencies to their git master sources
23
+
24
+ if ENV['EXTLIB']
25
+ gem 'extlib', '~> 0.9.15', :git => "#{DATAMAPPER}/extlib.git", :require => nil
26
+ else
27
+ gem 'activesupport', '~> 3.0.0.beta3', :git => 'git://github.com/rails/rails.git', :require => nil
28
+ end
29
+
30
+ end
31
+
32
+ group :quality do # These gems contain rake tasks that check the quality of the source code
33
+
34
+ gem 'metric_fu', '~> 1.3'
35
+ gem 'rcov', '~> 0.9.7'
36
+ gem 'reek', '~> 1.2.7'
37
+ gem 'roodi', '~> 2.1'
38
+ gem 'yard', '~> 0.5'
39
+ gem 'yardstick', '~> 0.1'
40
+
41
+ end
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2010 Dan Kubb
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,3 @@
1
+ = dm-do-adapter
2
+
3
+ A DataObjects Adapter for DataMapper
data/Rakefile ADDED
@@ -0,0 +1,29 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+
6
+ require 'jeweler'
7
+
8
+ Jeweler::Tasks.new do |gem|
9
+ gem.name = 'dm-do-adapter'
10
+ gem.summary = 'DataObjects Adapter for DataMapper'
11
+ gem.description = gem.summary
12
+ gem.authors = ["Dan Kubb"]
13
+ gem.email = %q{dan.kubb@gmail.com}
14
+ gem.homepage = 'http://github.com/datamapper/dm-do-adapter'
15
+
16
+ gem.add_dependency 'data_objects', '~> 0.10.1'
17
+ gem.add_dependency 'dm-core', '~> 1.0.0.rc1'
18
+
19
+ gem.add_development_dependency 'rspec', '~> 1.3'
20
+ end
21
+
22
+ Jeweler::GemcutterTasks.new
23
+
24
+ FileList['tasks/**/*.rake'].each { |task| import task }
25
+ rescue LoadError
26
+ puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
27
+ end
28
+
29
+ task(:spec) {} # this adapter only provides shared specs that are excercised by real adapters
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0.rc1
@@ -0,0 +1,59 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{dm-do-adapter}
8
+ s.version = "1.0.0.rc1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Dan Kubb"]
12
+ s.date = %q{2010-05-19}
13
+ s.description = %q{DataObjects Adapter for DataMapper}
14
+ s.email = %q{dan.kubb@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".gitignore",
21
+ "Gemfile",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "dm-do-adapter.gemspec",
27
+ "lib/dm-do-adapter.rb",
28
+ "lib/dm-do-adapter/adapter.rb",
29
+ "lib/dm-do-adapter/spec/shared_spec.rb",
30
+ "tasks/local_gemfile.rake",
31
+ "tasks/yard.rake",
32
+ "tasks/yardstick.rake"
33
+ ]
34
+ s.homepage = %q{http://github.com/datamapper/dm-do-adapter}
35
+ s.rdoc_options = ["--charset=UTF-8"]
36
+ s.require_paths = ["lib"]
37
+ s.rubygems_version = %q{1.3.6}
38
+ s.summary = %q{DataObjects Adapter for DataMapper}
39
+
40
+ if s.respond_to? :specification_version then
41
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
42
+ s.specification_version = 3
43
+
44
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
45
+ s.add_runtime_dependency(%q<data_objects>, ["~> 0.10.1"])
46
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.0.rc1"])
47
+ s.add_development_dependency(%q<rspec>, ["~> 1.3"])
48
+ else
49
+ s.add_dependency(%q<data_objects>, ["~> 0.10.1"])
50
+ s.add_dependency(%q<dm-core>, ["~> 1.0.0.rc1"])
51
+ s.add_dependency(%q<rspec>, ["~> 1.3"])
52
+ end
53
+ else
54
+ s.add_dependency(%q<data_objects>, ["~> 0.10.1"])
55
+ s.add_dependency(%q<dm-core>, ["~> 1.0.0.rc1"])
56
+ s.add_dependency(%q<rspec>, ["~> 1.3"])
57
+ end
58
+ end
59
+