pluto 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc3a11af939b509c4f2e9ffef90681f949ad0e1c
4
- data.tar.gz: 2e9826ccd0c9424bc224997164e7a78e9db99de9
3
+ metadata.gz: de963563ec1c6192bcd914f362d31370028ba272
4
+ data.tar.gz: 52c668f717f4cd37b87fa187e5f933dd70beb568
5
5
  SHA512:
6
- metadata.gz: 50bfd8996320dffc1acaf97f0270575d4b18d6936208dde0dd39be996140fd6a26f5057175c3e5ea7747fe0dea093fcaae8ff2d8a6a08b8fdf084a51a913eefa
7
- data.tar.gz: 6fffe363f0b063b38d50b2df8d7e92e4715fe78715f9a4380d758bc369070600b6594460e049da6789a3e9bf71350a015f4f3eecaa6abd0f1863f1ff93e68d61
6
+ metadata.gz: 1ba600b1f1beec018cbf43a9b2fffcb69d7f8c4a73804a3e93da33a0ab1a4c3d53f7d7e3f7ee62600c90745fdb80cbfe252007f01f7d1a220f660eaea6c2fe58
7
+ data.tar.gz: 51fef4f9cc502d1c79991f20477fddc26da3212f142f10af7affaa48fbeca3c6d0c43a59ce6570cd46e12cf83b838058edccc2f0003dd73f7ef2b93fe277e5db
data/Rakefile CHANGED
@@ -18,8 +18,8 @@ Hoe.spec 'pluto' do
18
18
  self.history_file = 'CHANGELOG.md'
19
19
 
20
20
  self.extra_deps = [
21
- ['pluto-models', '>= 1.5.3'],
22
- ['pluto-update', '>= 1.6.2'],
21
+ ['pluto-models', '>= 1.5.4'],
22
+ ['pluto-update', '>= 1.6.3'],
23
23
  ['pluto-merge', '>= 1.1.0'],
24
24
  ['pluto-tasks', '>= 1.5.3'],
25
25
  ['gli', '>= 2.12.2'],
@@ -90,7 +90,8 @@ command [:fetch, :f] do |c|
90
90
  logger.debug 'hello from fetch command'
91
91
 
92
92
  ## turn on debug flag by default; no need to passing --verbose
93
- LogUtils::Logger.root.level = :debug
93
+ Pluto.config.debug = true
94
+ Pluto.config.logger.level = :debug
94
95
  opts.verbose = true
95
96
 
96
97
  # add dbname as opts property
@@ -113,7 +114,6 @@ command [:fetch, :f] do |c|
113
114
  pp feed_rec
114
115
 
115
116
  fetcher = Pluto::FeedFetcherBasic.new
116
- fetcher.debug = true # by default debug is true (only used for debuggin! - save feed to file, etc.)
117
117
 
118
118
  feed = fetcher.fetch( feed_rec )
119
119
  ## pp feed
@@ -353,11 +353,12 @@ pre do |g,c,o,args|
353
353
  puts PlutoCli.banner
354
354
 
355
355
  if opts.verbose?
356
- LogUtils::Logger.root.level = :debug
356
+ Pluto.config.debug = true
357
+ Pluto.config.logger.level = :debug
357
358
  elsif opts.warn?
358
- LogUtils::Logger.root.level = :warn
359
+ Pluto.config.logger.level = :warn
359
360
  elsif opts.error?
360
- LogUtils::Logger.root.level = :error
361
+ Pluto.config.logger.level = :error
361
362
  else
362
363
  ## do nothing; keep :info level (default)
363
364
  end
@@ -43,17 +43,11 @@ class Updater
43
43
 
44
44
  ###################
45
45
  # step 1) update site subscriptions
46
-
47
- # pass along debug/verbose setting/switch
48
- ## site_updater.debug = true if opts.verbose?
49
46
  Model::Site.deep_create_or_update_from_hash!( site_key, config )
50
47
 
51
48
  ##############################
52
49
  # step 2) update feeds
53
50
  feed_refresher = FeedRefresher.new
54
-
55
- # pass along debug/verbose setting/switch
56
- feed_refresher.debug = true if opts.verbose?
57
51
  feed_refresher.refresh_feeds_for( site_key )
58
52
  end # method run
59
53
 
@@ -4,7 +4,7 @@ module PlutoCli
4
4
 
5
5
  MAJOR = 1
6
6
  MINOR = 3
7
- PATCH = 3
7
+ PATCH = 4
8
8
  VERSION = [MAJOR,MINOR,PATCH].join('.')
9
9
 
10
10
  def self.version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pluto
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-30 00:00:00.000000000 Z
11
+ date: 2020-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pluto-models
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.5.3
19
+ version: 1.5.4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.5.3
26
+ version: 1.5.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pluto-update
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.6.2
33
+ version: 1.6.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 1.6.2
40
+ version: 1.6.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pluto-merge
43
43
  requirement: !ruby/object:Gem::Requirement