tbone 0.4.2 → 0.4.3

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: 173a7f71e396b60fab7ec8247bd407bb45e2e1fd
4
- data.tar.gz: 18d00d8e472e1f01658b301a0b537112c03e7b3c
3
+ metadata.gz: aad7ab090244d489ea45d9aae20947636f0f17d4
4
+ data.tar.gz: 483adc48532079c0cc5b4fb6a80bd232635506bc
5
5
  SHA512:
6
- metadata.gz: 0d86e28df5aefaab7f5546e3ab0e38fe084526422d59d9ce0739ce4b3a66989b5d65d667e6235bfd76316651c8d9a179c6152dc768f605003fa2abe5c24b6ad6
7
- data.tar.gz: 24ae270daa50fe35f935eadc1f04f7ab09046ba1ba42a972655b360e50d6c2ab4154226b31ae3e4e2205456d107e82e112fd55b8903fe62ebb93b5a834ed562a
6
+ metadata.gz: 37417c2cbad634aa310130b62df09f81cc0140b1a2fd2eae181a2f5d6c6eb107c9e55be2a056905a7b08d8489e39d6858d736afbb0d6707b6884e33febf67a72
7
+ data.tar.gz: 7921042ab936f67f0b7eb3505b0c870b7586a807de4cb6f3fc62eb41860ab444647f35846f05d247dc8b80db4504e3e2ccab70f412c3c3ecbe4ec8f4852a785c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
@@ -1,12 +1,5 @@
1
1
  class HomeController < ApplicationController
2
2
  def index
3
- path = File.expand_path('config/tbone_params.rb', Rails.root)
4
- if File.exists? path
5
- params = eval(File.open(path).read)
6
- Tbone.configure do |c|
7
- c.add_params params
8
- end
9
- end
10
3
  end
11
4
  def render_bootstrap_data(template)
12
5
  old_format = lookup_context.rendered_format
@@ -2,7 +2,14 @@ require 'rails'
2
2
  module Tbone
3
3
  mattr_accessor :js_prefix
4
4
  class Engine < Rails::Engine
5
- initializer "tbone" do |app|
5
+ initializer 'tbone' do |app|
6
+ path = File.expand_path('config/tbone_params.rb', Rails.root)
7
+ if File.exists? path
8
+ params = eval(File.open(path).read)
9
+ Tbone.configure do |c|
10
+ c.add_params params
11
+ end
12
+ end
6
13
  conf = {
7
14
  'shim' => {
8
15
  'backbone' => {
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: tbone 0.4.2 ruby lib
5
+ # stub: tbone 0.4.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "tbone"
9
- s.version = "0.4.2"
9
+ s.version = "0.4.3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Pavel Tatarsky"]
14
- s.date = "2015-06-06"
14
+ s.date = "2015-06-26"
15
15
  s.description = "Library for mixing together requirejs backbone and twitter bootstrap"
16
16
  s.email = "fazzzenda@mail.ru"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tbone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Tatarsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-06 00:00:00.000000000 Z
11
+ date: 2015-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deep_merge