comma 4.3.1 → 4.3.2

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: 4a61f971ecc362e68616871f7a9ba993f37fabe4a9be0b29f4c994cc6a027e76
4
- data.tar.gz: 017a2e83d19ab9276de0e0ce8679e1bdfdcc53a0195bf013450f6e814b259726
3
+ metadata.gz: f4d1fb2a5d2d64d87c8f57dacbe8f99eaaee0983030732dc36acac63d9cb8498
4
+ data.tar.gz: 1eceff65d9e64e3c0d733a7a802e5d586aeb12159389b6823068aac3eb5de78e
5
5
  SHA512:
6
- metadata.gz: ac95f5a083ac6cc2f3ab3b7665690ad2c6087675318abb63513502d63ebd16622b9a0ee41c56743f2a00da6d078a726f635e355c5ded8969dace49d883dc88b7
7
- data.tar.gz: b43f6c813c3d1cd7b84f7f415c3d346d3fae426739a7ec13591187129ae58a369cda008d014029cec4ad3c146f11556e0049776bd700f50380a512b6b7333eef
6
+ metadata.gz: 24597bb2689162ff21898fa890ac83ea3d007e498aefde827a7ec52b98f63047177b4d3f6107b2b303357fde285a5ffd757634e81a77d2c0dff4ed1bd83b0461
7
+ data.tar.gz: 66de119a67f3862f9a6495c6518e8387a23e59a1979b8032ba7154815ceec0650a4579b19203b546dfd05b595d6b0723c363672df5ac59bb40d98877045bdde9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -17,7 +17,7 @@ Comma is distributed as a gem, best installed via Bundler.
17
17
  Include the gem in your Gemfile:
18
18
 
19
19
  ```ruby
20
- gem 'comma', '~> 4.3.1'
20
+ gem 'comma', '~> 4.3.2'
21
21
  ```
22
22
 
23
23
  Or, if you want to live life on the edge, you can get master from the main comma repository:
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.1)
4
+ comma (4.3.2)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
@@ -45,7 +45,8 @@ module Comma
45
45
 
46
46
  begin
47
47
  model_class.reflect_on_association(association)&.klass
48
- rescue NameError
48
+ rescue ArgumentError, NameError
49
+ # Since Rails 5.2, ArgumentError is raised.
49
50
  nil
50
51
  end
51
52
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Comma
4
- VERSION = '4.3.1'
4
+ VERSION = '4.3.2'
5
5
  end
@@ -144,8 +144,7 @@ if defined? ActiveRecord
144
144
 
145
145
  describe 'github pull-request 83' do
146
146
  it 'should not raise NameError' do
147
- expect { Picture.all.to_comma(:pr_83) }
148
- .not_to raise_exception(NameError)
147
+ expect { Picture.all.to_comma(:pr_83) }.not_to raise_error
149
148
  end
150
149
  end
151
150
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comma
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.1
4
+ version: 4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcus Crafter
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-21 00:00:00.000000000 Z
12
+ date: 2019-04-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport