letmein 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/letmein.gemspec +61 -0
- data/lib/letmein.rb +8 -4
- metadata +5 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
data/letmein.gemspec
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{letmein}
|
8
|
+
s.version = "0.0.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Oleg Khabarov"]
|
12
|
+
s.date = %q{2011-03-25}
|
13
|
+
s.description = %q{minimalistic authentication}
|
14
|
+
s.email = %q{oleg@khabarov.ca}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.md"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
"Gemfile",
|
21
|
+
"Gemfile.lock",
|
22
|
+
"LICENSE",
|
23
|
+
"README.md",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"letmein.gemspec",
|
27
|
+
"lib/letmein.rb",
|
28
|
+
"test/letmein_test.rb"
|
29
|
+
]
|
30
|
+
s.homepage = %q{http://github.com/GBH/letmein}
|
31
|
+
s.licenses = ["MIT"]
|
32
|
+
s.require_paths = ["lib"]
|
33
|
+
s.rubygems_version = %q{1.3.7}
|
34
|
+
s.summary = %q{minimalistic authentication}
|
35
|
+
s.test_files = [
|
36
|
+
"test/letmein_test.rb"
|
37
|
+
]
|
38
|
+
|
39
|
+
if s.respond_to? :specification_version then
|
40
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
41
|
+
s.specification_version = 3
|
42
|
+
|
43
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
+
s.add_runtime_dependency(%q<activerecord>, [">= 3.0.0"])
|
45
|
+
s.add_runtime_dependency(%q<bcrypt-ruby>, [">= 0"])
|
46
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
47
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
48
|
+
else
|
49
|
+
s.add_dependency(%q<activerecord>, [">= 3.0.0"])
|
50
|
+
s.add_dependency(%q<bcrypt-ruby>, [">= 0"])
|
51
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
52
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
53
|
+
end
|
54
|
+
else
|
55
|
+
s.add_dependency(%q<activerecord>, [">= 3.0.0"])
|
56
|
+
s.add_dependency(%q<bcrypt-ruby>, [">= 0"])
|
57
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
58
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
data/lib/letmein.rb
CHANGED
@@ -70,10 +70,10 @@ module LetMeIn
|
|
70
70
|
nil
|
71
71
|
end
|
72
72
|
end
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
73
|
+
|
74
|
+
def to_key
|
75
|
+
nil
|
76
|
+
end
|
77
77
|
end
|
78
78
|
|
79
79
|
module Model
|
@@ -103,6 +103,10 @@ module LetMeIn
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
end
|
106
|
+
|
107
|
+
def self.configuration
|
108
|
+
@configuration ||= LetMeIn::Configuration.new
|
109
|
+
end
|
106
110
|
end
|
107
111
|
|
108
112
|
ActiveRecord::Base.send :include, LetMeIn::Model
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 1
|
9
|
+
version: 0.0.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Oleg Khabarov
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-03-
|
17
|
+
date: 2011-03-25 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- README.md
|
92
92
|
- Rakefile
|
93
93
|
- VERSION
|
94
|
+
- letmein.gemspec
|
94
95
|
- lib/letmein.rb
|
95
96
|
- test/letmein_test.rb
|
96
97
|
has_rdoc: true
|
@@ -107,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
108
|
requirements:
|
108
109
|
- - ">="
|
109
110
|
- !ruby/object:Gem::Version
|
110
|
-
hash:
|
111
|
+
hash: 2742492318502957449
|
111
112
|
segments:
|
112
113
|
- 0
|
113
114
|
version: "0"
|