tbone 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
@@ -2,13 +2,13 @@ define [
|
|
2
2
|
'jquery'
|
3
3
|
'backbone'
|
4
4
|
'bootstrap'
|
5
|
-
'views/<%= plural_name
|
5
|
+
'views/<%= plural_name %>/<%= single_name %>_view'
|
6
6
|
'views/common/pager_view'
|
7
7
|
'views/common/alert_view'
|
8
8
|
'templates/<%= plural_name %>/index'
|
9
|
-
], ($, Backbone, App,
|
9
|
+
], ($, Backbone, App, <%= class_name %>View, PagerView, AlertView) ->
|
10
10
|
|
11
|
-
class App.Views
|
11
|
+
class App.Views.<%= class_name.pluralize %>.IndexView extends AlertView
|
12
12
|
template: JST["templates/<%= plural_name %>/index"]
|
13
13
|
|
14
14
|
initialize: ->
|
@@ -22,8 +22,8 @@ define [
|
|
22
22
|
$(@el).find("table").after(view.render().el)
|
23
23
|
|
24
24
|
|
25
|
-
addOne: (
|
26
|
-
view = new
|
25
|
+
addOne: (<%= single_name %>) ->
|
26
|
+
view = new <%= class_name %>View({model: <%= single_name %>})
|
27
27
|
$(@el).find("tbody").append(view.render().el)
|
28
28
|
|
29
29
|
render: ->
|
data/tbone.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tbone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-07-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|
16
|
-
requirement: &
|
16
|
+
requirement: &70237113122360 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70237113122360
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70237113121620 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70237113121620
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: jeweler
|
38
|
-
requirement: &
|
38
|
+
requirement: &70237113120920 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70237113120920
|
47
47
|
description: Library for mixing together requirejs backbone and twitter bootstrap
|
48
48
|
email: fazzzenda@mail.ru
|
49
49
|
executables: []
|
@@ -128,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version: '0'
|
129
129
|
segments:
|
130
130
|
- 0
|
131
|
-
hash: -
|
131
|
+
hash: -2543807434479074795
|
132
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
133
|
none: false
|
134
134
|
requirements:
|