pragma-decorator 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bbec18405551712b35736d4c0ce74e0981ed356e
|
|
4
|
+
data.tar.gz: bacafc3eca685e41332be8991ff1709d36d5cddc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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
|
|