simple_form_attachments 1.0.1 → 1.1.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
  SHA1:
3
- metadata.gz: '09c87859edd0551646ccb8392ab947fbc0847e7d'
4
- data.tar.gz: 397579728ac16875829619f4f0aef70d0e972a86
3
+ metadata.gz: 412212d4fd609e4906ebdc757f94f7515ef94974
4
+ data.tar.gz: 6486cebcbfa4c1c2f0c72cb9256aa879b5c51597
5
5
  SHA512:
6
- metadata.gz: 25d9431fe34ad7020c95fbb89d4e4d790b91aa60ac56964bb51e2131a973faf076dad247831693d535a4c6d5397db81883e6beb842a2b71e88f4ce3e615f6ec6
7
- data.tar.gz: 2dcf8f4df947d7680e464b7f3a34d80c1e0c1034e4352caa815cb9ecc30c9f8868a7c74b073e948b7679c7f0b611f4a3da3632509ee5d1c7560dfb5d003f02a4
6
+ metadata.gz: 959f0e518a6ee4714fd1e28cdff54be3049bf501762ede196967c1fe6ba23e9a86629877fd28d1ce54d460f80b55dafa53f7aca7f4290171a61ae6266f5c6bcb
7
+ data.tar.gz: 64c0ce4ac7ae6ef7272041c919aad73ec7049cb7a0c55f8d4a613d2e5a779f19d9598e98e386e622c4abad5da9b92de80d8ee413d0f99581ce7c5cb9675e74ae
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.1.0
4
+
5
+ * support jQuery UI `~> 6`, [PR #15](https://github.com/tomasc/simple_form_attachments/pull/15), thanks @asgerb
6
+
3
7
  ## 1.0.0
4
8
 
5
9
  * css classes scoped in the `simple_form_attachments` namespace
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_attachments (1.0.1)
5
- jquery-ui-rails
4
+ simple_form_attachments (1.1.0)
5
+ jquery-ui-rails (>= 5.0, < 7.0)
6
6
  mongoid (> 4.0)
7
7
  rails (>= 4.2)
8
8
  rails-assets-blueimp-file-upload (>= 9.6.0)
@@ -15,49 +15,49 @@ GEM
15
15
  remote: https://rubygems.org/
16
16
  remote: https://rails-assets.org/
17
17
  specs:
18
- actioncable (5.1.1)
19
- actionpack (= 5.1.1)
18
+ actioncable (5.1.4)
19
+ actionpack (= 5.1.4)
20
20
  nio4r (~> 2.0)
21
21
  websocket-driver (~> 0.6.1)
22
- actionmailer (5.1.1)
23
- actionpack (= 5.1.1)
24
- actionview (= 5.1.1)
25
- activejob (= 5.1.1)
22
+ actionmailer (5.1.4)
23
+ actionpack (= 5.1.4)
24
+ actionview (= 5.1.4)
25
+ activejob (= 5.1.4)
26
26
  mail (~> 2.5, >= 2.5.4)
27
27
  rails-dom-testing (~> 2.0)
28
- actionpack (5.1.1)
29
- actionview (= 5.1.1)
30
- activesupport (= 5.1.1)
28
+ actionpack (5.1.4)
29
+ actionview (= 5.1.4)
30
+ activesupport (= 5.1.4)
31
31
  rack (~> 2.0)
32
- rack-test (~> 0.6.3)
32
+ rack-test (>= 0.6.3)
33
33
  rails-dom-testing (~> 2.0)
34
34
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
35
- actionview (5.1.1)
36
- activesupport (= 5.1.1)
35
+ actionview (5.1.4)
36
+ activesupport (= 5.1.4)
37
37
  builder (~> 3.1)
38
38
  erubi (~> 1.4)
39
39
  rails-dom-testing (~> 2.0)
40
40
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
41
- activejob (5.1.1)
42
- activesupport (= 5.1.1)
41
+ activejob (5.1.4)
42
+ activesupport (= 5.1.4)
43
43
  globalid (>= 0.3.6)
44
- activemodel (5.1.1)
45
- activesupport (= 5.1.1)
46
- activerecord (5.1.1)
47
- activemodel (= 5.1.1)
48
- activesupport (= 5.1.1)
44
+ activemodel (5.1.4)
45
+ activesupport (= 5.1.4)
46
+ activerecord (5.1.4)
47
+ activemodel (= 5.1.4)
48
+ activesupport (= 5.1.4)
49
49
  arel (~> 8.0)
50
- activesupport (5.1.1)
50
+ activesupport (5.1.4)
51
51
  concurrent-ruby (~> 1.0, >= 1.0.2)
52
52
  i18n (~> 0.7)
53
53
  minitest (~> 5.1)
54
54
  tzinfo (~> 1.1)
55
- addressable (2.5.1)
56
- public_suffix (~> 2.0, >= 2.0.2)
55
+ addressable (2.5.2)
56
+ public_suffix (>= 2.0.2, < 4.0)
57
57
  arel (8.0.0)
58
- bson (4.2.1)
58
+ bson (4.2.2)
59
59
  builder (3.2.3)
60
- coderay (1.1.1)
60
+ coderay (1.1.2)
61
61
  concurrent-ruby (1.0.5)
62
62
  coveralls (0.8.21)
63
63
  json (>= 1.8, < 3)
@@ -71,7 +71,7 @@ GEM
71
71
  addressable (~> 2.3)
72
72
  multi_json (~> 1.0)
73
73
  rack (>= 1.3)
74
- erubi (1.6.0)
74
+ erubi (1.6.1)
75
75
  ffi (1.9.18)
76
76
  formatador (0.2.5)
77
77
  globalid (0.4.0)
@@ -89,7 +89,7 @@ GEM
89
89
  guard-minitest (2.4.6)
90
90
  guard-compat (~> 1.2)
91
91
  minitest (>= 3.0)
92
- i18n (0.8.4)
92
+ i18n (0.8.6)
93
93
  jquery-ui-rails (6.0.1)
94
94
  railties (>= 3.2.16)
95
95
  json (2.1.0)
@@ -107,16 +107,16 @@ GEM
107
107
  mime-types-data (~> 3.2015)
108
108
  mime-types-data (3.2016.0521)
109
109
  mini_portile2 (2.2.0)
110
- minitest (5.10.2)
110
+ minitest (5.10.3)
111
111
  minitest-rails (3.0.0)
112
112
  minitest (~> 5.8)
113
113
  railties (~> 5.0)
114
- mongo (2.4.2)
114
+ mongo (2.4.3)
115
115
  bson (>= 4.2.1, < 5.0.0)
116
- mongoid (6.2.0)
116
+ mongoid (6.2.1)
117
117
  activemodel (~> 5.1)
118
118
  mongo (>= 2.4.1, < 3.0.0)
119
- multi_json (1.12.1)
119
+ multi_json (1.12.2)
120
120
  nenv (0.3.0)
121
121
  nio4r (2.1.0)
122
122
  nokogiri (1.8.0)
@@ -128,30 +128,30 @@ GEM
128
128
  coderay (~> 1.1.0)
129
129
  method_source (~> 0.8.1)
130
130
  slop (~> 3.4)
131
- public_suffix (2.0.5)
131
+ public_suffix (3.0.0)
132
132
  rack (2.0.3)
133
- rack-test (0.6.3)
134
- rack (>= 1.0)
135
- rails (5.1.1)
136
- actioncable (= 5.1.1)
137
- actionmailer (= 5.1.1)
138
- actionpack (= 5.1.1)
139
- actionview (= 5.1.1)
140
- activejob (= 5.1.1)
141
- activemodel (= 5.1.1)
142
- activerecord (= 5.1.1)
143
- activesupport (= 5.1.1)
144
- bundler (>= 1.3.0, < 2.0)
145
- railties (= 5.1.1)
133
+ rack-test (0.7.0)
134
+ rack (>= 1.0, < 3)
135
+ rails (5.1.4)
136
+ actioncable (= 5.1.4)
137
+ actionmailer (= 5.1.4)
138
+ actionpack (= 5.1.4)
139
+ actionview (= 5.1.4)
140
+ activejob (= 5.1.4)
141
+ activemodel (= 5.1.4)
142
+ activerecord (= 5.1.4)
143
+ activesupport (= 5.1.4)
144
+ bundler (>= 1.3.0)
145
+ railties (= 5.1.4)
146
146
  sprockets-rails (>= 2.0.0)
147
- rails-assets-blueimp-canvas-to-blob (3.8.0)
148
- rails-assets-blueimp-file-upload (9.18.0)
147
+ rails-assets-blueimp-canvas-to-blob (3.14.0)
148
+ rails-assets-blueimp-file-upload (9.19.1)
149
149
  rails-assets-blueimp-canvas-to-blob (>= 2.1.1)
150
150
  rails-assets-blueimp-load-image (>= 1.13.0)
151
151
  rails-assets-blueimp-tmpl (>= 2.5.4)
152
152
  rails-assets-jquery (>= 1.6)
153
- rails-assets-blueimp-load-image (2.12.2)
154
- rails-assets-blueimp-tmpl (3.8.0)
153
+ rails-assets-blueimp-load-image (2.17.0)
154
+ rails-assets-blueimp-tmpl (3.11.0)
155
155
  rails-assets-handlebars (4.0.10)
156
156
  rails-assets-jquery (3.2.1)
157
157
  rails-assets-numeraljs (2.0.6)
@@ -164,17 +164,17 @@ GEM
164
164
  nokogiri (>= 1.6)
165
165
  rails-html-sanitizer (1.0.3)
166
166
  loofah (~> 2.0)
167
- railties (5.1.1)
168
- actionpack (= 5.1.1)
169
- activesupport (= 5.1.1)
167
+ railties (5.1.4)
168
+ actionpack (= 5.1.4)
169
+ activesupport (= 5.1.4)
170
170
  method_source
171
171
  rake (>= 0.8.7)
172
172
  thor (>= 0.18.1, < 2.0)
173
173
  rake (10.5.0)
174
- rb-fsevent (0.9.8)
174
+ rb-fsevent (0.10.2)
175
175
  rb-inotify (0.9.10)
176
176
  ffi (>= 0.5.0, < 2)
177
- rb-readline (0.5.4)
177
+ rb-readline (0.5.5)
178
178
  ruby_dep (1.5.0)
179
179
  shellany (0.0.1)
180
180
  simple_form (3.5.0)
@@ -184,7 +184,7 @@ GEM
184
184
  docile (~> 1.1.0)
185
185
  json (>= 1.8, < 3)
186
186
  simplecov-html (~> 0.10.0)
187
- simplecov-html (0.10.1)
187
+ simplecov-html (0.10.2)
188
188
  slim (3.0.8)
189
189
  temple (>= 0.7.6, < 0.9)
190
190
  tilt (>= 1.3.3, < 2.1)
@@ -192,7 +192,7 @@ GEM
192
192
  sprockets (3.7.1)
193
193
  concurrent-ruby (~> 1.0)
194
194
  rack (> 1, < 3)
195
- sprockets-rails (3.2.0)
195
+ sprockets-rails (3.2.1)
196
196
  actionpack (>= 4.0)
197
197
  activesupport (>= 4.0)
198
198
  sprockets (>= 3.0.0)
@@ -201,8 +201,8 @@ GEM
201
201
  tins (~> 1.0)
202
202
  thor (0.19.4)
203
203
  thread_safe (0.3.6)
204
- tilt (2.0.7)
205
- tins (1.14.0)
204
+ tilt (2.0.8)
205
+ tins (1.15.0)
206
206
  tzinfo (1.2.3)
207
207
  thread_safe (~> 0.1)
208
208
  websocket-driver (0.6.5)
data/README.md CHANGED
@@ -157,9 +157,9 @@ div class=SimpleFormAttachments.dom_class(:attachment, [:col, :file_info])
157
157
 
158
158
  ### Dom class and CSS
159
159
 
160
- The component is isolated in `simple_form_attachments` namespace. This gem comes with its own helper that geners corresponding class names – for example `SimpleFormAttachments.dom_class(:attachment, :file_info)` would generate `simple_form_attachments__file_info`.
160
+ The component is isolated in the `simple_form_attachments` namespace. This gem comes with its own helper that generates corresponding class names – for example `SimpleFormAttachments.dom_class(:attachment, :file_info)` would generate `simple_form_attachments__file_info`.
161
161
 
162
- Basic styling can be achieved by including `simple_form_attachments.js` css in your app:
162
+ Basic styling can be achieved by including `simple_form_attachments` css in your app:
163
163
 
164
164
  ```css
165
165
  /*
@@ -200,6 +200,8 @@ resources :attachments, only: [:create]
200
200
  Specify the route either app wide in an initializer:
201
201
 
202
202
  ```ruby
203
+ # config/initializers/simple_form_attachments.rb
204
+
203
205
  require 'simple_form_attachments'
204
206
  # Configuration
205
207
 
@@ -217,7 +219,7 @@ Or per input:
217
219
 
218
220
  ## Testing
219
221
 
220
- Besides a `MiniTest` test suite, the gem has a dummy app located at `test/dummy`. Simply `cd` into the directory and run `bin rails s` to test the uploader.
222
+ Besides a `MiniTest` test suite, the gem has a dummy app located at `test/dummy`. Simply `cd` into the directory and run `bin/rails s` to test the uploader.
221
223
 
222
224
  ## Contributing
223
225
 
@@ -1,4 +1,4 @@
1
- //= require jquery-ui/sortable
1
+ //= require simple_form_attachments/jquery_ui
2
2
 
3
3
  //= require blueimp-file-upload/vendor/jquery.ui.widget.js
4
4
  //= require blueimp-file-upload/jquery.iframe-transport.js
@@ -0,0 +1 @@
1
+ <% require_asset SimpleFormAttachments.jquery_ui_asset("sortable") %>
@@ -7,6 +7,7 @@ require "simple_form_attachments/engine"
7
7
  require "simple_form_attachments/version"
8
8
 
9
9
  require "jquery-ui-rails"
10
+ require "rails-assets-numeraljs"
10
11
  require "rails-assets-blueimp-file-upload"
11
12
  require "rails-assets-handlebars"
12
13
 
@@ -24,6 +25,15 @@ module SimpleFormAttachments
24
25
  prefix.compact.join('__')
25
26
  end
26
27
  end
28
+
29
+ def self.jquery_ui_asset(asset)
30
+ jquery_ui_version = Gem::Version.new(Jquery::Ui::Rails::JQUERY_UI_VERSION)
31
+ case
32
+ when Gem::Dependency.new('', '< 1.12').match?('', jquery_ui_version) then "jquery-ui/#{asset}"
33
+ when Gem::Dependency.new('', '>= 1.12').match?('', jquery_ui_version) then "jquery-ui/widgets/#{asset}"
34
+ else raise "This version of jQuery UI is not supported"
35
+ end
36
+ end
27
37
  end
28
38
 
29
39
  module SimpleForm
@@ -1,3 +1,3 @@
1
1
  module SimpleFormAttachments
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.1.0'.freeze
3
3
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.add_dependency 'slim'
27
27
 
28
- spec.add_dependency 'jquery-ui-rails'
28
+ spec.add_dependency 'jquery-ui-rails', ">= 5.0", "< 7.0"
29
29
  spec.add_dependency 'rails-assets-blueimp-file-upload', '>= 9.6.0'
30
30
  spec.add_dependency 'rails-assets-handlebars'
31
31
  spec.add_dependency 'rails-assets-numeraljs'
@@ -7,6 +7,10 @@ gem 'uglifier', '>= 1.3.0'
7
7
  gem 'coffee-rails', '~> 4.1.0'
8
8
  gem 'jquery-rails'
9
9
 
10
+ # NOTE: For testing purposes
11
+ # gem 'jquery-ui-rails', '~> 6.0'
12
+ # gem 'jquery-ui-rails', '~> 5.0'
13
+
10
14
  gem 'slim'
11
15
 
12
16
  gem 'mongoid'
@@ -1,12 +1,13 @@
1
1
  PATH
2
- remote: ../../../simple_form_attachments
2
+ remote: ../..
3
3
  specs:
4
- simple_form_attachments (0.2.5)
5
- jquery-ui-rails
4
+ simple_form_attachments (1.0.1)
5
+ jquery-ui-rails (>= 5.0, < 7.0)
6
6
  mongoid (> 4.0)
7
7
  rails (>= 4.2)
8
8
  rails-assets-blueimp-file-upload (>= 9.6.0)
9
9
  rails-assets-handlebars
10
+ rails-assets-numeraljs
10
11
  simple_form (>= 3.0.2)
11
12
  slim
12
13
 
@@ -48,24 +49,24 @@ GEM
48
49
  minitest (~> 5.1)
49
50
  thread_safe (~> 0.3, >= 0.3.4)
50
51
  tzinfo (~> 1.1)
51
- addressable (2.5.0)
52
- public_suffix (~> 2.0, >= 2.0.2)
53
- arel (6.0.3)
52
+ addressable (2.5.2)
53
+ public_suffix (>= 2.0.2, < 4.0)
54
+ arel (6.0.4)
54
55
  binding_of_caller (0.7.2)
55
56
  debug_inspector (>= 0.0.1)
56
- bson (4.1.1)
57
- builder (3.2.2)
58
- byebug (9.0.6)
57
+ bson (4.2.2)
58
+ builder (3.2.3)
59
+ byebug (9.1.0)
59
60
  coffee-rails (4.1.1)
60
61
  coffee-script (>= 2.2.0)
61
62
  railties (>= 4.0.0, < 5.1.x)
62
63
  coffee-script (2.4.1)
63
64
  coffee-script-source
64
65
  execjs
65
- coffee-script-source (1.10.0)
66
- concurrent-ruby (1.0.2)
67
- debug_inspector (0.0.2)
68
- dragonfly (1.1.1)
66
+ coffee-script-source (1.12.2)
67
+ concurrent-ruby (1.0.5)
68
+ debug_inspector (0.0.3)
69
+ dragonfly (1.1.3)
69
70
  addressable (~> 2.3)
70
71
  multi_json (~> 1.0)
71
72
  rack (>= 1.3)
@@ -75,41 +76,42 @@ GEM
75
76
  mongoid-grid_fs
76
77
  erubis (2.7.0)
77
78
  execjs (2.7.0)
78
- globalid (0.3.7)
79
- activesupport (>= 4.1.0)
80
- i18n (0.7.0)
81
- jquery-rails (4.2.1)
79
+ ffi (1.9.18)
80
+ globalid (0.4.0)
81
+ activesupport (>= 4.2.0)
82
+ i18n (0.8.6)
83
+ jquery-rails (4.3.1)
82
84
  rails-dom-testing (>= 1, < 3)
83
85
  railties (>= 4.2.0)
84
86
  thor (>= 0.14, < 2.0)
85
- jquery-ui-rails (5.0.5)
87
+ jquery-ui-rails (6.0.1)
86
88
  railties (>= 3.2.16)
87
- json (1.8.3)
89
+ json (1.8.6)
88
90
  loofah (2.0.3)
89
91
  nokogiri (>= 1.5.9)
90
- mail (2.6.4)
92
+ mail (2.6.6)
91
93
  mime-types (>= 1.16, < 4)
92
94
  mime-types (3.1)
93
95
  mime-types-data (~> 3.2015)
94
96
  mime-types-data (3.2016.0521)
95
- mini_portile2 (2.1.0)
96
- minitest (5.9.1)
97
- mongo (2.3.1)
98
- bson (~> 4.1)
99
- mongoid (5.1.5)
97
+ mini_portile2 (2.2.0)
98
+ minitest (5.10.3)
99
+ mongo (2.4.3)
100
+ bson (>= 4.2.1, < 5.0.0)
101
+ mongoid (5.2.1)
100
102
  activemodel (~> 4.0)
101
- mongo (~> 2.1)
102
- origin (~> 2.2)
103
+ mongo (>= 2.4.1, < 3.0.0)
104
+ origin (~> 2.3)
103
105
  tzinfo (>= 0.3.37)
104
106
  mongoid-grid_fs (2.3.0)
105
107
  mime-types (>= 1.0, < 4.0)
106
108
  mongoid (>= 3.0, < 7.0)
107
- multi_json (1.12.1)
108
- nokogiri (1.6.8.1)
109
- mini_portile2 (~> 2.1.0)
110
- origin (2.2.2)
111
- public_suffix (2.0.4)
112
- rack (1.6.4)
109
+ multi_json (1.12.2)
110
+ nokogiri (1.8.0)
111
+ mini_portile2 (~> 2.2.0)
112
+ origin (2.3.1)
113
+ public_suffix (3.0.0)
114
+ rack (1.6.8)
113
115
  rack-test (0.6.3)
114
116
  rack (>= 1.0)
115
117
  rails (4.2.0)
@@ -123,21 +125,22 @@ GEM
123
125
  bundler (>= 1.3.0, < 2.0)
124
126
  railties (= 4.2.0)
125
127
  sprockets-rails
126
- rails-assets-blueimp-canvas-to-blob (3.5.0)
127
- rails-assets-blueimp-file-upload (9.14.0)
128
+ rails-assets-blueimp-canvas-to-blob (3.14.0)
129
+ rails-assets-blueimp-file-upload (9.19.1)
128
130
  rails-assets-blueimp-canvas-to-blob (>= 2.1.1)
129
131
  rails-assets-blueimp-load-image (>= 1.13.0)
130
132
  rails-assets-blueimp-tmpl (>= 2.5.4)
131
133
  rails-assets-jquery (>= 1.6)
132
- rails-assets-blueimp-load-image (2.9.0)
133
- rails-assets-blueimp-tmpl (3.6.0)
134
- rails-assets-handlebars (4.0.5)
135
- rails-assets-jquery (3.1.1)
134
+ rails-assets-blueimp-load-image (2.17.0)
135
+ rails-assets-blueimp-tmpl (3.11.0)
136
+ rails-assets-handlebars (4.0.10)
137
+ rails-assets-jquery (3.2.1)
138
+ rails-assets-numeraljs (2.0.6)
136
139
  rails-deprecated_sanitizer (1.0.3)
137
140
  activesupport (>= 4.2.0.alpha)
138
- rails-dom-testing (1.0.7)
141
+ rails-dom-testing (1.0.8)
139
142
  activesupport (>= 4.2.0.beta, < 5.0)
140
- nokogiri (~> 1.6.0)
143
+ nokogiri (~> 1.6)
141
144
  rails-deprecated_sanitizer (>= 1.0.1)
142
145
  rails-html-sanitizer (1.0.3)
143
146
  loofah (~> 2.0)
@@ -146,37 +149,44 @@ GEM
146
149
  activesupport (= 4.2.0)
147
150
  rake (>= 0.8.7)
148
151
  thor (>= 0.18.1, < 2.0)
149
- rake (11.3.0)
150
- rb-readline (0.5.3)
151
- sass (3.4.22)
152
+ rake (12.1.0)
153
+ rb-fsevent (0.10.2)
154
+ rb-inotify (0.9.10)
155
+ ffi (>= 0.5.0, < 2)
156
+ rb-readline (0.5.5)
157
+ sass (3.5.1)
158
+ sass-listen (~> 4.0.0)
159
+ sass-listen (4.0.0)
160
+ rb-fsevent (~> 0.9, >= 0.9.4)
161
+ rb-inotify (~> 0.9, >= 0.9.7)
152
162
  sass-rails (5.0.6)
153
163
  railties (>= 4.0.0, < 6)
154
164
  sass (~> 3.1)
155
165
  sprockets (>= 2.8, < 4.0)
156
166
  sprockets-rails (>= 2.0, < 4.0)
157
167
  tilt (>= 1.1, < 3)
158
- simple_form (3.3.1)
159
- actionpack (> 4, < 5.1)
160
- activemodel (> 4, < 5.1)
161
- slim (3.0.7)
162
- temple (~> 0.7.6)
168
+ simple_form (3.5.0)
169
+ actionpack (> 4, < 5.2)
170
+ activemodel (> 4, < 5.2)
171
+ slim (3.0.8)
172
+ temple (>= 0.7.6, < 0.9)
163
173
  tilt (>= 1.3.3, < 2.1)
164
- spring (2.0.0)
174
+ spring (2.0.2)
165
175
  activesupport (>= 4.2)
166
- sprockets (3.7.0)
176
+ sprockets (3.7.1)
167
177
  concurrent-ruby (~> 1.0)
168
178
  rack (> 1, < 3)
169
- sprockets-rails (3.2.0)
179
+ sprockets-rails (3.2.1)
170
180
  actionpack (>= 4.0)
171
181
  activesupport (>= 4.0)
172
182
  sprockets (>= 3.0.0)
173
- temple (0.7.7)
174
- thor (0.19.1)
175
- thread_safe (0.3.5)
176
- tilt (2.0.5)
177
- tzinfo (1.2.2)
183
+ temple (0.8.0)
184
+ thor (0.20.0)
185
+ thread_safe (0.3.6)
186
+ tilt (2.0.8)
187
+ tzinfo (1.2.3)
178
188
  thread_safe (~> 0.1)
179
- uglifier (3.0.3)
189
+ uglifier (3.2.0)
180
190
  execjs (>= 0.3.0, < 3)
181
191
  web-console (2.3.0)
182
192
  activemodel (>= 4.0)
@@ -204,4 +214,4 @@ DEPENDENCIES
204
214
  web-console (~> 2.0)
205
215
 
206
216
  BUNDLED WITH
207
- 1.12.5
217
+ 1.14.6
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_attachments
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-25 00:00:00.000000000 Z
12
+ date: 2017-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -73,14 +73,20 @@ dependencies:
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: '0'
76
+ version: '5.0'
77
+ - - "<"
78
+ - !ruby/object:Gem::Version
79
+ version: '7.0'
77
80
  type: :runtime
78
81
  prerelease: false
79
82
  version_requirements: !ruby/object:Gem::Requirement
80
83
  requirements:
81
84
  - - ">="
82
85
  - !ruby/object:Gem::Version
83
- version: '0'
86
+ version: '5.0'
87
+ - - "<"
88
+ - !ruby/object:Gem::Version
89
+ version: '7.0'
84
90
  - !ruby/object:Gem::Dependency
85
91
  name: rails-assets-blueimp-file-upload
86
92
  requirement: !ruby/object:Gem::Requirement
@@ -292,7 +298,8 @@ files:
292
298
  - app/views/simple_form_attachments/attachments/_attachment.html.slim
293
299
  - config/locales/simple_form_attachments/simple_form_attachments.en.yml
294
300
  - config/routes.rb
295
- - lib/assets/javascripts/simple_form_attachments.js
301
+ - lib/assets/javascripts/simple_form_attachments.js.erb
302
+ - lib/assets/javascripts/simple_form_attachments/jquery_ui.js.erb
296
303
  - lib/assets/javascripts/simple_form_attachments/simple_form_attachments.coffee.erb
297
304
  - lib/assets/stylesheets/simple_form_attachments.css
298
305
  - lib/assets/stylesheets/simple_form_attachments/__attachment.scss.erb