ember-auth-session-local_storage-source 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 25f1646a9251d49d2618ff050f5e93fd701f9caa
4
+ data.tar.gz: 36d65b2b58b4ce748969d79d159be22add81a634
5
+ SHA512:
6
+ metadata.gz: 7941de0d852e56fe5a79b5635bd3f926544e12c1a61e1856d3e7b61c84209362d06aabf0776ff54bcef64912f16bc2ed16dc147880e7e5e94b9ac01ddf4c7d20
7
+ data.tar.gz: feb05684ff602401174fe61a8c291f9dabb84bd8c138d6889317fbd6fb4228d4ca4e46db108524540cc3989ec6ad6c921140f6dc2813d6f3419b324c6207ac4f
@@ -0,0 +1,24 @@
1
+ // Generated by EmberScript 0.0.7
2
+ var get$ = Ember.get;
3
+ Em.onLoad('Ember.Application', function (application) {
4
+ return application.initializer({
5
+ name: 'ember-auth.session.local-storage',
6
+ before: 'ember-auth-load',
7
+ initialize: function (container, app) {
8
+ return app.register('authSession:localStorage', get$(get$(Em, 'Auth'), 'LocalStorageAuthSession'));
9
+ }
10
+ });
11
+ });// Generated by EmberScript 0.0.7
12
+ var get$ = Ember.get;
13
+ var set$ = Ember.set;
14
+ set$(get$(Em, 'Auth'), 'LocalStorageAuthSession', get$(get$(Em, 'Auth'), 'AuthSession').extend({
15
+ retrieve: function (key) {
16
+ return localStorage.getItem(key);
17
+ },
18
+ store: function (key, value) {
19
+ return localStorage.setItem(key, value);
20
+ },
21
+ remove: function (key) {
22
+ return localStorage.removeItem(key);
23
+ }
24
+ }));
@@ -0,0 +1,15 @@
1
+ module Ember
2
+ module Auth
3
+ module Session
4
+ module LocalStorage
5
+ module Source
6
+ def self.bundled_path
7
+ path = File.join '..', '..', '..', '..', '..', '..', \
8
+ 'dist', 'ember-auth-session-local-storage.js'
9
+ File.expand_path path, __FILE__
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
metadata ADDED
@@ -0,0 +1,75 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ember-auth-session-local_storage-source
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - heartsentwined
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ember-source
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ember-auth-source
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '9.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '9.0'
41
+ description: Ember-auth local storage session adapter source code wrapper for ruby
42
+ libs.
43
+ email:
44
+ - heartsentwined.me@gmail.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - dist/ember-auth-session-local-storage.js
50
+ - lib/ember/auth/session/local_storage/source.rb
51
+ homepage: https://github.com/heartsentwined/ember-auth-session-local-storage
52
+ licenses:
53
+ - MIT
54
+ metadata: {}
55
+ post_install_message:
56
+ rdoc_options: []
57
+ require_paths:
58
+ - lib
59
+ required_ruby_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ required_rubygems_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ requirements: []
70
+ rubyforge_project:
71
+ rubygems_version: 2.0.3
72
+ signing_key:
73
+ specification_version: 4
74
+ summary: Ember-auth local storage session adapter source code wrapper
75
+ test_files: []