rails-backbone 0.7.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +1 -1
- data/README.md +68 -22
- data/Rakefile +1 -0
- data/lib/generators/backbone/install/install_generator.rb +33 -11
- data/lib/generators/backbone/router/templates/view.coffee +1 -1
- data/lib/generators/backbone/scaffold/templates/router.coffee +1 -1
- data/lib/generators/backbone/scaffold/templates/templates/edit.jst +1 -1
- data/lib/generators/backbone/scaffold/templates/templates/model.jst +3 -3
- data/lib/generators/backbone/scaffold/templates/views/edit_view.coffee +7 -7
- data/lib/generators/backbone/scaffold/templates/views/index_view.coffee +3 -3
- data/lib/generators/backbone/scaffold/templates/views/model_view.coffee +1 -1
- data/lib/generators/backbone/scaffold/templates/views/new_view.coffee +1 -1
- data/lib/generators/backbone/scaffold/templates/views/show_view.coffee +1 -1
- data/vendor/assets/javascripts/backbone.js +1301 -864
- data/vendor/assets/javascripts/backbone_rails_sync.js +19 -55
- data/vendor/assets/javascripts/underscore.js +1067 -578
- metadata +140 -35
metadata
CHANGED
@@ -1,58 +1,169 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-backbone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ryan Fitzgerald
|
9
8
|
- Code Brew Studios
|
9
|
+
- Manu S Ajith
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2015-06-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
17
|
-
requirement:
|
18
|
-
none: false
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
19
18
|
requirements:
|
20
|
-
- -
|
19
|
+
- - ">="
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
21
|
+
version: '0'
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: coffee-rails
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
26
43
|
- !ruby/object:Gem::Dependency
|
27
|
-
name:
|
28
|
-
requirement:
|
29
|
-
none: false
|
44
|
+
name: jquery-rails
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
30
46
|
requirements:
|
31
|
-
- -
|
47
|
+
- - ">="
|
32
48
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
49
|
+
version: '0'
|
34
50
|
type: :runtime
|
35
51
|
prerelease: false
|
36
|
-
version_requirements:
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
37
57
|
- !ruby/object:Gem::Dependency
|
38
58
|
name: ejs
|
39
|
-
requirement:
|
40
|
-
none: false
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
41
60
|
requirements:
|
42
|
-
- -
|
61
|
+
- - ">="
|
43
62
|
- !ruby/object:Gem::Version
|
44
|
-
version:
|
63
|
+
version: '0'
|
45
64
|
type: :runtime
|
46
65
|
prerelease: false
|
47
|
-
version_requirements:
|
48
|
-
|
49
|
-
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rails
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: sqlite3
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: sass
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: uglifier
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: turn
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: minitest
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
type: :development
|
149
|
+
prerelease: false
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
description: Quickly setup backbone.js for use with rails 3.1 and above apps. Generators
|
156
|
+
are provided to quickly get started.
|
50
157
|
email:
|
51
158
|
- ryan@codebrewstudios.com
|
159
|
+
- neo@codingarena.in
|
52
160
|
executables: []
|
53
161
|
extensions: []
|
54
162
|
extra_rdoc_files: []
|
55
163
|
files:
|
164
|
+
- MIT-LICENSE
|
165
|
+
- README.md
|
166
|
+
- Rakefile
|
56
167
|
- lib/backbone-rails.rb
|
57
168
|
- lib/generators/backbone/install/install_generator.rb
|
58
169
|
- lib/generators/backbone/install/templates/app.coffee
|
@@ -82,34 +193,28 @@ files:
|
|
82
193
|
- vendor/assets/javascripts/backbone_datalink.js
|
83
194
|
- vendor/assets/javascripts/backbone_rails_sync.js
|
84
195
|
- vendor/assets/javascripts/underscore.js
|
85
|
-
- MIT-LICENSE
|
86
|
-
- Rakefile
|
87
|
-
- README.md
|
88
196
|
homepage: http://github.com/codebrew/backbone-rails
|
89
|
-
licenses:
|
197
|
+
licenses:
|
198
|
+
- MIT
|
199
|
+
metadata: {}
|
90
200
|
post_install_message:
|
91
201
|
rdoc_options: []
|
92
202
|
require_paths:
|
93
203
|
- lib
|
94
204
|
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
-
none: false
|
96
205
|
requirements:
|
97
|
-
- -
|
206
|
+
- - ">="
|
98
207
|
- !ruby/object:Gem::Version
|
99
208
|
version: '0'
|
100
|
-
segments:
|
101
|
-
- 0
|
102
|
-
hash: 172993818231828983
|
103
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
210
|
requirements:
|
106
|
-
- -
|
211
|
+
- - ">="
|
107
212
|
- !ruby/object:Gem::Version
|
108
213
|
version: '0'
|
109
214
|
requirements: []
|
110
215
|
rubyforge_project:
|
111
|
-
rubygems_version:
|
216
|
+
rubygems_version: 2.4.3
|
112
217
|
signing_key:
|
113
|
-
specification_version:
|
114
|
-
summary: Use backbone.js with rails 3.1
|
218
|
+
specification_version: 4
|
219
|
+
summary: Use backbone.js with rails 3.1 and above apps
|
115
220
|
test_files: []
|