stance 0.5.1 → 0.5.2

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: 6b55abfe34c74dfe170cc5adda3b174c120bc7b953f174c815350145954697de
4
- data.tar.gz: 0b407ba5c2fc0f5784ef3489f676f0894d8116211a097096cba8a4c41030c785
3
+ metadata.gz: '0094c269ae824b6cf2ecf9c2684dc3ef421b0517eb200771811e50e22d2cb329'
4
+ data.tar.gz: b49537957c9cc39e52e779d0205ad05057355a513327a852cdd9de68fc3b472e
5
5
  SHA512:
6
- metadata.gz: ff33b9da2fd7cf166f7ecb316c1afe04cc61ffefd140a1c4b8164443258673e2f6c440757e90706700cfd7b2b07a830ac34a8c9f039394308f214e5a246922c3
7
- data.tar.gz: 587bdd935ea27aaff3df1201691c21d7340e1fea876c7857c94d17f94af86013816986cd4efbfcefcfc87ac3355fd510c2ea3c1c2e74d02765eeac447cfde9c2
6
+ metadata.gz: c4031fcd0b7366810a4787570d8e351957bbdf7f720a3df10a8c9d7d477e78911fbec1e5e9375ee8bd61e612bdf60dc98a955f661a0621cef4c9c05f4282d219
7
+ data.tar.gz: 22fb2da87d3c7b90a022ba34f33104fbf4cf47931e4f14268f0e50b50181e07344a370ed5a7798b312792858f0f40bc287fffb2996c8fa8bff721d4651a25c0c
data/.rubocop.yml CHANGED
@@ -5,4 +5,6 @@ Style/Documentation:
5
5
  Layout/LineLength:
6
6
  Max: 100
7
7
  Metrics/MethodLength:
8
- Max: 12
8
+ Max: 15
9
+ Style/ClassVars:
10
+ Enabled: false
data/Gemfile CHANGED
@@ -13,4 +13,6 @@ gem 'minitest-focus'
13
13
  gem 'mocha'
14
14
  gem 'rake', '~> 13.0'
15
15
  gem 'rubocop'
16
+ gem 'rubocop-minitest'
17
+ gem 'rubocop-rake'
16
18
  gem 'sqlite3'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stance (0.5.0)
4
+ stance (0.5.1)
5
5
  activerecord (>= 5)
6
6
  multi_json
7
7
  railties (>= 5)
@@ -9,25 +9,25 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (6.1.3.1)
13
- actionview (= 6.1.3.1)
14
- activesupport (= 6.1.3.1)
12
+ actionpack (6.1.4)
13
+ actionview (= 6.1.4)
14
+ activesupport (= 6.1.4)
15
15
  rack (~> 2.0, >= 2.0.9)
16
16
  rack-test (>= 0.6.3)
17
17
  rails-dom-testing (~> 2.0)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
19
- actionview (6.1.3.1)
20
- activesupport (= 6.1.3.1)
19
+ actionview (6.1.4)
20
+ activesupport (= 6.1.4)
21
21
  builder (~> 3.1)
22
22
  erubi (~> 1.4)
23
23
  rails-dom-testing (~> 2.0)
24
24
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
25
- activemodel (6.1.3.1)
26
- activesupport (= 6.1.3.1)
27
- activerecord (6.1.3.1)
28
- activemodel (= 6.1.3.1)
29
- activesupport (= 6.1.3.1)
30
- activesupport (6.1.3.1)
25
+ activemodel (6.1.4)
26
+ activesupport (= 6.1.4)
27
+ activerecord (6.1.4)
28
+ activemodel (= 6.1.4)
29
+ activesupport (= 6.1.4)
30
+ activesupport (6.1.4)
31
31
  concurrent-ruby (~> 1.0, >= 1.0.2)
32
32
  i18n (>= 1.6, < 2)
33
33
  minitest (>= 5.1)
@@ -40,31 +40,31 @@ GEM
40
40
  activesupport (>= 3.0.0)
41
41
  railties (>= 3.0.0)
42
42
  thor (>= 0.14.6)
43
- concurrent-ruby (1.1.8)
43
+ concurrent-ruby (1.1.9)
44
44
  crass (1.0.6)
45
45
  erubi (1.10.0)
46
46
  i18n (1.8.10)
47
47
  concurrent-ruby (~> 1.0)
48
- loofah (2.9.1)
48
+ loofah (2.10.0)
49
49
  crass (~> 1.0.2)
50
50
  nokogiri (>= 1.5.9)
51
51
  method_source (1.0.0)
52
- mini_portile2 (2.5.0)
52
+ mini_portile2 (2.5.3)
53
53
  minitest (5.14.4)
54
54
  minitest-autotest (1.1.1)
55
55
  minitest-server (~> 1.0)
56
56
  path_expander (~> 1.0)
57
- minitest-focus (1.2.1)
57
+ minitest-focus (1.3.1)
58
58
  minitest (>= 4, < 6)
59
59
  minitest-server (1.0.6)
60
60
  minitest (~> 5.0)
61
- mocha (1.12.0)
61
+ mocha (1.13.0)
62
62
  multi_json (1.15.0)
63
- nokogiri (1.11.3)
63
+ nokogiri (1.11.7)
64
64
  mini_portile2 (~> 2.5.0)
65
65
  racc (~> 1.4)
66
66
  parallel (1.20.1)
67
- parser (3.0.1.0)
67
+ parser (3.0.2.0)
68
68
  ast (~> 2.4.1)
69
69
  path_expander (1.1.0)
70
70
  racc (1.5.2)
@@ -76,27 +76,31 @@ GEM
76
76
  nokogiri (>= 1.6)
77
77
  rails-html-sanitizer (1.3.0)
78
78
  loofah (~> 2.3)
79
- railties (6.1.3.1)
80
- actionpack (= 6.1.3.1)
81
- activesupport (= 6.1.3.1)
79
+ railties (6.1.4)
80
+ actionpack (= 6.1.4)
81
+ activesupport (= 6.1.4)
82
82
  method_source
83
- rake (>= 0.8.7)
83
+ rake (>= 0.13)
84
84
  thor (~> 1.0)
85
85
  rainbow (3.0.0)
86
- rake (13.0.3)
86
+ rake (13.0.6)
87
87
  regexp_parser (2.1.1)
88
88
  rexml (3.2.5)
89
- rubocop (1.12.1)
89
+ rubocop (1.18.3)
90
90
  parallel (~> 1.10)
91
91
  parser (>= 3.0.0.0)
92
92
  rainbow (>= 2.2.2, < 4.0)
93
93
  regexp_parser (>= 1.8, < 3.0)
94
94
  rexml
95
- rubocop-ast (>= 1.2.0, < 2.0)
95
+ rubocop-ast (>= 1.7.0, < 2.0)
96
96
  ruby-progressbar (~> 1.7)
97
97
  unicode-display_width (>= 1.4.0, < 3.0)
98
- rubocop-ast (1.4.1)
99
- parser (>= 2.7.1.5)
98
+ rubocop-ast (1.8.0)
99
+ parser (>= 3.0.1.1)
100
+ rubocop-minitest (0.14.0)
101
+ rubocop (>= 0.90, < 2.0)
102
+ rubocop-rake (0.6.0)
103
+ rubocop (~> 1.0)
100
104
  ruby-progressbar (1.11.0)
101
105
  sqlite3 (1.4.2)
102
106
  thor (1.1.0)
@@ -117,8 +121,10 @@ DEPENDENCIES
117
121
  mocha
118
122
  rake (~> 13.0)
119
123
  rubocop
124
+ rubocop-minitest
125
+ rubocop-rake
120
126
  sqlite3
121
127
  stance!
122
128
 
123
129
  BUNDLED WITH
124
- 2.2.9
130
+ 2.2.18
@@ -4,7 +4,7 @@ module Stance
4
4
  module ActiveRecordCallbacks
5
5
  extend ActiveSupport::Concern
6
6
 
7
- CALLBACKS = %i[before_validation after_validation before_save before_create
7
+ CALLBACKS = %i[after_initialize before_validation after_validation before_save before_create
8
8
  after_create before_update after_update before_destroy after_destroy after_save
9
9
  after_touch after_commit after_save_commit after_create_commit
10
10
  after_update_commit after_destroy_commit after_rollback].freeze
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stance
4
- VERSION = '0.5.1'
4
+ VERSION = '0.5.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Moss
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-14 00:00:00.000000000 Z
11
+ date: 2021-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.2.3
107
+ rubygems_version: 3.2.15
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Event System for Rails