pragma-decorator 2.1.0 → 2.1.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
  SHA1:
3
- metadata.gz: 3112d0727880b4dc23ca921b073f064e2f06067f
4
- data.tar.gz: fea5ef98f76c7a32c28e461502039f1f1c9a2d32
3
+ metadata.gz: bbec18405551712b35736d4c0ce74e0981ed356e
4
+ data.tar.gz: bacafc3eca685e41332be8991ff1709d36d5cddc
5
5
  SHA512:
6
- metadata.gz: ac722386db2bfe735422685fbf81fdecbcf4c79a8c03677df38b84a681b2c435232260dc60f11843504dfca7d772439f42ec3f8c4a8dbbdd76d66c30853fb93b
7
- data.tar.gz: 444d356b1fbc1277c77a2caa86ee2d4378636f285c574451a4b7a0843f53bd9fe46898b2d599f10d18ea77f830bb60ae8b3e0413104143c72f0b6f3123b21d59
6
+ metadata.gz: 9e08aabbc192fd4c81f638ae98d92b71b23663a2aad72db873f148edeb63211c5878e6072d7dbb377e0bdf72bbe7851ecd9262d02772b159c7aff8e1f4bebe52
7
+ data.tar.gz: b0f12d8e1196b6205de676aa7bffc270d20342e0b3b7ec8a517cf8693e53f67970a449e37659f2c291f417111d5e98554f6717bd71d70f5e9a34ffa1593338c0
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.1.1]
11
+
12
+ ### Fixed
13
+
14
+ - Fixed ActiveRecord association adapter
15
+
10
16
  ## [2.1.0]
11
17
 
12
18
  ### Added
@@ -31,6 +37,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
31
37
 
32
38
  First Pragma 2 release.
33
39
 
34
- [Unreleased]: https://github.com/pragmarb/pragma-decorator/compare/v2.1.0...HEAD
40
+ [Unreleased]: https://github.com/pragmarb/pragma-decorator/compare/v2.1.1...HEAD
41
+ [2.1.1]: https://github.com/pragmarb/pragma-decorator/compare/v2.1.0...v2.1.1
35
42
  [2.1.0]: https://github.com/pragmarb/pragma-decorator/compare/v2.0.0...v2.1.0
36
43
  [2.0.0]: https://github.com/pragmarb/pragma-decorator/compare/v1.2.0...v2.0.0
@@ -16,7 +16,7 @@ module Pragma
16
16
  #
17
17
  # @return [Boolean] whether the object is an instance of +ActiveRecord::Base+
18
18
  def supports?(model)
19
- Object.const_defined?('ActiveRecord::Base') && model.is_a?(ActiveRecord::Base)
19
+ Object.const_defined?('::ActiveRecord::Base') && model.is_a?(::ActiveRecord::Base)
20
20
  end
21
21
  end
22
22
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pragma
4
4
  module Decorator
5
- VERSION = '2.1.0'
5
+ VERSION = '2.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pragma-decorator
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Desantis