zadok 0.8.4 → 0.8.5

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: 7bce1e34ab93aac2de59f256494bb31dee5e656a8ee594a95c04b33a0eaa84e9
4
- data.tar.gz: 6657257a27d8d5def63d2029ddde23bf067b6ae0ccb5e5446089b247cb3d2e97
3
+ metadata.gz: 7772525345f20c723a946c3e6be672bc39c87254832396dc15ea7ce3457213d9
4
+ data.tar.gz: dd1fa3bfa0e1a7bff8e8ff09cc094c920da0a1d2e70aa61b99dc092e9917b078
5
5
  SHA512:
6
- metadata.gz: 432f2735249f389b73208616a8a2f0d7687ac669c5d67efd71e2795bd19153f8719e1d2eb8d025c70705f83a70bcf98f95fd5a2fe134719268d9f85e74d01a46
7
- data.tar.gz: eec1c4eaf93516b47ff7388a12e6ea2b5c4ccc0a538606856b5818b14ee99417718419ab5e062f771e8526848e652d616e6ce5dcef208edbc9cf618b00eccc48
6
+ metadata.gz: fb04391f2a9ecc65a97813435b89e0394b8b50bdecfd2b0a927f5c22e1636be9d69b4defb4460a11762360d0c3ef50045d45d69981b6c396ec3deef29eeb5440
7
+ data.tar.gz: fae0b01ecaf739899a41df8b659d6a1c3dfbbf146634ec2866b8cfc3d2a3dc812b5d76292d5cf9524d12d8ef0756a562655c662c1a013baa9168f0eb4eff57f2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zadok (0.8.3)
4
+ zadok (0.8.5)
5
5
  bootstrap (~> 4.0)
6
6
  brakeman (~> 4.3)
7
7
  bundler-audit (~> 0.6)
@@ -32,53 +32,53 @@ PATH
32
32
  GEM
33
33
  remote: https://rubygems.org/
34
34
  specs:
35
- actioncable (5.2.0)
36
- actionpack (= 5.2.0)
35
+ actioncable (5.2.1)
36
+ actionpack (= 5.2.1)
37
37
  nio4r (~> 2.0)
38
38
  websocket-driver (>= 0.6.1)
39
- actionmailer (5.2.0)
40
- actionpack (= 5.2.0)
41
- actionview (= 5.2.0)
42
- activejob (= 5.2.0)
39
+ actionmailer (5.2.1)
40
+ actionpack (= 5.2.1)
41
+ actionview (= 5.2.1)
42
+ activejob (= 5.2.1)
43
43
  mail (~> 2.5, >= 2.5.4)
44
44
  rails-dom-testing (~> 2.0)
45
- actionpack (5.2.0)
46
- actionview (= 5.2.0)
47
- activesupport (= 5.2.0)
45
+ actionpack (5.2.1)
46
+ actionview (= 5.2.1)
47
+ activesupport (= 5.2.1)
48
48
  rack (~> 2.0)
49
49
  rack-test (>= 0.6.3)
50
50
  rails-dom-testing (~> 2.0)
51
51
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
52
- actionview (5.2.0)
53
- activesupport (= 5.2.0)
52
+ actionview (5.2.1)
53
+ activesupport (= 5.2.1)
54
54
  builder (~> 3.1)
55
55
  erubi (~> 1.4)
56
56
  rails-dom-testing (~> 2.0)
57
57
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
58
- activejob (5.2.0)
59
- activesupport (= 5.2.0)
58
+ activejob (5.2.1)
59
+ activesupport (= 5.2.1)
60
60
  globalid (>= 0.3.6)
61
- activemodel (5.2.0)
62
- activesupport (= 5.2.0)
63
- activerecord (5.2.0)
64
- activemodel (= 5.2.0)
65
- activesupport (= 5.2.0)
61
+ activemodel (5.2.1)
62
+ activesupport (= 5.2.1)
63
+ activerecord (5.2.1)
64
+ activemodel (= 5.2.1)
65
+ activesupport (= 5.2.1)
66
66
  arel (>= 9.0)
67
- activestorage (5.2.0)
68
- actionpack (= 5.2.0)
69
- activerecord (= 5.2.0)
67
+ activestorage (5.2.1)
68
+ actionpack (= 5.2.1)
69
+ activerecord (= 5.2.1)
70
70
  marcel (~> 0.3.1)
71
- activesupport (5.2.0)
71
+ activesupport (5.2.1)
72
72
  concurrent-ruby (~> 1.0, >= 1.0.2)
73
73
  i18n (>= 0.7, < 2)
74
74
  minitest (~> 5.1)
75
75
  tzinfo (~> 1.1)
76
76
  arel (9.0.0)
77
77
  ast (2.4.0)
78
- autoprefixer-rails (9.0.0)
78
+ autoprefixer-rails (9.1.0)
79
79
  execjs
80
80
  bcrypt (3.1.12)
81
- bootstrap (4.1.1)
81
+ bootstrap (4.1.3)
82
82
  autoprefixer-rails (>= 6.0.3)
83
83
  popper_js (>= 1.12.9, < 2)
84
84
  sass (>= 3.5.2)
@@ -106,12 +106,12 @@ GEM
106
106
  erubi (1.7.1)
107
107
  execjs (2.7.0)
108
108
  ffi (1.9.25)
109
- font-awesome-sass (5.0.13)
109
+ font-awesome-sass (5.2.0)
110
110
  sassc (>= 1.11)
111
111
  globalid (0.4.1)
112
112
  activesupport (>= 4.2.0)
113
113
  highline (2.0.0)
114
- i18n (1.0.1)
114
+ i18n (1.1.0)
115
115
  concurrent-ruby (~> 1.0)
116
116
  jaro_winkler (1.5.1)
117
117
  jquery-rails (4.3.3)
@@ -123,7 +123,7 @@ GEM
123
123
  turbolinks
124
124
  jquery-ui-rails (6.0.1)
125
125
  railties (>= 3.2.16)
126
- loaf (0.7.0)
126
+ loaf (0.8.0)
127
127
  rails (>= 3.2)
128
128
  localer (0.1.1)
129
129
  dry-initializer (~> 2.3.0)
@@ -140,7 +140,7 @@ GEM
140
140
  mini_mime (1.0.0)
141
141
  mini_portile2 (2.3.0)
142
142
  minitest (5.11.3)
143
- newrelic_rpm (5.2.0.345)
143
+ newrelic_rpm (5.3.0.346)
144
144
  nio4r (2.3.1)
145
145
  nokogiri (1.8.4)
146
146
  mini_portile2 (~> 2.3.0)
@@ -151,24 +151,24 @@ GEM
151
151
  pg (1.0.0)
152
152
  polyamorous (1.3.3)
153
153
  activerecord (>= 3.0)
154
- popper_js (1.12.9)
154
+ popper_js (1.14.3)
155
155
  powerpack (0.1.2)
156
156
  puma (3.12.0)
157
157
  rack (2.0.5)
158
- rack-test (1.0.0)
158
+ rack-test (1.1.0)
159
159
  rack (>= 1.0, < 3)
160
- rails (5.2.0)
161
- actioncable (= 5.2.0)
162
- actionmailer (= 5.2.0)
163
- actionpack (= 5.2.0)
164
- actionview (= 5.2.0)
165
- activejob (= 5.2.0)
166
- activemodel (= 5.2.0)
167
- activerecord (= 5.2.0)
168
- activestorage (= 5.2.0)
169
- activesupport (= 5.2.0)
160
+ rails (5.2.1)
161
+ actioncable (= 5.2.1)
162
+ actionmailer (= 5.2.1)
163
+ actionpack (= 5.2.1)
164
+ actionview (= 5.2.1)
165
+ activejob (= 5.2.1)
166
+ activemodel (= 5.2.1)
167
+ activerecord (= 5.2.1)
168
+ activestorage (= 5.2.1)
169
+ activesupport (= 5.2.1)
170
170
  bundler (>= 1.3.0)
171
- railties (= 5.2.0)
171
+ railties (= 5.2.1)
172
172
  sprockets-rails (>= 2.0.0)
173
173
  rails-dom-testing (2.0.3)
174
174
  activesupport (>= 4.2.0)
@@ -178,12 +178,12 @@ GEM
178
178
  rails-i18n (5.1.1)
179
179
  i18n (>= 0.7, < 2)
180
180
  railties (>= 5.0, < 6)
181
- railties (5.2.0)
182
- actionpack (= 5.2.0)
183
- activesupport (= 5.2.0)
181
+ railties (5.2.1)
182
+ actionpack (= 5.2.1)
183
+ activesupport (= 5.2.1)
184
184
  method_source
185
185
  rake (>= 0.8.7)
186
- thor (>= 0.18.1, < 2.0)
186
+ thor (>= 0.19.0, < 2.0)
187
187
  rainbow (3.0.0)
188
188
  rake (12.3.1)
189
189
  ransack (1.8.8)
@@ -198,7 +198,7 @@ GEM
198
198
  responders (2.4.0)
199
199
  actionpack (>= 4.2.0, < 5.3)
200
200
  railties (>= 4.2.0, < 5.3)
201
- rubocop (0.58.1)
201
+ rubocop (0.58.2)
202
202
  jaro_winkler (~> 1.5.1)
203
203
  parallel (~> 1.10)
204
204
  parser (>= 2.5, != 2.5.1.1)
@@ -206,7 +206,7 @@ GEM
206
206
  rainbow (>= 2.2.2, < 4.0)
207
207
  ruby-progressbar (~> 1.7)
208
208
  unicode-display_width (~> 1.0, >= 1.0.1)
209
- ruby-progressbar (1.9.0)
209
+ ruby-progressbar (1.10.0)
210
210
  rumination (0.17.4)
211
211
  activemodel
212
212
  activesupport
@@ -252,7 +252,7 @@ GEM
252
252
  turbolinks-source (5.1.0)
253
253
  tzinfo (1.2.5)
254
254
  thread_safe (~> 0.1)
255
- uglifier (4.1.15)
255
+ uglifier (4.1.17)
256
256
  execjs (>= 0.3.0, < 3)
257
257
  unicode-display_width (1.4.0)
258
258
  warden (1.2.7)
@@ -3,9 +3,10 @@
3
3
  .card-body
4
4
  h2.card-title
5
5
  = page_title
6
- = link_to(resource_name(:other),
7
- resource_url_for(:index),
8
- class: "btn btn-primary text-white float-right")
6
+ - if can?(:index, resource_class)
7
+ = link_to(resource_name(:other),
8
+ resource_url_for(:index),
9
+ class: "btn btn-primary text-white float-right")
9
10
 
10
11
  = form_for(resource,
11
12
  url: resource_url_for(:update),
@@ -0,0 +1,3 @@
1
+ .form-group
2
+ = form.label(attr)
3
+ = form.password_field(attr, options.fetch(:html, {}).merge(class: "form-control"))
@@ -3,9 +3,10 @@
3
3
  .card-body
4
4
  h2.card-title
5
5
  = page_title
6
- = link_to(resource_name(:other),
7
- resource_url_for(:index),
8
- class: "btn btn-primary text-white float-right")
6
+ - if can?(:index, resource_class)
7
+ = link_to(resource_name(:other),
8
+ resource_url_for(:index),
9
+ class: "btn btn-primary text-white float-right")
9
10
 
10
11
  = form_for(resource, html: { autocomplete: "off" }) do |form|
11
12
  - new_attributes.each do |attr, options|
data/lib/zadok/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Zadok
4
4
  VERSION_MAJOR = 0
5
5
  VERSION_MINOR = 8
6
- VERSION_TINY = 4
6
+ VERSION_TINY = 5
7
7
  VERSION_PRE = nil
8
8
 
9
9
  VERSION = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zadok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Hooijer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-20 00:00:00.000000000 Z
11
+ date: 2018-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap
@@ -419,6 +419,7 @@ files:
419
419
  - app/views/zadok/form/fields/_inet.html.slim
420
420
  - app/views/zadok/form/fields/_integer.html.slim
421
421
  - app/views/zadok/form/fields/_number_field.html.slim
422
+ - app/views/zadok/form/fields/_password_field.html.slim
422
423
  - app/views/zadok/form/fields/_select.html.slim
423
424
  - app/views/zadok/form/fields/_serialized.html.slim
424
425
  - app/views/zadok/form/fields/_string.html.slim