simple_form_extension 1.2.14 → 1.2.15

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: e10d7789fd52108e8dd77057eb956ee52540470a
4
- data.tar.gz: af288f86b49cbcf6a77c46c64e3165431f068264
3
+ metadata.gz: be7a0afee037a67238f32133f43bb0c5a709369f
4
+ data.tar.gz: 630cf5f03f70c93a85d602f809c19e65fd4912a9
5
5
  SHA512:
6
- metadata.gz: 9d68fc3f1cf1e873ed10c8e9c20fdd93847b1f75220e969bbc500808c404fd3db0b566f48f964fa941fd8f322c5435290cbd590f005c343ccec927324bffd686
7
- data.tar.gz: 4dde9b3ca16fcea095b14c4e5f954a30fc9f224ab9a68c8ad6e7bc73c65675162fc153ae316d5f2e95ad9b7baeaaf284ff6565900a27de7c28f223aab8652f0e
6
+ metadata.gz: 9911fbe04e23d77dddcac4ce7d61cf075ff6e554a0eda8ad0c007a2b0011551d5f02581880bd129d88f798862f08e8fc700ca3829074426141fa03545ebc6f46
7
+ data.tar.gz: 8eafb32ad5517840c24718e1cea5a8e23c7bbfd439b3ab4261330288fbee356464154e610d9f309938de810597d60332a94b7c6855e0a9271c1396e18d22da56
@@ -1,5 +1,6 @@
1
1
  require 'simple_form_extension/version'
2
2
  require 'redactor-rails'
3
+ require 'underscore-rails'
3
4
 
4
5
  module SimpleFormExtension
5
6
  extend ActiveSupport::Autoload
@@ -1,3 +1,3 @@
1
1
  module SimpleFormExtension
2
- VERSION = "1.2.14"
2
+ VERSION = "1.2.15"
3
3
  end
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency 'redactor-rails'
25
25
  spec.add_dependency 'selectize-rails'
26
26
  spec.add_dependency 'compass-rails'
27
+ spec.add_dependency 'underscore-rails'
27
28
 
28
29
  spec.add_development_dependency 'bundler', '~> 1.5'
29
30
  spec.add_development_dependency 'rake'
@@ -1,3 +1,4 @@
1
+ #= require underscore
1
2
  #= require redactor-rails/redactor
2
3
  #= require redactor-rails/langs/fr
3
4
  #= require redactor-rails/plugins
@@ -8,8 +8,6 @@ class ExistingFileField
8
8
  @originalClass = @$removeButtonIcon.attr('class')
9
9
  @removedClass = @$removeButtonIcon.attr('data-removed-class')
10
10
 
11
- console.log('foo', @$removeButton, @$removeInput)
12
-
13
11
  @$removeButton.on('click', $.proxy(@removeButtonClicked, this))
14
12
 
15
13
  removeButtonClicked: ->
@@ -17,7 +17,6 @@ class Selectize
17
17
 
18
18
  @$el.val('')
19
19
 
20
- console.log _.defaults @options, @selectizeDefaults()
21
20
  @$el.selectize(
22
21
  _.defaults @options, @selectizeDefaults()
23
22
  )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.14
4
+ version: 1.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Vasseur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-17 00:00:00.000000000 Z
11
+ date: 2015-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: underscore-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: bundler
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -184,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
198
  version: '0'
185
199
  requirements: []
186
200
  rubyforge_project:
187
- rubygems_version: 2.4.3
201
+ rubygems_version: 2.2.2
188
202
  signing_key:
189
203
  specification_version: 4
190
204
  summary: A simple extention for simple_form with, colorpiker, icon, fileupload, image