paper_trail-association_tracking 0.0.1 → 1.0.0

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: 21bc61f6e8c1ce4cc16c937554bf13facad85e45cbc7323155f877841202ddc6
4
- data.tar.gz: 24958dbdcf40ff4351b2aeec0f2b1303459d65fd92fb058fd3061f6fc7f88faa
3
+ metadata.gz: e55c15952e70d133273bb7e64458a3064124070c64228667ec1e160f6b0213a2
4
+ data.tar.gz: 755381e69ab58abb9d7167040ad237f384e2cd7c940c15b72c4d7da9454432a6
5
5
  SHA512:
6
- metadata.gz: a03f3497443252136bf6a43389e6629cc693086cbcb0da9172896f83e1e52c747eb9c4461d27f8ff56090ec6a36b3927f7c98537db1d9b71f593cf9503540a5d
7
- data.tar.gz: 5c10679e72f9b90ba90c92d5af0fc05a6272c3f37a651a1f6471f5adeddb120335ac2aa02eac62c457197a916005144a8788d375ed79da96635471cdb09fb214
6
+ metadata.gz: 80e0609842fb80eed4e07e57e568d79a4721fcd09d510d6b5033338570963b8989026e96c97e5647599b613a1f0639db6d2211612d41898d349ccd4a3de548e3
7
+ data.tar.gz: 991d02c97096a303e445f166a49d0110dda689781ef9bd3f3fcb85083b6d79503e6988e6499e1d873e67345a06265ce5695b92ef30b983bc2627d7aaf72fccbb
data/CHANGELOG.md CHANGED
@@ -1,8 +1,8 @@
1
- # Changelog
1
+ # CHANGELOG
2
2
 
3
- This project follows [semver 2.0.0](http://semver.org/spec/v2.0.0.html) and the
4
- recommendations of [keepachangelog.com](http://keepachangelog.com/).
3
+ This project follows [semver 2.0.0](http://semver.org/spec/v2.0.0.html) and
4
+ the recommendations of [keepachangelog.com](http://keepachangelog.com/).
5
5
 
6
- ## 0.9.0
6
+ ## 1.0.0
7
7
 
8
- - [PaperTrail #1070](https://github.com/paper-trail-gem/paper_trail/issues/1070) - Extracted from paper_trail gem in v9.2 was released.
8
+ - [PT #1070](https://github.com/paper-trail-gem/paper_trail/issues/1070), [#2](https://github.com/westonganger/paper_trail-association_tracking/issues/2) - Extracted from paper_trail gem in v9.2
data/README.md CHANGED
@@ -14,11 +14,6 @@ A little history lesson, discussed as early as 2009, and first implemented in la
14
14
  tracking was part of PT core until 2018 as an experimental feature and was use at your own risk. This gem now
15
15
  maintains a list of known issues and we hope the community can help remove some of them via PR's.
16
16
 
17
- ## TODO
18
-
19
- - Continue removing most-non association specs
20
- - Add consolidated list of paper trail plugins to paper_trail core readme
21
-
22
17
  ## Table of Contents
23
18
 
24
19
  <!-- toc -->
@@ -11,11 +11,11 @@ require "paper_trail_association_tracking/version_concern"
11
11
 
12
12
  module PaperTrailAssociationTracking
13
13
  def self.version
14
- VERSION::STRING
14
+ VERSION
15
15
  end
16
16
 
17
17
  def self.gem_version
18
- ::Gem::Version.new(VERSION::STRING)
18
+ ::Gem::Version.new(VERSION)
19
19
  end
20
20
  end
21
21
 
@@ -53,7 +53,6 @@ module PaperTrail
53
53
  end
54
54
  end
55
55
 
56
-
57
56
  # Require frameworks
58
57
  if defined?(::Rails)
59
58
  # Rails module is sometimes defined by gems like rails-html-sanitizer
@@ -14,10 +14,10 @@ module PaperTrailAssociationTracking
14
14
  def association_reify_error_behaviour
15
15
  @association_reify_error_behaviour ||= "error"
16
16
  end
17
-
17
+
18
18
  def track_associations=(val)
19
19
  @track_associations = !!val
20
- end
20
+ end
21
21
 
22
22
  def track_associations?
23
23
  !!@track_associations
@@ -2,7 +2,7 @@
2
2
 
3
3
  require "paper_trail_association_tracking/version_association_concern"
4
4
 
5
- module ::PaperTrail
5
+ module PaperTrail
6
6
  # This is the default ActiveRecord model provided by PaperTrail. Most simple
7
7
  # applications will only use this and its partner, `Version`, but it is
8
8
  # possible to sub-class, extend, or even do without this model entirely.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PaperTrailAssociationTracking
4
- VERSION = "0.0.1"
4
+ VERSION = "1.0.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paper_trail-association_tracking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Weston Ganger
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-06-03 00:00:00.000000000 Z
13
+ date: 2018-06-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: appraisal