backbars 0.0.3 → 0.0.5

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.
@@ -1,3 +1,3 @@
1
1
  module Backbars
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/backbars.rb CHANGED
@@ -2,5 +2,6 @@ require "backbars/version"
2
2
  require "handlebars_assets"
3
3
 
4
4
  module Backbars
5
- # Your code goes here...
5
+ class Engine < Rails::Engine
6
+ end
6
7
  end
@@ -20,9 +20,6 @@ class BackbarsGenerator < Rails::Generators::Base
20
20
  end
21
21
 
22
22
  def include_dependencies
23
- # Adds underscore, backbone and handlebars library to vendor folder
24
- copy_file 'assets/underscore.js', 'vendor/assets/javascripts/underscore.js'
25
- copy_file 'assets/backbone.js', 'vendor/assets/javascripts/backbone.js'
26
23
 
27
24
  # Inserts require statements into application.js file
28
25
  insert_into_file 'app/assets/javascripts/application.js',"//= require underscore\n//= require backbone\n//= require handlebars\n//= require_tree ./backbone/routers\n//= require_tree ./backbone/models\n//= require_tree ./backbone/collections\n//= require_tree ./backbone/views\n//= require_tree ./templates\n" , after: "//= require turbolinks\n"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backbars
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - DrRobotmck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-07 00:00:00.000000000 Z
11
+ date: 2014-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: handlebars_assets
@@ -64,6 +64,8 @@ files:
64
64
  - LICENSE.txt
65
65
  - README.md
66
66
  - Rakefile
67
+ - app/assets/javascripts/backbone.js
68
+ - app/assets/javascripts/underscore.js
67
69
  - backbars.gemspec
68
70
  - lib/backbars.rb
69
71
  - lib/backbars/version.rb