redactor2_rails 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +12 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +207 -0
  7. data/Rakefile +2 -0
  8. data/app/controller/redactor2_rails/files_controller.rb +28 -0
  9. data/app/controller/redactor2_rails/images_controller.rb +28 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +7 -0
  12. data/config/routes.rb +4 -0
  13. data/lib/generators/redactor2/config_generator.rb +18 -0
  14. data/lib/generators/redactor2/install_generator.rb +75 -0
  15. data/lib/generators/redactor2/templates/active_record/carrierwave/devise_migration.rb +28 -0
  16. data/lib/generators/redactor2/templates/active_record/carrierwave/migration.rb +25 -0
  17. data/lib/generators/redactor2/templates/active_record/carrierwave/redactor2/asset.rb +6 -0
  18. data/lib/generators/redactor2/templates/active_record/carrierwave/redactor2/file.rb +7 -0
  19. data/lib/generators/redactor2/templates/active_record/carrierwave/redactor2/image.rb +7 -0
  20. data/lib/generators/redactor2/templates/base/carrierwave/uploaders/redactor2_rails_file_uploader.rb +15 -0
  21. data/lib/generators/redactor2/templates/base/carrierwave/uploaders/redactor2_rails_image_uploader.rb +54 -0
  22. data/lib/generators/redactor2/templates/config.js +14 -0
  23. data/lib/generators/redactor2/templates/mongoid/carrierwave/redactor/asset.rb +9 -0
  24. data/lib/generators/redactor2/templates/mongoid/carrierwave/redactor/file.rb +7 -0
  25. data/lib/generators/redactor2/templates/mongoid/carrierwave/redactor/picture.rb +7 -0
  26. data/lib/redactor2_rails.rb +40 -0
  27. data/lib/redactor2_rails/backend/carrierwave.rb +64 -0
  28. data/lib/redactor2_rails/devise.rb +11 -0
  29. data/lib/redactor2_rails/engine.rb +9 -0
  30. data/lib/redactor2_rails/http.rb +89 -0
  31. data/lib/redactor2_rails/orm/active_record.rb +31 -0
  32. data/lib/redactor2_rails/orm/base.rb +38 -0
  33. data/lib/redactor2_rails/orm/mongoid.rb +37 -0
  34. data/lib/redactor2_rails/version.rb +3 -0
  35. data/redactor2_rails.gemspec +28 -0
  36. data/vendor/assets/javascripts/redactor2_rails/config.js +14 -0
  37. data/vendor/assets/javascripts/redactor2_rails/index.js +2 -0
  38. data/vendor/assets/javascripts/redactor2_rails/langs/ar.js +50 -0
  39. data/vendor/assets/javascripts/redactor2_rails/langs/de.js +50 -0
  40. data/vendor/assets/javascripts/redactor2_rails/langs/en.js +50 -0
  41. data/vendor/assets/javascripts/redactor2_rails/langs/es.js +50 -0
  42. data/vendor/assets/javascripts/redactor2_rails/langs/fa.js +50 -0
  43. data/vendor/assets/javascripts/redactor2_rails/langs/fi.js +50 -0
  44. data/vendor/assets/javascripts/redactor2_rails/langs/fr.js +50 -0
  45. data/vendor/assets/javascripts/redactor2_rails/langs/hu.js +50 -0
  46. data/vendor/assets/javascripts/redactor2_rails/langs/it.js +50 -0
  47. data/vendor/assets/javascripts/redactor2_rails/langs/ja.js +50 -0
  48. data/vendor/assets/javascripts/redactor2_rails/langs/ko.js +50 -0
  49. data/vendor/assets/javascripts/redactor2_rails/langs/nl.js +50 -0
  50. data/vendor/assets/javascripts/redactor2_rails/langs/pl.js +50 -0
  51. data/vendor/assets/javascripts/redactor2_rails/langs/pt_br.js +50 -0
  52. data/vendor/assets/javascripts/redactor2_rails/langs/ru.js +50 -0
  53. data/vendor/assets/javascripts/redactor2_rails/langs/sv.js +50 -0
  54. data/vendor/assets/javascripts/redactor2_rails/langs/tr.js +50 -0
  55. data/vendor/assets/javascripts/redactor2_rails/langs/zh_cn.js +52 -0
  56. data/vendor/assets/javascripts/redactor2_rails/langs/zh_tw.js +50 -0
  57. data/vendor/assets/javascripts/redactor2_rails/plugins.js +4 -0
  58. data/vendor/assets/javascripts/redactor2_rails/plugins/clips.js +60 -0
  59. data/vendor/assets/javascripts/redactor2_rails/plugins/fullscreen.js +159 -0
  60. data/vendor/assets/javascripts/redactor2_rails/plugins/source.js +195 -0
  61. data/vendor/assets/javascripts/redactor2_rails/plugins/textdirection.js +36 -0
  62. data/vendor/assets/javascripts/redactor2_rails/redactor.js +9989 -0
  63. data/vendor/assets/javascripts/redactor2_rails/redactor.min.js +13 -0
  64. data/vendor/assets/stylesheets/redactor2_rails/css/redactor.css +931 -0
  65. data/vendor/assets/stylesheets/redactor2_rails/index.css +1 -0
  66. data/vendor/assets/stylesheets/redactor2_rails/plugins.css +1 -0
  67. data/vendor/assets/stylesheets/redactor2_rails/plugins/clips.css +10 -0
  68. metadata +183 -0
@@ -0,0 +1 @@
1
+ //= require ./css/redactor
@@ -0,0 +1 @@
1
+ //= require ./plugins/clips
@@ -0,0 +1,10 @@
1
+ b.label-red {
2
+ color: #fff;
3
+ background: #c92020;
4
+ padding: 0 7px;
5
+ font-size: 11px;
6
+ text-transform: uppercase;
7
+ font-weight: normal;
8
+ display: inline-block;
9
+ border-radius: 4px;
10
+ }
metadata ADDED
@@ -0,0 +1,183 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: redactor2_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Oleg Sulyanov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: mime-types
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: orm_adapter
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: devise
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.10'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.10'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ description:
84
+ email:
85
+ - oleg@sulyanov.com
86
+ executables:
87
+ - console
88
+ - setup
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - ".travis.yml"
94
+ - Gemfile
95
+ - LICENSE.txt
96
+ - README.md
97
+ - Rakefile
98
+ - app/controller/redactor2_rails/files_controller.rb
99
+ - app/controller/redactor2_rails/images_controller.rb
100
+ - bin/console
101
+ - bin/setup
102
+ - config/routes.rb
103
+ - lib/generators/redactor2/config_generator.rb
104
+ - lib/generators/redactor2/install_generator.rb
105
+ - lib/generators/redactor2/templates/active_record/carrierwave/devise_migration.rb
106
+ - lib/generators/redactor2/templates/active_record/carrierwave/migration.rb
107
+ - lib/generators/redactor2/templates/active_record/carrierwave/redactor2/asset.rb
108
+ - lib/generators/redactor2/templates/active_record/carrierwave/redactor2/file.rb
109
+ - lib/generators/redactor2/templates/active_record/carrierwave/redactor2/image.rb
110
+ - lib/generators/redactor2/templates/base/carrierwave/uploaders/redactor2_rails_file_uploader.rb
111
+ - lib/generators/redactor2/templates/base/carrierwave/uploaders/redactor2_rails_image_uploader.rb
112
+ - lib/generators/redactor2/templates/config.js
113
+ - lib/generators/redactor2/templates/mongoid/carrierwave/redactor/asset.rb
114
+ - lib/generators/redactor2/templates/mongoid/carrierwave/redactor/file.rb
115
+ - lib/generators/redactor2/templates/mongoid/carrierwave/redactor/picture.rb
116
+ - lib/redactor2_rails.rb
117
+ - lib/redactor2_rails/backend/carrierwave.rb
118
+ - lib/redactor2_rails/devise.rb
119
+ - lib/redactor2_rails/engine.rb
120
+ - lib/redactor2_rails/http.rb
121
+ - lib/redactor2_rails/orm/active_record.rb
122
+ - lib/redactor2_rails/orm/base.rb
123
+ - lib/redactor2_rails/orm/mongoid.rb
124
+ - lib/redactor2_rails/version.rb
125
+ - redactor2_rails.gemspec
126
+ - vendor/assets/javascripts/redactor2_rails/config.js
127
+ - vendor/assets/javascripts/redactor2_rails/index.js
128
+ - vendor/assets/javascripts/redactor2_rails/langs/ar.js
129
+ - vendor/assets/javascripts/redactor2_rails/langs/de.js
130
+ - vendor/assets/javascripts/redactor2_rails/langs/en.js
131
+ - vendor/assets/javascripts/redactor2_rails/langs/es.js
132
+ - vendor/assets/javascripts/redactor2_rails/langs/fa.js
133
+ - vendor/assets/javascripts/redactor2_rails/langs/fi.js
134
+ - vendor/assets/javascripts/redactor2_rails/langs/fr.js
135
+ - vendor/assets/javascripts/redactor2_rails/langs/hu.js
136
+ - vendor/assets/javascripts/redactor2_rails/langs/it.js
137
+ - vendor/assets/javascripts/redactor2_rails/langs/ja.js
138
+ - vendor/assets/javascripts/redactor2_rails/langs/ko.js
139
+ - vendor/assets/javascripts/redactor2_rails/langs/nl.js
140
+ - vendor/assets/javascripts/redactor2_rails/langs/pl.js
141
+ - vendor/assets/javascripts/redactor2_rails/langs/pt_br.js
142
+ - vendor/assets/javascripts/redactor2_rails/langs/ru.js
143
+ - vendor/assets/javascripts/redactor2_rails/langs/sv.js
144
+ - vendor/assets/javascripts/redactor2_rails/langs/tr.js
145
+ - vendor/assets/javascripts/redactor2_rails/langs/zh_cn.js
146
+ - vendor/assets/javascripts/redactor2_rails/langs/zh_tw.js
147
+ - vendor/assets/javascripts/redactor2_rails/plugins.js
148
+ - vendor/assets/javascripts/redactor2_rails/plugins/clips.js
149
+ - vendor/assets/javascripts/redactor2_rails/plugins/fullscreen.js
150
+ - vendor/assets/javascripts/redactor2_rails/plugins/source.js
151
+ - vendor/assets/javascripts/redactor2_rails/plugins/textdirection.js
152
+ - vendor/assets/javascripts/redactor2_rails/redactor.js
153
+ - vendor/assets/javascripts/redactor2_rails/redactor.min.js
154
+ - vendor/assets/stylesheets/redactor2_rails/css/redactor.css
155
+ - vendor/assets/stylesheets/redactor2_rails/index.css
156
+ - vendor/assets/stylesheets/redactor2_rails/plugins.css
157
+ - vendor/assets/stylesheets/redactor2_rails/plugins/clips.css
158
+ homepage: https://github.com/osulyanov/redactor2_rails
159
+ licenses:
160
+ - MIT
161
+ metadata: {}
162
+ post_install_message:
163
+ rdoc_options: []
164
+ require_paths:
165
+ - lib
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ required_rubygems_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
176
+ requirements: []
177
+ rubyforge_project:
178
+ rubygems_version: 2.4.5.1
179
+ signing_key:
180
+ specification_version: 4
181
+ summary: Imperavi Redactor for Rails 3.x - 4 Asset Pipeline
182
+ test_files: []
183
+ has_rdoc: