wymeditor-simple_form 0.0.4 → 0.0.5

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.
data/README.md CHANGED
@@ -29,6 +29,15 @@ Render a form with a WYMeditor-enabled `textarea`:
29
29
  <%= f.button :submit %>
30
30
  <% end %>
31
31
 
32
+ ### Heroku
33
+
34
+ The Heroku requirement to have `config.assets.initialize_on_precompile = false`
35
+ prevents this gem from flagging necessary WYMEditor assets for precompile -
36
+ you need to add these manually to `config/environments/production.rb`:
37
+
38
+ config.assets.precompile += %w( wymeditor/* wymeditor/**/* )
39
+
40
+
32
41
  ## Todo
33
42
 
34
43
  * Enable configuration of the WYMeditor javascript
@@ -45,4 +54,4 @@ and GPL licenses.
45
54
 
46
55
  ## License
47
56
 
48
- MIT License. Copyright (c) 2012 Habanero Software http://habanerohq.com
57
+ MIT License. Copyright (c) 2012 Habanero Software http://habanerohq.com
@@ -1,8 +1,9 @@
1
1
  #= require wymeditor/jquery.wymeditor.js
2
2
  #= require_self
3
3
 
4
+ WYMeditor.BASE_PATH = '/assets/wymeditor/'
5
+
4
6
  $ ->
5
7
  $(':input.wymeditor').wymeditor
6
- basePath: '/assets/wymeditor/'
7
8
  updateSelector: 'form:has(:input.wymeditor)'
8
9
  updateEvent: 'submit'
@@ -3,7 +3,7 @@ module Wymeditor
3
3
  module Rails
4
4
  class Engine < ::Rails::Engine
5
5
  initializer :assets do |config|
6
- ::Rails.application.config.assets.precompile += %w( wymeditor/*.js wymeditor/lang/*.js wymeditor/skins/**/*.{css,js} )
6
+ ::Rails.application.config.assets.precompile += %w( wymeditor/* wymeditor/**/* )
7
7
  end
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module Wymeditor
2
2
  module SimpleForm
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,46 +1,40 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: wymeditor-simple_form
3
- version: !ruby/object:Gem::Version
4
- hash: 23
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 4
10
- version: 0.0.4
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Ben Caldwell
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-08-29 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: simple_form
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- description: Makes WYMeditor available via the asset pipeline and provides a custom input type for SimpleForm
35
- email:
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: Makes WYMeditor available via the asset pipeline and provides a custom
31
+ input type for SimpleForm
32
+ email:
36
33
  - bencaldwell@habanerohq.com
37
34
  executables: []
38
-
39
35
  extensions: []
40
-
41
36
  extra_rdoc_files: []
42
-
43
- files:
37
+ files:
44
38
  - .gitignore
45
39
  - Gemfile
46
40
  - MIT-LICENSE
@@ -127,37 +121,26 @@ files:
127
121
  - wymeditor-simple_form.gemspec
128
122
  homepage: https://github.com/habanerohq/wymeditor-simple_form
129
123
  licenses: []
130
-
131
124
  post_install_message:
132
125
  rdoc_options: []
133
-
134
- require_paths:
126
+ require_paths:
135
127
  - lib
136
- required_ruby_version: !ruby/object:Gem::Requirement
128
+ required_ruby_version: !ruby/object:Gem::Requirement
137
129
  none: false
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- hash: 3
142
- segments:
143
- - 0
144
- version: "0"
145
- required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
135
  none: false
147
- requirements:
148
- - - ">="
149
- - !ruby/object:Gem::Version
150
- hash: 3
151
- segments:
152
- - 0
153
- version: "0"
136
+ requirements:
137
+ - - ! '>='
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
154
140
  requirements: []
155
-
156
141
  rubyforge_project:
157
- rubygems_version: 1.8.17
142
+ rubygems_version: 1.8.23
158
143
  signing_key:
159
144
  specification_version: 3
160
145
  summary: WYMeditor input type for SimpleForm
161
146
  test_files: []
162
-
163
- has_rdoc: