Permalink
Browse files

Initial commit

  • Loading branch information...
spohlenz committed Mar 17, 2012
0 parents commit e260ab5c11e9089cf53bd21e8fa05579d48d732c
Showing 1,270 changed files with 1,323 additions and 0 deletions.
18 LICENSE
@@ -0,0 +1,18 @@
+Copyright (C) 2012 by Sam Pohlenz
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
@@ -0,0 +1,17 @@
+Language Packs for tinymce-rails
+================================
+
+The `tinymce-rails-langs` gem adds language packs for [TinyMCE](http://www.tinymce.com/) (with [tinymce-rails](https://github.com/spohlenz/tinymce-rails)).
+
+
+Instructions
+------------
+
+**Add the `tinymce-rails-langs` gem to your Gemfile**
+
+ gem 'tinymce-rails'
+ gem 'tinymce-rails-langs'
+
+Language files will then be available during development mode and will be copied across when the `assets:precompile` rake task is run.
+
+See the [tinymce-rails project](https://github.com/spohlenz/tinymce-rails) for further integration instructions.
@@ -0,0 +1,7 @@
+Rake::Task['assets:precompile:primary'].enhance do
+ assets = File.expand_path(File.dirname(__FILE__) + "/../../vendor/assets/javascripts/tinymce")
+ target = File.join(Rails.public_path, Rails.application.config.assets.prefix)
+
+ mkdir_p target
+ cp_r assets, target
+end
@@ -0,0 +1,2 @@
+require "tinymce/rails"
+require "tinymce/rails/languages"
@@ -0,0 +1,4 @@
+module TinyMCE::Rails
+ class Languages < ::Rails::Engine
+ end
+end
@@ -0,0 +1,11 @@
+Gem::Specification.new do |s|
+ s.name = "tinymce-rails-langs"
+ s.version = "0.1"
+ s.summary = "Language packs for tinymce-rails."
+ s.description = "Seamlessly integrates TinyMCE into the Rails asset pipeline introduced in Rails 3.1."
+ s.files = Dir["README.md", "LICENSE", "lib/**/*", "vendor/**/*"]
+ s.authors = ["Sam Pohlenz"]
+ s.email = "sam@sampohlenz.com"
+
+ s.add_dependency "tinymce-rails"
+end

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit e260ab5

Please sign in to comment.