bettertabs 1.3.5 → 1.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ # 1.3.6
2
+
3
+ * Adds support for Rails 3.2, https://github.com/agoragames/bettertabs/pull/3. Thanks (@jlee42).
data/Gemfile CHANGED
@@ -1,9 +1,9 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- # Declare your gem's dependencies in engine-test.gemspec.
3
+ # Declare your gem's dependencies in bettertabs.gemspec.
4
4
  # Bundler will treat runtime dependencies like base dependencies, and
5
5
  # development dependencies will be added by default to the :development group.
6
- gemspec
6
+ #gemspec
7
7
 
8
8
  # Declare any dependencies that are still in development here instead of in
9
9
  # your gemspec. These might include edge Rails or gems from your path or
@@ -11,4 +11,10 @@ gemspec
11
11
  # your gem to rubygems.org.
12
12
 
13
13
  # To use debugger
14
- # gem 'ruby-debug19', :require => 'ruby-debug'
14
+ # gem 'ruby-debug19', :require => 'ruby-debug'
15
+
16
+ # The dummy app runs in production mode, in bettertabs-demo.heroku
17
+ gem "rails", ">= 3.1.0"
18
+ gem "jquery-rails"
19
+ gem "haml-rails"
20
+ gem "rspec-rails"
@@ -1,48 +1,38 @@
1
- PATH
2
- remote: .
3
- specs:
4
- bettertabs (1.3.5)
5
- jquery-rails
6
- rails (~> 3.1.0)
7
-
8
1
  GEM
9
2
  remote: http://rubygems.org/
10
3
  specs:
11
- actionmailer (3.1.0)
12
- actionpack (= 3.1.0)
13
- mail (~> 2.3.0)
14
- actionpack (3.1.0)
15
- activemodel (= 3.1.0)
16
- activesupport (= 3.1.0)
4
+ actionmailer (3.2.2)
5
+ actionpack (= 3.2.2)
6
+ mail (~> 2.4.0)
7
+ actionpack (3.2.2)
8
+ activemodel (= 3.2.2)
9
+ activesupport (= 3.2.2)
17
10
  builder (~> 3.0.0)
18
11
  erubis (~> 2.7.0)
19
- i18n (~> 0.6)
20
- rack (~> 1.3.2)
21
- rack-cache (~> 1.0.3)
22
- rack-mount (~> 0.8.2)
12
+ journey (~> 1.0.1)
13
+ rack (~> 1.4.0)
14
+ rack-cache (~> 1.1)
23
15
  rack-test (~> 0.6.1)
24
- sprockets (~> 2.0.0)
25
- activemodel (3.1.0)
26
- activesupport (= 3.1.0)
27
- bcrypt-ruby (~> 3.0.0)
16
+ sprockets (~> 2.1.2)
17
+ activemodel (3.2.2)
18
+ activesupport (= 3.2.2)
28
19
  builder (~> 3.0.0)
29
- i18n (~> 0.6)
30
- activerecord (3.1.0)
31
- activemodel (= 3.1.0)
32
- activesupport (= 3.1.0)
33
- arel (~> 2.2.1)
20
+ activerecord (3.2.2)
21
+ activemodel (= 3.2.2)
22
+ activesupport (= 3.2.2)
23
+ arel (~> 3.0.2)
34
24
  tzinfo (~> 0.3.29)
35
- activeresource (3.1.0)
36
- activemodel (= 3.1.0)
37
- activesupport (= 3.1.0)
38
- activesupport (3.1.0)
25
+ activeresource (3.2.2)
26
+ activemodel (= 3.2.2)
27
+ activesupport (= 3.2.2)
28
+ activesupport (3.2.2)
29
+ i18n (~> 0.6)
39
30
  multi_json (~> 1.0)
40
- arel (2.2.1)
41
- bcrypt-ruby (3.0.0)
31
+ arel (3.0.2)
42
32
  builder (3.0.0)
43
33
  diff-lcs (1.1.3)
44
34
  erubis (2.7.0)
45
- haml (3.1.3)
35
+ haml (3.1.4)
46
36
  haml-rails (0.3.4)
47
37
  actionpack (~> 3.0)
48
38
  activesupport (~> 3.0)
@@ -50,56 +40,57 @@ GEM
50
40
  railties (~> 3.0)
51
41
  hike (1.2.1)
52
42
  i18n (0.6.0)
53
- jquery-rails (1.0.14)
54
- railties (~> 3.0)
43
+ journey (1.0.3)
44
+ jquery-rails (2.0.1)
45
+ railties (>= 3.2.0, < 5.0)
55
46
  thor (~> 0.14)
56
- mail (2.3.0)
47
+ json (1.6.5)
48
+ mail (2.4.3)
57
49
  i18n (>= 0.4.0)
58
50
  mime-types (~> 1.16)
59
51
  treetop (~> 1.4.8)
60
- mime-types (1.16)
61
- multi_json (1.0.3)
62
- polyglot (0.3.2)
63
- rack (1.3.2)
64
- rack-cache (1.0.3)
52
+ mime-types (1.17.2)
53
+ multi_json (1.1.0)
54
+ polyglot (0.3.3)
55
+ rack (1.4.1)
56
+ rack-cache (1.2)
65
57
  rack (>= 0.4)
66
- rack-mount (0.8.3)
67
- rack (>= 1.0.0)
68
58
  rack-ssl (1.3.2)
69
59
  rack
70
60
  rack-test (0.6.1)
71
61
  rack (>= 1.0)
72
- rails (3.1.0)
73
- actionmailer (= 3.1.0)
74
- actionpack (= 3.1.0)
75
- activerecord (= 3.1.0)
76
- activeresource (= 3.1.0)
77
- activesupport (= 3.1.0)
62
+ rails (3.2.2)
63
+ actionmailer (= 3.2.2)
64
+ actionpack (= 3.2.2)
65
+ activerecord (= 3.2.2)
66
+ activeresource (= 3.2.2)
67
+ activesupport (= 3.2.2)
78
68
  bundler (~> 1.0)
79
- railties (= 3.1.0)
80
- railties (3.1.0)
81
- actionpack (= 3.1.0)
82
- activesupport (= 3.1.0)
69
+ railties (= 3.2.2)
70
+ railties (3.2.2)
71
+ actionpack (= 3.2.2)
72
+ activesupport (= 3.2.2)
83
73
  rack-ssl (~> 1.3.2)
84
74
  rake (>= 0.8.7)
85
75
  rdoc (~> 3.4)
86
76
  thor (~> 0.14.6)
87
- rake (0.9.2)
88
- rdoc (3.9.4)
89
- rspec (2.6.0)
90
- rspec-core (~> 2.6.0)
91
- rspec-expectations (~> 2.6.0)
92
- rspec-mocks (~> 2.6.0)
93
- rspec-core (2.6.4)
94
- rspec-expectations (2.6.0)
77
+ rake (0.9.2.2)
78
+ rdoc (3.12)
79
+ json (~> 1.4)
80
+ rspec (2.8.0)
81
+ rspec-core (~> 2.8.0)
82
+ rspec-expectations (~> 2.8.0)
83
+ rspec-mocks (~> 2.8.0)
84
+ rspec-core (2.8.0)
85
+ rspec-expectations (2.8.0)
95
86
  diff-lcs (~> 1.1.2)
96
- rspec-mocks (2.6.0)
97
- rspec-rails (2.6.1)
98
- actionpack (~> 3.0)
99
- activesupport (~> 3.0)
100
- railties (~> 3.0)
101
- rspec (~> 2.6.0)
102
- sprockets (2.0.0)
87
+ rspec-mocks (2.8.0)
88
+ rspec-rails (2.8.1)
89
+ actionpack (>= 3.0)
90
+ activesupport (>= 3.0)
91
+ railties (>= 3.0)
92
+ rspec (~> 2.8.0)
93
+ sprockets (2.1.2)
103
94
  hike (~> 1.2)
104
95
  rack (~> 1.0)
105
96
  tilt (~> 1.1, != 1.3.0)
@@ -108,12 +99,13 @@ GEM
108
99
  treetop (1.4.10)
109
100
  polyglot
110
101
  polyglot (>= 0.3.1)
111
- tzinfo (0.3.29)
102
+ tzinfo (0.3.32)
112
103
 
113
104
  PLATFORMS
114
105
  ruby
115
106
 
116
107
  DEPENDENCIES
117
- bettertabs!
118
108
  haml-rails
109
+ jquery-rails
110
+ rails (>= 3.1.0)
119
111
  rspec-rails
data/README.md CHANGED
@@ -3,31 +3,37 @@ Bettertabs for Rails
3
3
 
4
4
  We know that splitting content into several tabs is easy, but doing well, clean, DRY, accessible, usable, fast and testable is not so simple after all.
5
5
 
6
- Bettertabs is a simple engine for Rails that includes a helper and a jquery plugin to render the needed markup and javascript for a section with tabs in a easy and declarative way, forcing you to keep things simple and ensuring accessibility and usability, no matter if the content is loaded statically or via ajax.
7
-
8
- Easy for beginners, complete for experts.
6
+ Bettertabs is a simple `Rails 3.1+ Engine` that includes a **helper** and a **jquery plugin** to render the needed markup and javascript for a section with tabs in a easy and declarative way, forcing you to keep things simple and ensuring accessibility and usability, no matter if the content is loaded statically or via ajax.
9
7
 
10
8
 
11
9
  ## Features ##
12
10
 
13
- * Rails Engine that includes:
14
- * helper to easily generate tabs and content markup
15
- * jQuery plugin to handle the JavaScript behavior
16
- * Simplicity: Easy to install, easy to use, easy to update
17
- * Flexible and customizable
18
- * Forces you to DRY-up your views for your tabbed content
19
- * Forces you to make it very accessible and usable:
20
- * Designed to work with and without JavaScript
21
- * When click on a tab, the address bar url is changed (only in HTML5 browsers), so:
22
- * The browser's back and reload buttons will still work as expected
23
- * All tabbed sections can be permalinked, keeping the selected tab
24
- * Makes testing views simple. Because its easy to make it working without javascript, you can test view components with the rails built-in functional and integration tests
25
- * The CSS styles are up to you, although we include some [reference CSS](https://github.com/agoragames/bettertabs/blob/master/doc/STYLESHEETS-GUIDE.md) to start with
11
+ Having to worry only on a few aspects like putting the content in the right site, you will have a site with tabs that:
12
+
13
+ * Works with tabs for static, links or ajax loaded content
14
+ * Works without javascript, so you can click on a tab before the whole page was loaded and it will work. Also it's usually much more easy to test.
15
+ * It changes the URL (in HTML5 browsers, using [history.replaceState()](https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history)), so when you use the browser's back button, you'll land in the last selected tab. Also selected tabs can be permalinked.
16
+ * Declarative code, that helps you to have your view code more readable and DRY
17
+ * It has some basic error handling (like for example if the ajax loaded content returns an error, it redirects to the error page)
18
+ * If you need more control in the javascript behavior, you can use some predefined jQuery events (for example: `$('#tabs').bind('bettertabs-before-ajax-loading', show_loading_clock);`)
19
+ * The gem does not include any stylesheet, because each project has a different way of showing the tabs styles. Anyway the generated HTML is easy to style (see the [CSS Reference Guide](https://github.com/agoragames/bettertabs/blob/master/doc/STYLESHEETS-GUIDE.md))
20
+
21
+ ## Try it out ##
22
+
23
+ The bettertabs gem includes a dummy test app, that is used for development (to execute rspec tests) and that can be easily launched to play with.
24
+
25
+ * [Try online the demo app](http://bettertabs-demo.herokuapp.com)
26
+ * Or to run it on your machine:
27
+
28
+ $ git clone git://github.com/agoragames/bettertabs.git
29
+ $ cd bettertabs
30
+ /bettertabs$ bundle install
31
+ /bettertabs$ bundle exec rackup config.ru
26
32
 
27
33
 
28
34
  ## Requirements: ##
29
35
  * Ruby 1.9.2
30
- * Rails 3.1
36
+ * Rails 3.1+
31
37
  * [jquery-rails](https://github.com/rails/jquery-rails) with jQuery 1.3 or higher
32
38
 
33
39
  Anyway you can use bettertabs without javascript (or use your own javascript handler) since the bettertabs helper only generates the appropriate markup.
@@ -35,7 +41,7 @@ Anyway you can use bettertabs without javascript (or use your own javascript han
35
41
 
36
42
  ## Install ##
37
43
 
38
- Gem dependency. Add bettertabs to your gem file and run `bundle install`.
44
+ Add bettertabs gem to your Gemfile and run `bundle install`.
39
45
 
40
46
  gem 'bettertabs'
41
47
 
@@ -60,7 +66,7 @@ Bettertabs supports three kinds of tabs:
60
66
 
61
67
  An usage example should be self explanatory (using HAML, but it also works with ERB and other template systems):
62
68
 
63
- = bettertabs :profile_tabs do |tab|
69
+ = bettertabs :profile_tabs, :selected_tab => :friends do |tab|
64
70
  = tab.static :general, 'My Profile' do
65
71
  %h2 General Info
66
72
  = show_user_general_info(@user)
@@ -68,7 +74,11 @@ An usage example should be self explanatory (using HAML, but it also works with
68
74
  = tab.ajax :friends, :partial => 'shared/friends'
69
75
 
70
76
  = tab.link :groups do
71
- = render :partial => 'groups/user_groups', :locals => { :user => @user }
77
+ = render :partial => 'groups/user_groups', :locals => { :user => @user }
78
+
79
+ This will show three tabs: 'My Profile' (static, that will be preloaded and show when click in the tab), 'Friends' (ajax, that will load and show the content when click in the tab) and 'Groups' (link, that will reload the whole page).
80
+
81
+ The option `:selected_tab` specifies the default selected tab, when the page is loaded. It only defines which tab is selected when no `{bettertabs_id}_selected_tab` param is present.
72
82
 
73
83
  ### More examples and documentation: ###
74
84
 
@@ -1,7 +1,7 @@
1
1
  (function() {
2
2
  /*!
3
3
  jQuery Bettertabs Plugin
4
- version: 1.3.5 (Sep-13-2011)
4
+ version: 1.3.6 (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.3.5 (Sep-13-2011)
3
+ version: 1.3.6 (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.3.5 (Sep-13-2011)
4
+ version: 1.3.6 (Mar-12-2012)
5
5
  @requires jQuery v1.3 or later
6
6
 
7
7
  Examples and documentation at: https://github.com/agoragames/bettertabs
@@ -12,11 +12,11 @@ Gem::Specification.new do |s|
12
12
  s.email = ["tothemario@gmail.com"]
13
13
  s.homepage = "https://github.com/agoragames/bettertabs"
14
14
  s.summary = %q{Just a simple, accessible, usable, flexible and fast way to split view content in tabs in a rails application.}
15
- s.description = %q{Bettertabs is a Rails 3.1 engine that adds a helper and jQuery plugin to define the markup and behavior for a tabbed area in a easy and declarative way, using the appropiate JavaScript but ensuring accessibility and usability, no matter if the content is loaded statically, via ajax or just with links. }
15
+ s.description = %q{Bettertabs is a Rails 3.1+ engine that adds a helper and jQuery plugin to define the markup and behavior for a tabbed area in a easy and declarative way, using the appropiate JavaScript but ensuring accessibility and usability, no matter if the content is loaded statically, via ajax or just with links. }
16
16
 
17
17
  s.files = `git ls-files`.split("\n")
18
18
 
19
- s.add_dependency "rails", "~> 3.1.0"
19
+ s.add_dependency "rails", ">= 3.1.0"
20
20
  s.add_dependency "jquery-rails"
21
21
 
22
22
  s.add_development_dependency 'rspec-rails'
@@ -0,0 +1,3 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+ require ::File.expand_path('../spec/dummy/config/environment', __FILE__)
3
+ run Dummy::Application
@@ -1,3 +1,3 @@
1
1
  module Bettertabs
2
- VERSION = "1.3.5"
2
+ VERSION = "1.3.6"
3
3
  end
@@ -7,9 +7,10 @@
7
7
  */
8
8
  body {
9
9
  background-color: white;
10
- margin: 10px;
10
+ margin: 15px;
11
11
  font-size: 12px;
12
12
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
13
+ width: 524px;
13
14
  }
14
- div.nav { margin: 10px 0 20px 24px; padding: 0; }
15
+ div.nav { margin: 1em 1em 2em; }
15
16
  div.nav a { padding: 0 5px 0 6px; }
@@ -10,7 +10,6 @@ class BettertabsController < ApplicationController
10
10
  end
11
11
 
12
12
  def ajax
13
- sleep 1 # to better feel the loading time
14
13
  render partial: 'ajax' and return if request.xhr?
15
14
  end
16
15
 
@@ -8,7 +8,14 @@
8
8
  </head>
9
9
  <body>
10
10
 
11
- <h1>Bettertabs Dummy App</h1>
11
+ <h1>Bettertabs Test App</h1>
12
+ <p>
13
+ This is the dummy app used for test the bettertabs engine (spec/dummy)
14
+ <%= link_to 'see code in Github', 'http://github.com/agoragames/bettertabs/tree/master/spec/dummy' %></br>
15
+ For this demo, the hidden content is shown inside a dashed border to see what is loaded when you click a tab,</br>
16
+ click on the links below to see different types of tabs (static, link or ajax).
17
+
18
+ </p>
12
19
  <div class="nav">
13
20
  <%= link_to 'static', { action: 'static'}, title: 'Using only static tabs' %> |
14
21
  <%= link_to 'link', { action: 'link_tab_1'}, title: 'Using only link tabs' %> |
@@ -12,14 +12,17 @@ Dummy::Application.configure do
12
12
  config.serve_static_assets = false
13
13
 
14
14
  # Compress JavaScripts and CSS
15
- config.assets.compress = true
15
+ config.assets.compress = false
16
16
 
17
17
  # Don't fallback to assets pipeline if a precompiled asset is missed
18
- config.assets.compile = false
18
+ config.assets.compile = true
19
19
 
20
20
  # Generate digests for assets URLs
21
21
  config.assets.digest = true
22
-
22
+
23
+ # Expands the lines which load the assets
24
+ config.assets.debug = true
25
+
23
26
  # Defaults to Rails.root.join("public/assets")
24
27
  # config.assets.manifest = YOUR_PATH
25
28
 
@@ -1,5 +1,6 @@
1
1
  Dummy::Application.routes.draw do
2
2
  root :to => "bettertabs#static"
3
3
 
4
+ match 'bettertabs/ajax(/:ajax_selected_tab)' => 'bettertabs#ajax'
4
5
  match 'bettertabs/:action(.:format)', controller: 'bettertabs'
5
6
  end
@@ -82,7 +82,7 @@ describe "Bettertabs requests" do
82
82
  end
83
83
 
84
84
  it "should include the default ajax=true extra param in the data-ajax-url" do
85
- response.body.should include("data-ajax-url=\"/bettertabs/ajax?ajax_selected_tab=ajax_tab_2&amp;ajax=true\"")
85
+ response.body.should include("data-ajax-url=\"/bettertabs/ajax/ajax_tab_2?ajax=true\"")
86
86
  end
87
87
 
88
88
  it "should render only the selected tab content" do
metadata CHANGED
@@ -1,74 +1,75 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bettertabs
3
- version: !ruby/object:Gem::Version
4
- version: 1.3.5
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 1.3.6
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Mario Izquierdo
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-13 00:00:00.000000000 +02:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2012-03-12 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &2156435120 !ruby/object:Gem::Requirement
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
18
  none: false
19
- requirements:
20
- - - ~>
21
- - !ruby/object:Gem::Version
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
22
  version: 3.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2156435120
26
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
27
  name: jquery-rails
28
- requirement: &2156434520 !ruby/object:Gem::Requirement
28
+ requirement: &id002 !ruby/object:Gem::Requirement
29
29
  none: false
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2156434520
37
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
38
38
  name: rspec-rails
39
- requirement: &2156433360 !ruby/object:Gem::Requirement
39
+ requirement: &id003 !ruby/object:Gem::Requirement
40
40
  none: false
41
- requirements:
42
- - - ! '>='
43
- - !ruby/object:Gem::Version
44
- version: '0'
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: "0"
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2156433360
48
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
49
49
  name: haml-rails
50
- requirement: &2156432760 !ruby/object:Gem::Requirement
50
+ requirement: &id004 !ruby/object:Gem::Requirement
51
51
  none: false
52
- requirements:
53
- - - ! '>='
54
- - !ruby/object:Gem::Version
55
- version: '0'
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: "0"
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2156432760
59
- description: ! 'Bettertabs is a Rails 3.1 engine that adds a helper and jQuery plugin
60
- to define the markup and behavior for a tabbed area in a easy and declarative way,
61
- using the appropiate JavaScript but ensuring accessibility and usability, no matter
62
- if the content is loaded statically, via ajax or just with links. '
63
- email:
58
+ version_requirements: *id004
59
+ description: "Bettertabs is a Rails 3.1+ engine that adds a helper and jQuery plugin to define the markup and behavior for a tabbed area in a easy and declarative way, using the appropiate JavaScript but ensuring accessibility and usability, no matter if the content is loaded statically, via ajax or just with links. "
60
+ email:
64
61
  - tothemario@gmail.com
65
62
  executables: []
63
+
66
64
  extensions: []
65
+
67
66
  extra_rdoc_files: []
68
- files:
67
+
68
+ files:
69
69
  - .gitignore
70
70
  - .rspec
71
71
  - .rvmrc
72
+ - CHANGELOG.md
72
73
  - Gemfile
73
74
  - Gemfile.lock
74
75
  - MIT-LICENSE
@@ -79,6 +80,7 @@ files:
79
80
  - app/assets/javascripts/jquery.bettertabs.min.js
80
81
  - app/helpers/bettertabs_helper.rb
81
82
  - bettertabs.gemspec
83
+ - config.ru
82
84
  - doc/CHANGELOG.md
83
85
  - doc/EXAMPLES.md
84
86
  - doc/JAVASCRIPTS-DEV-GUIDE.md
@@ -87,7 +89,6 @@ files:
87
89
  - lib/bettertabs/bettertabs_builder.rb
88
90
  - lib/bettertabs/engine.rb
89
91
  - lib/bettertabs/version.rb
90
- - script/rails
91
92
  - spec/dummy/Rakefile
92
93
  - spec/dummy/app/assets/javascripts/application.js
93
94
  - spec/dummy/app/assets/stylesheets/application.css
@@ -130,36 +131,35 @@ files:
130
131
  - spec/dummy/script/rails
131
132
  - spec/requests/bettertabs_spec.rb
132
133
  - spec/spec_helper.rb
133
- has_rdoc: true
134
134
  homepage: https://github.com/agoragames/bettertabs
135
135
  licenses: []
136
+
136
137
  post_install_message:
137
138
  rdoc_options: []
138
- require_paths:
139
+
140
+ require_paths:
139
141
  - lib
140
- required_ruby_version: !ruby/object:Gem::Requirement
142
+ required_ruby_version: !ruby/object:Gem::Requirement
141
143
  none: false
142
- requirements:
143
- - - ! '>='
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- segments:
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ hash: -701328950284259198
148
+ segments:
147
149
  - 0
148
- hash: -1078283048097430699
149
- required_rubygems_version: !ruby/object:Gem::Requirement
150
+ version: "0"
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
152
  none: false
151
- requirements:
152
- - - ! '>='
153
- - !ruby/object:Gem::Version
154
- version: '0'
155
- segments:
156
- - 0
157
- hash: -1078283048097430699
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: "0"
158
157
  requirements: []
158
+
159
159
  rubyforge_project:
160
- rubygems_version: 1.6.2
160
+ rubygems_version: 1.8.11
161
161
  signing_key:
162
162
  specification_version: 3
163
- summary: Just a simple, accessible, usable, flexible and fast way to split view content
164
- in tabs in a rails application.
163
+ summary: Just a simple, accessible, usable, flexible and fast way to split view content in tabs in a rails application.
165
164
  test_files: []
165
+
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- #!/usr/bin/env ruby
3
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
4
-
5
- ENGINE_PATH = File.expand_path('../..', __FILE__)
6
- load File.expand_path('../../spec/dummy/script/rails', __FILE__)