pdd 0.16 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pdd/version.rb +1 -1
  3. data/lib/pdd.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ccf65c43c8c73f60aacdb97b18fb0e1aa1d8a95
4
- data.tar.gz: 0816acf8952b943efe05cb6f7d0bde9e80240b06
3
+ metadata.gz: 7f39abf45e74c8b628a184ebf3af5f381dd1a6fa
4
+ data.tar.gz: 7e5c582166939f646278e3026ddef64973aba9b4
5
5
  SHA512:
6
- metadata.gz: feb1ce6850ca49b79f1f1c24450c7a3a10e457d9d61f59f7fb50a216be0f7997f22d6d293c50792267d5adb56354d9353c28d35abfc883db689f0b4bf9242e79
7
- data.tar.gz: 164f86ac91279090b113b712d773bfc721b5b6f2f6b263b2ba4160301c8c564f3847a1422feb4a2f2e7e8df2fe7a3a77d2629714f91f198a19e23fa4ee4a60a7
6
+ metadata.gz: f63302dde98c839ea1d415750e7535640c0cf2e34c739e2bdf7f4f9c3e5b2bd6bbf3d5c758068a977d041fcc63cab0f07f1e80187c99dc7a6cd8b6b561460135
7
+ data.tar.gz: ee409a6da382ccace28f1e25a85440e5a93df7a06d16898991fb594e5b34be6860727709367b43f7615671244e7ce1b7efa48d113f71d6f456f62ebaef65f6ed
data/lib/pdd/version.rb CHANGED
@@ -26,5 +26,5 @@
26
26
  # Copyright:: Copyright (c) 2014-2016 Yegor Bugayenko
27
27
  # License:: MIT
28
28
  module PDD
29
- VERSION = '0.16'.freeze
29
+ VERSION = '0.16.1'.freeze
30
30
  end
data/lib/pdd.rb CHANGED
@@ -74,14 +74,14 @@ module PDD
74
74
  # +opts+:: Options
75
75
  def initialize(opts)
76
76
  @opts = opts
77
- PDD.log.level = Logger::INFO if @opts.verbose?
77
+ PDD.log.level = Logger::INFO if @opts[:verbose]
78
78
  PDD.log.info "my version is #{PDD::VERSION}"
79
79
  PDD.log.info "Ruby version is #{RUBY_VERSION} at #{RUBY_PLATFORM}"
80
80
  end
81
81
 
82
82
  # Generate XML.
83
83
  def xml
84
- dir = @opts.source? ? @opts[:source] : Dir.pwd
84
+ dir = @opts[:source] ? @opts[:source] : Dir.pwd
85
85
  PDD.log.info "reading #{dir}"
86
86
  sources = Sources.new(dir)
87
87
  @opts[:exclude].each do |p|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdd
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.16'
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko