dm-is-predefined 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +3 -0
- data/.rspec +1 -0
- data/.yardopts +1 -1
- data/ChangeLog.md +6 -0
- data/Gemfile +132 -87
- data/LICENSE.txt +1 -3
- data/README.md +7 -5
- data/Rakefile +14 -19
- data/dm-is-predefined.gemspec +11 -71
- data/gemspec.yml +18 -0
- data/spec/spec_helper.rb +2 -13
- metadata +19 -72
- data/.gitignore +0 -10
- data/.specopts +0 -1
- data/VERSION +0 -1
data/.document
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--colour --format documentation
|
data/.yardopts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
--markup markdown --title 'dm-predefined Documentation' --protected
|
1
|
+
--markup markdown --title 'dm-is-predefined Documentation' --protected
|
data/ChangeLog.md
CHANGED
data/Gemfile
CHANGED
@@ -1,97 +1,142 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
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
|
-
|
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',
|
75
|
-
|
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 :
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
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
|
-
|
87
|
-
|
132
|
+
adapters.each do |adapter|
|
133
|
+
gem "dm-#{adapter}-adapter", DM_VERSION, :git => "#{DATAMAPPER}/dm-#{adapter}-adapter.git"
|
134
|
+
end
|
88
135
|
|
89
|
-
|
90
|
-
|
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
|
-
|
139
|
+
plugins.each do |plugin|
|
140
|
+
gem plugin, DM_VERSION, :git => "#{DATAMAPPER}/#{plugin}.git"
|
141
|
+
end
|
142
|
+
end
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# dm-is-predefined
|
2
2
|
|
3
|
-
* [
|
4
|
-
* [
|
5
|
-
*
|
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
|
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
|
-
|
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
|
-
|
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 '
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
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'
|
data/dm-is-predefined.gemspec
CHANGED
@@ -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
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
"
|
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
|
-
|
data/gemspec.yml
ADDED
@@ -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
|
data/spec/spec_helper.rb
CHANGED
@@ -1,15 +1,4 @@
|
|
1
|
-
require '
|
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
|
-
|
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:
|
5
|
-
|
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:
|
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:
|
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
|
-
|
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:
|
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: :
|
35
|
+
type: :development
|
49
36
|
prerelease: false
|
50
37
|
version_requirements: *id002
|
51
38
|
- !ruby/object:Gem::Dependency
|
52
|
-
name:
|
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
|
-
|
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:
|
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
|
-
- .
|
108
|
-
- .
|
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
|
-
|
147
|
-
- 0
|
148
|
-
version: "0"
|
97
|
+
version: 1.3.6
|
149
98
|
requirements: []
|
150
99
|
|
151
|
-
rubyforge_project:
|
152
|
-
rubygems_version: 1.
|
100
|
+
rubyforge_project: dm-is-predefined
|
101
|
+
rubygems_version: 1.5.2
|
153
102
|
signing_key:
|
154
103
|
specification_version: 3
|
155
|
-
summary:
|
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
data/.specopts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--colour --format specdoc
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.3.0
|