refinerycms-authentication 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.email = %q{info@refinerycms.com}
14
14
  s.homepage = %q{http://refinerycms.com}
15
15
  s.rubyforge_project = %q{refinerycms}
16
- s.authors = ['Philip Arndt', 'Uģis Ozols', 'David Jones', 'Steven Heidel']
16
+ s.authors = ['Philip Arndt', 'Uģis Ozols', 'Rob Yurkowski', 'David Jones', 'Steven Heidel']
17
17
  s.license = %q{MIT}
18
18
  s.require_paths = %w(lib)
19
19
 
@@ -10,8 +10,10 @@ describe Refinery::Admin::UsersController do
10
10
  end
11
11
 
12
12
  it "loads plugins" do
13
+ user_plugin = Refinery::Plugins.registered.detect { |plugin| plugin.name == "refinery_users" }
13
14
  plugins = Refinery::Plugins.new
14
- plugins.should_receive(:in_menu).once{ [] }
15
+ plugins << user_plugin
16
+ plugins.should_receive(:in_menu).once{ [user_plugin] }
15
17
 
16
18
  Refinery::Plugins.should_receive(:registered).at_least(1).times{ plugins }
17
19
  get :new
@@ -51,7 +53,7 @@ describe Refinery::Admin::UsersController do
51
53
 
52
54
  describe "#edit" do
53
55
  it "renders the edit template" do
54
- get :edit, :id => "1"
56
+ get :edit, :id => refinery_superuser.id
55
57
  response.should be_success
56
58
  response.should render_template("refinery/admin/users/edit")
57
59
  end
metadata CHANGED
@@ -1,18 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Philip Arndt
9
9
  - Uģis Ozols
10
+ - Rob Yurkowski
10
11
  - David Jones
11
12
  - Steven Heidel
12
13
  autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
- date: 2012-04-02 00:00:00.000000000 Z
16
+ date: 2012-05-14 00:00:00.000000000 Z
16
17
  dependencies:
17
18
  - !ruby/object:Gem::Dependency
18
19
  name: refinerycms-core
@@ -21,7 +22,7 @@ dependencies:
21
22
  requirements:
22
23
  - - '='
23
24
  - !ruby/object:Gem::Version
24
- version: 2.0.3
25
+ version: 2.0.4
25
26
  type: :runtime
26
27
  prerelease: false
27
28
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +30,7 @@ dependencies:
29
30
  requirements:
30
31
  - - '='
31
32
  - !ruby/object:Gem::Version
32
- version: 2.0.3
33
+ version: 2.0.4
33
34
  - !ruby/object:Gem::Dependency
34
35
  name: devise
35
36
  requirement: !ruby/object:Gem::Requirement
@@ -156,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
157
  version: '0'
157
158
  segments:
158
159
  - 0
159
- hash: -65986755646960009
160
+ hash: 1393669055922669137
160
161
  required_rubygems_version: !ruby/object:Gem::Requirement
161
162
  none: false
162
163
  requirements:
@@ -165,10 +166,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
166
  version: '0'
166
167
  segments:
167
168
  - 0
168
- hash: -65986755646960009
169
+ hash: 1393669055922669137
169
170
  requirements: []
170
171
  rubyforge_project: refinerycms
171
- rubygems_version: 1.8.19
172
+ rubygems_version: 1.8.22
172
173
  signing_key:
173
174
  specification_version: 3
174
175
  summary: Authentication extension for Refinery CMS