pluck_map 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: c84ee8f4db192127a69450c81189315686ee14b23e65bfd08d49ee14c09e9d6c
4
- data.tar.gz: d00b45929552234fe71457bf40649f8cdf6344198d278a4168760bf694c86e65
3
+ metadata.gz: 1ac225219ca58a7ff5126649f3fdec9e90e8350f2ba7cbb6ca12a8ca2a130758
4
+ data.tar.gz: 1efe86c6841ac2ea5b0d262dd067df326d0be807d98605e9bf45e649859111cc
5
5
  SHA512:
6
- metadata.gz: 35eb0d21063e78cf8ea5968e93faa715fffba2198f4b54cfa5f0ade709bd375741c1b29dc27d03cdc8a5bbce99b5afa53fdc6e34f1fdabcfecb7f3a7cb117410
7
- data.tar.gz: 909ab9afe1a0818bddaecb2406d8e69a5c4d6e64ee0949509ef3790ddaf167bf6e83d04ddff7e9ea540e10cebe710641983659cefb8ba48838dc55e82b10bbe2
6
+ metadata.gz: a9054980e92bb48e728d8750816195693692c9718078e164d729a7577d53ba0d0221079b212baaa7501bb9b34874e27a386c186010b74a0c48462c5e53d76fb7
7
+ data.tar.gz: 6af0252a0c7163df76266f8104c2dd9957a5a3c3e4317dc6bd4d95411cac271ecd3b9eb35edd1ea1c1da122a41b250a1ca87c67eb2787e080963ca259738111c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.4.1 (2019 Apr 26)
2
+
3
+ * FIX: Use `PluckMap::NullLogger` when `Rails.logger` is `nil` (@boblail)
4
+
1
5
  ## v0.4.0 (2019 Apr 16)
2
6
 
3
7
  * REFACTOR: Introduced several DEPRECATION WARNINGs that will be harvested in v1.0.0 (@boblail)
data/lib/pluck_map.rb CHANGED
@@ -7,5 +7,5 @@ module PluckMap
7
7
  attr_accessor :logger
8
8
  end
9
9
 
10
- @logger = defined?(Rails) ? Rails.logger : PluckMap::NullLogger.new
10
+ @logger = (Rails.logger if defined?(Rails)) || PluckMap::NullLogger.new
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module PluckMapPresenter
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pluck_map
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Lail
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-17 00:00:00.000000000 Z
11
+ date: 2019-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord