paper_trail_scrapbook 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +6 -0
- data/Gemfile.lock +39 -38
- data/lib/paper_trail_scrapbook/version.rb +1 -1
- data/paper_trail_scrapbook.gemspec +6 -4
- data/spec/dummy_app/config/initializers/paper_trail.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +28 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c453ce85bdc41cc81c5f1d9f16922ae23c3936d
|
4
|
+
data.tar.gz: dc47a13264e5bb62434b4e8cd169c78e607b7842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1848ed2409a099393b9adf26975d2b35575f742fe18b4d9a8af22108739102ab58aa663b9c28f68f38b7f16a9f007d4c1c759071fcb7b49d9126817d47f23d79
|
7
|
+
data.tar.gz: 7d9e1dbbf17832aa1e95b82f97efbf4d70d2596f4652b9d88256a56a2fcdb573b5a000236e333522193262681931ee34b8333f060d9be5c1fa143f7e15f265b9
|
data/.circleci/config.yml
CHANGED
@@ -16,6 +16,12 @@ jobs:
|
|
16
16
|
keys:
|
17
17
|
- paper_trail_scrapbook-{{ checksum "Gemfile.lock" }}
|
18
18
|
- paper_trail_scrapbook-
|
19
|
+
- run:
|
20
|
+
name: Configure Bundler
|
21
|
+
command: |
|
22
|
+
echo 'export BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")' >> $BASH_ENV
|
23
|
+
source $BASH_ENV
|
24
|
+
gem install bundler
|
19
25
|
- run:
|
20
26
|
name: Bundle Install
|
21
27
|
command: bundle check || bundle install
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
paper_trail_scrapbook (0.1.
|
5
|
-
activerecord
|
4
|
+
paper_trail_scrapbook (0.1.13)
|
5
|
+
activerecord
|
6
6
|
adamantium
|
7
7
|
concord
|
8
8
|
paper_trail (>= 5.2, <= 9.2.0)
|
@@ -11,28 +11,28 @@ GEM
|
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
13
|
abstract_type (0.0.7)
|
14
|
-
actionpack (5.1
|
15
|
-
actionview (= 5.1
|
16
|
-
activesupport (= 5.1
|
14
|
+
actionpack (5.2.2.1)
|
15
|
+
actionview (= 5.2.2.1)
|
16
|
+
activesupport (= 5.2.2.1)
|
17
17
|
rack (~> 2.0)
|
18
18
|
rack-test (>= 0.6.3)
|
19
19
|
rails-dom-testing (~> 2.0)
|
20
20
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
21
|
-
actionview (5.1
|
22
|
-
activesupport (= 5.1
|
21
|
+
actionview (5.2.2.1)
|
22
|
+
activesupport (= 5.2.2.1)
|
23
23
|
builder (~> 3.1)
|
24
24
|
erubi (~> 1.4)
|
25
25
|
rails-dom-testing (~> 2.0)
|
26
26
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
27
|
-
activemodel (5.1
|
28
|
-
activesupport (= 5.1
|
29
|
-
activerecord (5.1
|
30
|
-
activemodel (= 5.1
|
31
|
-
activesupport (= 5.1
|
32
|
-
arel (
|
33
|
-
activesupport (5.1
|
27
|
+
activemodel (5.2.2.1)
|
28
|
+
activesupport (= 5.2.2.1)
|
29
|
+
activerecord (5.2.2.1)
|
30
|
+
activemodel (= 5.2.2.1)
|
31
|
+
activesupport (= 5.2.2.1)
|
32
|
+
arel (>= 9.0)
|
33
|
+
activesupport (5.2.2.1)
|
34
34
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
35
|
-
i18n (
|
35
|
+
i18n (>= 0.7, < 2)
|
36
36
|
minitest (~> 5.1)
|
37
37
|
tzinfo (~> 1.1)
|
38
38
|
adamantium (0.2.0)
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
abstract_type (~> 0.0.7)
|
43
43
|
adamantium (~> 0.2)
|
44
44
|
equalizer (~> 0.0.11)
|
45
|
-
arel (
|
45
|
+
arel (9.0.0)
|
46
46
|
ast (2.3.0)
|
47
47
|
builder (3.2.3)
|
48
48
|
codeclimate-test-reporter (1.0.8)
|
@@ -50,26 +50,26 @@ GEM
|
|
50
50
|
concord (0.1.5)
|
51
51
|
adamantium (~> 0.2.0)
|
52
52
|
equalizer (~> 0.0.9)
|
53
|
-
concurrent-ruby (1.
|
53
|
+
concurrent-ruby (1.1.5)
|
54
54
|
crass (1.0.4)
|
55
55
|
database_cleaner (1.6.2)
|
56
56
|
diff-lcs (1.3)
|
57
57
|
docile (1.1.5)
|
58
58
|
equalizer (0.0.11)
|
59
|
-
erubi (1.
|
59
|
+
erubi (1.8.0)
|
60
60
|
ffaker (2.8.1)
|
61
|
-
i18n (
|
61
|
+
i18n (1.6.0)
|
62
62
|
concurrent-ruby (~> 1.0)
|
63
63
|
ice_nine (0.11.2)
|
64
64
|
json (2.1.0)
|
65
|
-
loofah (2.2.
|
65
|
+
loofah (2.2.3)
|
66
66
|
crass (~> 1.0.2)
|
67
67
|
nokogiri (>= 1.5.9)
|
68
68
|
memoizable (0.4.2)
|
69
69
|
thread_safe (~> 0.3, >= 0.3.1)
|
70
|
-
method_source (0.9.
|
71
|
-
mini_portile2 (2.
|
72
|
-
minitest (5.11.
|
70
|
+
method_source (0.9.2)
|
71
|
+
mini_portile2 (2.4.0)
|
72
|
+
minitest (5.11.3)
|
73
73
|
morpher (0.2.6)
|
74
74
|
abstract_type (~> 0.0.7)
|
75
75
|
adamantium (~> 0.2.0)
|
@@ -98,33 +98,33 @@ GEM
|
|
98
98
|
mutant-rspec (0.8.14)
|
99
99
|
mutant (~> 0.8.14)
|
100
100
|
rspec-core (>= 3.4.0, < 3.7.0)
|
101
|
-
nokogiri (1.
|
102
|
-
mini_portile2 (~> 2.
|
101
|
+
nokogiri (1.10.2)
|
102
|
+
mini_portile2 (~> 2.4.0)
|
103
103
|
paper_trail (9.2.0)
|
104
104
|
activerecord (>= 4.2, < 5.3)
|
105
105
|
paper_trail-association_tracking (< 2)
|
106
106
|
request_store (~> 1.1)
|
107
|
-
paper_trail-association_tracking (1.
|
107
|
+
paper_trail-association_tracking (1.1.1)
|
108
108
|
parallel (1.12.1)
|
109
109
|
parser (2.4.0.2)
|
110
110
|
ast (~> 2.3)
|
111
111
|
pg (0.18.4)
|
112
112
|
powerpack (0.1.1)
|
113
113
|
procto (0.0.3)
|
114
|
-
rack (2.0.
|
115
|
-
rack-test (
|
114
|
+
rack (2.0.6)
|
115
|
+
rack-test (1.1.0)
|
116
116
|
rack (>= 1.0, < 3)
|
117
117
|
rails-dom-testing (2.0.3)
|
118
118
|
activesupport (>= 4.2.0)
|
119
119
|
nokogiri (>= 1.6)
|
120
120
|
rails-html-sanitizer (1.0.4)
|
121
121
|
loofah (~> 2.2, >= 2.2.2)
|
122
|
-
railties (5.1
|
123
|
-
actionpack (= 5.1
|
124
|
-
activesupport (= 5.1
|
122
|
+
railties (5.2.2.1)
|
123
|
+
actionpack (= 5.2.2.1)
|
124
|
+
activesupport (= 5.2.2.1)
|
125
125
|
method_source
|
126
126
|
rake (>= 0.8.7)
|
127
|
-
thor (>= 0.
|
127
|
+
thor (>= 0.19.0, < 2.0)
|
128
128
|
rainbow (3.0.0)
|
129
129
|
rake (10.4.2)
|
130
130
|
regexp_parser (0.4.9)
|
@@ -164,10 +164,10 @@ GEM
|
|
164
164
|
json (>= 1.8, < 3)
|
165
165
|
simplecov-html (~> 0.10.0)
|
166
166
|
simplecov-html (0.10.2)
|
167
|
-
thor (0.20.
|
167
|
+
thor (0.20.3)
|
168
168
|
thread_safe (0.3.6)
|
169
169
|
timecop (0.8.1)
|
170
|
-
tzinfo (1.2.
|
170
|
+
tzinfo (1.2.5)
|
171
171
|
thread_safe (~> 0.1)
|
172
172
|
unicode-display_width (1.3.0)
|
173
173
|
unparser (0.2.6)
|
@@ -186,14 +186,15 @@ DEPENDENCIES
|
|
186
186
|
codeclimate-test-reporter (~> 1.0.7)
|
187
187
|
database_cleaner (~> 1.2)
|
188
188
|
ffaker (~> 2.5)
|
189
|
-
loofah (~> 2.2.
|
189
|
+
loofah (~> 2.2.3)
|
190
190
|
mutant
|
191
191
|
mutant-rspec
|
192
192
|
paper_trail_scrapbook!
|
193
193
|
pg (= 0.18.4)
|
194
|
-
|
194
|
+
rack (>= 2.0.6)
|
195
|
+
railties (= 5.2.2.1)
|
195
196
|
rake (~> 10.4.2)
|
196
|
-
rspec-rails
|
197
|
+
rspec-rails
|
197
198
|
rspec_junit_formatter
|
198
199
|
rubocop
|
199
200
|
rubocop-rspec
|
@@ -201,4 +202,4 @@ DEPENDENCIES
|
|
201
202
|
timecop (~> 0.8.0)
|
202
203
|
|
203
204
|
BUNDLED WITH
|
204
|
-
|
205
|
+
2.0.1
|
@@ -18,26 +18,28 @@ 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'
|
21
|
+
gem.add_dependency 'activerecord'
|
22
22
|
gem.add_dependency 'adamantium'
|
23
23
|
gem.add_dependency 'concord'
|
24
24
|
gem.add_dependency 'paper_trail', ['>= 5.2', '<= 9.2.0']
|
25
|
+
|
25
26
|
gem.add_development_dependency 'ffaker', '~> 2.5'
|
26
27
|
gem.add_development_dependency 'rake', '~> 10.4.2'
|
27
28
|
|
28
29
|
# Why `railties`? Possibly used by `spec/dummy_app` boot up?
|
29
|
-
gem.add_development_dependency 'railties',
|
30
|
+
gem.add_development_dependency 'railties', '= 5.2.2.1'
|
30
31
|
|
31
32
|
gem.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.7'
|
32
33
|
gem.add_development_dependency 'database_cleaner', '~> 1.2'
|
33
|
-
gem.add_development_dependency 'loofah', '~> 2.2.
|
34
|
+
gem.add_development_dependency 'loofah', '~> 2.2.3'
|
34
35
|
gem.add_development_dependency 'mutant'
|
35
36
|
gem.add_development_dependency 'mutant-rspec'
|
36
37
|
gem.add_development_dependency 'pg', '= 0.18.4'
|
37
|
-
gem.add_development_dependency 'rspec-rails'
|
38
|
+
gem.add_development_dependency 'rspec-rails'
|
38
39
|
gem.add_development_dependency 'rspec_junit_formatter'
|
39
40
|
gem.add_development_dependency 'rubocop'
|
40
41
|
gem.add_development_dependency 'rubocop-rspec'
|
41
42
|
gem.add_development_dependency 'simplecov'
|
42
43
|
gem.add_development_dependency 'timecop', '~> 0.8.0'
|
44
|
+
gem.add_development_dependency 'rack', '>= 2.0.6'
|
43
45
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -62,7 +62,7 @@ require 'ffaker'
|
|
62
62
|
require 'timecop'
|
63
63
|
|
64
64
|
# Run any available migration
|
65
|
-
ActiveRecord::
|
65
|
+
::ActiveRecord::MigrationContext.new(File.expand_path('dummy_app/db/migrate/', __dir__)).migrate
|
66
66
|
|
67
67
|
require 'database_cleaner'
|
68
68
|
DatabaseCleaner.strategy = :truncation
|
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.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timothy Chambers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
- - "<="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 5.2.1
|
19
|
+
version: '0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
30
|
-
- - "<="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 5.2.1
|
26
|
+
version: '0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: adamantium
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,22 +104,16 @@ dependencies:
|
|
110
104
|
name: railties
|
111
105
|
requirement: !ruby/object:Gem::Requirement
|
112
106
|
requirements:
|
113
|
-
- -
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: '4.0'
|
116
|
-
- - "<="
|
107
|
+
- - '='
|
117
108
|
- !ruby/object:Gem::Version
|
118
|
-
version: 5.2.1
|
109
|
+
version: 5.2.2.1
|
119
110
|
type: :development
|
120
111
|
prerelease: false
|
121
112
|
version_requirements: !ruby/object:Gem::Requirement
|
122
113
|
requirements:
|
123
|
-
- -
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '4.0'
|
126
|
-
- - "<="
|
114
|
+
- - '='
|
127
115
|
- !ruby/object:Gem::Version
|
128
|
-
version: 5.2.1
|
116
|
+
version: 5.2.2.1
|
129
117
|
- !ruby/object:Gem::Dependency
|
130
118
|
name: codeclimate-test-reporter
|
131
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,14 +148,14 @@ dependencies:
|
|
160
148
|
requirements:
|
161
149
|
- - "~>"
|
162
150
|
- !ruby/object:Gem::Version
|
163
|
-
version: 2.2.
|
151
|
+
version: 2.2.3
|
164
152
|
type: :development
|
165
153
|
prerelease: false
|
166
154
|
version_requirements: !ruby/object:Gem::Requirement
|
167
155
|
requirements:
|
168
156
|
- - "~>"
|
169
157
|
- !ruby/object:Gem::Version
|
170
|
-
version: 2.2.
|
158
|
+
version: 2.2.3
|
171
159
|
- !ruby/object:Gem::Dependency
|
172
160
|
name: mutant
|
173
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,16 +202,16 @@ dependencies:
|
|
214
202
|
name: rspec-rails
|
215
203
|
requirement: !ruby/object:Gem::Requirement
|
216
204
|
requirements:
|
217
|
-
- - "
|
205
|
+
- - ">="
|
218
206
|
- !ruby/object:Gem::Version
|
219
|
-
version: '
|
207
|
+
version: '0'
|
220
208
|
type: :development
|
221
209
|
prerelease: false
|
222
210
|
version_requirements: !ruby/object:Gem::Requirement
|
223
211
|
requirements:
|
224
|
-
- - "
|
212
|
+
- - ">="
|
225
213
|
- !ruby/object:Gem::Version
|
226
|
-
version: '
|
214
|
+
version: '0'
|
227
215
|
- !ruby/object:Gem::Dependency
|
228
216
|
name: rspec_junit_formatter
|
229
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -294,6 +282,20 @@ dependencies:
|
|
294
282
|
- - "~>"
|
295
283
|
- !ruby/object:Gem::Version
|
296
284
|
version: 0.8.0
|
285
|
+
- !ruby/object:Gem::Dependency
|
286
|
+
name: rack
|
287
|
+
requirement: !ruby/object:Gem::Requirement
|
288
|
+
requirements:
|
289
|
+
- - ">="
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: 2.0.6
|
292
|
+
type: :development
|
293
|
+
prerelease: false
|
294
|
+
version_requirements: !ruby/object:Gem::Requirement
|
295
|
+
requirements:
|
296
|
+
- - ">="
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
version: 2.0.6
|
297
299
|
description: Human Readable Change Log for Paper Trail'd data
|
298
300
|
email: tim@possibilogy.com
|
299
301
|
executables: []
|