external_services 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6938fe87148bdc3e5c98d4daa7b690e4d91ad9716fff2df713538d18b52deee7
4
- data.tar.gz: 51a0ea8c848fff9378699c8c636562e9df8f5dc9bb4d22b2aa3e40b2f463871a
3
+ metadata.gz: c69a4919cb11efce2424a1b9490cfed1f37ad729c2ab493b563cd2d36566b8b2
4
+ data.tar.gz: 66b9964bc09a0ceb0b88313a8383dd2b6fb89ae642b4a445d0d0ce3f964f5754
5
5
  SHA512:
6
- metadata.gz: 2c20e20632ff2eb4e1c66123d0d1497ecab6b8f016a4db63013383c2bcd134c460a4f328e7e5885b1bd638993fc8752e2b5392d5094537e87c0655fe4ebcd969
7
- data.tar.gz: 0d3a5973de76cafe378ded0b37ccbb34a347f6943103ffa394def739bead110a3fa55900c90bb74a488102ccee3a3eff9838d03c89cb2795523f209e7f544109
6
+ metadata.gz: 0d97f6142f73c0a4aa08906400a33c515a6bdc5714aab9faa2bb11f0eeea2277be76318bf60c7ffbfb6424110ee4cf9fb3d9e8cbb413a5016a0d6a6101fe32e7
7
+ data.tar.gz: f06bdce065196cc64e76601ff3146ec54fc82c90efd093a239a66f41ecad8b493bf4499f3dde463a7e58df92775d189fe1045769d8b4934b8aba40761a1388ee
data/Gemfile.lock CHANGED
@@ -1,69 +1,73 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- external_services (0.4.3)
4
+ external_services (0.4.4)
5
5
  faraday (>= 0.9)
6
6
  faraday_middleware (>= 0.10)
7
- rails (>= 4.2.5, < 6.1)
7
+ rails (>= 4.2.5, < 7)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actioncable (6.0.3.4)
13
- actionpack (= 6.0.3.4)
12
+ actioncable (6.1.3.2)
13
+ actionpack (= 6.1.3.2)
14
+ activesupport (= 6.1.3.2)
14
15
  nio4r (~> 2.0)
15
16
  websocket-driver (>= 0.6.1)
16
- actionmailbox (6.0.3.4)
17
- actionpack (= 6.0.3.4)
18
- activejob (= 6.0.3.4)
19
- activerecord (= 6.0.3.4)
20
- activestorage (= 6.0.3.4)
21
- activesupport (= 6.0.3.4)
17
+ actionmailbox (6.1.3.2)
18
+ actionpack (= 6.1.3.2)
19
+ activejob (= 6.1.3.2)
20
+ activerecord (= 6.1.3.2)
21
+ activestorage (= 6.1.3.2)
22
+ activesupport (= 6.1.3.2)
22
23
  mail (>= 2.7.1)
23
- actionmailer (6.0.3.4)
24
- actionpack (= 6.0.3.4)
25
- actionview (= 6.0.3.4)
26
- activejob (= 6.0.3.4)
24
+ actionmailer (6.1.3.2)
25
+ actionpack (= 6.1.3.2)
26
+ actionview (= 6.1.3.2)
27
+ activejob (= 6.1.3.2)
28
+ activesupport (= 6.1.3.2)
27
29
  mail (~> 2.5, >= 2.5.4)
28
30
  rails-dom-testing (~> 2.0)
29
- actionpack (6.0.3.4)
30
- actionview (= 6.0.3.4)
31
- activesupport (= 6.0.3.4)
32
- rack (~> 2.0, >= 2.0.8)
31
+ actionpack (6.1.3.2)
32
+ actionview (= 6.1.3.2)
33
+ activesupport (= 6.1.3.2)
34
+ rack (~> 2.0, >= 2.0.9)
33
35
  rack-test (>= 0.6.3)
34
36
  rails-dom-testing (~> 2.0)
35
37
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
- actiontext (6.0.3.4)
37
- actionpack (= 6.0.3.4)
38
- activerecord (= 6.0.3.4)
39
- activestorage (= 6.0.3.4)
40
- activesupport (= 6.0.3.4)
38
+ actiontext (6.1.3.2)
39
+ actionpack (= 6.1.3.2)
40
+ activerecord (= 6.1.3.2)
41
+ activestorage (= 6.1.3.2)
42
+ activesupport (= 6.1.3.2)
41
43
  nokogiri (>= 1.8.5)
42
- actionview (6.0.3.4)
43
- activesupport (= 6.0.3.4)
44
+ actionview (6.1.3.2)
45
+ activesupport (= 6.1.3.2)
44
46
  builder (~> 3.1)
45
47
  erubi (~> 1.4)
46
48
  rails-dom-testing (~> 2.0)
47
49
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
- activejob (6.0.3.4)
49
- activesupport (= 6.0.3.4)
50
+ activejob (6.1.3.2)
51
+ activesupport (= 6.1.3.2)
50
52
  globalid (>= 0.3.6)
51
- activemodel (6.0.3.4)
52
- activesupport (= 6.0.3.4)
53
- activerecord (6.0.3.4)
54
- activemodel (= 6.0.3.4)
55
- activesupport (= 6.0.3.4)
56
- activestorage (6.0.3.4)
57
- actionpack (= 6.0.3.4)
58
- activejob (= 6.0.3.4)
59
- activerecord (= 6.0.3.4)
60
- marcel (~> 0.3.1)
61
- activesupport (6.0.3.4)
53
+ activemodel (6.1.3.2)
54
+ activesupport (= 6.1.3.2)
55
+ activerecord (6.1.3.2)
56
+ activemodel (= 6.1.3.2)
57
+ activesupport (= 6.1.3.2)
58
+ activestorage (6.1.3.2)
59
+ actionpack (= 6.1.3.2)
60
+ activejob (= 6.1.3.2)
61
+ activerecord (= 6.1.3.2)
62
+ activesupport (= 6.1.3.2)
63
+ marcel (~> 1.0.0)
64
+ mini_mime (~> 1.0.2)
65
+ activesupport (6.1.3.2)
62
66
  concurrent-ruby (~> 1.0, >= 1.0.2)
63
- i18n (>= 0.7, < 2)
64
- minitest (~> 5.1)
65
- tzinfo (~> 1.1)
66
- zeitwerk (~> 2.2, >= 2.2.2)
67
+ i18n (>= 1.6, < 2)
68
+ minitest (>= 5.1)
69
+ tzinfo (~> 2.0)
70
+ zeitwerk (~> 2.3)
67
71
  addressable (2.4.0)
68
72
  ast (2.4.0)
69
73
  backports (3.11.4)
@@ -71,9 +75,9 @@ GEM
71
75
  childprocess (0.9.0)
72
76
  ffi (~> 1.0, >= 1.0.11)
73
77
  coderay (1.1.2)
74
- concurrent-ruby (1.1.7)
78
+ concurrent-ruby (1.1.9)
75
79
  crass (1.0.6)
76
- diff-lcs (1.3)
80
+ diff-lcs (1.4.4)
77
81
  erubi (1.10.0)
78
82
  ethon (0.11.0)
79
83
  ffi (>= 1.3.0)
@@ -97,32 +101,31 @@ GEM
97
101
  globalid (0.4.2)
98
102
  activesupport (>= 4.2.0)
99
103
  highline (1.7.10)
100
- i18n (1.8.5)
104
+ i18n (1.8.10)
101
105
  concurrent-ruby (~> 1.0)
102
106
  iniparse (1.4.4)
103
107
  jaro_winkler (1.5.1)
104
108
  json (2.3.1)
105
109
  launchy (2.4.3)
106
110
  addressable (~> 2.3)
107
- loofah (2.7.0)
111
+ loofah (2.10.0)
108
112
  crass (~> 1.0.2)
109
113
  nokogiri (>= 1.5.9)
110
114
  mail (2.7.1)
111
115
  mini_mime (>= 0.1.1)
112
- marcel (0.3.3)
113
- mimemagic (~> 0.3.2)
116
+ marcel (1.0.1)
114
117
  method_source (0.9.2)
115
- mimemagic (0.3.5)
116
- mini_mime (1.0.2)
117
- mini_portile2 (2.4.0)
118
- minitest (5.14.2)
118
+ mini_mime (1.0.3)
119
+ mini_portile2 (2.5.3)
120
+ minitest (5.14.4)
119
121
  multi_json (1.13.1)
120
122
  multipart-post (2.0.0)
121
123
  net-http-persistent (2.9.4)
122
124
  net-http-pipeline (1.0.1)
123
- nio4r (2.5.4)
124
- nokogiri (1.10.10)
125
- mini_portile2 (~> 2.4.0)
125
+ nio4r (2.5.7)
126
+ nokogiri (1.11.7)
127
+ mini_portile2 (~> 2.5.0)
128
+ racc (~> 1.4)
126
129
  overcommit (0.46.0)
127
130
  childprocess (~> 0.6, >= 0.6.3)
128
131
  iniparse (~> 1.4)
@@ -138,54 +141,55 @@ GEM
138
141
  pusher-client (0.6.2)
139
142
  json
140
143
  websocket (~> 1.0)
144
+ racc (1.5.2)
141
145
  rack (2.2.3)
142
146
  rack-test (1.1.0)
143
147
  rack (>= 1.0, < 3)
144
- rails (6.0.3.4)
145
- actioncable (= 6.0.3.4)
146
- actionmailbox (= 6.0.3.4)
147
- actionmailer (= 6.0.3.4)
148
- actionpack (= 6.0.3.4)
149
- actiontext (= 6.0.3.4)
150
- actionview (= 6.0.3.4)
151
- activejob (= 6.0.3.4)
152
- activemodel (= 6.0.3.4)
153
- activerecord (= 6.0.3.4)
154
- activestorage (= 6.0.3.4)
155
- activesupport (= 6.0.3.4)
156
- bundler (>= 1.3.0)
157
- railties (= 6.0.3.4)
148
+ rails (6.1.3.2)
149
+ actioncable (= 6.1.3.2)
150
+ actionmailbox (= 6.1.3.2)
151
+ actionmailer (= 6.1.3.2)
152
+ actionpack (= 6.1.3.2)
153
+ actiontext (= 6.1.3.2)
154
+ actionview (= 6.1.3.2)
155
+ activejob (= 6.1.3.2)
156
+ activemodel (= 6.1.3.2)
157
+ activerecord (= 6.1.3.2)
158
+ activestorage (= 6.1.3.2)
159
+ activesupport (= 6.1.3.2)
160
+ bundler (>= 1.15.0)
161
+ railties (= 6.1.3.2)
158
162
  sprockets-rails (>= 2.0.0)
159
163
  rails-dom-testing (2.0.3)
160
164
  activesupport (>= 4.2.0)
161
165
  nokogiri (>= 1.6)
162
166
  rails-html-sanitizer (1.3.0)
163
167
  loofah (~> 2.3)
164
- railties (6.0.3.4)
165
- actionpack (= 6.0.3.4)
166
- activesupport (= 6.0.3.4)
168
+ railties (6.1.3.2)
169
+ actionpack (= 6.1.3.2)
170
+ activesupport (= 6.1.3.2)
167
171
  method_source
168
172
  rake (>= 0.8.7)
169
- thor (>= 0.20.3, < 2.0)
173
+ thor (~> 1.0)
170
174
  rainbow (3.0.0)
171
- rake (13.0.1)
172
- rspec-core (3.8.0)
173
- rspec-support (~> 3.8.0)
174
- rspec-expectations (3.8.2)
175
+ rake (13.0.3)
176
+ rspec-core (3.10.1)
177
+ rspec-support (~> 3.10.0)
178
+ rspec-expectations (3.10.1)
175
179
  diff-lcs (>= 1.2.0, < 2.0)
176
- rspec-support (~> 3.8.0)
177
- rspec-mocks (3.8.0)
180
+ rspec-support (~> 3.10.0)
181
+ rspec-mocks (3.10.2)
178
182
  diff-lcs (>= 1.2.0, < 2.0)
179
- rspec-support (~> 3.8.0)
180
- rspec-rails (3.8.0)
181
- actionpack (>= 3.0)
182
- activesupport (>= 3.0)
183
- railties (>= 3.0)
184
- rspec-core (~> 3.8.0)
185
- rspec-expectations (~> 3.8.0)
186
- rspec-mocks (~> 3.8.0)
187
- rspec-support (~> 3.8.0)
188
- rspec-support (3.8.0)
183
+ rspec-support (~> 3.10.0)
184
+ rspec-rails (5.0.1)
185
+ actionpack (>= 5.2)
186
+ activesupport (>= 5.2)
187
+ railties (>= 5.2)
188
+ rspec-core (~> 3.10)
189
+ rspec-expectations (~> 3.10)
190
+ rspec-mocks (~> 3.10)
191
+ rspec-support (~> 3.10)
192
+ rspec-support (3.10.2)
189
193
  rubocop (0.59.2)
190
194
  jaro_winkler (~> 1.5.1)
191
195
  parallel (~> 1.10)
@@ -203,8 +207,7 @@ GEM
203
207
  activesupport (>= 4.0)
204
208
  sprockets (>= 3.0.0)
205
209
  sqlite3 (1.4.2)
206
- thor (1.0.1)
207
- thread_safe (0.3.6)
210
+ thor (1.1.0)
208
211
  travis (1.8.9)
209
212
  backports
210
213
  faraday (~> 0.9)
@@ -216,14 +219,14 @@ GEM
216
219
  typhoeus (~> 0.6, >= 0.6.8)
217
220
  typhoeus (0.8.0)
218
221
  ethon (>= 0.8.0)
219
- tzinfo (1.2.8)
220
- thread_safe (~> 0.1)
222
+ tzinfo (2.0.4)
223
+ concurrent-ruby (~> 1.0)
221
224
  unicode-display_width (1.4.0)
222
225
  websocket (1.2.8)
223
- websocket-driver (0.7.3)
226
+ websocket-driver (0.7.4)
224
227
  websocket-extensions (>= 0.1.0)
225
228
  websocket-extensions (0.1.5)
226
- zeitwerk (2.4.1)
229
+ zeitwerk (2.4.2)
227
230
 
228
231
  PLATFORMS
229
232
  ruby
@@ -16,7 +16,7 @@ module ExternalServices
16
16
  end
17
17
 
18
18
  def set_processed!
19
- update_attributes! processed_at: Time.now
19
+ update! processed_at: Time.now
20
20
  end
21
21
 
22
22
  def execute!
@@ -25,5 +25,5 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.add_dependency 'faraday', '>= 0.9'
27
27
  spec.add_dependency 'faraday_middleware', '>= 0.10'
28
- spec.add_dependency 'rails', ['>= 4.2.5', '< 6.1']
28
+ spec.add_dependency 'rails', ['>= 4.2.5', '< 7']
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module ExternalServices
2
- VERSION = '0.4.3'.freeze
2
+ VERSION = '0.4.4'.freeze
3
3
  end
data/lib/rspec/helpers.rb CHANGED
@@ -76,7 +76,7 @@ module ExternalServices
76
76
 
77
77
  if kwargs[:descendants_identifier_check]
78
78
  it 'create actions for all descendants on identifier change' do
79
- @api_object.update_attributes! identifier: "#{@api_object.identifier}1"
79
+ @api_object.update! identifier: "#{@api_object.identifier}1"
80
80
 
81
81
  @api_object.descendants.each do |c|
82
82
  expect_api_action_on_update(c)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: external_services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Gnuskov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-23 00:00:00.000000000 Z
11
+ date: 2021-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: 4.2.5
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
- version: '6.1'
50
+ version: '7'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: 4.2.5
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
- version: '6.1'
60
+ version: '7'
61
61
  description:
62
62
  email:
63
63
  - sergey.gnuskov@flant.com