contour 2.6.0.beta3 → 2.6.0.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/contour.gemspec +5 -7
- data/lib/contour/fixes.rb +1 -0
- data/lib/contour/fixes/devise-with-rails-4-2.rb +17 -0
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/test_helper.rb +2 -2
- metadata +7 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18876d4ce18a38706d99f36cdd14097e36c9b795
|
4
|
+
data.tar.gz: 7f6c13dfca24b37f6c09e685c7e04a83aa334faa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dfa9470bc2cb281a7f15abb6b26215a983a81ca69017a29d16afb6279ceca7770eec1a90c4a07d08855a312029b04d2ae4697f15c77867b070ca88302268028
|
7
|
+
data.tar.gz: dc665791841ea184c72a59b5d1e5e39a42a06db286f7032dc2e2fddd92558a28c2ad0f0ca28ced35e64e278b8b48c1de4455bdc360d7e4b7a185e97313c394d3
|
data/CHANGELOG.md
CHANGED
@@ -8,7 +8,8 @@
|
|
8
8
|
- This allows the app to be themed by including all or parts of a modified `variables.scss` in the application's `application.css.scss` file
|
9
9
|
- Use of Ruby 2.1.2 is now recommended
|
10
10
|
- **Gem Changes**
|
11
|
-
- Updated to rails ~> 4.
|
11
|
+
- Updated to rails ~> 4.2.0.beta1
|
12
|
+
- Updated to devise github branch: 'lm-rails-4-2'
|
12
13
|
|
13
14
|
## 2.5.0 (May 8, 2014)
|
14
15
|
|
data/contour.gemspec
CHANGED
@@ -24,19 +24,17 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.files = Dir['{app,config,db,lib}/**/*'] + ['CHANGELOG.md', 'contour.gemspec', 'LICENSE', 'Rakefile', 'README.md']
|
25
25
|
s.test_files = Dir['test/**/*'] - Dir['test/dummy/{tmp,log}/**/*']
|
26
26
|
|
27
|
-
s.add_dependency 'rails', '~> 4.1.5'
|
27
|
+
s.add_dependency 'rails', '~> 4.2.0.beta1' # '~> 4.1.5'
|
28
28
|
s.add_dependency 'jquery-rails', '>= 3.0.4'
|
29
29
|
s.add_dependency 'coffee-rails', '~> 4.0.1'
|
30
|
-
|
30
|
+
|
31
|
+
# s.add_dependency 'devise', '~> 3.3.0' # Currently need to add github branch to Gemfile
|
32
|
+
|
31
33
|
s.add_dependency 'omniauth', '~> 1.2.1'
|
32
|
-
# s.add_dependency 'omniauth-cas', '~> 1.0.4'
|
33
|
-
# s.add_dependency 'omniauth-facebook', '~> 1.6.0'
|
34
34
|
s.add_dependency 'omniauth-ldap', '~> 1.0.4'
|
35
|
-
# s.add_dependency 'omniauth-linkedin', '~> 0.1.0'
|
36
35
|
s.add_dependency 'omniauth-openid', '~> 1.0.1'
|
37
|
-
# s.add_dependency 'omniauth-twitter', '~> 1.0.1'
|
38
36
|
s.add_dependency 'bootstrap-sass', '~> 3.2.0'
|
39
|
-
s.add_dependency 'sass-rails', '~> 4.0.3'
|
37
|
+
s.add_dependency 'sass-rails', '~> 5.0.0.beta1' # '~> 4.0.3'
|
40
38
|
s.add_dependency 'autoprefixer-rails'
|
41
39
|
|
42
40
|
|
data/lib/contour/fixes.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
module ActionDispatch::Routing
|
2
|
+
class Mapper
|
3
|
+
|
4
|
+
protected
|
5
|
+
def with_devise_exclusive_scope(new_path, new_as, options) #:nodoc:
|
6
|
+
current_scope = @scope.dup
|
7
|
+
|
8
|
+
exclusive = { as: new_as, path: new_path, module: nil }
|
9
|
+
exclusive.merge!(options.slice(:constraints, :defaults, :options))
|
10
|
+
|
11
|
+
exclusive.each_pair { |key, value| @scope[key] = value }
|
12
|
+
yield
|
13
|
+
ensure
|
14
|
+
@scope = current_scope
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/test_helper.rb
CHANGED
@@ -4,7 +4,7 @@ require 'minitest/autorun'
|
|
4
4
|
require 'minitest/reporters'
|
5
5
|
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
|
6
6
|
|
7
|
-
ENV[
|
7
|
+
ENV['RAILS_ENV'] ||= 'test'
|
8
8
|
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
9
9
|
require "rails/test_help"
|
10
10
|
|
@@ -39,7 +39,7 @@ class ActionDispatch::IntegrationTest
|
|
39
39
|
user.save!
|
40
40
|
user.update_column :status, user_template.status
|
41
41
|
user.update_column :deleted, user_template.deleted?
|
42
|
-
post_via_redirect 'users/login', user: { email: email, password: password }
|
42
|
+
post_via_redirect '/users/login', user: { email: email, password: password }
|
43
43
|
user
|
44
44
|
end
|
45
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.0.
|
4
|
+
version: 2.6.0.beta4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Remo Mueller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
19
|
+
version: 4.2.0.beta1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.
|
26
|
+
version: 4.2.0.beta1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jquery-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 4.0.1
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: devise
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 3.2.4
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 3.2.4
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: omniauth
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +114,14 @@ dependencies:
|
|
128
114
|
requirements:
|
129
115
|
- - "~>"
|
130
116
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
117
|
+
version: 5.0.0.beta1
|
132
118
|
type: :runtime
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
122
|
- - "~>"
|
137
123
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
124
|
+
version: 5.0.0.beta1
|
139
125
|
- !ruby/object:Gem::Dependency
|
140
126
|
name: autoprefixer-rails
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -272,6 +258,7 @@ files:
|
|
272
258
|
- lib/contour.rb
|
273
259
|
- lib/contour/engine.rb
|
274
260
|
- lib/contour/fixes.rb
|
261
|
+
- lib/contour/fixes/devise-with-rails-4-2.rb
|
275
262
|
- lib/contour/fixes/devise.rb
|
276
263
|
- lib/contour/fixes/omniauth.rb
|
277
264
|
- lib/contour/fixes/rack.rb
|