dm-is-predefined 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ -
2
+ ChangeLog.md
3
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --colour --format documentation
data/.yardopts CHANGED
@@ -1 +1 @@
1
- --markup markdown --title 'dm-predefined Documentation' --protected --files ChangeLog.md,LICENSE.txt
1
+ --markup markdown --title 'dm-is-predefined Documentation' --protected
@@ -1,3 +1,9 @@
1
+ ### 0.3.1 / 2011-02-28
2
+
3
+ * Require dm-core ~> 1.0.
4
+ * Switched from Jeweler to [Ore](http://github.com/ruby-ore/ore#readme).
5
+ * Upgraded to RSpec2.
6
+
1
7
  ### 0.3.0 / 2010-07-08
2
8
 
3
9
  * Require DataMapper 1.0.0.
data/Gemfile CHANGED
@@ -1,97 +1,142 @@
1
- source 'http://rubygems.org'
2
- dm = 'git://github.com/datamapper'
3
-
4
- group :runtime do
5
- # We bundle both AS and extlib while extlib compatibility needs to be kept
6
- # around. require 'dm-core' will ensure that only one is activated at any
7
- # time though. This is done by trying to require AS components and
8
- # fallback to requiring extlib in case a LoadError was rescued when
9
- # requiring AS code.
10
- #
11
- # Due to bundle exec activating all groups in the Gemfile, it's
12
- # recommended to run
13
- #
14
- # bundle install --without quality
15
- #
16
- # to have a development environment that is able to run the specs.
17
- # The problem is that metric_fu activates active_support=2.2.3 if we
18
- # comment out the gem 'activesupport' declaration - have a look below for
19
- # why we would want to do that (and a bit later, for why that's actually
20
- # not *strictly* necessary, but recommended)
21
- #
22
- # To run the specs using AS, leave this Gemfile as it is and just run:
23
- #
24
- # bundle install --without qality
25
- # ADAPTERS=sqlite3 bundle exec rake spec # or whatever adapter
26
- #
27
- # To run the specs using extlib, comment out the: gem 'activesupport' line
28
- # and run:
29
- #
30
- # bundle install --without quality
31
- # ADAPTERS=sqlite3 bundle exec rake spec # or whatever adapter
32
- #
33
- # If you want to run the quality tasks as provided by metric_fu and
34
- # related gems, you have to run:
35
- #
36
- # bundle install
37
- # bundle exec rake metrics:all
38
- #
39
- # Switch back to a bundle without quality gems before trying to run the
40
- # specs again:
41
- #
42
- # bundle install --without quality
43
- # ADAPTERS=sqlite3 bundle exec rake spec # or whatever adapter
44
- #
45
- # It was mentioned above that all this is not *strictly* necessary, and
46
- # this is true. Currently dm-core does the following as the first require
47
- # when checking for AS:
48
- #
49
- # require 'active_support/core_ext/object/singleton_class'
50
- #
51
- # Because this method is not present in activesupport <= 3.0.0.beta,
52
- # dm-core's feature detection will actually do the "right thing" and fall
53
- # back to extlib. However, since this is not the case for all dm-more gems
54
- # as well, the safest thing to do is to respect the more tedious workflow
55
- # for now, as it will at least be guaranteed to work the same for both
56
- # dm-core and dm-more.
57
- #
58
- # Note that this won't be an issue anymore once we dropped support for
59
- # extlib completely, or bundler folks decide to support something like
60
- # "bundle exec --without=foo rake spec" (which probably is not going to
61
- # happen anytime soon).
62
- #
63
-
64
- if ENV['EXTLIB']
65
- gem 'extlib', '~> 0.9.15'
66
- else
67
- gem 'activesupport', '~> 3.0.0.beta3', :require => 'active_support'
68
- end
1
+ # If you're working on more than one datamapper gem at a time, then it's
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 datamapper gems from local paths. This means that you can
7
+ # use the same environment variables, like ADAPTER(S) or PLUGIN(S) when
8
+ # running
9
+ # bundle commands. Gemfile.local is added to .gitignore, so you don't need
10
+ # to worry about accidentally checking local development paths into git.
11
+ # In order to create a local Gemfile, all you need to do is run:
12
+ #
13
+ # bundle exec rake local_gemfile
14
+ #
15
+ # This will give you a Gemfile.local file that points to your local clones
16
+ # of the various datamapper gems. It's assumed that all datamapper repo
17
+ # clones reside in the same directory. You can use the Gemfile.local like
18
+ # so for running any bundle command:
19
+ #
20
+ # BUNDLE_GEMFILE=Gemfile.local bundle foo
21
+ #
22
+ # You can also specify which adapter(s) should be part of the bundle by
23
+ # setting an environment variable. This of course also works when using the
24
+ # Gemfile.local
25
+ #
26
+ # bundle foo # dm-sqlite-adapter
27
+ #
28
+ # ADAPTER=mysql bundle foo # dm-mysql-adapter
29
+ #
30
+ # ADAPTERS=sqlite,mysql bundle foo # dm-sqlite-adapter, dm-mysql-adapter
31
+ #
32
+ # Of course you can also use the ADAPTER(S) variable when using the
33
+ # Gemfile.local and running specs against selected adapters.
34
+ #
35
+ # For easily working with adapters supported on your machine, it's
36
+ # recommended that you first install all adapters that you are planning to
37
+ # use or work on by doing something like
38
+ #
39
+ # ADAPTERS=sqlite,mysql,postgres bundle install
40
+ #
41
+ # This will clone the various repositories and make them available to
42
+ # bundler. Once you have them installed you can easily switch between
43
+ # adapters for the various development tasks. Running something like
44
+ #
45
+ # ADAPTER=mysql bundle exec rake spec
46
+ #
47
+ # will make sure that the dm-mysql-adapter is part of the bundle, and will
48
+ # be used when running the specs.
49
+ #
50
+ # You can also specify which plugin(s) should be part of the bundle by
51
+ # setting an environment variable. This also works when using the
52
+ # Gemfile.local
53
+ #
54
+ # bundle foo # dm-migrations
55
+ #
56
+ # PLUGINS=dm-validations bundle foo # dm-migrations,
57
+ # # dm-validations
58
+ #
59
+ # PLUGINS=dm-validations,dm-types bundle foo # dm-migrations,
60
+ # # dm-validations,
61
+ # # dm-types
62
+ #
63
+ # Of course you can combine the PLUGIN(S) and ADAPTER(S) env vars to run
64
+ # specs for certain adapter/plugin combinations.
65
+ #
66
+ # Finally, to speed up running specs and other tasks, it's recommended to
67
+ # run
68
+ #
69
+ # bundle lock
70
+ #
71
+ # after running 'bundle install' for the first time. This will make
72
+ # 'bundle exec' run a lot faster compared to the unlocked version. With an
73
+ # unlocked bundle you would typically just run 'bundle install' from time
74
+ # to time to fetch the latest sources from upstream. When you locked your
75
+ # bundle, you need to run
76
+ #
77
+ # bundle install --relock
78
+ #
79
+ # to make sure to fetch the latest updates and then lock the bundle again.
80
+ # Gemfile.lock is added to the .gitignore file, so you don't need to worry
81
+ # about accidentally checking it into version control.
82
+
83
+ source :rubygems
69
84
 
70
- gem 'dm-core', '~> 1.0.0'
85
+ DATAMAPPER = 'http://github.com/datamapper'
86
+ DM_VERSION = '~> 1.0'
87
+ DO_VERSION = '~> 0.10.2'
88
+ DM_DO_ADAPTERS = %w[sqlite postgres mysql oracle sqlserver]
89
+ RAILS = 'http://github.com/rails/rails.git'
90
+
91
+ if ENV['EXTLIB']
92
+ gem 'extlib', '~> 0.9.15', :git => "#{DATAMAPPER}/extlib.git",
93
+ :require => nil
94
+ else
95
+ gem 'activesupport', '~> 3.0.4', :require => nil
96
+ gem 'i18n', '~> 0.5.0'
71
97
  end
72
98
 
99
+ gem 'dm-core', DM_VERSION, :git => "#{DATAMAPPER}/dm-core.git"
100
+
73
101
  group :development do
74
- gem 'rake', '~> 0.8.7'
75
- gem 'jeweler', '~> 1.4.0', :git => 'git://github.com/technicalpickles/jeweler.git'
102
+ gem 'rake', '~> 0.8.7'
103
+
104
+ gem 'ore-tasks', '~> 0.4'
105
+ gem 'rspec', '~> 2.4'
106
+
107
+ gem 'kramdown', '~> 0.12.0'
108
+ gem 'yard', '~> 0.6.0'
76
109
  end
77
110
 
78
- group :doc do
79
- case RUBY_PLATFORM
80
- when 'java'
81
- gem 'maruku', '~> 0.6.0'
82
- else
83
- gem 'rdiscount', '~> 1.6.3'
111
+ group :datamapper do
112
+ # We need this because we want to pin these dependencies to their git
113
+ # master sources
114
+
115
+ adapters = ENV['ADAPTER'] || ENV['ADAPTERS']
116
+ adapters = adapters.to_s.tr(',', ' ').split.uniq - %w[ in_memory ]
117
+
118
+ if (do_adapters = DM_DO_ADAPTERS & adapters).any?
119
+ options = {}
120
+ options[:git] = "#{DATAMAPPER}/do.git" if ENV['DO_GIT'] == 'true'
121
+
122
+ gem 'data_objects', DO_VERSION, options.dup
123
+
124
+ do_adapters.each do |adapter|
125
+ adapter = 'sqlite3' if adapter == 'sqlite'
126
+ gem "do_#{adapter}", DO_VERSION, options.dup
127
+ end
128
+
129
+ gem 'dm-do-adapter', DM_VERSION, :git => "#{DATAMAPPER}/dm-do-adapter.git"
84
130
  end
85
131
 
86
- gem 'yard', '~> 0.5.3'
87
- end
132
+ adapters.each do |adapter|
133
+ gem "dm-#{adapter}-adapter", DM_VERSION, :git => "#{DATAMAPPER}/dm-#{adapter}-adapter.git"
134
+ end
88
135
 
89
- group :test do
90
- gem 'data_objects', '~> 0.10.2'
91
- gem 'do_sqlite3', '~> 0.10.2'
92
- gem 'dm-do-adapter', '~> 1.0.0'
93
- gem 'dm-sqlite-adapter', '~> 1.0.0'
94
- gem 'dm-migrations', '~> 1.0.0'
95
- end
136
+ plugins = ENV['PLUGINS'] || ENV['PLUGIN']
137
+ plugins = plugins.to_s.tr(',', ' ').split.push('dm-migrations').uniq
96
138
 
97
- gem 'rspec', '~> 1.3.0', :group => [:development, :test]
139
+ plugins.each do |plugin|
140
+ gem plugin, DM_VERSION, :git => "#{DATAMAPPER}/#{plugin}.git"
141
+ end
142
+ end
@@ -1,6 +1,4 @@
1
- (The MIT License)
2
-
3
- Copyright (c) 2008-2010 Hal Brodigan
1
+ Copyright (c) 2008-2011 Hal Brodigan
4
2
 
5
3
  Permission is hereby granted, free of charge, to any person obtaining
6
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # dm-is-predefined
2
2
 
3
- * [github.com/postmodern/dm-is-predefined](http://github.com/postmodern/dm-is-predefined)
4
- * [github.com/postmodern/dm-is-predefined/issues](http://github.com/postmodern/dm-is-predefined/issues)
5
- * Postmodern (postmodern.mod3 at gmail.com)
3
+ * [Source](http://github.com/postmodern/dm-is-predefined)
4
+ * [Issues](http://github.com/postmodern/dm-is-predefined/issues)
5
+ * [Documentation](http://rubydoc.info/gems/dm-is-predefined/frames)
6
+ * [Email](mailto:postmodern.mod3 at gmail.com)
6
7
 
7
8
  ## Description
8
9
 
@@ -47,7 +48,7 @@ A DataMapper plugin for adding predefined resources to Models.
47
48
 
48
49
  ## Requirements
49
50
 
50
- * [dm-core](http://github.com/datamapper/dm-core/) ~> 1.0.0
51
+ * [dm-core](http://github.com/datamapper/dm-core/) ~> 1.0
51
52
 
52
53
  ## Install
53
54
 
@@ -55,5 +56,6 @@ A DataMapper plugin for adding predefined resources to Models.
55
56
 
56
57
  ## License
57
58
 
58
- See {file:LICENSE.txt} for license information.
59
+ Copyright (c) 2008-2011 Hal Brodigan
59
60
 
61
+ See {file:LICENSE.txt} for license information.
data/Rakefile CHANGED
@@ -1,8 +1,15 @@
1
1
  require 'rubygems'
2
- require 'bundler'
3
2
 
4
3
  begin
5
- Bundler.setup(:development, :doc)
4
+ require 'bundler'
5
+ rescue LoadError => e
6
+ STDERR.puts e.message
7
+ STDERR.puts "Run `gem install bundler` to install Bundler."
8
+ exit e.status_code
9
+ end
10
+
11
+ begin
12
+ Bundler.setup(:development)
6
13
  rescue Bundler::BundlerError => e
7
14
  STDERR.puts e.message
8
15
  STDERR.puts "Run `bundle install` to install missing gems"
@@ -10,24 +17,12 @@ rescue Bundler::BundlerError => e
10
17
  end
11
18
 
12
19
  require 'rake'
13
- require 'jeweler'
14
- Jeweler::Tasks.new do |gem|
15
- gem.name = 'dm-is-predefined'
16
- gem.license = 'MIT'
17
- gem.summary = %Q{A DataMapper plugin for adding predefined resources to Models.}
18
- gem.description = %Q{A DataMapper plugin for adding predefined resources to Models.}
19
- gem.email = 'postmodern.mod3@gmail.com'
20
- gem.homepage = 'http://github.com/postmodern/dm-is-predefined'
21
- gem.authors = ['Postmodern']
22
- gem.has_rdoc = 'yard'
23
- end
24
20
 
25
- require 'spec/rake/spectask'
26
- Spec::Rake::SpecTask.new(:spec) do |spec|
27
- spec.libs += ['lib', 'spec']
28
- spec.spec_files = FileList['spec/**/*_spec.rb']
29
- spec.spec_opts = ['--options', '.specopts']
30
- end
21
+ require 'ore/tasks'
22
+ Ore::Tasks.new
23
+
24
+ require 'rspec/core/rake_task'
25
+ RSpec::Core::RakeTask.new
31
26
  task :default => :spec
32
27
 
33
28
  require 'yard'
@@ -1,75 +1,15 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
1
  # -*- encoding: utf-8 -*-
5
2
 
6
- Gem::Specification.new do |s|
7
- s.name = %q{dm-is-predefined}
8
- s.version = "0.3.0"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Postmodern"]
12
- s.date = %q{2010-06-10}
13
- s.description = %q{A DataMapper plugin for adding predefined resources to Models.}
14
- s.email = %q{postmodern.mod3@gmail.com}
15
- s.extra_rdoc_files = [
16
- "ChangeLog.md",
17
- "LICENSE.txt",
18
- "README.md"
19
- ]
20
- s.files = [
21
- ".gitignore",
22
- ".specopts",
23
- ".yardopts",
24
- "ChangeLog.md",
25
- "Gemfile",
26
- "LICENSE.txt",
27
- "README.md",
28
- "Rakefile",
29
- "VERSION",
30
- "dm-is-predefined.gemspec",
31
- "lib/dm-is-predefined.rb",
32
- "lib/dm-is-predefined/is/exceptions/unknown_resource.rb",
33
- "lib/dm-is-predefined/is/predefined.rb",
34
- "spec/integration/models/test_model.rb",
35
- "spec/integration/predefined_spec.rb",
36
- "spec/spec_helper.rb"
37
- ]
38
- s.has_rdoc = %q{yard}
39
- s.homepage = %q{http://github.com/postmodern/dm-is-predefined}
40
- s.licenses = ["MIT"]
41
- s.require_paths = ["lib"]
42
- s.rubygems_version = %q{1.3.7}
43
- s.summary = %q{A DataMapper plugin for adding predefined resources to Models.}
44
- s.test_files = [
45
- "spec/integration/models/test_model.rb",
46
- "spec/integration/predefined_spec.rb",
47
- "spec/spec_helper.rb"
48
- ]
49
-
50
- if s.respond_to? :specification_version then
51
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
52
- s.specification_version = 3
53
-
54
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
55
- s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.0.beta3"])
56
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.0"])
57
- s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
58
- s.add_development_dependency(%q<jeweler>, ["~> 1.4.0"])
59
- s.add_development_dependency(%q<rspec>, ["~> 1.3.0"])
60
- else
61
- s.add_dependency(%q<activesupport>, ["~> 3.0.0.beta3"])
62
- s.add_dependency(%q<dm-core>, ["~> 1.0.0"])
63
- s.add_dependency(%q<rake>, ["~> 0.8.7"])
64
- s.add_dependency(%q<jeweler>, ["~> 1.4.0"])
65
- s.add_dependency(%q<rspec>, ["~> 1.3.0"])
66
- end
67
- else
68
- s.add_dependency(%q<activesupport>, ["~> 3.0.0.beta3"])
69
- s.add_dependency(%q<dm-core>, ["~> 1.0.0"])
70
- s.add_dependency(%q<rake>, ["~> 0.8.7"])
71
- s.add_dependency(%q<jeweler>, ["~> 1.4.0"])
72
- s.add_dependency(%q<rspec>, ["~> 1.3.0"])
3
+ begin
4
+ Ore::Specification.new do |gemspec|
5
+ # custom logic here
6
+ end
7
+ rescue NameError
8
+ begin
9
+ require 'ore/specification'
10
+ retry
11
+ rescue LoadError
12
+ STDERR.puts "The '#{__FILE__}' file requires Ore."
13
+ STDERR.puts "Run `gem install ore-core` to install Ore."
73
14
  end
74
15
  end
75
-
@@ -0,0 +1,18 @@
1
+ name: dm-is-predefined
2
+ version: 0.3.1
3
+ summary: DataMapper plugin for adding predefined resources to models.
4
+ description:
5
+ A DataMapper plugin for adding predefined resources to Models.
6
+
7
+ license: MIT
8
+ authors: Postmodern
9
+ email: postmodern.mod3@gmail.com
10
+ homepage: http://github.com/postmodern/dm-is-predefined
11
+ has_yard: true
12
+
13
+ dependencies:
14
+ dm-core: ~> 1.0
15
+
16
+ development_dependencies:
17
+ bundler: ~> 1.0.0
18
+ yard: ~> 0.6.0
@@ -1,15 +1,4 @@
1
- require 'rubygems'
2
- require 'bundler'
3
-
4
- begin
5
- Bundler.setup(:runtime, :test)
6
- rescue Bundler::BundlerError => e
7
- STDERR.puts e.message
8
- STDERR.puts "Run `bundle install` to install missing gems"
9
- exit e.status_code
10
- end
11
-
12
- require 'spec'
1
+ require 'rspec'
13
2
  require 'dm-core/spec/setup'
14
3
  require 'dm-core/spec/lib/adapter_helpers'
15
4
 
@@ -17,6 +6,6 @@ require 'dm-is-predefined'
17
6
 
18
7
  DataMapper::Spec.setup
19
8
 
20
- Spec::Runner.configure do |config|
9
+ RSpec.configure do |config|
21
10
  config.extend(DataMapper::Spec::Adapters::Helpers)
22
11
  end
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-is-predefined
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 3
8
- - 0
9
- version: 0.3.0
4
+ prerelease:
5
+ version: 0.3.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - Postmodern
@@ -14,106 +10,64 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2010-06-10 00:00:00 -07:00
13
+ date: 2011-02-28 00:00:00 -08:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
21
- name: activesupport
17
+ name: dm-core
22
18
  requirement: &id001 !ruby/object:Gem::Requirement
23
19
  none: false
24
20
  requirements:
25
21
  - - ~>
26
22
  - !ruby/object:Gem::Version
27
- segments:
28
- - 3
29
- - 0
30
- - 0
31
- - beta3
32
- version: 3.0.0.beta3
23
+ version: "1.0"
33
24
  type: :runtime
34
25
  prerelease: false
35
26
  version_requirements: *id001
36
27
  - !ruby/object:Gem::Dependency
37
- name: dm-core
28
+ name: bundler
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
- - 1
45
- - 0
46
- - 0
47
34
  version: 1.0.0
48
- type: :runtime
35
+ type: :development
49
36
  prerelease: false
50
37
  version_requirements: *id002
51
38
  - !ruby/object:Gem::Dependency
52
- name: rake
39
+ name: yard
53
40
  requirement: &id003 !ruby/object:Gem::Requirement
54
41
  none: false
55
42
  requirements:
56
43
  - - ~>
57
44
  - !ruby/object:Gem::Version
58
- segments:
59
- - 0
60
- - 8
61
- - 7
62
- version: 0.8.7
45
+ version: 0.6.0
63
46
  type: :development
64
47
  prerelease: false
65
48
  version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
67
- name: jeweler
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
71
- - - ~>
72
- - !ruby/object:Gem::Version
73
- segments:
74
- - 1
75
- - 4
76
- - 0
77
- version: 1.4.0
78
- type: :development
79
- prerelease: false
80
- version_requirements: *id004
81
- - !ruby/object:Gem::Dependency
82
- name: rspec
83
- requirement: &id005 !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ~>
87
- - !ruby/object:Gem::Version
88
- segments:
89
- - 1
90
- - 3
91
- - 0
92
- version: 1.3.0
93
- type: :development
94
- prerelease: false
95
- version_requirements: *id005
96
49
  description: A DataMapper plugin for adding predefined resources to Models.
97
- email: postmodern.mod3@gmail.com
50
+ email:
51
+ - postmodern.mod3@gmail.com
98
52
  executables: []
99
53
 
100
54
  extensions: []
101
55
 
102
56
  extra_rdoc_files:
57
+ - README.md
103
58
  - ChangeLog.md
104
59
  - LICENSE.txt
105
- - README.md
106
60
  files:
107
- - .gitignore
108
- - .specopts
61
+ - .document
62
+ - .rspec
109
63
  - .yardopts
110
64
  - ChangeLog.md
111
65
  - Gemfile
112
66
  - LICENSE.txt
113
67
  - README.md
114
68
  - Rakefile
115
- - VERSION
116
69
  - dm-is-predefined.gemspec
70
+ - gemspec.yml
117
71
  - lib/dm-is-predefined.rb
118
72
  - lib/dm-is-predefined/is/exceptions/unknown_resource.rb
119
73
  - lib/dm-is-predefined/is/predefined.rb
@@ -134,26 +88,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
88
  requirements:
135
89
  - - ">="
136
90
  - !ruby/object:Gem::Version
137
- hash: 76076225
138
- segments:
139
- - 0
140
91
  version: "0"
141
92
  required_rubygems_version: !ruby/object:Gem::Requirement
142
93
  none: false
143
94
  requirements:
144
95
  - - ">="
145
96
  - !ruby/object:Gem::Version
146
- segments:
147
- - 0
148
- version: "0"
97
+ version: 1.3.6
149
98
  requirements: []
150
99
 
151
- rubyforge_project:
152
- rubygems_version: 1.3.7
100
+ rubyforge_project: dm-is-predefined
101
+ rubygems_version: 1.5.2
153
102
  signing_key:
154
103
  specification_version: 3
155
- summary: A DataMapper plugin for adding predefined resources to Models.
104
+ summary: DataMapper plugin for adding predefined resources to models.
156
105
  test_files:
157
- - spec/integration/models/test_model.rb
158
106
  - spec/integration/predefined_spec.rb
159
- - spec/spec_helper.rb
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- doc
2
- pkg
3
- tmp/*
4
- .bundle
5
- .DS_Store
6
- .yardoc
7
- *.db
8
- *.log
9
- *.swp
10
- *~
data/.specopts DELETED
@@ -1 +0,0 @@
1
- --colour --format specdoc
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.3.0