bbmb 2.1.7 → 2.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/lib/bbmb/util/updater.rb +4 -1
- data/lib/bbmb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 702ceb3e0e1946a527ab2c659f28c75e0a2c97d9
|
4
|
+
data.tar.gz: ffeb8fe8bdd1391bb3b164efcbed9921a8e45bbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba0abb06a32f248d24ac11d2ec49e3920ea738e32f48564464664099e206485badc27bf37212c7ec293ed8659bb61a17600a77d932b9f87657fd043c5e7bea7d
|
7
|
+
data.tar.gz: 5b01e5c6bae2b33a441e0035dc85b6d3453ff47e397d9b85d751af0fc54c557b8c8dcdcf0a871639e626330f25f2a200a9170bb6a947be87b52238c96b70eff3
|
data/History.txt
CHANGED
data/lib/bbmb/util/updater.rb
CHANGED
@@ -2,12 +2,14 @@
|
|
2
2
|
# Util::Updater -- bbmb.ch -- 14.09.2006 -- hwyss@ywesee.com
|
3
3
|
|
4
4
|
require 'bbmb'
|
5
|
+
require 'sbsm/logger'
|
5
6
|
require 'bbmb/util/polling_manager'
|
6
7
|
|
7
8
|
module BBMB
|
8
9
|
module Util
|
9
10
|
module Updater
|
10
11
|
def Updater.run
|
12
|
+
SBSM.info "Updated.run started at #{Time.now}"
|
11
13
|
PollingManager.new.poll_sources do |filename, io|
|
12
14
|
importer, *args = BBMB.config.importers[filename]
|
13
15
|
if(importer)
|
@@ -17,8 +19,9 @@ module Updater
|
|
17
19
|
end
|
18
20
|
def Updater.import(importer, args, io)
|
19
21
|
klass = Util.const_get(importer)
|
22
|
+
SBSM.info("Updater.import using klass #{klass}")
|
20
23
|
count = klass.new(*args).import(io)
|
21
|
-
SBSM.info(
|
24
|
+
SBSM.info("updater #{importer.class} imported #{count.is_a?(Integer) ? count : 0} entities")
|
22
25
|
end
|
23
26
|
end
|
24
27
|
end
|
data/lib/bbmb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbmb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaomi Hatakeyama, Zeno R.R. Davatz, Niklaus Giger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: odba
|