Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make a rails engine

  • Loading branch information...
commit 373d304234563ead9647a39ccef8dd07decc883c 1 parent 415732e
@ndp authored
View
1  Gemfile
@@ -2,3 +2,4 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in csster.gemspec
gemspec
+
View
53 Gemfile.lock
@@ -1,11 +1,62 @@
PATH
remote: .
specs:
- csster (0.0.1)
+ csster (1.0.2)
+ railties (~> 3.1)
GEM
remote: https://rubygems.org/
specs:
+ actionpack (3.1.0)
+ activemodel (= 3.1.0)
+ activesupport (= 3.1.0)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ i18n (~> 0.6)
+ rack (~> 1.3.2)
+ rack-cache (~> 1.0.3)
+ rack-mount (~> 0.8.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.0.0)
+ activemodel (3.1.0)
+ activesupport (= 3.1.0)
+ bcrypt-ruby (~> 3.0.0)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activesupport (3.1.0)
+ multi_json (~> 1.0)
+ bcrypt-ruby (3.0.1)
+ builder (3.0.0)
+ erubis (2.7.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ json (1.4.6)
+ multi_json (1.0.3)
+ rack (1.3.5)
+ rack-cache (1.0.3)
+ rack (>= 0.4)
+ rack-mount (0.8.3)
+ rack (>= 1.0.0)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ railties (3.1.0)
+ actionpack (= 3.1.0)
+ activesupport (= 3.1.0)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rake (0.9.2.2)
+ rdoc (3.11)
+ json (~> 1.4)
+ sprockets (2.0.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ thor (0.14.6)
+ tilt (1.3.3)
PLATFORMS
ruby
View
3  csster.gemspec
@@ -8,10 +8,11 @@ Gem::Specification.new do |gem|
gem.summary = %q{Concisely generate CSS style rules within Javascript}
gem.homepage = "http://github.com/ndp/csster"
- gem.files = `git ls-files`.split($\)
+ gem.files = Dir["{lib,vendor}/**/*"] + ["LICENSE", "README.markdown"]
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "csster"
gem.require_paths = ["lib"]
gem.version = Csster::VERSION
+ gem.add_dependency "railties", "~> 3.1"
end
View
4 lib/csster.rb
@@ -1,4 +1,8 @@
require "csster/version"
module Csster
+ module Rails
+ class Engine < ::Rails::Engine
+ end
+ end
end
View
0  lib/jasmine-1.0.0.rc1/jasmine-html.js → libs/jasmine-1.0.0.rc1/jasmine-html.js
File renamed without changes
View
0  lib/jasmine-1.0.0.rc1/jasmine.css → libs/jasmine-1.0.0.rc1/jasmine.css
File renamed without changes
View
0  lib/jasmine-1.0.0.rc1/jasmine.js → libs/jasmine-1.0.0.rc1/jasmine.js
File renamed without changes
View
0  lib/jquery-1.4.2.js → libs/jquery-1.4.2.js
File renamed without changes
View
BIN  pkg/csster-1.0.2.gem
Binary file not shown
View
8 spec_runner.html
@@ -3,9 +3,9 @@
<html>
<head>
<title>Jasmine Test Runner</title>
- <link rel="stylesheet" type="text/css" href="lib/jasmine-1.0.0.rc1/jasmine.css">
- <script type="text/javascript" src="lib/jasmine-1.0.0.rc1/jasmine.js"></script>
- <script type="text/javascript" src="lib/jasmine-1.0.0.rc1/jasmine-html.js"></script>
+ <link rel="stylesheet" type="text/css" href="libs/jasmine-1.0.0.rc1/jasmine.css">
+ <script type="text/javascript" src="libs/jasmine-1.0.0.rc1/jasmine.js"></script>
+ <script type="text/javascript" src="libs/jasmine-1.0.0.rc1/jasmine-html.js"></script>
<style type="text/css"></style>
<!-- include source files here... -->
@@ -16,7 +16,7 @@
<script type="text/javascript" src="src/filters/property_pre_processors.js"></script>
<script type="text/javascript" src="src/filters/rule_post_processors.js"></script>
<script type="text/javascript" src="src/init.js"></script>
- <script type="text/javascript" src="lib/jquery-1.4.2.js"></script>
+ <script type="text/javascript" src="libs/jquery-1.4.2.js"></script>
<script type="text/javascript" src="src/jquery.js"></script>
<!-- include spec files here... -->
Please sign in to comment.
Something went wrong with that request. Please try again.