contour 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. data/CHANGELOG.rdoc +13 -0
  2. data/README.rdoc +1 -7
  3. data/Rakefile +38 -0
  4. data/{vendor → app}/assets/images/contour/addfile.png +0 -0
  5. data/{vendor → app}/assets/images/contour/arrow.png +0 -0
  6. data/{vendor → app}/assets/images/contour/blank.png +0 -0
  7. data/{vendor → app}/assets/images/contour/cas_32.png +0 -0
  8. data/{vendor → app}/assets/images/contour/cas_64.png +0 -0
  9. data/{vendor → app}/assets/images/contour/cross.png +0 -0
  10. data/{vendor → app}/assets/images/contour/delete.png +0 -0
  11. data/{vendor → app}/assets/images/contour/doc.png +0 -0
  12. data/{vendor → app}/assets/images/contour/download.png +0 -0
  13. data/{vendor → app}/assets/images/contour/edit.png +0 -0
  14. data/{vendor → app}/assets/images/contour/email.png +0 -0
  15. data/{vendor → app}/assets/images/contour/external.png +0 -0
  16. data/{vendor → app}/assets/images/contour/facebook_32.png +0 -0
  17. data/{vendor → app}/assets/images/contour/facebook_64.png +0 -0
  18. data/{vendor → app}/assets/images/contour/favorite_no.png +0 -0
  19. data/{vendor → app}/assets/images/contour/favorite_yes.png +0 -0
  20. data/{vendor → app}/assets/images/contour/feed.png +0 -0
  21. data/{vendor → app}/assets/images/contour/google_apps_32.png +0 -0
  22. data/{vendor → app}/assets/images/contour/google_apps_64.png +0 -0
  23. data/{vendor → app}/assets/images/contour/im.png +0 -0
  24. data/{vendor → app}/assets/images/contour/information.png +0 -0
  25. data/{vendor → app}/assets/images/contour/key.png +0 -0
  26. data/{vendor → app}/assets/images/contour/ldap_32.png +0 -0
  27. data/{vendor → app}/assets/images/contour/ldap_64.png +0 -0
  28. data/{vendor → app}/assets/images/contour/linkedin_32.png +0 -0
  29. data/{vendor → app}/assets/images/contour/linkedin_64.png +0 -0
  30. data/{vendor → app}/assets/images/contour/mydocuments.png +0 -0
  31. data/{vendor → app}/assets/images/contour/open.png +0 -0
  32. data/{vendor → app}/assets/images/contour/openid_32.png +0 -0
  33. data/{vendor → app}/assets/images/contour/openid_64.png +0 -0
  34. data/{vendor → app}/assets/images/contour/pdf.png +0 -0
  35. data/{vendor → app}/assets/images/contour/save.png +0 -0
  36. data/{vendor → app}/assets/images/contour/search.png +0 -0
  37. data/{vendor → app}/assets/images/contour/tag_blue.png +0 -0
  38. data/{vendor → app}/assets/images/contour/tag_green.png +0 -0
  39. data/{vendor → app}/assets/images/contour/tag_neutral.png +0 -0
  40. data/{vendor → app}/assets/images/contour/tag_red.png +0 -0
  41. data/{vendor → app}/assets/images/contour/tick.png +0 -0
  42. data/{vendor → app}/assets/images/contour/twitter_32.png +0 -0
  43. data/{vendor → app}/assets/images/contour/twitter_64.png +0 -0
  44. data/{vendor → app}/assets/images/contour/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  45. data/{vendor → app}/assets/images/contour/ui-bg_flat_55_fbec88_40x100.png +0 -0
  46. data/{vendor → app}/assets/images/contour/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  47. data/{vendor → app}/assets/images/contour/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  48. data/{vendor → app}/assets/images/contour/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  49. data/{vendor → app}/assets/images/contour/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  50. data/{vendor → app}/assets/images/contour/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  51. data/{vendor → app}/assets/images/contour/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  52. data/{vendor → app}/assets/images/contour/ui-icons_217bc0_256x240.png +0 -0
  53. data/{vendor → app}/assets/images/contour/ui-icons_2e83ff_256x240.png +0 -0
  54. data/{vendor → app}/assets/images/contour/ui-icons_469bdd_256x240.png +0 -0
  55. data/{vendor → app}/assets/images/contour/ui-icons_6da8d5_256x240.png +0 -0
  56. data/{vendor → app}/assets/images/contour/ui-icons_cd0a0a_256x240.png +0 -0
  57. data/{vendor → app}/assets/images/contour/ui-icons_d8e7f3_256x240.png +0 -0
  58. data/{vendor → app}/assets/images/contour/ui-icons_f9bd01_256x240.png +0 -0
  59. data/{vendor → app}/assets/images/contour/visited.png +0 -0
  60. data/{vendor → app}/assets/images/contour/warning.png +0 -0
  61. data/{vendor → app}/assets/images/contour/xls.png +0 -0
  62. data/{vendor → app}/assets/javascripts/contour.js +0 -0
  63. data/{vendor → app}/assets/javascripts/contour/errors.js.coffee +0 -0
  64. data/app/assets/javascripts/contour/global.js.coffee +13 -0
  65. data/app/assets/javascripts/contour/menu.js.coffee +21 -0
  66. data/{vendor → app}/assets/javascripts/contour/popup.js.coffee +0 -0
  67. data/{vendor → app}/assets/javascripts/external/exporting-2.1.9.src.js +0 -0
  68. data/{vendor → app}/assets/javascripts/external/highcharts-2.1.9.src.js +0 -0
  69. data/{vendor → app}/assets/javascripts/external/jquery-ui-1.8.10.custom.min.js +0 -0
  70. data/{vendor → app}/assets/javascripts/external/waypoints.js +0 -0
  71. data/{vendor → app}/assets/stylesheets/bluetrip-screen.css +0 -0
  72. data/{vendor → app}/assets/stylesheets/contour.css +0 -0
  73. data/{vendor → app}/assets/stylesheets/contour/authentication.css +0 -0
  74. data/{vendor → app}/assets/stylesheets/contour/global.css +2 -1
  75. data/{vendor → app}/assets/stylesheets/contour/header.css +0 -0
  76. data/app/assets/stylesheets/contour/menu.css +109 -0
  77. data/{vendor → app}/assets/stylesheets/contour/message.css +15 -3
  78. data/{vendor → app}/assets/stylesheets/contour/popup.css +0 -0
  79. data/{vendor → app}/assets/stylesheets/jquery-ui-1.8.10.custom.css +0 -0
  80. data/app/models/authentication.rb +11 -0
  81. data/app/views/contour/authentications/_menu.html.erb +26 -0
  82. data/app/views/contour/layouts/_menu.html.erb +15 -21
  83. data/app/views/contour/layouts/application.html.erb +2 -4
  84. data/app/views/contour/sessions/new.html.erb +2 -2
  85. data/config/routes.rb +16 -0
  86. data/contour.gemspec +15 -11
  87. data/lib/contour.rb +10 -6
  88. data/lib/contour/engine.rb +0 -1
  89. data/lib/contour/version.rb +2 -2
  90. data/lib/generators/contour/install_generator.rb +5 -4
  91. data/lib/generators/templates/contour.rb +10 -6
  92. data/test/contour_test.rb +7 -0
  93. data/test/dummy/Rakefile +7 -0
  94. data/test/dummy/app/assets/javascripts/application.js +8 -0
  95. data/test/dummy/app/assets/stylesheets/application.css +8 -0
  96. data/test/dummy/app/controllers/application_controller.rb +3 -0
  97. data/test/dummy/app/helpers/application_helper.rb +2 -0
  98. data/test/dummy/app/models/user.rb +45 -0
  99. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  100. data/test/dummy/config.ru +4 -0
  101. data/test/dummy/config/application.rb +45 -0
  102. data/test/dummy/config/boot.rb +10 -0
  103. data/test/dummy/config/database.yml +37 -0
  104. data/test/dummy/config/environment.rb +5 -0
  105. data/test/dummy/config/environments/development.rb +30 -0
  106. data/test/dummy/config/environments/production.rb +60 -0
  107. data/test/dummy/config/environments/test.rb +39 -0
  108. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  109. data/test/dummy/config/initializers/devise.rb +153 -0
  110. data/test/dummy/config/initializers/inflections.rb +10 -0
  111. data/test/dummy/config/initializers/mime_types.rb +5 -0
  112. data/test/dummy/config/initializers/omniauth.rb +22 -0
  113. data/test/dummy/config/initializers/secret_token.rb +7 -0
  114. data/test/dummy/config/initializers/session_store.rb +8 -0
  115. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  116. data/test/dummy/config/locales/en.yml +5 -0
  117. data/test/dummy/config/routes.rb +58 -0
  118. data/test/dummy/db/migrate/20111203203123_create_users.rb +26 -0
  119. data/test/dummy/db/migrate/20111203203307_create_authentications.rb +11 -0
  120. data/test/dummy/db/schema.rb +45 -0
  121. data/test/dummy/public/404.html +26 -0
  122. data/test/dummy/public/422.html +26 -0
  123. data/test/dummy/public/500.html +26 -0
  124. data/test/dummy/public/favicon.ico +0 -0
  125. data/test/dummy/script/rails +6 -0
  126. data/test/fixtures/authentications.yml +14 -9
  127. data/test/fixtures/users.yml +70 -0
  128. data/test/functional/authentications_controller_test.rb +2 -2
  129. data/test/functional/registrations_controller_test.rb +9 -9
  130. data/test/integration/navigation_test.rb +8 -0
  131. data/test/test_helper.rb +52 -0
  132. data/test/unit/authentication_test.rb +6 -3
  133. data/test/unit/user_test.rb +13 -0
  134. metadata +186 -96
  135. data/.gitignore +0 -7
  136. data/.rvmrc +0 -1
  137. data/lib/contour/engine/routes.rb +0 -10
  138. data/test/unit/helpers/registrations_helper_test.rb +0 -4
  139. data/vendor/assets/javascripts/contour/global.js.coffee +0 -38
  140. data/vendor/assets/javascripts/contour/menu.js.coffee +0 -6
  141. data/vendor/assets/stylesheets/contour/menu.css +0 -77
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
+ </div>
25
+ </body>
26
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -1,11 +1,16 @@
1
1
  # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
2
 
3
- one:
4
- user_id: 1
5
- provider: provider
6
- uid: UniqueIDOne
7
-
8
- two:
9
- user_id: 2
10
- provider: provider
11
- uid: UniqueIDOne
3
+ open_id:
4
+ user: valid
5
+ provider: open_id
6
+ uid: open_id@open_id.com
7
+
8
+ google_apps:
9
+ user: valid
10
+ provider: google_apps
11
+ uid: test@gmail.com
12
+
13
+ ldap:
14
+ user: valid
15
+ provider: ldap
16
+ uid: "CN=ldapid,CN=Users,DC=example,DC=com"
@@ -0,0 +1,70 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/Fixtures.html
2
+
3
+ valid:
4
+ first_name: FirstName
5
+ last_name: LastName
6
+ deleted: false
7
+ email: test@example.com
8
+ encrypted_password: MyString
9
+ # password_salt: MyString
10
+ reset_password_token: ResetTokenOne
11
+ remember_token: MyString
12
+ remember_created_at: MyDate
13
+ sign_in_count: 0
14
+ current_sign_in_at: MyDate
15
+ last_sign_in_at: MyDate
16
+ current_sign_in_ip: MyString
17
+ last_sign_in_ip: MyString
18
+ # confirmation_token: ConfirmationTokenOne
19
+ # confirmed_at: MyDate
20
+ # confirmation_sent_at: MyDate
21
+ # failed_attempts: 0
22
+ # unlock_token: UnlockTokenOne
23
+ # locked_at: MyDate
24
+ # authentication_token: MyString
25
+
26
+ invalid:
27
+ first_name: MyString
28
+ last_name: MyString
29
+ deleted: false
30
+ email: EmailTwo
31
+ encrypted_password: MyString
32
+ # password_salt: MyString
33
+ reset_password_token: ResetTokenTwo
34
+ remember_token: MyString
35
+ remember_created_at: MyDate
36
+ sign_in_count: 0
37
+ current_sign_in_at: MyDate
38
+ last_sign_in_at: MyDate
39
+ current_sign_in_ip: MyString
40
+ last_sign_in_ip: MyString
41
+ # confirmation_token: ConfirmationTokenTwo
42
+ # confirmed_at: MyDate
43
+ # confirmation_sent_at: MyDate
44
+ # failed_attempts: 0
45
+ # unlock_token: UnlockTokenTwo
46
+ # locked_at: MyDate
47
+ # authentication_token: MyString
48
+
49
+ deleted:
50
+ first_name: Deleted
51
+ last_name: User
52
+ deleted: true
53
+ email: deleted@example.com
54
+ encrypted_password: MyString
55
+ # password_salt: MyString
56
+ reset_password_token: ResetTokenFive
57
+ remember_token: MyString
58
+ remember_created_at: 2011-02-23
59
+ sign_in_count: 0
60
+ current_sign_in_at: 2011-02-23
61
+ last_sign_in_at: 2011-02-23
62
+ current_sign_in_ip: MyString
63
+ last_sign_in_ip: MyString
64
+ # confirmation_token: ConfirmationTokenFive
65
+ # confirmed_at: 2011-02-23
66
+ # confirmation_sent_at: 2011-02-23
67
+ # failed_attempts: 0
68
+ # unlock_token: UnlockTokenFive
69
+ # locked_at: 2011-02-23
70
+ # authentication_token: MyString
@@ -1,10 +1,10 @@
1
1
  require 'test_helper'
2
2
 
3
- class AuthenticationsControllerTest < ActionController::TestCase
3
+ class Contour::AuthenticationsControllerTest < ActionController::TestCase
4
4
  setup do
5
5
  login(users(:valid))
6
6
  @request.env["omniauth.auth"] = {'provider' => 'google_apps', 'user_info'=> {'email' => 'test@example.com'}}
7
- @authentication = authentications(:one)
7
+ @authentication = authentications(:open_id)
8
8
  end
9
9
 
10
10
  test "should get index" do
@@ -1,17 +1,17 @@
1
1
  require 'test_helper'
2
2
 
3
- class RegistrationsControllerTest < ActionController::TestCase
3
+ class Contour::RegistrationsControllerTest < ActionController::TestCase
4
4
  setup do
5
5
  login(users(:admin))
6
6
  request.env["devise.mapping"] = Devise.mappings[:user]
7
7
  end
8
8
 
9
- test "an admin should be able to create new user" do
10
- assert_difference('User.count') do
11
- post :create, :user => {:first_name => 'First Name', :last_name => 'Last Name', :status => 'active', :email => 'new_registration@example.com',
12
- :steering_committee => true, :steering_committee_secretary => false, :pp_committee => false, :pp_committee_secretary => false, :system_admin => false}
13
- end
14
-
15
- assert_redirected_to user_path(assigns(:user))
16
- end
9
+ # test "an admin should be able to create new user" do
10
+ # assert_difference('User.count') do
11
+ # post :create, :user => {:first_name => 'First Name', :last_name => 'Last Name', :status => 'active', :email => 'new_registration@example.com',
12
+ # :steering_committee => true, :steering_committee_secretary => false, :pp_committee => false, :pp_committee_secretary => false, :system_admin => false}
13
+ # end
14
+ #
15
+ # assert_redirected_to user_path(assigns(:user))
16
+ # end
17
17
  end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,52 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # class ActiveSupport::TestCase
13
+ # # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
14
+ # #
15
+ # # Note: You'll currently still have to declare fixtures explicitly in integration tests
16
+ # # -- they do not yet inherit this setting
17
+ # fixtures :all
18
+ #
19
+ # # Add more helper methods to be used by all tests here...
20
+ # end
21
+ #
22
+ # class ActionController::TestCase
23
+ # include Devise::TestHelpers
24
+ #
25
+ # def login(user)
26
+ # @request.env["devise.mapping"] = Devise.mappings[user]
27
+ # sign_in(:user, user)
28
+ # end
29
+ # end
30
+ #
31
+ # class ActionController::IntegrationTest
32
+ # def sign_in_as(user_template, password, email)
33
+ # user = User.create(:password => password, :password_confirmation => password, :email => email,
34
+ # :first_name => user_template.first_name, :last_name => user_template.last_name)
35
+ # user.save!
36
+ # # user.update_attribute :status, user_template.status
37
+ # user.update_attribute :deleted, user_template.deleted?
38
+ # # user.update_attribute :system_admin, user_template.system_admin?
39
+ # post_via_redirect 'users/login', :user => {:email => email, :password => password}
40
+ # user
41
+ # end
42
+ # end
43
+ #
44
+ # module Rack
45
+ # module Test
46
+ # class UploadedFile
47
+ # def tempfile
48
+ # @tempfile
49
+ # end
50
+ # end
51
+ # end
52
+ # end
@@ -1,8 +1,11 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class AuthenticationTest < ActiveSupport::TestCase
4
- # Replace this with your real tests.
5
- test "the truth" do
6
- assert true
4
+ test "should get provider name and handle OpenID special case" do
5
+ assert_equal 'OpenID', authentications(:open_id).provider_name
6
+ end
7
+
8
+ test "should get provider name" do
9
+ assert_equal 'Google Apps', authentications(:google_apps).provider_name
7
10
  end
8
11
  end
@@ -0,0 +1,13 @@
1
+ require 'test_helper'
2
+
3
+ # SimpleCov.command_name "test:units"
4
+
5
+ class UserTest < ActiveSupport::TestCase
6
+ test "should get reverse name" do
7
+ assert_equal 'LastName, FirstName', users(:valid).reverse_name
8
+ end
9
+
10
+ test "should apply omniauth" do
11
+ assert_not_nil users(:valid).apply_omniauth({'user_info' => {'email' => 'Email', 'first_name' => 'FirstName', 'last_name' => 'LastName'}})
12
+ end
13
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contour
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-14 00:00:00.000000000 Z
12
+ date: 2011-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &70299534040200 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.3
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70299534040200
14
25
  - !ruby/object:Gem::Dependency
15
26
  name: devise
16
- requirement: &70337627152520 !ruby/object:Gem::Requirement
27
+ requirement: &70299534039240 !ruby/object:Gem::Requirement
17
28
  none: false
18
29
  requirements:
19
30
  - - ~>
@@ -21,10 +32,10 @@ dependencies:
21
32
  version: 1.4.9
22
33
  type: :runtime
23
34
  prerelease: false
24
- version_requirements: *70337627152520
35
+ version_requirements: *70299534039240
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: omniauth
27
- requirement: &70337627150460 !ruby/object:Gem::Requirement
38
+ requirement: &70299534038680 !ruby/object:Gem::Requirement
28
39
  none: false
29
40
  requirements:
30
41
  - - =
@@ -32,10 +43,10 @@ dependencies:
32
43
  version: 0.2.6
33
44
  type: :runtime
34
45
  prerelease: false
35
- version_requirements: *70337627150460
46
+ version_requirements: *70299534038680
36
47
  - !ruby/object:Gem::Dependency
37
48
  name: jquery-rails
38
- requirement: &70337627149000 !ruby/object:Gem::Requirement
49
+ requirement: &70299534037920 !ruby/object:Gem::Requirement
39
50
  none: false
40
51
  requirements:
41
52
  - - ~>
@@ -43,23 +54,95 @@ dependencies:
43
54
  version: 1.0.17
44
55
  type: :runtime
45
56
  prerelease: false
46
- version_requirements: *70337627149000
57
+ version_requirements: *70299534037920
47
58
  description: Basic Rails Framework files and assets for layout and authentication
48
59
  email: remosm@gmail.com
49
60
  executables: []
50
61
  extensions: []
51
62
  extra_rdoc_files: []
52
63
  files:
53
- - .gitignore
54
- - .rvmrc
55
- - CHANGELOG.rdoc
56
- - LICENSE
57
- - README.rdoc
64
+ - app/assets/images/contour/addfile.png
65
+ - app/assets/images/contour/arrow.png
66
+ - app/assets/images/contour/blank.png
67
+ - app/assets/images/contour/cas_32.png
68
+ - app/assets/images/contour/cas_64.png
69
+ - app/assets/images/contour/cross.png
70
+ - app/assets/images/contour/delete.png
71
+ - app/assets/images/contour/doc.png
72
+ - app/assets/images/contour/download.png
73
+ - app/assets/images/contour/edit.png
74
+ - app/assets/images/contour/email.png
75
+ - app/assets/images/contour/external.png
76
+ - app/assets/images/contour/facebook_32.png
77
+ - app/assets/images/contour/facebook_64.png
78
+ - app/assets/images/contour/favorite_no.png
79
+ - app/assets/images/contour/favorite_yes.png
80
+ - app/assets/images/contour/feed.png
81
+ - app/assets/images/contour/google_apps_32.png
82
+ - app/assets/images/contour/google_apps_64.png
83
+ - app/assets/images/contour/im.png
84
+ - app/assets/images/contour/information.png
85
+ - app/assets/images/contour/key.png
86
+ - app/assets/images/contour/ldap_32.png
87
+ - app/assets/images/contour/ldap_64.png
88
+ - app/assets/images/contour/linkedin_32.png
89
+ - app/assets/images/contour/linkedin_64.png
90
+ - app/assets/images/contour/mydocuments.png
91
+ - app/assets/images/contour/open.png
92
+ - app/assets/images/contour/openid_32.png
93
+ - app/assets/images/contour/openid_64.png
94
+ - app/assets/images/contour/pdf.png
95
+ - app/assets/images/contour/save.png
96
+ - app/assets/images/contour/search.png
97
+ - app/assets/images/contour/tag_blue.png
98
+ - app/assets/images/contour/tag_green.png
99
+ - app/assets/images/contour/tag_neutral.png
100
+ - app/assets/images/contour/tag_red.png
101
+ - app/assets/images/contour/tick.png
102
+ - app/assets/images/contour/twitter_32.png
103
+ - app/assets/images/contour/twitter_64.png
104
+ - app/assets/images/contour/ui-bg_flat_0_aaaaaa_40x100.png
105
+ - app/assets/images/contour/ui-bg_flat_55_fbec88_40x100.png
106
+ - app/assets/images/contour/ui-bg_glass_75_d0e5f5_1x400.png
107
+ - app/assets/images/contour/ui-bg_glass_85_dfeffc_1x400.png
108
+ - app/assets/images/contour/ui-bg_glass_95_fef1ec_1x400.png
109
+ - app/assets/images/contour/ui-bg_gloss-wave_55_5c9ccc_500x100.png
110
+ - app/assets/images/contour/ui-bg_inset-hard_100_f5f8f9_1x100.png
111
+ - app/assets/images/contour/ui-bg_inset-hard_100_fcfdfd_1x100.png
112
+ - app/assets/images/contour/ui-icons_217bc0_256x240.png
113
+ - app/assets/images/contour/ui-icons_2e83ff_256x240.png
114
+ - app/assets/images/contour/ui-icons_469bdd_256x240.png
115
+ - app/assets/images/contour/ui-icons_6da8d5_256x240.png
116
+ - app/assets/images/contour/ui-icons_cd0a0a_256x240.png
117
+ - app/assets/images/contour/ui-icons_d8e7f3_256x240.png
118
+ - app/assets/images/contour/ui-icons_f9bd01_256x240.png
119
+ - app/assets/images/contour/visited.png
120
+ - app/assets/images/contour/warning.png
121
+ - app/assets/images/contour/xls.png
122
+ - app/assets/javascripts/contour/errors.js.coffee
123
+ - app/assets/javascripts/contour/global.js.coffee
124
+ - app/assets/javascripts/contour/menu.js.coffee
125
+ - app/assets/javascripts/contour/popup.js.coffee
126
+ - app/assets/javascripts/contour.js
127
+ - app/assets/javascripts/external/exporting-2.1.9.src.js
128
+ - app/assets/javascripts/external/highcharts-2.1.9.src.js
129
+ - app/assets/javascripts/external/jquery-ui-1.8.10.custom.min.js
130
+ - app/assets/javascripts/external/waypoints.js
131
+ - app/assets/stylesheets/bluetrip-screen.css
132
+ - app/assets/stylesheets/contour/authentication.css
133
+ - app/assets/stylesheets/contour/global.css
134
+ - app/assets/stylesheets/contour/header.css
135
+ - app/assets/stylesheets/contour/menu.css
136
+ - app/assets/stylesheets/contour/message.css
137
+ - app/assets/stylesheets/contour/popup.css
138
+ - app/assets/stylesheets/contour.css
139
+ - app/assets/stylesheets/jquery-ui-1.8.10.custom.css
58
140
  - app/controllers/contour/authentications_controller.rb
59
141
  - app/controllers/contour/passwords_controller.rb
60
142
  - app/controllers/contour/registrations_controller.rb
61
143
  - app/controllers/contour/samples_controller.rb
62
144
  - app/controllers/contour/sessions_controller.rb
145
+ - app/models/authentication.rb
63
146
  - app/views/contour/authentications/_index.html.erb
64
147
  - app/views/contour/authentications/_menu.html.erb
65
148
  - app/views/contour/authentications/index.html.erb
@@ -73,101 +156,66 @@ files:
73
156
  - app/views/contour/registrations/new.html.erb
74
157
  - app/views/contour/samples/index.html.erb
75
158
  - app/views/contour/sessions/new.html.erb
76
- - contour.gemspec
77
- - lib/contour.rb
159
+ - config/routes.rb
78
160
  - lib/contour/engine.rb
79
- - lib/contour/engine/routes.rb
80
- - lib/contour/fixes.rb
81
161
  - lib/contour/fixes/devise.rb
82
162
  - lib/contour/fixes/omniauth.rb
83
163
  - lib/contour/fixes/rack.rb
164
+ - lib/contour/fixes.rb
84
165
  - lib/contour/version.rb
166
+ - lib/contour.rb
85
167
  - lib/generators/contour/install_generator.rb
86
- - lib/generators/templates/README
87
168
  - lib/generators/templates/contour.rb
88
169
  - lib/generators/templates/devise.rb
89
170
  - lib/generators/templates/omniauth.rb
171
+ - lib/generators/templates/README
172
+ - CHANGELOG.rdoc
173
+ - contour.gemspec
174
+ - LICENSE
175
+ - Rakefile
176
+ - README.rdoc
177
+ - test/contour_test.rb
178
+ - test/dummy/app/assets/javascripts/application.js
179
+ - test/dummy/app/assets/stylesheets/application.css
180
+ - test/dummy/app/controllers/application_controller.rb
181
+ - test/dummy/app/helpers/application_helper.rb
182
+ - test/dummy/app/models/user.rb
183
+ - test/dummy/app/views/layouts/application.html.erb
184
+ - test/dummy/config/application.rb
185
+ - test/dummy/config/boot.rb
186
+ - test/dummy/config/database.yml
187
+ - test/dummy/config/environment.rb
188
+ - test/dummy/config/environments/development.rb
189
+ - test/dummy/config/environments/production.rb
190
+ - test/dummy/config/environments/test.rb
191
+ - test/dummy/config/initializers/backtrace_silencers.rb
192
+ - test/dummy/config/initializers/devise.rb
193
+ - test/dummy/config/initializers/inflections.rb
194
+ - test/dummy/config/initializers/mime_types.rb
195
+ - test/dummy/config/initializers/omniauth.rb
196
+ - test/dummy/config/initializers/secret_token.rb
197
+ - test/dummy/config/initializers/session_store.rb
198
+ - test/dummy/config/initializers/wrap_parameters.rb
199
+ - test/dummy/config/locales/en.yml
200
+ - test/dummy/config/routes.rb
201
+ - test/dummy/config.ru
202
+ - test/dummy/db/migrate/20111203203123_create_users.rb
203
+ - test/dummy/db/migrate/20111203203307_create_authentications.rb
204
+ - test/dummy/db/schema.rb
205
+ - test/dummy/public/404.html
206
+ - test/dummy/public/422.html
207
+ - test/dummy/public/500.html
208
+ - test/dummy/public/favicon.ico
209
+ - test/dummy/Rakefile
210
+ - test/dummy/script/rails
90
211
  - test/fixtures/authentications.yml
212
+ - test/fixtures/users.yml
91
213
  - test/functional/authentications_controller_test.rb
92
214
  - test/functional/registrations_controller_test.rb
215
+ - test/integration/navigation_test.rb
216
+ - test/test_helper.rb
93
217
  - test/unit/authentication_test.rb
94
- - test/unit/helpers/registrations_helper_test.rb
95
- - vendor/assets/images/contour/addfile.png
96
- - vendor/assets/images/contour/arrow.png
97
- - vendor/assets/images/contour/blank.png
98
- - vendor/assets/images/contour/cas_32.png
99
- - vendor/assets/images/contour/cas_64.png
100
- - vendor/assets/images/contour/cross.png
101
- - vendor/assets/images/contour/delete.png
102
- - vendor/assets/images/contour/doc.png
103
- - vendor/assets/images/contour/download.png
104
- - vendor/assets/images/contour/edit.png
105
- - vendor/assets/images/contour/email.png
106
- - vendor/assets/images/contour/external.png
107
- - vendor/assets/images/contour/facebook_32.png
108
- - vendor/assets/images/contour/facebook_64.png
109
- - vendor/assets/images/contour/favorite_no.png
110
- - vendor/assets/images/contour/favorite_yes.png
111
- - vendor/assets/images/contour/feed.png
112
- - vendor/assets/images/contour/google_apps_32.png
113
- - vendor/assets/images/contour/google_apps_64.png
114
- - vendor/assets/images/contour/im.png
115
- - vendor/assets/images/contour/information.png
116
- - vendor/assets/images/contour/key.png
117
- - vendor/assets/images/contour/ldap_32.png
118
- - vendor/assets/images/contour/ldap_64.png
119
- - vendor/assets/images/contour/linkedin_32.png
120
- - vendor/assets/images/contour/linkedin_64.png
121
- - vendor/assets/images/contour/mydocuments.png
122
- - vendor/assets/images/contour/open.png
123
- - vendor/assets/images/contour/openid_32.png
124
- - vendor/assets/images/contour/openid_64.png
125
- - vendor/assets/images/contour/pdf.png
126
- - vendor/assets/images/contour/save.png
127
- - vendor/assets/images/contour/search.png
128
- - vendor/assets/images/contour/tag_blue.png
129
- - vendor/assets/images/contour/tag_green.png
130
- - vendor/assets/images/contour/tag_neutral.png
131
- - vendor/assets/images/contour/tag_red.png
132
- - vendor/assets/images/contour/tick.png
133
- - vendor/assets/images/contour/twitter_32.png
134
- - vendor/assets/images/contour/twitter_64.png
135
- - vendor/assets/images/contour/ui-bg_flat_0_aaaaaa_40x100.png
136
- - vendor/assets/images/contour/ui-bg_flat_55_fbec88_40x100.png
137
- - vendor/assets/images/contour/ui-bg_glass_75_d0e5f5_1x400.png
138
- - vendor/assets/images/contour/ui-bg_glass_85_dfeffc_1x400.png
139
- - vendor/assets/images/contour/ui-bg_glass_95_fef1ec_1x400.png
140
- - vendor/assets/images/contour/ui-bg_gloss-wave_55_5c9ccc_500x100.png
141
- - vendor/assets/images/contour/ui-bg_inset-hard_100_f5f8f9_1x100.png
142
- - vendor/assets/images/contour/ui-bg_inset-hard_100_fcfdfd_1x100.png
143
- - vendor/assets/images/contour/ui-icons_217bc0_256x240.png
144
- - vendor/assets/images/contour/ui-icons_2e83ff_256x240.png
145
- - vendor/assets/images/contour/ui-icons_469bdd_256x240.png
146
- - vendor/assets/images/contour/ui-icons_6da8d5_256x240.png
147
- - vendor/assets/images/contour/ui-icons_cd0a0a_256x240.png
148
- - vendor/assets/images/contour/ui-icons_d8e7f3_256x240.png
149
- - vendor/assets/images/contour/ui-icons_f9bd01_256x240.png
150
- - vendor/assets/images/contour/visited.png
151
- - vendor/assets/images/contour/warning.png
152
- - vendor/assets/images/contour/xls.png
153
- - vendor/assets/javascripts/contour.js
154
- - vendor/assets/javascripts/contour/errors.js.coffee
155
- - vendor/assets/javascripts/contour/global.js.coffee
156
- - vendor/assets/javascripts/contour/menu.js.coffee
157
- - vendor/assets/javascripts/contour/popup.js.coffee
158
- - vendor/assets/javascripts/external/exporting-2.1.9.src.js
159
- - vendor/assets/javascripts/external/highcharts-2.1.9.src.js
160
- - vendor/assets/javascripts/external/jquery-ui-1.8.10.custom.min.js
161
- - vendor/assets/javascripts/external/waypoints.js
162
- - vendor/assets/stylesheets/bluetrip-screen.css
163
- - vendor/assets/stylesheets/contour.css
164
- - vendor/assets/stylesheets/contour/authentication.css
165
- - vendor/assets/stylesheets/contour/global.css
166
- - vendor/assets/stylesheets/contour/header.css
167
- - vendor/assets/stylesheets/contour/menu.css
168
- - vendor/assets/stylesheets/contour/message.css
169
- - vendor/assets/stylesheets/contour/popup.css
170
- - vendor/assets/stylesheets/jquery-ui-1.8.10.custom.css
218
+ - test/unit/user_test.rb
171
219
  homepage: https://github.com/remomueller
172
220
  licenses: []
173
221
  post_install_message:
@@ -192,4 +240,46 @@ rubygems_version: 1.8.11
192
240
  signing_key:
193
241
  specification_version: 3
194
242
  summary: Basic Rails framework files and assets for layout and authentication
195
- test_files: []
243
+ test_files:
244
+ - test/contour_test.rb
245
+ - test/dummy/app/assets/javascripts/application.js
246
+ - test/dummy/app/assets/stylesheets/application.css
247
+ - test/dummy/app/controllers/application_controller.rb
248
+ - test/dummy/app/helpers/application_helper.rb
249
+ - test/dummy/app/models/user.rb
250
+ - test/dummy/app/views/layouts/application.html.erb
251
+ - test/dummy/config/application.rb
252
+ - test/dummy/config/boot.rb
253
+ - test/dummy/config/database.yml
254
+ - test/dummy/config/environment.rb
255
+ - test/dummy/config/environments/development.rb
256
+ - test/dummy/config/environments/production.rb
257
+ - test/dummy/config/environments/test.rb
258
+ - test/dummy/config/initializers/backtrace_silencers.rb
259
+ - test/dummy/config/initializers/devise.rb
260
+ - test/dummy/config/initializers/inflections.rb
261
+ - test/dummy/config/initializers/mime_types.rb
262
+ - test/dummy/config/initializers/omniauth.rb
263
+ - test/dummy/config/initializers/secret_token.rb
264
+ - test/dummy/config/initializers/session_store.rb
265
+ - test/dummy/config/initializers/wrap_parameters.rb
266
+ - test/dummy/config/locales/en.yml
267
+ - test/dummy/config/routes.rb
268
+ - test/dummy/config.ru
269
+ - test/dummy/db/migrate/20111203203123_create_users.rb
270
+ - test/dummy/db/migrate/20111203203307_create_authentications.rb
271
+ - test/dummy/db/schema.rb
272
+ - test/dummy/public/404.html
273
+ - test/dummy/public/422.html
274
+ - test/dummy/public/500.html
275
+ - test/dummy/public/favicon.ico
276
+ - test/dummy/Rakefile
277
+ - test/dummy/script/rails
278
+ - test/fixtures/authentications.yml
279
+ - test/fixtures/users.yml
280
+ - test/functional/authentications_controller_test.rb
281
+ - test/functional/registrations_controller_test.rb
282
+ - test/integration/navigation_test.rb
283
+ - test/test_helper.rb
284
+ - test/unit/authentication_test.rb
285
+ - test/unit/user_test.rb