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 +17 -0
- data/lib/generators/railbone/install/install_generator.rb +13 -0
- data/lib/railbone.rb +4 -2
- data/lib/railbone/version.rb +1 -1
- data/railbone.gemspec +2 -2
- metadata +7 -5
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
|
data/lib/railbone.rb
CHANGED
data/lib/railbone/version.rb
CHANGED
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{
|
12
|
-
s.description = %q{
|
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
|
-
-
|
9
|
-
version: 0.0.
|
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-
|
17
|
+
date: 2011-07-03 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
21
|
-
description:
|
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:
|
70
|
+
summary: Integrates Backbone.js with Rails
|
69
71
|
test_files: []
|
70
72
|
|