glebtv-rails-uploader 0.6.1 → 0.7.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: 98baab0f496d6f111968381e63cd2c9928b40a16
4
- data.tar.gz: 729810bccdd200b8acde963b8b607a111539521e
3
+ metadata.gz: 542e7d5efe16cea7e1074133e9784791ee68c5c8
4
+ data.tar.gz: 4ca4aa11d2ddf6c3a0d2bd33f72e9f70c6efaaa0
5
5
  SHA512:
6
- metadata.gz: b9ecf424db6fa7b7a4c5da4003e4e80ddd429f93dd3a6379e87e348c2cc8b3f5b8c7d778665f2350487b8e0fac5c50c45dca9d7bce815ef5248eb1691fcc654f
7
- data.tar.gz: d631af11a18b881ab56a3d32d82bee3ea4bba19b9c864a4e6a15557cc4660894b3c16173f159bac1068bbbfd8c97e2676340d36606775b8f6cc3708d17694d94
6
+ metadata.gz: 71b09543a5cfbb607fbbf2e506a01e45ca7750f753b71a3536cac3acaa16cd0f55d8ec04fb6622d27906722a8441c1ae8634ca3dbbb71fe1495fd69d0bb60083
7
+ data.tar.gz: 44bc59b0fed0c68fc782d106d184d40b0cc705aa974201db68b963802012b73e99034ec10b849bcaf56cabe66539d0240a786bba40abd076249ba35cc9db1d17
@@ -21,7 +21,8 @@ module Uploader
21
21
 
22
22
  if Object.const_defined?("SimpleForm")
23
23
  require "uploader/hooks/simple_form"
24
- elsif Object.const_defined?("Formtastic")
24
+ end
25
+ if Object.const_defined?("Formtastic")
25
26
  require "uploader/hooks/formtastic"
26
27
  end
27
28
  end
@@ -1,6 +1,6 @@
1
1
  require 'formtastic'
2
2
 
3
- class UploaderInput
3
+ class FormtasticUploaderInput
4
4
  include ::Formtastic::Inputs::Base
5
5
 
6
6
  def to_html
@@ -17,3 +17,4 @@ class UploaderInput
17
17
  data
18
18
  end
19
19
  end
20
+
@@ -1,3 +1,3 @@
1
1
  module Uploader
2
- VERSION = "0.6.1".freeze
2
+ VERSION = "0.7.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glebtv-rails-uploader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Galeta
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-09-18 00:00:00.000000000 Z
13
+ date: 2014-09-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jquery-ui-rails