adhearsion-mongoid 0.2.0 → 0.2.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.
- checksums.yaml +4 -4
- data/.gitignore +5 -0
- data/.rspec +2 -0
- data/README.md +2 -0
- data/adhearsion-mongoid.gemspec +30 -0
- data/config/mongoid.yml +12 -0
- data/lib/adhearsion/mongoid/version.rb +1 -1
- metadata +13 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ff1cd4c3608be4a52568dd797e09f87e2482902
|
|
4
|
+
data.tar.gz: da4f00e7e42b982336c68d3301159b5cf967dd5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c096337a4663d4540278abf5382ce407483c046ed57c0ae4bfe96c31cca58de3c5c75b66709150c7442e787b154b6062ce2dd58877c1a3b5551f793dc282f8a7
|
|
7
|
+
data.tar.gz: 9c14fd63dd7ab198979e3c6a984a38e65b3dee8289c016dc08d95b97cc849e6df69862e2e5d5b7299c70221c8a97a620746aed54211c2e91003fbc2c15057284
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/README.md
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
3
|
+
require "adhearsion/mongoid/version"
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |s|
|
|
6
|
+
s.name = "adhearsion-mongoid"
|
|
7
|
+
s.version = Adhearsion::Mongoid::VERSION
|
|
8
|
+
s.authors = ["Florent Morin"]
|
|
9
|
+
s.email = ["florent.morin@morin-innovation.com"]
|
|
10
|
+
s.homepage = "https://github.com/morin-innovation/adhearsion-mongoid"
|
|
11
|
+
s.summary = %q{This gem provides an Adhearsion plugin to handle the Mongoid and database integration}
|
|
12
|
+
s.description = %q{This gem provides an Adhearsion plugin to handle the Mongoid and database integration}
|
|
13
|
+
s.license = "LGPL"
|
|
14
|
+
|
|
15
|
+
s.rubyforge_project = "adhearsion-mongoid"
|
|
16
|
+
|
|
17
|
+
# Use the following if using Git
|
|
18
|
+
s.files = `git ls-files`.split("\n")
|
|
19
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
20
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
21
|
+
s.require_paths = ["lib"]
|
|
22
|
+
|
|
23
|
+
s.add_runtime_dependency %q<adhearsion>, ["~> 2.4"]
|
|
24
|
+
s.add_runtime_dependency %q<activesupport>, [">= 3.0.10"]
|
|
25
|
+
s.add_runtime_dependency %q<mongoid>, [">= 3.0"]
|
|
26
|
+
|
|
27
|
+
s.add_development_dependency %q<bundler>, ["~> 1.0"]
|
|
28
|
+
s.add_development_dependency %q<rspec>, ["~> 2.5"]
|
|
29
|
+
s.add_development_dependency %q<rake>, [">= 0"]
|
|
30
|
+
end
|
data/config/mongoid.yml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
test:
|
|
2
|
+
sessions:
|
|
3
|
+
default:
|
|
4
|
+
database: adhearsion_mongoid_test
|
|
5
|
+
hosts:
|
|
6
|
+
- localhost:27017
|
|
7
|
+
options:
|
|
8
|
+
consistency: :strong
|
|
9
|
+
# In the test environment we lower the retries and retry interval to
|
|
10
|
+
# low amounts for fast failures.
|
|
11
|
+
max_retries: 1
|
|
12
|
+
retry_interval: 0
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: adhearsion-mongoid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florent Morin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: adhearsion
|
|
@@ -102,15 +102,19 @@ executables: []
|
|
|
102
102
|
extensions: []
|
|
103
103
|
extra_rdoc_files: []
|
|
104
104
|
files:
|
|
105
|
-
-
|
|
106
|
-
-
|
|
107
|
-
- lib/adhearsion/mongoid/version.rb
|
|
108
|
-
- lib/adhearsion/mongoid.rb
|
|
109
|
-
- lib/adhearsion-mongoid.rb
|
|
110
|
-
- README.md
|
|
111
|
-
- Rakefile
|
|
105
|
+
- .gitignore
|
|
106
|
+
- .rspec
|
|
112
107
|
- Gemfile
|
|
113
108
|
- LICENSE
|
|
109
|
+
- README.md
|
|
110
|
+
- Rakefile
|
|
111
|
+
- adhearsion-mongoid.gemspec
|
|
112
|
+
- config/mongoid.yml
|
|
113
|
+
- lib/adhearsion-mongoid.rb
|
|
114
|
+
- lib/adhearsion/mongoid.rb
|
|
115
|
+
- lib/adhearsion/mongoid/plugin.rb
|
|
116
|
+
- lib/adhearsion/mongoid/plugin/service.rb
|
|
117
|
+
- lib/adhearsion/mongoid/version.rb
|
|
114
118
|
- spec/adhearsion/mongoid/plugin/service_spec.rb
|
|
115
119
|
- spec/adhearsion/mongoid/plugin_spec.rb
|
|
116
120
|
- spec/adhearsion/mongoid_spec.rb
|