bettertabs 1.4 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,10 @@
1
1
  Bettertabs Changelog
2
2
  ====================
3
3
 
4
+ ### v1.4.1 (2013-02-27)
5
+
6
+ * Ensure BettertabsHelper is included even if config.action_controller.include_all_helpers is false, https://github.com/agoragames/bettertabs/pull/13
7
+
4
8
  ### v1.4 (2012-06-18) ###
5
9
 
6
10
  * Upgrade notes
@@ -1,4 +1,4 @@
1
- Copyright 2011 Mario Izquierdo
1
+ Copyright 2013 Mario Izquierdo
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,7 +1,7 @@
1
1
  (function() {
2
2
  /*!
3
3
  jQuery Bettertabs Plugin
4
- version: 1.4 (Mar-12-2012)
4
+ version: 1.4.1 (Mar-12-2012)
5
5
  @requires jQuery v1.3 or later
6
6
 
7
7
  Examples and documentation at: https://github.com/agoragames/bettertabs
@@ -1,6 +1,6 @@
1
1
  ###!
2
2
  jQuery Bettertabs Plugin
3
- version: 1.4 (Mar-12-2012)
3
+ version: 1.4.1 (Mar-12-2012)
4
4
  @requires jQuery v1.3 or later
5
5
 
6
6
  Examples and documentation at: https://github.com/agoragames/bettertabs
@@ -1,7 +1,7 @@
1
1
  (function(){
2
2
  /*!
3
3
  jQuery Bettertabs Plugin
4
- version: 1.4 (Mar-12-2012)
4
+ version: 1.4.1 (Mar-12-2012)
5
5
  @requires jQuery v1.3 or later
6
6
 
7
7
  Examples and documentation at: https://github.com/agoragames/bettertabs
@@ -2,5 +2,14 @@ require 'rails'
2
2
 
3
3
  module Bettertabs
4
4
  class Engine < Rails::Engine
5
+ # Ensure BettertabsHelper is globally available.
6
+ # Otherwise, if config.action_controller.include_all_helpers = false, the Bettertabs helper would not be included.
7
+ # More info about this issue:
8
+ # http://stackoverflow.com/questions/8797690/rails-3-1-better-way-to-expose-an-engines-helper-within-the-client-app
9
+ initializer 'bettertabs.action_controller' do |app|
10
+ ActiveSupport.on_load :action_controller do
11
+ helper BettertabsHelper
12
+ end
13
+ end
5
14
  end
6
15
  end
@@ -1,3 +1,3 @@
1
1
  module Bettertabs
2
- VERSION = "1.4"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bettertabs
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.4'
4
+ version: 1.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-18 00:00:00.000000000 Z
12
+ date: 2013-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -165,16 +165,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: 3356574354919818128
168
+ hash: 3598349345553857565
169
169
  required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  none: false
171
171
  requirements:
172
172
  - - ! '>='
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
+ segments:
176
+ - 0
177
+ hash: 3598349345553857565
175
178
  requirements: []
176
179
  rubyforge_project:
177
- rubygems_version: 1.8.24
180
+ rubygems_version: 1.8.23
178
181
  signing_key:
179
182
  specification_version: 3
180
183
  summary: Just a simple, accessible, usable, flexible and fast way to split view content