releaf 2.1.0 → 2.2.0

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: 524b36d1ab409a1f8d9d6cde80157a304b4b3659d476145814b6446e7ede16be
4
- data.tar.gz: cfede7d55a3f73cb458cef7bee1200a0863390734283bec3c061daa53f3328a9
3
+ metadata.gz: db533cfbdd816b41c1b6f7c08c4e8f878d5b84ba5951c60a6adc982b37b65091
4
+ data.tar.gz: 0753aed19ee9089b0b182987bde0214ba968bf979cc16306e9857dc030072795
5
5
  SHA512:
6
- metadata.gz: edb91891f480ec14ea56ebd775342172eb12bcdc3f02dfd60a03c8bb2a7f8abdf2284945c0e1b21310331bf100c7ac3934bdffbbb11454111d8bac871a8ea5bc
7
- data.tar.gz: 8d4e2075f2cca10709fe926681daabc1b90d84cd9738bb650e4af0d025208b280b6757dadf19e9204d9b8a019b46d0ffc26b59c43a04d49b0596b9d1d9cf3311
6
+ metadata.gz: 1894ca29d1612ca7d9225ea4f972b52af5f53dd4b79d6cb338e8fb8d4355cba144837332f25d363229e7e8d32785ecb5502bbe04eb9f509547a4a330a18f9b7f
7
+ data.tar.gz: '0089d2248764b0fffd0286b9000d8563c712cab6f8964502711ddc91d0571531c695705b5895c5231b1bd6bb019d5d1913082d114200a723f92eaa4914ad2837'
@@ -12,12 +12,12 @@ module Capybara
12
12
  has_selector?(type, count: cells_count) && has_text?(cells.join(""))
13
13
  end
14
14
 
15
- def has_header?(*args)
16
- has_css?("#{primary_header_css_rule} h1", *args)
15
+ def has_header?(**args)
16
+ has_css?("#{primary_header_css_rule} h1", **args)
17
17
  end
18
18
 
19
- def has_no_header?(*args)
20
- has_no_css?("#{primary_header_css_rule} h1", *args)
19
+ def has_no_header?(**args)
20
+ has_no_css?("#{primary_header_css_rule} h1", **args)
21
21
  end
22
22
 
23
23
  # Allows to match againg validation errors within forms
@@ -145,23 +145,6 @@ module Releaf::Test
145
145
  wait_for_all_richtexts
146
146
  end
147
147
 
148
-
149
- # As there is no visual UI for settings update being successful
150
- # do check against database
151
- def wait_for_settings_update(key, value = true)
152
- safety = 5
153
- loop do
154
- if @user.settings.try(:[], key) == value
155
- return
156
- elsif safety > 0
157
- safety -= 1
158
- sleep 0.5
159
- else
160
- fail "'#{key}' setting didn't change to '#{value}' (#{value.class.name})"
161
- end
162
- end
163
- end
164
-
165
148
  def open_toolbox_dialog(item_name, resource = nil, resource_selector_scope = ".view-index .table tr")
166
149
  open_toolbox(item_name, resource, resource_selector_scope)
167
150
  expect(page).to have_css('.dialog.initialized')
@@ -1,3 +1,3 @@
1
1
  module Releaf
2
- VERSION = "2.1.0"
2
+ VERSION = "2.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: releaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - CubeSystems
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-24 00:00:00.000000000 Z
11
+ date: 2022-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: releaf-core
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.0
19
+ version: 2.2.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
- version: 2.1.0
26
+ version: 2.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: releaf-i18n_database
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.1.0
33
+ version: 2.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.1.0
40
+ version: 2.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: releaf-permissions
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.1.0
47
+ version: 2.2.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.1.0
54
+ version: 2.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: releaf-content
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 2.1.0
61
+ version: 2.2.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 2.1.0
68
+ version: 2.2.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-rails
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -100,42 +100,42 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 3.2.1
103
+ version: '3.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
- version: 3.2.1
110
+ version: '3.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: capybara
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '3.32'
117
+ version: '3.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '3.32'
124
+ version: '3.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: selenium-webdriver
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '3.142'
131
+ version: '3.0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '3.142'
138
+ version: '3.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: factory_bot
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 0.16.1
173
+ version: '0.16'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 0.16.1
180
+ version: '0.16'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: simplecov-rcov
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -198,28 +198,28 @@ dependencies:
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '1.8'
201
+ version: '1.0'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '1.8'
208
+ version: '1.0'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: shoulda-matchers
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '4.3'
215
+ version: '4.0'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '4.3'
222
+ version: '4.0'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: db-query-matchers
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -268,14 +268,14 @@ dependencies:
268
268
  requirements:
269
269
  - - "~>"
270
270
  - !ruby/object:Gem::Version
271
- version: '2.1'
271
+ version: '2.0'
272
272
  type: :development
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - "~>"
277
277
  - !ruby/object:Gem::Version
278
- version: '2.1'
278
+ version: '2.0'
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: pry
281
281
  requirement: !ruby/object:Gem::Requirement
@@ -308,16 +308,16 @@ dependencies:
308
308
  name: puma
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
- - - "~>"
311
+ - - ">="
312
312
  - !ruby/object:Gem::Version
313
- version: '4.3'
313
+ version: '0'
314
314
  type: :development
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
- - - "~>"
318
+ - - ">="
319
319
  - !ruby/object:Gem::Version
320
- version: '4.3'
320
+ version: '0'
321
321
  description: Administration interface for Ruby on Rails
322
322
  email: info@cubesystems.lv
323
323
  executables: []
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
355
355
  - !ruby/object:Gem::Version
356
356
  version: '0'
357
357
  requirements: []
358
- rubygems_version: 3.1.4
358
+ rubygems_version: 3.3.7
359
359
  signing_key:
360
360
  specification_version: 4
361
361
  summary: Administration interface for Ruby on Rails