neofiles 2.1.1 → 2.2.0

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: c990b0639f2c8783d0c511266ecc7bc5df9eaff856f171c08b33648a372ba8c0
4
- data.tar.gz: 77177e83d421a156bf2e62e67ee408df101d3db971ce41df8b5053fa6a91a2c5
3
+ metadata.gz: 2043db724bbdbcf8227ff75527303fbb3df314cd2cb915e199f8b1fe9f8f4f6f
4
+ data.tar.gz: dcf7b597d8456dddca82fa67f7e5d436a7fd64d5165a4a7f2378ad0ead2776a2
5
5
  SHA512:
6
- metadata.gz: c58b69ec97b11ef6957470b49e229c89af3c26c286bd9161daec5ee05e77d2067541de311dc09135be62b394f7772860868323f04e3b3d758bbbd81b18958d51
7
- data.tar.gz: 3357f8319fa3db3df89ca947968c24a59cd74b1e4d03ea938b73369932617c6ab6881bb6c56ab90e68c3e1523bd73611ae4221dbde33084965fcecd4c8ec3604
6
+ metadata.gz: 3211ac84d144c6695bdcd0e894ba7a9a297e134ad051ba445ce7fc1a336970d355590d18cb35a9102c0ff38f37f9f97bdd2c68d55fe7849280f58c73c08139f7
7
+ data.tar.gz: a6b508101bd201c0b01e464f05aedd7c00f8a0bcfc4cfeeb4cec490e05d103c3661068f00229d2ce8989b4652254012eacff6cc3fe5d364e067d9c5899df5ba1
@@ -0,0 +1,3 @@
1
+ import './jquery.iframe-transport';
2
+ import './jquery.fileupload';
3
+ import './jquery.neofiles.js';
@@ -40,7 +40,7 @@
40
40
  opacity: 1;
41
41
  }
42
42
 
43
- .glyphicon {
43
+ .fas {
44
44
  top: 0;
45
45
  }
46
46
 
@@ -69,7 +69,7 @@
69
69
  box-shadow: 0px 2px 2px rgba(90, 50, 50, .5);
70
70
  opacity: .2;
71
71
 
72
- .glyphicon {
72
+ .fas {
73
73
  top: 1px;
74
74
  font-size: 12px;
75
75
  line-height: 12px;
@@ -146,4 +146,4 @@ INPUT.neofiles-image-compact-file {
146
146
  &.neofiles-image-compact-with-description {
147
147
  margin-bottom: 50px;
148
148
  }
149
- }
149
+ }
@@ -20,7 +20,7 @@
20
20
  .neofiles-image-compact-view= file.admin_compact_view self
21
21
 
22
22
  %a(href=neofiles_file_remove_path class="neofiles-image-compact-remove")
23
- %i.icon-remove.glyphicon.glyphicon-remove
23
+ %i.icon-remove.fas.fa-times
24
24
 
25
25
  - if Neofiles.is_admin? self
26
26
  - options_form = capture do
@@ -46,7 +46,7 @@
46
46
  = t 'neofiles.views.no_wm'
47
47
 
48
48
  %a(href="#" tabindex="0" class="neofiles-image-compact-options" data-toggle="popover" data-trigger="click" data-placement="top" data-html="true" data-animation="false" data-title="#{file.filename}" data-content="#{options_form}")
49
- %i.icon-wrench.glyphicon.glyphicon-wrench
49
+ %i.icon-wrench.fas.fa-wrench
50
50
 
51
51
  - if with_desc
52
52
  - description_form = capture do
@@ -65,7 +65,7 @@
65
65
  %a.neofiles-image-compact-description-handle(href="#" data-empty=empty_desc data-toggle="popover" data-trigger="click" data-placement="bottom" data-html="true" data-animation="false" data-title="#{t 'neofiles.views.description'}" data-content="#{description_form}" data-template="#{popover_template}" data-container="##{widget_id}"){class: ('neofiles-image-compact-description-empty' unless desc)}= desc || empty_desc
66
66
 
67
67
  %span.neofiles-image-compact-upload-icon
68
- %i.icon-upload.glyphicon.glyphicon-upload
68
+ %i.icon-upload.fas.fa-arrow-circle-up
69
69
 
70
70
  - common_options = {id: nil, disabled: disabled}
71
71
  = hidden_field_tag input_name, file.try(:id), common_options.merge(class: 'neofiles-image-transfer-input')
@@ -1,3 +1,3 @@
1
1
  module Neofiles
2
- VERSION = '2.1.1'
2
+ VERSION = '2.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neofiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konanykhin Ilya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-28 00:00:00.000000000 Z
11
+ date: 2022-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -123,6 +123,7 @@ files:
123
123
  - app/assets/images/neofiles/swf-thumb-100x100.png
124
124
  - app/assets/images/neofiles/watermark.png
125
125
  - app/assets/javascripts/neofiles/index.js.coffee
126
+ - app/assets/javascripts/neofiles/index.webpack.js
126
127
  - app/assets/javascripts/neofiles/jquery.fileupload.js
127
128
  - app/assets/javascripts/neofiles/jquery.iframe-transport.js
128
129
  - app/assets/javascripts/neofiles/jquery.neofiles.js.coffee