rails_backbone_generators 0.0.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0206540e03aa2afc036092a75cb1318733712704
4
- data.tar.gz: 0ab6bef5c2d6edb59b0ed5adc3ed8feddec7ce85
3
+ metadata.gz: 69715b224d495dd52d5a944b549b4dadd3f4f6c9
4
+ data.tar.gz: ea95debf6a77db53b0262ec7c9de15989ca2933f
5
5
  SHA512:
6
- metadata.gz: 0361871c6abc7f38f6ab877d0b76afe47b44a4b2a67fc42e431ccdd5f798a85c177e9a7bfd36f6898afccc306901ea045697a85062e2c2952f3b05464082058e
7
- data.tar.gz: fbd3183b299d45348004e433a4ad94c7db225c6aefb77034da9cac68aabf549e28e951a37f14c2f2b1556dd1246385191a488bd1239e3be95f834299e6421d72
6
+ metadata.gz: 6a28bed0198dc7c5ccdc66dce8f73f604179a893eb035a24ad6b353789f23c5308af2b9e0e2aa19e564bc1fde785690e54c43f185007d507a767f85dc7ee9cf9
7
+ data.tar.gz: 9b4372e850bf3ff108cb814be1d1c7df5db96d4fc1b65c2e3848bb7eab3713199dfa3a88a31a8742ca986ee4cea2d7e99104e3aefe42efb6576fd73bd0430ccb
@@ -1,2 +1,2 @@
1
- class window.<%= class_name.pluralize %> extends Backbone.Collection
2
- model: <%= class_name.singularize %>
1
+ class window.<%= plural_class_name %> extends Backbone.Collection
2
+ model: <%= singular_class_name %>
@@ -1,5 +1,5 @@
1
- describe '<%= class_name %>View', ->
1
+ describe '<%= plural_class_name %>ListView', ->
2
2
  beforeEach ->
3
- @sut = new <%= class_name %>View
3
+ @sut = new <%= plural_class_name %>ListView
4
4
  @sut.render()
5
5
 
@@ -1 +1 @@
1
- class window.<%= class_name %> extends Backbone.Model
1
+ class window.<%= singular_class_name %> extends Backbone.Model
@@ -1,4 +1,4 @@
1
- describe '<%= class_name %>', ->
1
+ describe '<%= singular_class_name %>', ->
2
2
  beforeEach ->
3
- @sut = new <%= class_name %>
3
+ @sut = new <%= singular_class_name %>
4
4
 
@@ -7,3 +7,4 @@ class window.<%= singular_class_name %>RowView extends Backbone.View
7
7
 
8
8
  render: =>
9
9
  @$el.html @template @context()
10
+ this
@@ -1,5 +1,4 @@
1
- describe '<%= class_name %>View', ->
1
+ describe '<%= singular_class_name %>RowView', ->
2
2
  beforeEach ->
3
- @sut = new <%= class_name %>View
3
+ @sut = new <%= singular_class_name %>RowView
4
4
  @sut.render()
5
-
@@ -1,3 +1,3 @@
1
1
  module RailsBackboneGenerators
2
- VERSION = '0.0.3'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_backbone_generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jade Meskill
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-28 00:00:00.000000000 Z
12
+ date: 2013-11-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project:
91
- rubygems_version: 2.0.2
91
+ rubygems_version: 2.0.3
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Generators for creating CoffeeScript Backbone Views, Models, Collections