bettertabs 1.3.6 → 1.4

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.
@@ -11,6 +11,10 @@ ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
11
11
  # in spec/support/ and its subdirectories.
12
12
  Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
13
13
 
14
+ Webrat.configure do |config|
15
+ config.mode = :rails
16
+ end
17
+
14
18
  RSpec.configure do |config|
15
19
  config.mock_with :rspec
16
- end
20
+ end
metadata CHANGED
@@ -1,74 +1,92 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bettertabs
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.4'
4
5
  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
-
13
- date: 2012-03-12 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2012-06-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: rails
17
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
18
17
  none: false
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
22
21
  version: 3.1.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 3.1.0
30
+ - !ruby/object:Gem::Dependency
27
31
  name: jquery-rails
28
- requirement: &id002 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
29
33
  none: false
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: "0"
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
34
38
  type: :runtime
35
39
  prerelease: false
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
38
47
  name: rspec-rails
39
- requirement: &id003 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
40
49
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- version: "0"
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
45
54
  type: :development
46
55
  prerelease: false
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
49
63
  name: haml-rails
50
- requirement: &id004 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
51
65
  none: false
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: "0"
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
56
70
  type: :development
57
71
  prerelease: false
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:
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ description: ! 'Bettertabs is a Rails 3.1+ engine that adds a helper and jQuery plugin
79
+ to define the markup and behavior for a tabbed area in a easy and declarative way,
80
+ using the appropiate JavaScript but ensuring accessibility and usability, no matter
81
+ if the content is loaded statically, via ajax or just with links. '
82
+ email:
61
83
  - tothemario@gmail.com
62
84
  executables: []
63
-
64
85
  extensions: []
65
-
66
86
  extra_rdoc_files: []
67
-
68
- files:
87
+ files:
69
88
  - .gitignore
70
89
  - .rspec
71
- - .rvmrc
72
90
  - CHANGELOG.md
73
91
  - Gemfile
74
92
  - Gemfile.lock
@@ -81,12 +99,12 @@ files:
81
99
  - app/helpers/bettertabs_helper.rb
82
100
  - bettertabs.gemspec
83
101
  - config.ru
84
- - doc/CHANGELOG.md
85
102
  - doc/EXAMPLES.md
86
103
  - doc/JAVASCRIPTS-DEV-GUIDE.md
87
104
  - doc/STYLESHEETS-GUIDE.md
88
105
  - lib/bettertabs.rb
89
106
  - lib/bettertabs/bettertabs_builder.rb
107
+ - lib/bettertabs/configuration.rb
90
108
  - lib/bettertabs/engine.rb
91
109
  - lib/bettertabs/version.rb
92
110
  - spec/dummy/Rakefile
@@ -106,6 +124,7 @@ files:
106
124
  - spec/dummy/app/views/bettertabs/link_tab_2.html.haml
107
125
  - spec/dummy/app/views/bettertabs/mixed.html.haml
108
126
  - spec/dummy/app/views/bettertabs/mixed_with_erb.html.erb
127
+ - spec/dummy/app/views/bettertabs/only_content_block.html.haml
109
128
  - spec/dummy/app/views/bettertabs/static.html.haml
110
129
  - spec/dummy/app/views/layouts/application.html.erb
111
130
  - spec/dummy/config.ru
@@ -116,6 +135,7 @@ files:
116
135
  - spec/dummy/config/environments/production.rb
117
136
  - spec/dummy/config/environments/test.rb
118
137
  - spec/dummy/config/initializers/backtrace_silencers.rb
138
+ - spec/dummy/config/initializers/bettertabs.rb
119
139
  - spec/dummy/config/initializers/inflections.rb
120
140
  - spec/dummy/config/initializers/mime_types.rb
121
141
  - spec/dummy/config/initializers/secret_token.rb
@@ -133,33 +153,30 @@ files:
133
153
  - spec/spec_helper.rb
134
154
  homepage: https://github.com/agoragames/bettertabs
135
155
  licenses: []
136
-
137
156
  post_install_message:
138
157
  rdoc_options: []
139
-
140
- require_paths:
158
+ require_paths:
141
159
  - lib
142
- required_ruby_version: !ruby/object:Gem::Requirement
160
+ required_ruby_version: !ruby/object:Gem::Requirement
143
161
  none: false
144
- requirements:
145
- - - ">="
146
- - !ruby/object:Gem::Version
147
- hash: -701328950284259198
148
- segments:
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ segments:
149
167
  - 0
150
- version: "0"
151
- required_rubygems_version: !ruby/object:Gem::Requirement
168
+ hash: 3356574354919818128
169
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
170
  none: false
153
- requirements:
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- version: "0"
171
+ requirements:
172
+ - - ! '>='
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
157
175
  requirements: []
158
-
159
176
  rubyforge_project:
160
- rubygems_version: 1.8.11
177
+ rubygems_version: 1.8.24
161
178
  signing_key:
162
179
  specification_version: 3
163
- summary: Just a simple, accessible, usable, flexible and fast way to split view content in tabs in a rails application.
180
+ summary: Just a simple, accessible, usable, flexible and fast way to split view content
181
+ in tabs in a rails application.
164
182
  test_files: []
165
-
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm use --create 1.9.2@bettertabs
@@ -1,63 +0,0 @@
1
- Bettertabs Changelog
2
- ====================
3
-
4
- 2011-09-13 Mario Izquierdo Martinez <mizquierdo@majorleaguegaming.com>
5
-
6
- * Tag v1.3.5
7
- * Add 'active' class to the link element inside the active tag as well as the li element (so it is now more easy to style)
8
- * When tab-type is ajax, mark the first active link as content-loaded-already to not be loaded again when click later
9
- * Ajax error handling: when .load() callback returns a textStatus 'error', the browser is reloaded to better show the error
10
- * Bugfix: include other params if present in the default tab link url
11
-
12
- 2011-09-12 Mario Izquierdo Martinez <mizquierdo@majorleaguegaming.com>
13
-
14
- * Tag v1.3
15
- * Gem converted into a Rails 3.1 Engine that uses the asset pipeline to serve the jquery.bettertabs plugin
16
- * Test dummy app converted to Rails 3.1
17
-
18
- 2011-06-23 Mario Izquierdo Martinez <mizquierdo@majorleaguegaming.com>
19
-
20
- * Tag v1.2.3
21
- * Tested with Rails 3.0.9 and HAML 3.1.2
22
- * Bugfix on the bettertabs helper inline script, avoid to add it as an HTML attribute
23
-
24
- 2011-05-02 Mario Izquierdo Martinez <mizquierdo@majorleaguegaming.com>
25
-
26
- * Tag v1.2.1
27
- * Bugfix on the bettertabs helper inline script
28
-
29
- 2011-05-02 Mario Izquierdo Martinez <mizquierdo@majorleaguegaming.com>
30
-
31
- * Tag v1.2
32
- * Added :attach_jquery_bettertabs_inline option to the helper, defaults to true. If false, do not render the inline script that activates the plugin.
33
- * Bettertabs jQuery plugin improvement:
34
- * Exposed the change_browser_url method to global access in jQuery.Bettertabs.change_browser_url(url), so it can be used and overwritten by other scripts
35
- * Created the jQuery.Bettertabs.select_tab(bettertabs_id, tab_id) method to easily select a tab from other scripts
36
- * Improved the README.md JavaScript section with more clear examples
37
-
38
- 2011-04-28 Mario Izquierdo Martinez <mizquierdo@majorleaguegaming.com>
39
-
40
- * Tag v1.1
41
- * Added :ajax_url option to tab builder, defaults to :url plus the ajax=true param to prevent browser cache issues.
42
- * bettertabs helper :class html_option replace the 'bettertabs' default class instead of adding it (there was no way to remove that class).
43
- * Bugfix: don't add .hidden CSS class to non active tabs (it should only be added to non active content).
44
- * Documentation improvement:
45
- * Added jquery.bettertabs documentation (REAMDE.md)
46
- * Added some CSS examples and documentation (lib/bettertabs/stylesheets/README.md)
47
- * README.md review and clean-up, moved examples to EXAMPLES.md.
48
- * Added Routes examples (README.md)
49
- * Added bettertabs helper documentation (params and options in the method comment)
50
-
51
- 2011-04-22 Mario Izquierdo Martinez <mizquierdo@majorleaguegaming.com>
52
-
53
- * Tag v1.0
54
- * bettertabs rails helper, with static, link and ajax tabs
55
- * jquery.bettertabs plugin, that activate the clicked tab, loads ajax content and change the url using HTML history.replaceState() javascript method.
56
- * README.md documentation improved with examples
57
- * Rails3 (ruby 1.9.2) test application (in the test folder) with some use cases and some basic rspec tests.
58
-
59
- 2011-03-31 Mario Izquierdo Martinez <mizquierdo@majorleaguegaming.com>
60
-
61
- * Tag v0.0.1
62
- * Initial development and structure for the gem
63
- * Initial documentation (README.md file)