thincloud-authentication 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,20 +1,22 @@
1
- module Thincloud::Authentication
2
- class << self
3
- attr_accessor :configuration
4
- end
1
+ module Thincloud
2
+ module Authentication
3
+ class << self
4
+ attr_accessor :configuration
5
+ end
5
6
 
6
- def self.configure
7
- self.configuration ||= Configuration.new
8
- yield configuration
9
- end
7
+ def self.configure
8
+ self.configuration ||= Configuration.new
9
+ yield configuration
10
+ end
10
11
 
11
- # Public: Configuration options for the Thincloud::Authentication module
12
- class Configuration
13
- attr_accessor :providers, :mailer_sender
12
+ # Public: Configuration options for the Thincloud::Authentication module
13
+ class Configuration
14
+ attr_accessor :providers, :mailer_sender
14
15
 
15
- def initialize
16
- @providers = {}
17
- @mailer_sender = "app@example.com"
16
+ def initialize
17
+ @providers = {}
18
+ @mailer_sender = "app@example.com"
19
+ end
18
20
  end
19
21
  end
20
22
  end
@@ -1,9 +1,11 @@
1
- module Thincloud::Authentication
2
- module IdentifiableUser
3
- extend ActiveSupport::Concern
1
+ module Thincloud
2
+ module Authentication
3
+ module IdentifiableUser
4
+ extend ActiveSupport::Concern
4
5
 
5
- included do
6
- has_many :identities, class_name: "Thincloud::Authentication::Identity"
6
+ included do
7
+ has_many :identities, class_name: "Thincloud::Authentication::Identity"
8
+ end
7
9
  end
8
10
  end
9
11
  end
@@ -1,5 +1,5 @@
1
1
  module Thincloud
2
2
  module Authentication
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thincloud-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-10-08 00:00:00.000000000 Z
13
+ date: 2012-10-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -268,7 +268,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
268
268
  version: '0'
269
269
  segments:
270
270
  - 0
271
- hash: 2085774085952941977
271
+ hash: -642330587581833206
272
272
  required_rubygems_version: !ruby/object:Gem::Requirement
273
273
  none: false
274
274
  requirements:
@@ -277,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
277
277
  version: '0'
278
278
  segments:
279
279
  - 0
280
- hash: 2085774085952941977
280
+ hash: -642330587581833206
281
281
  requirements: []
282
282
  rubyforge_project:
283
283
  rubygems_version: 1.8.24