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 +4 -4
- data/VERSION +1 -1
- data/app/controllers/home_controller.rb +0 -7
- data/lib/tbone/engine.rb +8 -1
- data/tbone.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aad7ab090244d489ea45d9aae20947636f0f17d4
|
4
|
+
data.tar.gz: 483adc48532079c0cc5b4fb6a80bd232635506bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37417c2cbad634aa310130b62df09f81cc0140b1a2fd2eae181a2f5d6c6eb107c9e55be2a056905a7b08d8489e39d6858d736afbb0d6707b6884e33febf67a72
|
7
|
+
data.tar.gz: 7921042ab936f67f0b7eb3505b0c870b7586a807de4cb6f3fc62eb41860ab444647f35846f05d247dc8b80db4504e3e2ccab70f412c3c3ecbe4ec8f4852a785c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
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
|
data/lib/tbone/engine.rb
CHANGED
@@ -2,7 +2,14 @@ require 'rails'
|
|
2
2
|
module Tbone
|
3
3
|
mattr_accessor :js_prefix
|
4
4
|
class Engine < Rails::Engine
|
5
|
-
initializer
|
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' => {
|
data/tbone.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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.
|
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-
|
11
|
+
date: 2015-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deep_merge
|