fish0 0.1.0 → 0.1.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/lib/fish0/repository.rb +2 -2
- data/lib/fish0/version.rb +1 -1
- data/spec/dummy/config/mongo.yml +0 -1
- data/spec/dummy/log/test.log +15 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 081c20c91035adf49b438d0619c66146e2a1d7b5
|
|
4
|
+
data.tar.gz: 2d7be84ae4f9bfadaa9a2303296cb3212882834e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5af6f8c60ea531584aaa5e2520e1ed65f7e9bc955d43b892284f70355cee69ee5c88bfc02a3c18faa2c1e687d56cf775ad7e70d78b297d91b3485a2f23921203
|
|
7
|
+
data.tar.gz: 1268ca879e73b094ce9b5da6b13dc6fb2d55c69566d4096999843764e37c75e4f27fa5ca17f3cf86bdd241c67da40934bf1f04101889d0c6bf9fec850165d06e
|
data/lib/fish0/repository.rb
CHANGED
|
@@ -13,10 +13,10 @@ module Fish0
|
|
|
13
13
|
delegate :aggregate, to: :source
|
|
14
14
|
delegate :each, to: :to_collection
|
|
15
15
|
|
|
16
|
-
def initialize(collection, entity_class = nil)
|
|
16
|
+
def initialize(collection, entity_class = nil, source: nil)
|
|
17
17
|
raise ArgumentError, 'you should provide collection name' unless collection
|
|
18
18
|
@collection = collection
|
|
19
|
-
@source = Fish0.mongo_reader[collection]
|
|
19
|
+
@source = source ? source[collection] : Fish0.mongo_reader[collection]
|
|
20
20
|
@conditions = default_conditions
|
|
21
21
|
@order = {}
|
|
22
22
|
@limit_quantity = 0
|
data/lib/fish0/version.rb
CHANGED
data/spec/dummy/config/mongo.yml
CHANGED
data/spec/dummy/log/test.log
CHANGED
|
@@ -80,3 +80,18 @@ MONGODB | localhost:27017 | fish0_development.dropDatabase | STARTED | {"dropDat
|
|
|
80
80
|
MONGODB | localhost:27017 | fish0_development.dropDatabase | SUCCEEDED | 0.00019600000000000002s
|
|
81
81
|
MONGODB | localhost:27017 | fish0_development.dropDatabase | STARTED | {"dropDatabase"=>1}
|
|
82
82
|
MONGODB | localhost:27017 | fish0_development.dropDatabase | SUCCEEDED | 0.00021700000000000002s
|
|
83
|
+
MONGODB | Topology type 'unknown' initializing.
|
|
84
|
+
MONGODB | Server localhost:27017 initializing.
|
|
85
|
+
MONGODB | Topology type 'unknown' changed to type 'single'.
|
|
86
|
+
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
|
|
87
|
+
MONGODB | There was a change in the members of the 'single' topology.
|
|
88
|
+
MONGODB | localhost:27017 | fish0_development.dropDatabase | STARTED | {"dropDatabase"=>1}
|
|
89
|
+
MONGODB | localhost:27017 | fish0_development.dropDatabase | SUCCEEDED | 0.007686999999999999s
|
|
90
|
+
MONGODB | localhost:27017 | fish0_development.dropDatabase | STARTED | {"dropDatabase"=>1}
|
|
91
|
+
MONGODB | localhost:27017 | fish0_development.dropDatabase | SUCCEEDED | 0.000223s
|
|
92
|
+
MONGODB | localhost:27017 | fish0_development.dropDatabase | STARTED | {"dropDatabase"=>1}
|
|
93
|
+
MONGODB | localhost:27017 | fish0_development.dropDatabase | SUCCEEDED | 0.000237s
|
|
94
|
+
MONGODB | localhost:27017 | fish0_development.dropDatabase | STARTED | {"dropDatabase"=>1}
|
|
95
|
+
MONGODB | localhost:27017 | fish0_development.dropDatabase | SUCCEEDED | 0.000229s
|
|
96
|
+
MONGODB | localhost:27017 | fish0_development.dropDatabase | STARTED | {"dropDatabase"=>1}
|
|
97
|
+
MONGODB | localhost:27017 | fish0_development.dropDatabase | SUCCEEDED | 0.000248s
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fish0
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Zuev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-02-
|
|
11
|
+
date: 2017-02-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
240
240
|
version: '0'
|
|
241
241
|
requirements: []
|
|
242
242
|
rubyforge_project:
|
|
243
|
-
rubygems_version: 2.
|
|
243
|
+
rubygems_version: 2.6.10
|
|
244
244
|
signing_key:
|
|
245
245
|
specification_version: 4
|
|
246
246
|
summary: Plugin for read-only content websites
|