contour 0.5.6 → 0.5.7

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.
data/.rvmrc CHANGED
@@ -1 +1 @@
1
- rvm 1.9.2
1
+ rvm 1.9.3
@@ -1,3 +1,11 @@
1
+ == 0.5.7
2
+
3
+ * Enhancements
4
+ * Authentications link is now hidden by default if no additional providers have been specified for Omniauth
5
+
6
+ * Bug Fix
7
+ * Dependency added for jquery-rails 1.0.0 to 1.0.16 since jquery-rails 1.0.17 switches to jQuery 1.7.0 which is incompatible with HighCharts 2.1.4 which requires jQuery 1.6.4
8
+
1
9
  == 0.5.6
2
10
 
3
11
  * Bug Fix
@@ -6,21 +6,24 @@
6
6
  # gem list -r contour
7
7
  # gem install contour
8
8
 
9
- $:.push File.expand_path("../lib", __FILE__)
10
- require "contour/version"
9
+ $:.push File.expand_path('../lib', __FILE__)
10
+ require 'contour/version'
11
11
 
12
12
  Gem::Specification.new do |s|
13
- s.name = "contour"
13
+ s.name = 'contour'
14
14
  s.version = Contour::VERSION.dup
15
15
  s.platform = Gem::Platform::RUBY
16
- s.summary = "Basic Rails framework files and assets for layout and authentication"
17
- s.email = "remosm@gmail.com"
18
- s.homepage = "https://github.com/remomueller"
19
- s.authors = ["Remo Mueller"]
20
- s.description = "Basic Rails Framework files and assets for layout and authentication"
16
+ s.summary = 'Basic Rails framework files and assets for layout and authentication'
17
+ s.email = 'remosm@gmail.com'
18
+ s.homepage = 'https://github.com/remomueller'
19
+ s.authors = ['Remo Mueller']
20
+ s.description = 'Basic Rails Framework files and assets for layout and authentication'
21
21
 
22
- s.add_dependency("devise", "~> 1.4.4")
23
- s.add_dependency("omniauth", "~> 0.2.6")
22
+ s.add_dependency('devise', '~> 1.4.9')
23
+ s.add_dependency('omniauth', '=0.2.6')
24
+ # jquery-rails 1.0.17 switches to jQuery 1.7.0
25
+ # HighCharts 2.1.4 requires jQuery 1.6.4
26
+ s.add_dependency('jquery-rails', '>= 1.0.0', '<= 1.0.16')
24
27
 
25
28
  s.files = `git ls-files`.split("\n")
26
29
  end
@@ -34,8 +34,8 @@ module Contour
34
34
  :links => [{:name => 'Login', :path => 'new_user_session_path'}, {:html => "<hr>"}, {:name => 'Sign Up', :path => 'new_user_registration_path'}]
35
35
  },
36
36
  {
37
- :name => 'current_user.name', :eval => true, :id => 'auth', :display => 'signed_in', :position => 'right', :position_class => 'right',
38
- :links => [{:html => '"<div style=\"white-space:nowrap\">"+(current_user.methods.include?(:name) ? current_user.name.to_s : "")+"</div>"', :eval => true}, {:html => '"<div class=\"small quiet\">"+current_user.email+"</div>"', :eval => true}, {:name => 'Authentications', :path => 'authentications_path'}, {:html => "<hr>"}, {:name => 'Logout', :path => 'destroy_user_session_path'}]
37
+ :name => 'current_user.name', :eval => true, :id => 'auth', :display => 'signed_in', :position => 'right', :position_class => 'right', :condition => 'true',
38
+ :links => [{:html => '"<div style=\"white-space:nowrap\">"+(current_user.methods.include?(:name) ? current_user.name.to_s : "")+"</div>"', :eval => true}, {:html => '"<div class=\"small quiet\">"+current_user.email+"</div>"', :eval => true}, {:name => 'Authentications', :path => 'authentications_path', :condition => 'not PROVIDERS.blank?'}, {:html => "<hr>"}, {:name => 'Logout', :path => 'destroy_user_session_path'}]
39
39
  },
40
40
  {
41
41
  :name => 'Home', :id => 'home', :display => 'always', :position => 'left', :position_class => 'left',
@@ -1,3 +1,3 @@
1
1
  module Contour
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
3
3
  end
@@ -23,7 +23,7 @@ Contour.setup do |config|
23
23
  # },
24
24
  # {
25
25
  # :name => 'current_user.name', :eval => true, :id => 'auth', :display => 'signed_in', :position => 'right', :position_class => 'right', :condition => 'true',
26
- # :links => [{:html => '"<div style=\"white-space:nowrap\">"+(current_user.methods.include?(:name) ? current_user.name.to_s : "")+"</div>"', :eval => true}, {:html => '"<div class=\"small quiet\">"+current_user.email+"</div>"', :eval => true}, {:name => 'Authentications', :path => 'authentications_path'}, {:html => "<hr>"}, {:name => 'Logout', :path => 'destroy_user_session_path'}]
26
+ # :links => [{:html => '"<div style=\"white-space:nowrap\">"+(current_user.methods.include?(:name) ? current_user.name.to_s : "")+"</div>"', :eval => true}, {:html => '"<div class=\"small quiet\">"+current_user.email+"</div>"', :eval => true}, {:name => 'Authentications', :path => 'authentications_path', :condition => 'not PROVIDERS.blank?'}, {:html => "<hr>"}, {:name => 'Logout', :path => 'destroy_user_session_path'}]
27
27
  # },
28
28
  # {
29
29
  # :name => 'Home', :id => 'home', :display => 'always', :position => 'left', :position_class => 'left', :condition => 'true', :image => '', :image_options => {},
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.5.6
4
+ version: 0.5.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,30 +9,44 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-11 00:00:00.000000000Z
12
+ date: 2011-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: devise
16
- requirement: &70186493364100 !ruby/object:Gem::Requirement
16
+ requirement: &70251807767700 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.4.4
21
+ version: 1.4.9
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70186493364100
24
+ version_requirements: *70251807767700
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: omniauth
27
- requirement: &70186493362960 !ruby/object:Gem::Requirement
27
+ requirement: &70251807782160 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
- - - ~>
30
+ - - =
31
31
  - !ruby/object:Gem::Version
32
32
  version: 0.2.6
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70186493362960
35
+ version_requirements: *70251807782160
36
+ - !ruby/object:Gem::Dependency
37
+ name: jquery-rails
38
+ requirement: &70251807777800 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 1.0.0
44
+ - - <=
45
+ - !ruby/object:Gem::Version
46
+ version: 1.0.16
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: *70251807777800
36
50
  description: Basic Rails Framework files and assets for layout and authentication
37
51
  email: remosm@gmail.com
38
52
  executables: []
@@ -177,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
191
  version: '0'
178
192
  requirements: []
179
193
  rubyforge_project:
180
- rubygems_version: 1.8.10
194
+ rubygems_version: 1.8.11
181
195
  signing_key:
182
196
  specification_version: 3
183
197
  summary: Basic Rails framework files and assets for layout and authentication