railbone 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # Railbone
2
+ Easily integrate Backbone.js into rails for developing single page web apps.
3
+
4
+ ## Notes
5
+ Currently used with Mongoid, compatibility with ActiveRecord and other ORMs is unknown.
6
+
7
+ ## Installation
8
+ ### rails g railbone:install
9
+ - includes javascript files in assets
10
+ - creates router
11
+ - creates app.js
12
+
13
+ ## Use
14
+ ### rails g model [name]
15
+ Generate models as you would usually which does the following:
16
+ - creates a CRUD controller and routes
17
+ - creates Backbone model and controller
@@ -0,0 +1,13 @@
1
+ module Railbone
2
+ module Generators
3
+ class InstallGenerator < Rails::Generators::Base
4
+ source_root File.expand_path("../templates", __FILE__)
5
+
6
+ desc "Sets up Railbone"
7
+
8
+ def alert_installing
9
+ puts "Installing..."
10
+ end
11
+ end
12
+ end
13
+ end
data/lib/railbone.rb CHANGED
@@ -1,5 +1,7 @@
1
- require "railbone/version"
1
+ require 'rails'
2
+ require 'railbone/version'
2
3
 
3
4
  module Railbone
4
- # Your code goes here...
5
+ class Engine < Rails::Engine
6
+ end
5
7
  end
@@ -1,3 +1,3 @@
1
1
  module Railbone
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
data/railbone.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
8
8
  s.authors = ["Chris Polis"]
9
9
  s.email = ["cmpolis@gmail.com"]
10
10
  s.homepage = ""
11
- s.summary = %q{Combines Backbone with Rails 3 for developing single page web apps.}
12
- s.description = %q{A utility that includes Backbone and it's dependencies with Rails 3. Includes generators for creating Backbone models, controllers and routers as well as CRUD controllers for Rails models.}
11
+ s.summary = %q{Integrates Backbone.js with Rails}
12
+ s.description = %q{Integrates Backbone.js with Rails for developing single page apps.}
13
13
 
14
14
  s.rubyforge_project = "railbone"
15
15
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Chris Polis
@@ -14,11 +14,11 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-07-02 00:00:00 -07:00
17
+ date: 2011-07-03 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
21
- description: A utility that includes Backbone and it's dependencies with Rails 3. Includes generators for creating Backbone models, controllers and routers as well as CRUD controllers for Rails models.
21
+ description: Integrates Backbone.js with Rails for developing single page apps.
22
22
  email:
23
23
  - cmpolis@gmail.com
24
24
  executables: []
@@ -30,7 +30,9 @@ extra_rdoc_files: []
30
30
  files:
31
31
  - .gitignore
32
32
  - Gemfile
33
+ - README.md
33
34
  - Rakefile
35
+ - lib/generators/railbone/install/install_generator.rb
34
36
  - lib/railbone.rb
35
37
  - lib/railbone/version.rb
36
38
  - railbone.gemspec
@@ -65,6 +67,6 @@ rubyforge_project: railbone
65
67
  rubygems_version: 1.3.7
66
68
  signing_key:
67
69
  specification_version: 3
68
- summary: Combines Backbone with Rails 3 for developing single page web apps.
70
+ summary: Integrates Backbone.js with Rails
69
71
  test_files: []
70
72