mm-data_mapper 0.0.1 → 0.0.2
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.
- checksums.yaml +8 -8
- data/lib/mm-data_mapper.rb +1 -1
- data/mm-data_mapper.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTAxZWJlZGY1NmU2ZDlkOGZkMDc5MTEyYzhiMGI0YmJiMjZjZjM5NQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzdmMDU0ZjBhYWU5MWIyM2FkN2E0YjA2NDNmYjg4NDA0ZTRmM2I5Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmNiNDUyMGM1ZjlhNzZjN2IyNGFlZjUyOWJmMjEzZmFmOTM2MjBjNzhjYmVj
|
10
|
+
MjE4NzhiYTIxY2RmYzI3NDA1YWMyZmZlZmU0YzcwYTM2ZGU3NzYxYzQ1MWE5
|
11
|
+
NzQ2YmVhOGYxNDYzOThkODI4MjkzYzNkYzdjNjUwMTY2MmNlMjM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODEyNDk2OTllMDc3NGMzMmE2NmQxNDM1YTgzODUwYTRjNjJlM2Y4MzViM2Jm
|
14
|
+
ZGZkMzBiNmZlMDlhMDNjZWQyOWYyODBjMmZmMjJiM2MwM2RmNzc3M2QzZWUy
|
15
|
+
MTYyNzU4YWViNGI0NTc0YWZlZmY4MjA5ZWMyZDkxYjE4NTU5MGM=
|
data/lib/mm-data_mapper.rb
CHANGED
@@ -19,7 +19,7 @@ module MonkeyMailer::Loaders
|
|
19
19
|
|
20
20
|
def initialize(sources)
|
21
21
|
::DataMapper::Logger.new(STDOUT, 'fatal')
|
22
|
-
raise ArgumentError, 'One of the database names must be default' unless sources.include?
|
22
|
+
raise ArgumentError, 'One of the database names must be default' unless [:default, 'default'].any? {|source| sources.include? source}
|
23
23
|
sources.each_pair do |name, opts|
|
24
24
|
::DataMapper.setup(name.to_sym, opts)
|
25
25
|
end
|
data/mm-data_mapper.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.description = %q{DataMapper loader for MonkeyMailer}
|
9
9
|
spec.summary = %q{DataMapper loader for MonkeyMailer}
|
10
10
|
spec.homepage = "https://github.com/fsaravia/mm-data_mapper/"
|
11
|
-
spec.version = '0.0.
|
11
|
+
spec.version = '0.0.2'
|
12
12
|
spec.license = "UNLICENSE"
|
13
13
|
|
14
14
|
spec.files = `git ls-files`.split("\n")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mm-data_mapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Federico Saravia Barrantes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: monkey-mailer
|