ember-auth-rails 4.0.3 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/CHANGELOG.md +16 -0
- data/ember-auth-rails.gemspec +3 -3
- data/lib/ember-auth-rails.rb +11 -9
- data/lib/ember/auth/rails/engine.rb +8 -0
- data/lib/ember/auth/rails/version.rb +7 -0
- metadata +7 -6
- data/lib/ember-auth/rails/engine.rb +0 -6
- data/lib/ember-auth/rails/version.rb +0 -5
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# 5.0.1 (30 Aug 2013)
|
2
|
+
|
3
|
+
* Fix: namespace change introduced in `ember-auth-source >= 8.0.0`, so the
|
4
|
+
`ember-auth-rails >= 5.0` branch will need explicit dependency on that.
|
5
|
+
|
6
|
+
# 5.0.0 (30 Aug 2013) (yanked)
|
7
|
+
|
8
|
+
* BC Break: top level namespace is now `Ember::Auth`, and require path is now
|
9
|
+
`require 'ember/auth/rails'` (#82)
|
10
|
+
|
11
|
+
Upgrade Guide
|
12
|
+
-------------
|
13
|
+
|
14
|
+
If you had been using the rails asset gem directly, just change all
|
15
|
+
`EmberAuth` (module name) to `Ember::Auth`. File locations have also moved
|
16
|
+
from `lib/ember-auth` to `lib/ember/auth`.
|
data/ember-auth-rails.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'ember
|
4
|
+
require 'ember/auth/rails/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = 'ember-auth-rails'
|
8
|
-
gem.version =
|
8
|
+
gem.version = Ember::Auth::Rails::VERSION
|
9
9
|
gem.authors = ['heartsentwined']
|
10
10
|
gem.email = ['heartsentwined.me@gmail.com']
|
11
11
|
gem.date = Time.now.strftime('%Y-%m-%d')
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
EOS
|
17
17
|
gem.homepage = 'https://github.com/heartsentwined/ember-auth-rails'
|
18
18
|
|
19
|
-
gem.add_dependency 'ember-auth-source'
|
19
|
+
gem.add_dependency 'ember-auth-source', '>= 8.0.0'
|
20
20
|
gem.add_dependency 'rails'
|
21
21
|
|
22
22
|
gem.files = `git ls-files`.split($/)
|
data/lib/ember-auth-rails.rb
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
require 'rails'
|
2
|
-
require 'ember
|
3
|
-
require 'ember
|
4
|
-
require 'ember
|
2
|
+
require 'ember/auth/source'
|
3
|
+
require 'ember/auth/rails/version'
|
4
|
+
require 'ember/auth/rails/engine'
|
5
5
|
|
6
|
-
module
|
7
|
-
module
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
module Ember
|
7
|
+
module Auth
|
8
|
+
module Rails
|
9
|
+
class Railtie < ::Rails::Railtie
|
10
|
+
initializer 'ember-auth.setup-vendor', :group => :all do |app|
|
11
|
+
app.assets.append_path \
|
12
|
+
File.expand_path('../', ::Ember::Auth::Source.bundled_path)
|
13
|
+
end
|
12
14
|
end
|
13
15
|
end
|
14
16
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember-auth-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-08-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ember-auth-source
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 8.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 8.0.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rails
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,13 +52,14 @@ extensions: []
|
|
52
52
|
extra_rdoc_files: []
|
53
53
|
files:
|
54
54
|
- .gitignore
|
55
|
+
- CHANGELOG.md
|
55
56
|
- Gemfile
|
56
57
|
- README.md
|
57
58
|
- Rakefile
|
58
59
|
- ember-auth-rails.gemspec
|
59
60
|
- lib/ember-auth-rails.rb
|
60
|
-
- lib/ember
|
61
|
-
- lib/ember
|
61
|
+
- lib/ember/auth/rails/engine.rb
|
62
|
+
- lib/ember/auth/rails/version.rb
|
62
63
|
homepage: https://github.com/heartsentwined/ember-auth-rails
|
63
64
|
licenses:
|
64
65
|
- MIT license
|