log_book 0.6.3 → 0.7.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
  SHA256:
3
- metadata.gz: eeea49aa6e73b24e651d354848d74e5cab562bc9fd4cfa41179824249ee3bdba
4
- data.tar.gz: e2ba899bdb4ec534d3f97ce6164c2c7e62ff0b9667f1396917f09803e8f74fa3
3
+ metadata.gz: 3df7903b6702205b16c36791b7f8ebcfc1612f3dcb0042bfbc77bbde66050ff0
4
+ data.tar.gz: fdbdd4bdb6424a69ba602a0233e7611a2c3a53aeea65368ee0974f3b6e66275a
5
5
  SHA512:
6
- metadata.gz: 6313ed2fa0546d058d45930675dd0c77b11602a5beb5365d024c90adfd96eda90ee80887ec3ea1d1eb975cb1eb2948e544d8b869f28ab576779b2a5a9fe7bb9e
7
- data.tar.gz: f3d02963f53897fcd2347054f4ea29ccd48a9319839921ccbb5c51b190db72ee1155fb7cf78eee471a93621f3a1dc805ea08d8fc19e3699d0a8796981fb33961
6
+ metadata.gz: 88f94471b1bb9b83c11abd1b6ba3cc7c5f0c6b440a7d49014a033ada08b87945be21c15a3f41bfef9e2fc8ea145dc9941aa21ed2cdcf311167dee4dcca2a96eb
7
+ data.tar.gz: 6931310a5f20887d3936b14d8a59836dda15366e5a046c7be0ac9ebda5802c2650ef944bd1e217e1a303b51af294c39fc5feaf654d7f497614fdf1cf374e07e7
data/Gemfile.lock CHANGED
@@ -1,85 +1,93 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- log_book (0.5.2)
4
+ log_book (0.6.3)
5
5
  acts-as-taggable-on (>= 8.0)
6
- rails (~> 6.0)
6
+ rails (>= 6.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (6.1.4.1)
12
- actionpack (= 6.1.4.1)
13
- activesupport (= 6.1.4.1)
11
+ actioncable (7.0.2.2)
12
+ actionpack (= 7.0.2.2)
13
+ activesupport (= 7.0.2.2)
14
14
  nio4r (~> 2.0)
15
15
  websocket-driver (>= 0.6.1)
16
- actionmailbox (6.1.4.1)
17
- actionpack (= 6.1.4.1)
18
- activejob (= 6.1.4.1)
19
- activerecord (= 6.1.4.1)
20
- activestorage (= 6.1.4.1)
21
- activesupport (= 6.1.4.1)
16
+ actionmailbox (7.0.2.2)
17
+ actionpack (= 7.0.2.2)
18
+ activejob (= 7.0.2.2)
19
+ activerecord (= 7.0.2.2)
20
+ activestorage (= 7.0.2.2)
21
+ activesupport (= 7.0.2.2)
22
22
  mail (>= 2.7.1)
23
- actionmailer (6.1.4.1)
24
- actionpack (= 6.1.4.1)
25
- actionview (= 6.1.4.1)
26
- activejob (= 6.1.4.1)
27
- activesupport (= 6.1.4.1)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.2.2)
27
+ actionpack (= 7.0.2.2)
28
+ actionview (= 7.0.2.2)
29
+ activejob (= 7.0.2.2)
30
+ activesupport (= 7.0.2.2)
28
31
  mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
29
35
  rails-dom-testing (~> 2.0)
30
- actionpack (6.1.4.1)
31
- actionview (= 6.1.4.1)
32
- activesupport (= 6.1.4.1)
33
- rack (~> 2.0, >= 2.0.9)
36
+ actionpack (7.0.2.2)
37
+ actionview (= 7.0.2.2)
38
+ activesupport (= 7.0.2.2)
39
+ rack (~> 2.0, >= 2.2.0)
34
40
  rack-test (>= 0.6.3)
35
41
  rails-dom-testing (~> 2.0)
36
42
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
- actiontext (6.1.4.1)
38
- actionpack (= 6.1.4.1)
39
- activerecord (= 6.1.4.1)
40
- activestorage (= 6.1.4.1)
41
- activesupport (= 6.1.4.1)
43
+ actiontext (7.0.2.2)
44
+ actionpack (= 7.0.2.2)
45
+ activerecord (= 7.0.2.2)
46
+ activestorage (= 7.0.2.2)
47
+ activesupport (= 7.0.2.2)
48
+ globalid (>= 0.6.0)
42
49
  nokogiri (>= 1.8.5)
43
- actionview (6.1.4.1)
44
- activesupport (= 6.1.4.1)
50
+ actionview (7.0.2.2)
51
+ activesupport (= 7.0.2.2)
45
52
  builder (~> 3.1)
46
53
  erubi (~> 1.4)
47
54
  rails-dom-testing (~> 2.0)
48
55
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (6.1.4.1)
50
- activesupport (= 6.1.4.1)
56
+ activejob (7.0.2.2)
57
+ activesupport (= 7.0.2.2)
51
58
  globalid (>= 0.3.6)
52
- activemodel (6.1.4.1)
53
- activesupport (= 6.1.4.1)
54
- activerecord (6.1.4.1)
55
- activemodel (= 6.1.4.1)
56
- activesupport (= 6.1.4.1)
57
- activestorage (6.1.4.1)
58
- actionpack (= 6.1.4.1)
59
- activejob (= 6.1.4.1)
60
- activerecord (= 6.1.4.1)
61
- activesupport (= 6.1.4.1)
62
- marcel (~> 1.0.0)
59
+ activemodel (7.0.2.2)
60
+ activesupport (= 7.0.2.2)
61
+ activerecord (7.0.2.2)
62
+ activemodel (= 7.0.2.2)
63
+ activesupport (= 7.0.2.2)
64
+ activestorage (7.0.2.2)
65
+ actionpack (= 7.0.2.2)
66
+ activejob (= 7.0.2.2)
67
+ activerecord (= 7.0.2.2)
68
+ activesupport (= 7.0.2.2)
69
+ marcel (~> 1.0)
63
70
  mini_mime (>= 1.1.0)
64
- activesupport (6.1.4.1)
71
+ activesupport (7.0.2.2)
65
72
  concurrent-ruby (~> 1.0, >= 1.0.2)
66
73
  i18n (>= 1.6, < 2)
67
74
  minitest (>= 5.1)
68
75
  tzinfo (~> 2.0)
69
- zeitwerk (~> 2.3)
70
- acts-as-taggable-on (8.1.0)
71
- activerecord (>= 5.0, < 6.2)
76
+ acts-as-taggable-on (9.0.1)
77
+ activerecord (>= 6.0, < 7.1)
72
78
  assert_difference (1.0.0)
73
79
  activesupport (>= 3.0.0)
74
80
  builder (3.2.4)
75
81
  concurrent-ruby (1.1.9)
76
82
  crass (1.0.6)
83
+ digest (3.1.0)
77
84
  erubi (1.10.0)
78
- globalid (0.6.0)
85
+ globalid (1.0.0)
79
86
  activesupport (>= 5.0)
80
- i18n (1.8.11)
87
+ i18n (1.10.0)
81
88
  concurrent-ruby (~> 1.0)
82
- loofah (2.12.0)
89
+ io-wait (0.2.1)
90
+ loofah (2.14.0)
83
91
  crass (~> 1.0.2)
84
92
  nokogiri (>= 1.5.9)
85
93
  mail (2.7.1)
@@ -87,69 +95,79 @@ GEM
87
95
  marcel (1.0.2)
88
96
  method_source (1.0.0)
89
97
  mini_mime (1.1.2)
90
- minitest (5.14.4)
98
+ minitest (5.15.0)
91
99
  mocha (1.13.0)
100
+ net-imap (0.2.3)
101
+ digest
102
+ net-protocol
103
+ strscan
104
+ net-pop (0.1.1)
105
+ digest
106
+ net-protocol
107
+ timeout
108
+ net-protocol (0.1.2)
109
+ io-wait
110
+ timeout
111
+ net-smtp (0.3.1)
112
+ digest
113
+ net-protocol
114
+ timeout
92
115
  nio4r (2.5.8)
93
- nokogiri (1.12.5-x86_64-darwin)
116
+ nokogiri (1.13.3-x86_64-darwin)
94
117
  racc (~> 1.4)
95
118
  racc (1.6.0)
96
119
  rack (2.2.3)
97
120
  rack-test (1.1.0)
98
121
  rack (>= 1.0, < 3)
99
- rails (6.1.4.1)
100
- actioncable (= 6.1.4.1)
101
- actionmailbox (= 6.1.4.1)
102
- actionmailer (= 6.1.4.1)
103
- actionpack (= 6.1.4.1)
104
- actiontext (= 6.1.4.1)
105
- actionview (= 6.1.4.1)
106
- activejob (= 6.1.4.1)
107
- activemodel (= 6.1.4.1)
108
- activerecord (= 6.1.4.1)
109
- activestorage (= 6.1.4.1)
110
- activesupport (= 6.1.4.1)
122
+ rails (7.0.2.2)
123
+ actioncable (= 7.0.2.2)
124
+ actionmailbox (= 7.0.2.2)
125
+ actionmailer (= 7.0.2.2)
126
+ actionpack (= 7.0.2.2)
127
+ actiontext (= 7.0.2.2)
128
+ actionview (= 7.0.2.2)
129
+ activejob (= 7.0.2.2)
130
+ activemodel (= 7.0.2.2)
131
+ activerecord (= 7.0.2.2)
132
+ activestorage (= 7.0.2.2)
133
+ activesupport (= 7.0.2.2)
111
134
  bundler (>= 1.15.0)
112
- railties (= 6.1.4.1)
113
- sprockets-rails (>= 2.0.0)
135
+ railties (= 7.0.2.2)
114
136
  rails-dom-testing (2.0.3)
115
137
  activesupport (>= 4.2.0)
116
138
  nokogiri (>= 1.6)
117
139
  rails-html-sanitizer (1.4.2)
118
140
  loofah (~> 2.3)
119
- railties (6.1.4.1)
120
- actionpack (= 6.1.4.1)
121
- activesupport (= 6.1.4.1)
141
+ railties (7.0.2.2)
142
+ actionpack (= 7.0.2.2)
143
+ activesupport (= 7.0.2.2)
122
144
  method_source
123
- rake (>= 0.13)
145
+ rake (>= 12.2)
124
146
  thor (~> 1.0)
147
+ zeitwerk (~> 2.5)
125
148
  rake (13.0.6)
126
- sprockets (4.0.2)
127
- concurrent-ruby (~> 1.0)
128
- rack (> 1, < 3)
129
- sprockets-rails (3.4.1)
130
- actionpack (>= 5.2)
131
- activesupport (>= 5.2)
132
- sprockets (>= 3.0.0)
133
149
  sqlite3 (1.4.2)
134
- thor (1.1.0)
150
+ strscan (3.0.1)
151
+ thor (1.2.1)
152
+ timeout (0.2.0)
135
153
  tzinfo (2.0.4)
136
154
  concurrent-ruby (~> 1.0)
137
155
  websocket-driver (0.7.5)
138
156
  websocket-extensions (>= 0.1.0)
139
157
  websocket-extensions (0.1.5)
140
- zeitwerk (2.5.1)
158
+ zeitwerk (2.5.4)
141
159
 
142
160
  PLATFORMS
143
161
  x86_64-darwin-19
144
162
 
145
163
  DEPENDENCIES
146
- assert_difference (~> 1.0)
164
+ assert_difference (>= 1.0)
147
165
  bundler (>= 2.0)
148
166
  log_book!
149
167
  minitest (>= 5.1)
150
- mocha (~> 1.13)
168
+ mocha (>= 1.13)
151
169
  rake (>= 0.13)
152
- sqlite3 (~> 1.0)
170
+ sqlite3 (>= 1.0)
153
171
 
154
172
  BUNDLED WITH
155
173
  2.2.32
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # LogBook
2
2
 
3
- Storing an events log book.
3
+ Ruby on Rails, Automatically keeping record of all Model Changes
4
4
 
5
5
  ## Installation
6
6
 
@@ -83,6 +83,10 @@ Check this example project to see how LogBook is integrated:
83
83
 
84
84
  - [Skeleton](https://github.com/fguillen/Skeleton)
85
85
 
86
+ Or this commit in a more modern Rails project:
87
+
88
+ - [RailsSkeleton](https://github.com/fguillen/RailsSkeleton/commit/4c16c6402254bf4c44b7589b404fc22c746bae15)
89
+
86
90
  ## TODO
87
91
 
88
92
  Use block configuration instead of `model.log_book_historian` do something like:
@@ -1,3 +1,3 @@
1
1
  module LogBook
2
- VERSION = "0.6.3"
2
+ VERSION = "0.7.1"
3
3
  end
data/log_book.gemspec CHANGED
@@ -18,13 +18,13 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "rails", "~> 6.0"
21
+ spec.add_runtime_dependency "rails", ">= 6.0"
22
22
  spec.add_runtime_dependency "acts-as-taggable-on", ">= 8.0"
23
23
 
24
24
  spec.add_development_dependency "bundler", ">= 2.0"
25
25
  spec.add_development_dependency "rake", ">= 0.13"
26
- spec.add_development_dependency "mocha", "~> 1.13"
27
- spec.add_development_dependency "sqlite3", "~> 1.0"
28
- spec.add_development_dependency "assert_difference", "~> 1.0"
26
+ spec.add_development_dependency "mocha", ">= 1.13"
27
+ spec.add_development_dependency "sqlite3", ">= 1.0"
28
+ spec.add_development_dependency "assert_difference", ">= 1.0"
29
29
  spec.add_development_dependency "minitest", ">= 5.1"
30
30
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log_book
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Guillen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-25 00:00:00.000000000 Z
11
+ date: 2022-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '6.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '6.0'
27
27
  - !ruby/object:Gem::Dependency
@@ -70,42 +70,42 @@ dependencies:
70
70
  name: mocha
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.13'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.13'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: sqlite3
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: assert_difference
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '1.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '1.0'
111
111
  - !ruby/object:Gem::Dependency