doorkeeper 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of doorkeeper might be problematic. Click here for more details.

data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.4
4
+
5
+ - Fix attr_accessible for rails 3.2.x
6
+
3
7
  ## 0.3.3
4
8
 
5
9
  - [#86] shrink gem package size
@@ -8,6 +8,8 @@ module Doorkeeper
8
8
 
9
9
  belongs_to :application
10
10
 
11
+ attr_accessible :resource_owner_id, :application_id, :expires_in, :redirect_uri, :scopes
12
+
11
13
  validates :resource_owner_id, :application_id, :token, :expires_in, :redirect_uri, :presence => true
12
14
 
13
15
  before_validation :generate_token, :on => :create
@@ -13,6 +13,7 @@ module Doorkeeper
13
13
  validates :application_id, :resource_owner_id, :token, :presence => true
14
14
 
15
15
  attr_accessor :use_refresh_token
16
+ attr_accessible :application_id, :resource_owner_id, :expires_in, :scopes, :use_refresh_token
16
17
 
17
18
  before_validation :generate_token, :on => :create
18
19
  before_validation :generate_refresh_token, :on => :create, :if => :use_refresh_token?
@@ -1,3 +1,3 @@
1
1
  module Doorkeeper
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doorkeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-05-08 00:00:00.000000000 Z
13
+ date: 2012-05-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
17
- requirement: &70284692854840 !ruby/object:Gem::Requirement
17
+ requirement: &70167361790320 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '3.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70284692854840
25
+ version_requirements: *70167361790320
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: sqlite3
28
- requirement: &70284692854060 !ruby/object:Gem::Requirement
28
+ requirement: &70167361788260 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.3.5
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *70284692854060
36
+ version_requirements: *70167361788260
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec-rails
39
- requirement: &70284692853500 !ruby/object:Gem::Requirement
39
+ requirement: &70167361803480 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 2.9.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70284692853500
47
+ version_requirements: *70167361803480
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: capybara
50
- requirement: &70284692852740 !ruby/object:Gem::Requirement
50
+ requirement: &70167361802300 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 1.1.2
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70284692852740
58
+ version_requirements: *70167361802300
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: generator_spec
61
- requirement: &70284692851580 !ruby/object:Gem::Requirement
61
+ requirement: &70167361800940 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 0.8.5
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *70284692851580
69
+ version_requirements: *70167361800940
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: factory_girl
72
- requirement: &70284692850240 !ruby/object:Gem::Requirement
72
+ requirement: &70167361799900 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ~>
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: 2.6.4
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *70284692850240
80
+ version_requirements: *70167361799900
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: timecop
83
- requirement: &70284692865720 !ruby/object:Gem::Requirement
83
+ requirement: &70167361799080 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ~>
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: 0.3.5
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *70284692865720
91
+ version_requirements: *70167361799080
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: database_cleaner
94
- requirement: &70284692864220 !ruby/object:Gem::Requirement
94
+ requirement: &70167361798020 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ~>
@@ -99,7 +99,7 @@ dependencies:
99
99
  version: 0.7.1
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *70284692864220
102
+ version_requirements: *70167361798020
103
103
  description: Doorkeeper is an OAuth 2 provider for Rails.
104
104
  email:
105
105
  - felipe@applicake.com
@@ -267,7 +267,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
267
267
  version: '0'
268
268
  segments:
269
269
  - 0
270
- hash: -502540544844569734
270
+ hash: 1917524084818713138
271
271
  required_rubygems_version: !ruby/object:Gem::Requirement
272
272
  none: false
273
273
  requirements:
@@ -276,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
276
  version: '0'
277
277
  segments:
278
278
  - 0
279
- hash: -502540544844569734
279
+ hash: 1917524084818713138
280
280
  requirements: []
281
281
  rubyforge_project:
282
282
  rubygems_version: 1.8.12