bettertabs 1.2.3 → 1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/.gitignore +1 -0
  2. data/.rspec +1 -0
  3. data/Gemfile +11 -1
  4. data/Gemfile.lock +106 -1
  5. data/MIT-LICENSE +20 -0
  6. data/README.md +35 -30
  7. data/Rakefile +16 -2
  8. data/{lib/bettertabs → app/assets}/javascripts/jquery.bettertabs.js +0 -0
  9. data/{lib/bettertabs/javascripts/jquery.bettertabs.coffee → app/assets/javascripts/jquery.bettertabs.js.coffee} +0 -0
  10. data/{lib/bettertabs → app/assets}/javascripts/jquery.bettertabs.min.js +0 -0
  11. data/{lib/bettertabs → app/helpers}/bettertabs_helper.rb +0 -0
  12. data/bettertabs.gemspec +12 -5
  13. data/{CHANGELOG → doc/CHANGELOG.md} +0 -0
  14. data/{EXAMPLES.md → doc/EXAMPLES.md} +0 -0
  15. data/{lib/bettertabs/javascripts/README.md → doc/JAVASCRIPTS-DEV-GUIDE.md} +0 -0
  16. data/{lib/bettertabs/stylesheets/README.md → doc/STYLESHEETS-GUIDE.md} +0 -0
  17. data/lib/bettertabs/engine.rb +6 -0
  18. data/lib/bettertabs/version.rb +2 -2
  19. data/lib/bettertabs.rb +2 -7
  20. data/script/rails +6 -0
  21. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/Rakefile +2 -2
  22. data/spec/dummy/app/assets/javascripts/application.js +10 -0
  23. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  24. data/{test/ruby_1_9/rails_3_0/public → spec/dummy/app/assets}/stylesheets/bettertabs.css +0 -0
  25. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/controllers/application_controller.rb +0 -0
  26. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/controllers/bettertabs_controller.rb +0 -0
  27. data/{test/ruby_1_9/rails_3_0/public/favicon.ico → spec/dummy/app/mailers/.gitkeep} +0 -0
  28. data/spec/dummy/app/models/.gitkeep +0 -0
  29. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/bettertabs/_ajax.html.haml +0 -0
  30. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/bettertabs/_link.html.haml +0 -0
  31. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/bettertabs/_mixed.html.haml +0 -0
  32. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/bettertabs/_tab_content.html.haml +0 -0
  33. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/bettertabs/ajax.html.haml +0 -0
  34. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/bettertabs/link_tab_1.html.haml +0 -0
  35. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/bettertabs/link_tab_2.html.haml +0 -0
  36. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/bettertabs/mixed.html.haml +0 -0
  37. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/bettertabs/mixed_with_erb.html.erb +0 -0
  38. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/bettertabs/static.html.haml +0 -0
  39. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/app/views/layouts/application.html.erb +4 -4
  40. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/config/application.rb +14 -7
  41. data/spec/dummy/config/boot.rb +10 -0
  42. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/config/environment.rb +1 -1
  43. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/config/environments/development.rb +8 -4
  44. data/spec/dummy/config/environments/production.rb +60 -0
  45. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/config/environments/test.rb +9 -2
  46. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/spec/dummy/config/initializers/inflections.rb +10 -0
  48. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/config/initializers/mime_types.rb +0 -0
  49. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/config/initializers/secret_token.rb +1 -1
  50. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/config/initializers/session_store.rb +2 -2
  51. data/spec/dummy/config/initializers/wrap_parameters.rb +9 -0
  52. data/spec/dummy/config/locales/en.yml +5 -0
  53. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/config/routes.rb +1 -2
  54. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/config.ru +1 -1
  55. data/spec/dummy/lib/assets/.gitkeep +0 -0
  56. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/public/404.html +0 -0
  57. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/public/422.html +0 -0
  58. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/public/500.html +0 -0
  59. data/spec/dummy/public/favicon.ico +0 -0
  60. data/{test/ruby_1_9/rails_3_0 → spec/dummy}/script/rails +0 -0
  61. data/{test/ruby_1_9/rails_3_0/spec → spec}/requests/bettertabs_spec.rb +0 -0
  62. data/spec/spec_helper.rb +16 -0
  63. metadata +132 -84
  64. data/test/README_for_TEST.txt +0 -5
  65. data/test/ruby_1_9/rails_3_0/.rspec +0 -1
  66. data/test/ruby_1_9/rails_3_0/.rvmc +0 -1
  67. data/test/ruby_1_9/rails_3_0/Gemfile +0 -13
  68. data/test/ruby_1_9/rails_3_0/Gemfile.lock +0 -108
  69. data/test/ruby_1_9/rails_3_0/README +0 -3
  70. data/test/ruby_1_9/rails_3_0/app/helpers/application_helper.rb +0 -2
  71. data/test/ruby_1_9/rails_3_0/config/boot.rb +0 -6
  72. data/test/ruby_1_9/rails_3_0/public/images/rails.png +0 -0
  73. data/test/ruby_1_9/rails_3_0/public/javascripts/jquery-1.3.min.js +0 -19
  74. data/test/ruby_1_9/rails_3_0/public/javascripts/jquery.bettertabs.js +0 -81
  75. data/test/ruby_1_9/rails_3_0/public/javascripts/rails.js +0 -278
  76. data/test/ruby_1_9/rails_3_0/public/robots.txt +0 -5
  77. data/test/ruby_1_9/rails_3_0/public/stylesheets/layout.css +0 -8
  78. data/test/ruby_1_9/rails_3_0/spec/spec_helper.rb +0 -19
@@ -0,0 +1,60 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
16
+
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
19
+
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to Rails.root.join("public/assets")
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
32
+
33
+ # See everything in the log (default is :info)
34
+ # config.log_level = :debug
35
+
36
+ # Use a different logger for distributed setups
37
+ # config.logger = SyslogLogger.new
38
+
39
+ # Use a different cache store in production
40
+ # config.cache_store = :mem_cache_store
41
+
42
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
43
+ # config.action_controller.asset_host = "http://assets.example.com"
44
+
45
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
46
+ # config.assets.precompile += %w( search.js )
47
+
48
+ # Disable delivery errors, bad email addresses will be ignored
49
+ # config.action_mailer.raise_delivery_errors = false
50
+
51
+ # Enable threaded mode
52
+ # config.threadsafe!
53
+
54
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
55
+ # the I18n.default_locale when a translation can not be found)
56
+ config.i18n.fallbacks = true
57
+
58
+ # Send deprecation notices to registered listeners
59
+ config.active_support.deprecation = :notify
60
+ end
@@ -1,4 +1,4 @@
1
- Rails30::Application.configure do
1
+ Dummy::Application.configure do
2
2
  # Settings specified here will take precedence over those in config/application.rb
3
3
 
4
4
  # The test environment is used exclusively to run your application's
@@ -7,7 +7,11 @@ Rails30::Application.configure do
7
7
  # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
9
 
10
- # Log error messages when you accidentally call methods on nil.
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
11
15
  config.whiny_nils = true
12
16
 
13
17
  # Show full error reports and disable caching
@@ -32,4 +36,7 @@ Rails30::Application.configure do
32
36
 
33
37
  # Print deprecation notices to the stderr
34
38
  config.active_support.deprecation = :stderr
39
+
40
+ # Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
41
+ config.assets.allow_debugging = true
35
42
  end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -4,4 +4,4 @@
4
4
  # If you change this key, all old signed cookies will become invalid!
5
5
  # Make sure the secret is at least 30 characters and all random,
6
6
  # no regular words or you'll be exposed to dictionary attacks.
7
- Rails30::Application.config.secret_token = 'e26fd0203cdbac5d97694bf57807eb43308269723588179f6536651ec3653787d0766246186f3eb6f50f55073640e087f5ae54ccfef2fa2c3c08f12300b5c8bc'
7
+ Dummy::Application.config.secret_token = '0e2ddb1e2f1dca06029b238f4443cc40f4bf2adc49bcfc0fd62f53865145997210dae2235f9980d6440e7d728fea628a3cf69f9073a8efcf7edc43c3842e7aca'
@@ -1,8 +1,8 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Rails30::Application.config.session_store :cookie_store, :key => '_rails_3_0_session'
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
4
 
5
5
  # Use the database for sessions instead of the cookie-based default,
6
6
  # which shouldn't be used to store highly confidential information
7
7
  # (create the session table with "rails generate session_migration")
8
- # Rails30::Application.config.session_store :active_record_store
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,9 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -1,5 +1,4 @@
1
- Rails30::Application.routes.draw do
2
-
1
+ Dummy::Application.routes.draw do
3
2
  root :to => "bettertabs#static"
4
3
 
5
4
  match 'bettertabs/:action(.:format)', controller: 'bettertabs'
@@ -1,4 +1,4 @@
1
1
  # This file is used by Rack-based servers to start the application.
2
2
 
3
3
  require ::File.expand_path('../config/environment', __FILE__)
4
- run Rails30::Application
4
+ run Dummy::Application
File without changes
File without changes
@@ -0,0 +1,16 @@
1
+ # Configure Rails Envinronment
2
+ ENV["RAILS_ENV"] = "test"
3
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+ require 'rspec/rails'
5
+ require 'haml'
6
+
7
+
8
+ ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
9
+
10
+ # Requires supporting ruby files with custom matchers and macros, etc,
11
+ # in spec/support/ and its subdirectories.
12
+ Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
13
+
14
+ RSpec.configure do |config|
15
+ config.mock_with :rspec
16
+ end
metadata CHANGED
@@ -1,117 +1,165 @@
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.3'
4
5
  prerelease:
5
- version: 1.2.3
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: 2011-06-23 00:00:00 Z
14
- dependencies: []
15
-
16
- description: "Bettertabs Rails helper (and jQuery plugin) defines the markup 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 the tabs are links. In the other hand, the CSS styles are up to you. "
17
- email:
12
+ date: 2011-09-12 00:00:00.000000000 +02:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rails
17
+ requirement: &2152819320 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: 3.1.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: *2152819320
26
+ - !ruby/object:Gem::Dependency
27
+ name: jquery-rails
28
+ requirement: &2152818640 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: *2152818640
37
+ - !ruby/object:Gem::Dependency
38
+ name: rspec-rails
39
+ requirement: &2152817880 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ type: :development
46
+ prerelease: false
47
+ version_requirements: *2152817880
48
+ - !ruby/object:Gem::Dependency
49
+ name: haml-rails
50
+ requirement: &2152817100 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: *2152817100
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:
18
64
  - tothemario@gmail.com
19
65
  executables: []
20
-
21
66
  extensions: []
22
-
23
67
  extra_rdoc_files: []
24
-
25
- files:
68
+ files:
26
69
  - .gitignore
70
+ - .rspec
27
71
  - .rvmrc
28
- - CHANGELOG
29
- - EXAMPLES.md
30
72
  - Gemfile
31
73
  - Gemfile.lock
74
+ - MIT-LICENSE
32
75
  - README.md
33
76
  - Rakefile
77
+ - app/assets/javascripts/jquery.bettertabs.js
78
+ - app/assets/javascripts/jquery.bettertabs.js.coffee
79
+ - app/assets/javascripts/jquery.bettertabs.min.js
80
+ - app/helpers/bettertabs_helper.rb
34
81
  - bettertabs.gemspec
82
+ - doc/CHANGELOG.md
83
+ - doc/EXAMPLES.md
84
+ - doc/JAVASCRIPTS-DEV-GUIDE.md
85
+ - doc/STYLESHEETS-GUIDE.md
35
86
  - lib/bettertabs.rb
36
87
  - lib/bettertabs/bettertabs_builder.rb
37
- - lib/bettertabs/bettertabs_helper.rb
38
- - lib/bettertabs/javascripts/README.md
39
- - lib/bettertabs/javascripts/jquery.bettertabs.coffee
40
- - lib/bettertabs/javascripts/jquery.bettertabs.js
41
- - lib/bettertabs/javascripts/jquery.bettertabs.min.js
42
- - lib/bettertabs/stylesheets/README.md
88
+ - lib/bettertabs/engine.rb
43
89
  - lib/bettertabs/version.rb
44
- - test/README_for_TEST.txt
45
- - test/ruby_1_9/rails_3_0/.rspec
46
- - test/ruby_1_9/rails_3_0/.rvmc
47
- - test/ruby_1_9/rails_3_0/Gemfile
48
- - test/ruby_1_9/rails_3_0/Gemfile.lock
49
- - test/ruby_1_9/rails_3_0/README
50
- - test/ruby_1_9/rails_3_0/Rakefile
51
- - test/ruby_1_9/rails_3_0/app/controllers/application_controller.rb
52
- - test/ruby_1_9/rails_3_0/app/controllers/bettertabs_controller.rb
53
- - test/ruby_1_9/rails_3_0/app/helpers/application_helper.rb
54
- - test/ruby_1_9/rails_3_0/app/views/bettertabs/_ajax.html.haml
55
- - test/ruby_1_9/rails_3_0/app/views/bettertabs/_link.html.haml
56
- - test/ruby_1_9/rails_3_0/app/views/bettertabs/_mixed.html.haml
57
- - test/ruby_1_9/rails_3_0/app/views/bettertabs/_tab_content.html.haml
58
- - test/ruby_1_9/rails_3_0/app/views/bettertabs/ajax.html.haml
59
- - test/ruby_1_9/rails_3_0/app/views/bettertabs/link_tab_1.html.haml
60
- - test/ruby_1_9/rails_3_0/app/views/bettertabs/link_tab_2.html.haml
61
- - test/ruby_1_9/rails_3_0/app/views/bettertabs/mixed.html.haml
62
- - test/ruby_1_9/rails_3_0/app/views/bettertabs/mixed_with_erb.html.erb
63
- - test/ruby_1_9/rails_3_0/app/views/bettertabs/static.html.haml
64
- - test/ruby_1_9/rails_3_0/app/views/layouts/application.html.erb
65
- - test/ruby_1_9/rails_3_0/config.ru
66
- - test/ruby_1_9/rails_3_0/config/application.rb
67
- - test/ruby_1_9/rails_3_0/config/boot.rb
68
- - test/ruby_1_9/rails_3_0/config/environment.rb
69
- - test/ruby_1_9/rails_3_0/config/environments/development.rb
70
- - test/ruby_1_9/rails_3_0/config/environments/test.rb
71
- - test/ruby_1_9/rails_3_0/config/initializers/mime_types.rb
72
- - test/ruby_1_9/rails_3_0/config/initializers/secret_token.rb
73
- - test/ruby_1_9/rails_3_0/config/initializers/session_store.rb
74
- - test/ruby_1_9/rails_3_0/config/routes.rb
75
- - test/ruby_1_9/rails_3_0/public/404.html
76
- - test/ruby_1_9/rails_3_0/public/422.html
77
- - test/ruby_1_9/rails_3_0/public/500.html
78
- - test/ruby_1_9/rails_3_0/public/favicon.ico
79
- - test/ruby_1_9/rails_3_0/public/images/rails.png
80
- - test/ruby_1_9/rails_3_0/public/javascripts/jquery-1.3.min.js
81
- - test/ruby_1_9/rails_3_0/public/javascripts/jquery.bettertabs.js
82
- - test/ruby_1_9/rails_3_0/public/javascripts/rails.js
83
- - test/ruby_1_9/rails_3_0/public/robots.txt
84
- - test/ruby_1_9/rails_3_0/public/stylesheets/bettertabs.css
85
- - test/ruby_1_9/rails_3_0/public/stylesheets/layout.css
86
- - test/ruby_1_9/rails_3_0/script/rails
87
- - test/ruby_1_9/rails_3_0/spec/requests/bettertabs_spec.rb
88
- - test/ruby_1_9/rails_3_0/spec/spec_helper.rb
90
+ - script/rails
91
+ - spec/dummy/Rakefile
92
+ - spec/dummy/app/assets/javascripts/application.js
93
+ - spec/dummy/app/assets/stylesheets/application.css
94
+ - spec/dummy/app/assets/stylesheets/bettertabs.css
95
+ - spec/dummy/app/controllers/application_controller.rb
96
+ - spec/dummy/app/controllers/bettertabs_controller.rb
97
+ - spec/dummy/app/mailers/.gitkeep
98
+ - spec/dummy/app/models/.gitkeep
99
+ - spec/dummy/app/views/bettertabs/_ajax.html.haml
100
+ - spec/dummy/app/views/bettertabs/_link.html.haml
101
+ - spec/dummy/app/views/bettertabs/_mixed.html.haml
102
+ - spec/dummy/app/views/bettertabs/_tab_content.html.haml
103
+ - spec/dummy/app/views/bettertabs/ajax.html.haml
104
+ - spec/dummy/app/views/bettertabs/link_tab_1.html.haml
105
+ - spec/dummy/app/views/bettertabs/link_tab_2.html.haml
106
+ - spec/dummy/app/views/bettertabs/mixed.html.haml
107
+ - spec/dummy/app/views/bettertabs/mixed_with_erb.html.erb
108
+ - spec/dummy/app/views/bettertabs/static.html.haml
109
+ - spec/dummy/app/views/layouts/application.html.erb
110
+ - spec/dummy/config.ru
111
+ - spec/dummy/config/application.rb
112
+ - spec/dummy/config/boot.rb
113
+ - spec/dummy/config/environment.rb
114
+ - spec/dummy/config/environments/development.rb
115
+ - spec/dummy/config/environments/production.rb
116
+ - spec/dummy/config/environments/test.rb
117
+ - spec/dummy/config/initializers/backtrace_silencers.rb
118
+ - spec/dummy/config/initializers/inflections.rb
119
+ - spec/dummy/config/initializers/mime_types.rb
120
+ - spec/dummy/config/initializers/secret_token.rb
121
+ - spec/dummy/config/initializers/session_store.rb
122
+ - spec/dummy/config/initializers/wrap_parameters.rb
123
+ - spec/dummy/config/locales/en.yml
124
+ - spec/dummy/config/routes.rb
125
+ - spec/dummy/lib/assets/.gitkeep
126
+ - spec/dummy/public/404.html
127
+ - spec/dummy/public/422.html
128
+ - spec/dummy/public/500.html
129
+ - spec/dummy/public/favicon.ico
130
+ - spec/dummy/script/rails
131
+ - spec/requests/bettertabs_spec.rb
132
+ - spec/spec_helper.rb
133
+ has_rdoc: true
89
134
  homepage: https://github.com/agoragames/bettertabs
90
135
  licenses: []
91
-
92
136
  post_install_message:
93
137
  rdoc_options: []
94
-
95
- require_paths:
138
+ require_paths:
96
139
  - lib
97
- required_ruby_version: !ruby/object:Gem::Requirement
140
+ required_ruby_version: !ruby/object:Gem::Requirement
98
141
  none: false
99
- requirements:
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: "0"
103
- required_rubygems_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ! '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ segments:
147
+ - 0
148
+ hash: -2757859858413369337
149
+ required_rubygems_version: !ruby/object:Gem::Requirement
104
150
  none: false
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- version: "0"
151
+ requirements:
152
+ - - ! '>='
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ segments:
156
+ - 0
157
+ hash: -2757859858413369337
109
158
  requirements: []
110
-
111
159
  rubyforge_project:
112
- rubygems_version: 1.8.3
160
+ rubygems_version: 1.6.2
113
161
  signing_key:
114
162
  specification_version: 3
115
- summary: The better (simple, accessible, usable, flexible and fast) way to split content in tabs for Rails.
163
+ summary: Just a simple, accessible, usable, flexible and fast way to split view content
164
+ in tabs in a rails application.
116
165
  test_files: []
117
-
@@ -1,5 +0,0 @@
1
- For test bettertabs in a full stack mode, we will have one simple rails app for each environment.
2
- Inside the Rails app, we will be able to test a request (including javascript behavior) thanks to Capybara and Rspec.
3
-
4
- Check this RailsCast to better understand how to test with Rspec and Capybara:
5
- http://asciicasts.com/episodes/257-request-specs-and-capybara
@@ -1 +0,0 @@
1
- --colour
@@ -1 +0,0 @@
1
- rvm 1.9.2
@@ -1,13 +0,0 @@
1
- source 'http://rubygems.org'
2
-
3
-
4
- gem 'rails', '3.0.9'
5
- gem 'rake', '0.9.2'
6
- gem 'rspec-rails'
7
- gem 'haml', '3.1.2'
8
-
9
- gem 'bettertabs', '1.2.3'
10
-
11
- # To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
12
- # gem 'ruby-debug'
13
- gem 'ruby-debug19', :require => 'ruby-debug'
@@ -1,108 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- abstract (1.0.0)
5
- actionmailer (3.0.9)
6
- actionpack (= 3.0.9)
7
- mail (~> 2.2.19)
8
- actionpack (3.0.9)
9
- activemodel (= 3.0.9)
10
- activesupport (= 3.0.9)
11
- builder (~> 2.1.2)
12
- erubis (~> 2.6.6)
13
- i18n (~> 0.5.0)
14
- rack (~> 1.2.1)
15
- rack-mount (~> 0.6.14)
16
- rack-test (~> 0.5.7)
17
- tzinfo (~> 0.3.23)
18
- activemodel (3.0.9)
19
- activesupport (= 3.0.9)
20
- builder (~> 2.1.2)
21
- i18n (~> 0.5.0)
22
- activerecord (3.0.9)
23
- activemodel (= 3.0.9)
24
- activesupport (= 3.0.9)
25
- arel (~> 2.0.10)
26
- tzinfo (~> 0.3.23)
27
- activeresource (3.0.9)
28
- activemodel (= 3.0.9)
29
- activesupport (= 3.0.9)
30
- activesupport (3.0.9)
31
- archive-tar-minitar (0.5.2)
32
- arel (2.0.10)
33
- bettertabs (1.2.2)
34
- builder (2.1.2)
35
- columnize (0.3.2)
36
- diff-lcs (1.1.2)
37
- erubis (2.6.6)
38
- abstract (>= 1.0.0)
39
- haml (3.1.2)
40
- i18n (0.5.0)
41
- linecache19 (0.5.12)
42
- ruby_core_source (>= 0.1.4)
43
- mail (2.2.19)
44
- activesupport (>= 2.3.6)
45
- i18n (>= 0.4.0)
46
- mime-types (~> 1.16)
47
- treetop (~> 1.4.8)
48
- mime-types (1.16)
49
- polyglot (0.3.1)
50
- rack (1.2.3)
51
- rack-mount (0.6.14)
52
- rack (>= 1.0.0)
53
- rack-test (0.5.7)
54
- rack (>= 1.0)
55
- rails (3.0.9)
56
- actionmailer (= 3.0.9)
57
- actionpack (= 3.0.9)
58
- activerecord (= 3.0.9)
59
- activeresource (= 3.0.9)
60
- activesupport (= 3.0.9)
61
- bundler (~> 1.0)
62
- railties (= 3.0.9)
63
- railties (3.0.9)
64
- actionpack (= 3.0.9)
65
- activesupport (= 3.0.9)
66
- rake (>= 0.8.7)
67
- rdoc (~> 3.4)
68
- thor (~> 0.14.4)
69
- rake (0.9.2)
70
- rdoc (3.6.1)
71
- rspec (2.5.0)
72
- rspec-core (~> 2.5.0)
73
- rspec-expectations (~> 2.5.0)
74
- rspec-mocks (~> 2.5.0)
75
- rspec-core (2.5.1)
76
- rspec-expectations (2.5.0)
77
- diff-lcs (~> 1.1.2)
78
- rspec-mocks (2.5.0)
79
- rspec-rails (2.5.0)
80
- actionpack (~> 3.0)
81
- activesupport (~> 3.0)
82
- railties (~> 3.0)
83
- rspec (~> 2.5.0)
84
- ruby-debug-base19 (0.11.25)
85
- columnize (>= 0.3.1)
86
- linecache19 (>= 0.5.11)
87
- ruby_core_source (>= 0.1.4)
88
- ruby-debug19 (0.11.6)
89
- columnize (>= 0.3.1)
90
- linecache19 (>= 0.5.11)
91
- ruby-debug-base19 (>= 0.11.19)
92
- ruby_core_source (0.1.5)
93
- archive-tar-minitar (>= 0.5.2)
94
- thor (0.14.6)
95
- treetop (1.4.9)
96
- polyglot (>= 0.3.1)
97
- tzinfo (0.3.28)
98
-
99
- PLATFORMS
100
- ruby
101
-
102
- DEPENDENCIES
103
- bettertabs (= 1.2.2)
104
- haml (= 3.1.2)
105
- rails (= 3.0.9)
106
- rake (= 0.9.2)
107
- rspec-rails
108
- ruby-debug19
@@ -1,3 +0,0 @@
1
- This Rails APP will serve as scenario to test the bettertabs gem in a ruby1.9/Rails3.0.X environment.
2
- Go to the rails app root path (bettertabs/test/ruby_1_9/rails_3_0) and run:
3
- $ rake spec:requests
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
@@ -1,6 +0,0 @@
1
- require 'rubygems'
2
-
3
- # Set up gems listed in the Gemfile.
4
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
5
-
6
- require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])