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 CHANGED
@@ -18,3 +18,5 @@ tmp
18
18
  log
19
19
  .rvmrc
20
20
  *.bpkg
21
+ .ruby-version
22
+ .ruby-gemset
@@ -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`.
@@ -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-auth/rails/version'
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 = EmberAuth::Rails::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($/)
@@ -1,14 +1,16 @@
1
1
  require 'rails'
2
- require 'ember-auth/source'
3
- require 'ember-auth/rails/version'
4
- require 'ember-auth/rails/engine'
2
+ require 'ember/auth/source'
3
+ require 'ember/auth/rails/version'
4
+ require 'ember/auth/rails/engine'
5
5
 
6
- module EmberAuth
7
- module Rails
8
- class Railtie < ::Rails::Railtie
9
- initializer 'ember-auth.setup-vendor', :group => :all do |app|
10
- app.assets.append_path \
11
- File.expand_path('../', ::EmberAuth::Source.bundled_path)
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
@@ -0,0 +1,8 @@
1
+ module Ember
2
+ module Auth
3
+ module Rails
4
+ class Engine < ::Rails::Engine
5
+ end
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ module Ember
2
+ module Auth
3
+ module Rails
4
+ VERSION = '5.0.1'
5
+ end
6
+ end
7
+ 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.0.3
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-07-08 00:00:00.000000000 Z
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: '0'
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: '0'
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-auth/rails/engine.rb
61
- - lib/ember-auth/rails/version.rb
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
@@ -1,6 +0,0 @@
1
- module EmberAuth
2
- module Rails
3
- class Engine < ::Rails::Engine
4
- end
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- module EmberAuth
2
- module Rails
3
- VERSION = '4.0.3'
4
- end
5
- end