ember-cli-simple-auth-devise
Advanced tools
Comparing version 0.6.6 to 0.6.7
@@ -1,3 +0,14 @@ | ||
import initializer from 'simple-auth-devise/initializer'; | ||
import Configuration from 'simple-auth-devise/configuration'; | ||
import Authenticator from 'simple-auth-devise/authenticators/devise'; | ||
import Authorizer from 'simple-auth-devise/authorizers/devise'; | ||
import ENV from '../config/environment'; | ||
export default initializer; | ||
export default { | ||
name: 'simple-auth-devise', | ||
before: 'simple-auth', | ||
initialize: function(container, application) { | ||
Configuration.load(container, ENV['simple-auth-devise'] || {}); | ||
container.register('simple-auth-authorizer:devise', Authorizer); | ||
container.register('simple-auth-authenticator:devise', Authenticator); | ||
} | ||
}; |
@@ -6,4 +6,4 @@ module.exports = { | ||
afterInstall: function() { | ||
return this.addBowerPackageToProject('ember-simple-auth', '0.6.6'); | ||
return this.addBowerPackageToProject('ember-simple-auth', '0.6.7'); | ||
} | ||
}; |
@@ -11,3 +11,3 @@ module.exports = { | ||
'simple-auth-devise/authorizers/devise': ['default'], | ||
'simple-auth-devise/initializer': ['default'] | ||
'simple-auth-devise/configuration': ['default'] | ||
} | ||
@@ -14,0 +14,0 @@ }); |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.6.6", | ||
"version": "0.6.7", | ||
"description": "Include the Ember Simple Auth devise extension library into an Ember CLI application.", | ||
@@ -24,4 +24,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"ember-cli-simple-auth": "0.6.6" | ||
"ember-cli-simple-auth": "0.6.7" | ||
} | ||
} |
@@ -9,3 +9,3 @@ # Ember Simple Auth Devise | ||
**Ember Simple Auth Devise requires at least Ember CLI 0.0.42.** | ||
**Ember Simple Auth Devise requires at least Ember CLI 0.0.44.** | ||
@@ -21,3 +21,15 @@ To install simply run | ||
### Configuration | ||
Ember Simple Auth Devise uses the Ember CLI project's configuration as defined | ||
in `config/environment.js`. Configure values for `ENV['simple-auth-devise']`, | ||
e.g.: | ||
```js | ||
ENV['simple-auth-devise'] = { | ||
resourceName: 'account' | ||
}; | ||
``` | ||
For the actual Ember Simple Auth repository see | ||
https://github.com/simplabs/ember-simple-auth |
3740
33
34
+ Addedember-cli-simple-auth@0.6.7(transitive)
- Removedember-cli-simple-auth@0.6.6(transitive)
Updatedember-cli-simple-auth@0.6.7