gtfs-reader 0.2.3 → 0.2.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: 17421796d80a3ed47933ef4bed3b0af50161fc00
4
- data.tar.gz: 1d3a569ef25d6f3de1692ba362668a1b8be6bcdf
3
+ metadata.gz: 56536b431e5a1d028ffb9befb162a3707f4ae4ae
4
+ data.tar.gz: 9b570f6da9175aab538e5b425a0950946b18d3fb
5
5
  SHA512:
6
- metadata.gz: 5042f9a95b62dfdd505ee3bcfb45b4851bc204997f8c69b8ba3241ff31eed3f0be6f9931d1127e4c867fbb1c9275c46d5d6c95a1182e4f425ec54246aa05ee53
7
- data.tar.gz: 94f01d3a0c1ca8dae4d022776ceeaa6fe21b941175d96c1195dad237c40dfbf0774baa5efbf8531afc115c162b001090ddcf17866aebd63edb007ba0f7ae0a4f
6
+ metadata.gz: 278c33c0dc6e256e3c8995a40db2ae7c8bc7d9672f182eed2198da4df14dd756a7e4925da70fe3535a74b850faacc3bd0fcf5bd1dfa0a70b6eee38a591b8db0a
7
+ data.tar.gz: d1f4ca8f41f9446b96bfed69c38012b8f4b745e389c77f1796bd9a505fa6b607165a75f690a48146058323fa2a86b9c47fbb002d677eccbdecf3c9aac6b353d1
@@ -39,7 +39,7 @@ module GtfsReader
39
39
  def quiet
40
40
  old_logger = @logger
41
41
  begin
42
- @logger = NoOp.new
42
+ @logger = NoOpLogger.new
43
43
  yield
44
44
  ensure
45
45
  @logger = old_logger
@@ -51,7 +51,7 @@ module GtfsReader
51
51
  def create_logger
52
52
  Log4r::Logger.new('GtfsReader').tap do |log|
53
53
  out = Log4r::StdoutOutputter.new('log_stdout')
54
- out.formatter = PatternFormatter.new pattern: '%d [%l]: %m'
54
+ out.formatter = Log4r::PatternFormatter.new pattern: '%d [%l]: %m'
55
55
  log.outputters << out
56
56
  log.level = Log4r::INFO
57
57
  log.debug { 'Starting GtfsReader...'.underline.colorize :yellow }
@@ -59,7 +59,7 @@ module GtfsReader
59
59
  end
60
60
  end
61
61
 
62
- class NoOp
62
+ class NoOpLogger
63
63
  def method_missing(*args, &block)
64
64
  nil
65
65
  end
@@ -5,7 +5,7 @@ module GtfsReader
5
5
  # The following four lines are generated, so don't mess with them.
6
6
  MAJOR = 0
7
7
  MINOR = 2
8
- PATCH = 3
8
+ PATCH = 4
9
9
  BUILD = nil
10
10
 
11
11
  #@return [String] the current version in the form of +1.2.3.build+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtfs-reader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Sangster