push_type_wysiwyg 0.2.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +20 -0
  3. data/README.md +3 -0
  4. data/app/assets/javascripts/push_type/froala_overrides/file_upload.js +133 -0
  5. data/app/assets/javascripts/push_type/froala_overrides/froala_editor.js +34 -0
  6. data/app/assets/javascripts/push_type/froala_overrides/image_editor.js +215 -0
  7. data/app/assets/javascripts/push_type/froala_overrides/media_manager.js +184 -0
  8. data/app/assets/javascripts/push_type/media_styles.js.coffee.erb +5 -0
  9. data/app/assets/javascripts/push_type/wysiwyg.js.coffee +50 -0
  10. data/app/assets/stylesheets/push_type/froala_overrides.scss +77 -0
  11. data/app/assets/stylesheets/push_type/pt_theme.scss +373 -0
  12. data/app/assets/stylesheets/push_type/wysiwyg.scss +36 -0
  13. data/app/controllers/push_type/wysiwyg_media_controller.rb +43 -0
  14. data/app/fields/push_type/wysiwyg_field.rb +10 -0
  15. data/app/helpers/push_type/wysiwyg_media_helper.rb +34 -0
  16. data/config/routes.rb +3 -0
  17. data/lib/push_type/wysiwyg/engine.rb +16 -0
  18. data/lib/push_type/wysiwyg.rb +14 -0
  19. data/lib/push_type_wysiwyg.rb +2 -0
  20. data/lib/tasks/push_type_tasks.rake +4 -0
  21. data/test/controllers/push_type/wysiwyg_media_controller_test.rb +58 -0
  22. data/test/dummy/README.rdoc +28 -0
  23. data/test/dummy/Rakefile +6 -0
  24. data/test/dummy/app/assets/javascripts/application.js +16 -0
  25. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  26. data/test/dummy/app/controllers/application_controller.rb +5 -0
  27. data/test/dummy/app/helpers/application_helper.rb +2 -0
  28. data/test/dummy/app/models/page.rb +10 -0
  29. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  30. data/test/dummy/app/views/nodes/page.html.erb +3 -0
  31. data/test/dummy/bin/bundle +3 -0
  32. data/test/dummy/bin/rails +4 -0
  33. data/test/dummy/bin/rake +4 -0
  34. data/test/dummy/bin/setup +29 -0
  35. data/test/dummy/config/application.rb +14 -0
  36. data/test/dummy/config/boot.rb +4 -0
  37. data/test/dummy/config/database.yml +85 -0
  38. data/test/dummy/config/environment.rb +5 -0
  39. data/test/dummy/config/environments/development.rb +41 -0
  40. data/test/dummy/config/environments/production.rb +79 -0
  41. data/test/dummy/config/environments/test.rb +42 -0
  42. data/test/dummy/config/initializers/assets.rb +11 -0
  43. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  44. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  45. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  46. data/test/dummy/config/initializers/inflections.rb +16 -0
  47. data/test/dummy/config/initializers/mime_types.rb +4 -0
  48. data/test/dummy/config/initializers/push_type.rb +15 -0
  49. data/test/dummy/config/initializers/session_store.rb +3 -0
  50. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  51. data/test/dummy/config/locales/en.yml +23 -0
  52. data/test/dummy/config/routes.rb +59 -0
  53. data/test/dummy/config/secrets.yml +22 -0
  54. data/test/dummy/config.ru +4 -0
  55. data/test/dummy/db/migrate/20150208150336_create_push_type_users.push_type.rb +13 -0
  56. data/test/dummy/db/migrate/20150208150337_create_push_type_nodes.push_type.rb +25 -0
  57. data/test/dummy/db/migrate/20150208150338_create_push_type_node_hierarchies.push_type.rb +17 -0
  58. data/test/dummy/db/migrate/20150208150339_create_push_type_assets.push_type.rb +19 -0
  59. data/test/dummy/db/schema.rb +67 -0
  60. data/test/dummy/db/seeds.rb +7 -0
  61. data/test/dummy/log/test.log +1309 -0
  62. data/test/dummy/public/404.html +67 -0
  63. data/test/dummy/public/422.html +67 -0
  64. data/test/dummy/public/500.html +66 -0
  65. data/test/dummy/public/favicon.ico +0 -0
  66. data/test/dummy/public/robots.txt +5 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/0a170bcd46595a69e9181ea5eb52ec6f +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/853c1095ab6e7f4eba1f3406f0f3bba6 +0 -0
  69. data/test/helpers/push_type/wysiwyg_media_helper_test.rb +41 -0
  70. data/test/models/push_type/wysiwyg_field_test.rb +9 -0
  71. data/test/test_helper.rb +21 -0
  72. data/vendor/assets/javascripts/jquery.simplePagination.js +334 -0
  73. metadata +252 -0
metadata ADDED
@@ -0,0 +1,252 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: push_type_wysiwyg
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0.beta2
5
+ platform: ruby
6
+ authors:
7
+ - Aaron Russell
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-02-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: push_type_core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 0.2.0.beta2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.2.0.beta2
27
+ - !ruby/object:Gem::Dependency
28
+ name: push_type_admin
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.2.0.beta2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.2.0.beta2
41
+ - !ruby/object:Gem::Dependency
42
+ name: wysiwyg-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 1.2.4
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 1.2.4
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.1.1
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.1.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: database_cleaner
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.3.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.3.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: factory_girl_rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 4.5.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 4.5.0
97
+ description: Provides a WYSIWYG editor to the PushType content management system using
98
+ Froala. Requires push_type_admin.
99
+ email:
100
+ - aaron@gc4.co.uk
101
+ executables: []
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - LICENSE.md
106
+ - README.md
107
+ - app/assets/javascripts/push_type/froala_overrides/file_upload.js
108
+ - app/assets/javascripts/push_type/froala_overrides/froala_editor.js
109
+ - app/assets/javascripts/push_type/froala_overrides/image_editor.js
110
+ - app/assets/javascripts/push_type/froala_overrides/media_manager.js
111
+ - app/assets/javascripts/push_type/media_styles.js.coffee.erb
112
+ - app/assets/javascripts/push_type/wysiwyg.js.coffee
113
+ - app/assets/stylesheets/push_type/froala_overrides.scss
114
+ - app/assets/stylesheets/push_type/pt_theme.scss
115
+ - app/assets/stylesheets/push_type/wysiwyg.scss
116
+ - app/controllers/push_type/wysiwyg_media_controller.rb
117
+ - app/fields/push_type/wysiwyg_field.rb
118
+ - app/helpers/push_type/wysiwyg_media_helper.rb
119
+ - config/routes.rb
120
+ - lib/push_type/wysiwyg.rb
121
+ - lib/push_type/wysiwyg/engine.rb
122
+ - lib/push_type_wysiwyg.rb
123
+ - lib/tasks/push_type_tasks.rake
124
+ - test/controllers/push_type/wysiwyg_media_controller_test.rb
125
+ - test/dummy/README.rdoc
126
+ - test/dummy/Rakefile
127
+ - test/dummy/app/assets/javascripts/application.js
128
+ - test/dummy/app/assets/stylesheets/application.css
129
+ - test/dummy/app/controllers/application_controller.rb
130
+ - test/dummy/app/helpers/application_helper.rb
131
+ - test/dummy/app/models/page.rb
132
+ - test/dummy/app/views/layouts/application.html.erb
133
+ - test/dummy/app/views/nodes/page.html.erb
134
+ - test/dummy/bin/bundle
135
+ - test/dummy/bin/rails
136
+ - test/dummy/bin/rake
137
+ - test/dummy/bin/setup
138
+ - test/dummy/config.ru
139
+ - test/dummy/config/application.rb
140
+ - test/dummy/config/boot.rb
141
+ - test/dummy/config/database.yml
142
+ - test/dummy/config/environment.rb
143
+ - test/dummy/config/environments/development.rb
144
+ - test/dummy/config/environments/production.rb
145
+ - test/dummy/config/environments/test.rb
146
+ - test/dummy/config/initializers/assets.rb
147
+ - test/dummy/config/initializers/backtrace_silencers.rb
148
+ - test/dummy/config/initializers/cookies_serializer.rb
149
+ - test/dummy/config/initializers/filter_parameter_logging.rb
150
+ - test/dummy/config/initializers/inflections.rb
151
+ - test/dummy/config/initializers/mime_types.rb
152
+ - test/dummy/config/initializers/push_type.rb
153
+ - test/dummy/config/initializers/session_store.rb
154
+ - test/dummy/config/initializers/wrap_parameters.rb
155
+ - test/dummy/config/locales/en.yml
156
+ - test/dummy/config/routes.rb
157
+ - test/dummy/config/secrets.yml
158
+ - test/dummy/db/migrate/20150208150336_create_push_type_users.push_type.rb
159
+ - test/dummy/db/migrate/20150208150337_create_push_type_nodes.push_type.rb
160
+ - test/dummy/db/migrate/20150208150338_create_push_type_node_hierarchies.push_type.rb
161
+ - test/dummy/db/migrate/20150208150339_create_push_type_assets.push_type.rb
162
+ - test/dummy/db/schema.rb
163
+ - test/dummy/db/seeds.rb
164
+ - test/dummy/log/test.log
165
+ - test/dummy/public/404.html
166
+ - test/dummy/public/422.html
167
+ - test/dummy/public/500.html
168
+ - test/dummy/public/favicon.ico
169
+ - test/dummy/public/robots.txt
170
+ - test/dummy/tmp/cache/assets/test/sprockets/0a170bcd46595a69e9181ea5eb52ec6f
171
+ - test/dummy/tmp/cache/assets/test/sprockets/853c1095ab6e7f4eba1f3406f0f3bba6
172
+ - test/helpers/push_type/wysiwyg_media_helper_test.rb
173
+ - test/models/push_type/wysiwyg_field_test.rb
174
+ - test/test_helper.rb
175
+ - vendor/assets/javascripts/jquery.simplePagination.js
176
+ homepage: http://type.pushcode.com
177
+ licenses:
178
+ - MIT
179
+ metadata: {}
180
+ post_install_message:
181
+ rdoc_options: []
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">"
192
+ - !ruby/object:Gem::Version
193
+ version: 1.3.1
194
+ requirements: []
195
+ rubyforge_project:
196
+ rubygems_version: 2.4.2
197
+ signing_key:
198
+ specification_version: 4
199
+ summary: Provides a WYSIWYG editor to the PushType content management system using
200
+ Froala.
201
+ test_files:
202
+ - test/controllers/push_type/wysiwyg_media_controller_test.rb
203
+ - test/dummy/app/assets/javascripts/application.js
204
+ - test/dummy/app/assets/stylesheets/application.css
205
+ - test/dummy/app/controllers/application_controller.rb
206
+ - test/dummy/app/helpers/application_helper.rb
207
+ - test/dummy/app/models/page.rb
208
+ - test/dummy/app/views/layouts/application.html.erb
209
+ - test/dummy/app/views/nodes/page.html.erb
210
+ - test/dummy/bin/bundle
211
+ - test/dummy/bin/rails
212
+ - test/dummy/bin/rake
213
+ - test/dummy/bin/setup
214
+ - test/dummy/config/application.rb
215
+ - test/dummy/config/boot.rb
216
+ - test/dummy/config/database.yml
217
+ - test/dummy/config/environment.rb
218
+ - test/dummy/config/environments/development.rb
219
+ - test/dummy/config/environments/production.rb
220
+ - test/dummy/config/environments/test.rb
221
+ - test/dummy/config/initializers/assets.rb
222
+ - test/dummy/config/initializers/backtrace_silencers.rb
223
+ - test/dummy/config/initializers/cookies_serializer.rb
224
+ - test/dummy/config/initializers/filter_parameter_logging.rb
225
+ - test/dummy/config/initializers/inflections.rb
226
+ - test/dummy/config/initializers/mime_types.rb
227
+ - test/dummy/config/initializers/push_type.rb
228
+ - test/dummy/config/initializers/session_store.rb
229
+ - test/dummy/config/initializers/wrap_parameters.rb
230
+ - test/dummy/config/locales/en.yml
231
+ - test/dummy/config/routes.rb
232
+ - test/dummy/config/secrets.yml
233
+ - test/dummy/config.ru
234
+ - test/dummy/db/migrate/20150208150336_create_push_type_users.push_type.rb
235
+ - test/dummy/db/migrate/20150208150337_create_push_type_nodes.push_type.rb
236
+ - test/dummy/db/migrate/20150208150338_create_push_type_node_hierarchies.push_type.rb
237
+ - test/dummy/db/migrate/20150208150339_create_push_type_assets.push_type.rb
238
+ - test/dummy/db/schema.rb
239
+ - test/dummy/db/seeds.rb
240
+ - test/dummy/log/test.log
241
+ - test/dummy/public/404.html
242
+ - test/dummy/public/422.html
243
+ - test/dummy/public/500.html
244
+ - test/dummy/public/favicon.ico
245
+ - test/dummy/public/robots.txt
246
+ - test/dummy/Rakefile
247
+ - test/dummy/README.rdoc
248
+ - test/dummy/tmp/cache/assets/test/sprockets/0a170bcd46595a69e9181ea5eb52ec6f
249
+ - test/dummy/tmp/cache/assets/test/sprockets/853c1095ab6e7f4eba1f3406f0f3bba6
250
+ - test/helpers/push_type/wysiwyg_media_helper_test.rb
251
+ - test/models/push_type/wysiwyg_field_test.rb
252
+ - test/test_helper.rb