-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 10fa0c2
Showing
63 changed files
with
17,537 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
*.gem | ||
.bundle | ||
Gemfile.lock | ||
pkg/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
source "http://rubygems.org" | ||
|
||
# Specify your gem's dependencies in ace-rails-ap.gemspec | ||
gemspec | ||
|
||
gem "rack", :git => "git://github.com/rack/rack.git" | ||
gem "sprockets", :git => "git://github.com/sstephenson/sprockets.git" | ||
gem "i18n", "0.6.0beta1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# ace-rails-ap | ||
|
||
The [Ajax.org Cloud9 Editor (Ace)](/ajaxorg/ace) for the Rails 3.1 asset | ||
pipeline. | ||
|
||
## Usage | ||
|
||
`Gemfile`: | ||
|
||
```ruby | ||
gem 'ace-rails-ap' | ||
``` | ||
|
||
`application.js`: | ||
|
||
```javascript | ||
//= require ace | ||
``` | ||
|
||
To include a theme or mode, just put: | ||
|
||
```javascript | ||
//= require theme-[sometheme].js | ||
//= require mode-[somemode].js | ||
``` | ||
|
||
After `//= require ace` in your `application.js` manifest. | ||
|
||
Then just use Ace like normal. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
require "bundler/gem_tasks" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# -*- encoding: utf-8 -*- | ||
$:.push File.expand_path("../lib", __FILE__) | ||
require "ace/rails/version" | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "ace-rails-ap" | ||
s.version = Ace::Rails::VERSION | ||
s.platform = Gem::Platform::RUBY | ||
s.authors = ["Cody Krieger"] | ||
s.email = ["[email protected]"] | ||
s.homepage = "https://github.com/codykrieger/ace-rails-ap" | ||
s.summary = %q{The Ajax.org Cloud9 Editor (Ace) for the Rails 3.1 asset pipeline.} | ||
s.description = %q{The Ajax.org Cloud9 Editor (Ace) for the Rails 3.1 asset pipeline.} | ||
|
||
s.rubyforge_project = "ace-rails-ap" | ||
|
||
s.files = `git ls-files`.split("\n") | ||
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
s.require_paths = ["lib"] | ||
|
||
s.add_development_dependency "bundler", "~> 1.0.0" | ||
s.add_development_dependency "rails", "~> 3.0" | ||
|
||
# specify any dependencies here; for example: | ||
# s.add_development_dependency "rspec" | ||
# s.add_runtime_dependency "rest-client" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require 'ace/rails' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module Ace | ||
module Rails | ||
if ::Rails.version < "3.1" | ||
# no dice! | ||
else | ||
require 'ace/rails/engine' | ||
end | ||
|
||
require "ace/rails/version" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module Ace | ||
module Rails | ||
class Engine < ::Rails::Engine | ||
end | ||
end | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module Ace | ||
module Rails | ||
VERSION = "0.0.1" | ||
end | ||
end |
Oops, something went wrong.