reviewed-auth 0.1.0 → 0.1.2

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: cd084c5877e4ed734ff3f9cba95c142cee182d91
4
+ data.tar.gz: f0d7f331e8f3ac794c545bb4f7e743d8a832b8fb
5
+ SHA512:
6
+ metadata.gz: 7ec6bb351dba3215f2c71f4e8049c8ca9cde8d7fc7fabac35bcd54efe8d5fe02ee673c731441735d80841afe74c1c83a444f325b87e71dc9594fd1f4f87cea59
7
+ data.tar.gz: a7c16f886539540edecf2b0b1f6ab500299f6e2954635f17f811168002a15d8190a7d951e77d92048212782254bb79ddd82c07d866560147c2108c656e9e475c
@@ -34,7 +34,7 @@ module Reviewed
34
34
  if resp.status == 200
35
35
  @user = OpenStruct.new(JSON.parse(resp.body))
36
36
  if params[:drop_cookie] == "true"
37
- response.set_cookie(:_reviewed_token, value: @user.token, path: "/")
37
+ response.set_cookie(:_reviewed_token, value: @user.token, path: "/", expires: Time.now + (60 * 60 * 24 * 7))
38
38
  end
39
39
  if params[:return_url] != ""
40
40
  url = params[:return_url]
@@ -1,5 +1,5 @@
1
1
  module Reviewed
2
2
  module Auth
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@
3
3
  <html lang="en">
4
4
  <head>
5
5
  <meta charset="utf-8">
6
- <title>Sign in &middot; Twitter Bootstrap</title>
6
+ <title>Sign in &middot; Reviewed.com</title>
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
8
  <meta name="description" content="">
9
9
  <meta name="author" content="">
metadata CHANGED
@@ -1,78 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reviewed-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Mark Bates
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-22 00:00:00.000000000 Z
11
+ date: 2013-07-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: sinatra
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: sinatra-contrib
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: faraday
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: sinatra-twitter-bootstrap
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  description: Central Authentication Service for Reviewed.com
@@ -97,26 +88,25 @@ files:
97
88
  - reviewed-auth.gemspec
98
89
  homepage: ''
99
90
  licenses: []
91
+ metadata: {}
100
92
  post_install_message:
101
93
  rdoc_options: []
102
94
  require_paths:
103
95
  - lib
104
96
  required_ruby_version: !ruby/object:Gem::Requirement
105
- none: false
106
97
  requirements:
107
- - - ! '>='
98
+ - - '>='
108
99
  - !ruby/object:Gem::Version
109
100
  version: '0'
110
101
  required_rubygems_version: !ruby/object:Gem::Requirement
111
- none: false
112
102
  requirements:
113
- - - ! '>='
103
+ - - '>='
114
104
  - !ruby/object:Gem::Version
115
105
  version: '0'
116
106
  requirements: []
117
107
  rubyforge_project:
118
- rubygems_version: 1.8.24
108
+ rubygems_version: 2.0.0
119
109
  signing_key:
120
- specification_version: 3
110
+ specification_version: 4
121
111
  summary: Central Authentication Service for Reviewed.com
122
112
  test_files: []