paper_trail_scrapbook 0.1.11 → 0.1.12

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: 9c82c81433423eb7321df2beab0cdb1bc265fb19
4
- data.tar.gz: 8f03633092a2139ec37e68d2229de82987823716
3
+ metadata.gz: f9a22ac79c98d2ffdbc539232e1eda94930dc43e
4
+ data.tar.gz: cd0f16e51e6e189e437645d1e4dda517025f784c
5
5
  SHA512:
6
- metadata.gz: d87b1befb576d2da352c26d52b708e4e5c0989639407959ec2bec4acb1c3cd166234f415c1dac50d280c8247299aa9f6d9d23bef29ef953b0a9a7a24b0df3f48
7
- data.tar.gz: 016fb8d04e2bd5e0d9ad684d9ee0751f00111c5740c1e28000c6ad20bb1281368f9c856a3dbe2288e0cdcf6b99bb63f32c5f314e1e4233a3930f2bd6aed5899c
6
+ metadata.gz: 6cede0e3c0535fae0a95d806e0878eeaf2ef3d670f9acf290e8de7fa2ef9fda99a31104dfaeb7af1b5dcc14c66c461ca429312c70e75d0430cfc3a76b2e206fc
7
+ data.tar.gz: 604c5db76e0bba24706610ce05fcb955b5979aaf49bb42b651c0cc10136f81e62e43ff32492afb1bfaddc99124b006fcb2f0297639d2c8fa24c1307ecc28df93
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paper_trail_scrapbook (0.1.10)
5
- activerecord (>= 4.0, < 5.2)
4
+ paper_trail_scrapbook (0.1.12)
5
+ activerecord (>= 4.0, <= 5.2.1)
6
6
  adamantium
7
7
  concord
8
- paper_trail (>= 5.2)
8
+ paper_trail (>= 5.2, <= 9.2.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
@@ -191,7 +191,7 @@ DEPENDENCIES
191
191
  mutant-rspec
192
192
  paper_trail_scrapbook!
193
193
  pg (= 0.18.4)
194
- railties (>= 4.0, < 5.2)
194
+ railties (>= 4.0, <= 5.2.1)
195
195
  rake (~> 10.4.2)
196
196
  rspec-rails (~> 3.6)
197
197
  rspec_junit_formatter
@@ -201,4 +201,4 @@ DEPENDENCIES
201
201
  timecop (~> 0.8.0)
202
202
 
203
203
  BUNDLED WITH
204
- 1.16.2
204
+ 1.16.4
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![CircleCI](https://circleci.com/gh/tjchambers/paper_trail_scrapbook/tree/master.svg?style=svg)](https://circleci.com/gh/tjchambers/paper_trail_scrapbook/tree/master)
4
4
  [![Gem Version](https://badge.fury.io/rb/paper_trail_scrapbook.svg)](https://badge.fury.io/rb/paper_trail_scrapbook)
5
5
 
6
- Human Readable audit reporting for users of [PaperTrail](https://github.com/airblade/paper_trail) gem.
6
+ Human Readable audit reporting for users of [PaperTrail](https://github.com/paper-trail-gem/paper_trail) gem.
7
7
 
8
8
  ## Installation
9
9
 
@@ -15,6 +15,15 @@ Add PaperTrailScrapBook to your `Gemfile`.
15
15
 
16
16
  ### Configuration
17
17
 
18
+ This gem is dependent on [PaperTrail](https://github.com/paper-trail-gem/paper_trail),
19
+ and specifically, on the `object_changes` column in the `PaperTrail::Version`
20
+ table. If your `PaperTrail` installation does not include this column, you can
21
+ add it manually, or re-runthe `PaperTrail` generator:
22
+
23
+ ```
24
+ bundle exec rake generate paper_trail:install --with_changes
25
+ ```
26
+
18
27
  If you are using an ID reference to a class (i.e. _User_) for whodunnit in
19
28
  PaperTrail, then you should configure this into PaperTrailScrapbook so it can
20
29
  locate and provide a human readable value for the whodunnit.
@@ -2,5 +2,5 @@
2
2
 
3
3
  module PaperTrailScrapbook
4
4
  # Current version
5
- VERSION = '0.1.11'
5
+ VERSION = '0.1.12'
6
6
  end
@@ -18,16 +18,15 @@ Gem::Specification.new do |gem|
18
18
  gem.required_ruby_version = '>= 2.3.0'
19
19
 
20
20
  # Rails does not follow semver, makes breaking changes in minor versions.
21
- gem.add_dependency 'activerecord', ['>= 4.0', '< 5.2']
21
+ gem.add_dependency 'activerecord', ['>= 4.0', '<= 5.2.1']
22
22
  gem.add_dependency 'adamantium'
23
23
  gem.add_dependency 'concord'
24
- gem.add_dependency 'paper_trail', '>= 5.2'
25
-
24
+ gem.add_dependency 'paper_trail', ['>= 5.2', '<= 9.2.0']
26
25
  gem.add_development_dependency 'ffaker', '~> 2.5'
27
26
  gem.add_development_dependency 'rake', '~> 10.4.2'
28
27
 
29
28
  # Why `railties`? Possibly used by `spec/dummy_app` boot up?
30
- gem.add_development_dependency 'railties', ['>= 4.0', '< 5.2']
29
+ gem.add_development_dependency 'railties', ['>= 4.0', '<= 5.2.1']
31
30
 
32
31
  gem.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.7'
33
32
  gem.add_development_dependency 'database_cleaner', '~> 1.2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paper_trail_scrapbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timothy Chambers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-09 00:00:00.000000000 Z
11
+ date: 2018-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -17,9 +17,9 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.0'
20
- - - "<"
20
+ - - "<="
21
21
  - !ruby/object:Gem::Version
22
- version: '5.2'
22
+ version: 5.2.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +27,9 @@ dependencies:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '4.0'
30
- - - "<"
30
+ - - "<="
31
31
  - !ruby/object:Gem::Version
32
- version: '5.2'
32
+ version: 5.2.1
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: adamantium
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -65,6 +65,9 @@ dependencies:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '5.2'
68
+ - - "<="
69
+ - !ruby/object:Gem::Version
70
+ version: 9.2.0
68
71
  type: :runtime
69
72
  prerelease: false
70
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,6 +75,9 @@ dependencies:
72
75
  - - ">="
73
76
  - !ruby/object:Gem::Version
74
77
  version: '5.2'
78
+ - - "<="
79
+ - !ruby/object:Gem::Version
80
+ version: 9.2.0
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: ffaker
77
83
  requirement: !ruby/object:Gem::Requirement
@@ -107,9 +113,9 @@ dependencies:
107
113
  - - ">="
108
114
  - !ruby/object:Gem::Version
109
115
  version: '4.0'
110
- - - "<"
116
+ - - "<="
111
117
  - !ruby/object:Gem::Version
112
- version: '5.2'
118
+ version: 5.2.1
113
119
  type: :development
114
120
  prerelease: false
115
121
  version_requirements: !ruby/object:Gem::Requirement
@@ -117,9 +123,9 @@ dependencies:
117
123
  - - ">="
118
124
  - !ruby/object:Gem::Version
119
125
  version: '4.0'
120
- - - "<"
126
+ - - "<="
121
127
  - !ruby/object:Gem::Version
122
- version: '5.2'
128
+ version: 5.2.1
123
129
  - !ruby/object:Gem::Dependency
124
130
  name: codeclimate-test-reporter
125
131
  requirement: !ruby/object:Gem::Requirement