openstax_accounts 7.13.0 → 7.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/openstax/accounts/account.rb +10 -1
- data/lib/openstax/accounts/version.rb +1 -1
- data/spec/dummy/log/test.log +19590 -0
- data/spec/factories/openstax_accounts_account.rb +1 -1
- data/spec/factories/openstax_accounts_group.rb +3 -3
- data/spec/factories/openstax_accounts_group_member.rb +1 -1
- data/spec/factories/openstax_accounts_group_nesting.rb +1 -1
- data/spec/factories/openstax_accounts_group_owner.rb +1 -1
- metadata +3 -3
@@ -1,7 +1,7 @@
|
|
1
1
|
FactoryBot.define do
|
2
|
-
factory :openstax_accounts_group, :
|
2
|
+
factory :openstax_accounts_group, class: OpenStax::Accounts::Group do
|
3
3
|
openstax_uid { -SecureRandom.hex(4).to_i(16)/2 }
|
4
|
-
name "MyGroup"
|
5
|
-
is_public false
|
4
|
+
name { "MyGroup" }
|
5
|
+
is_public { false }
|
6
6
|
end
|
7
7
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
FactoryBot.define do
|
2
|
-
factory :openstax_accounts_group_member, :
|
2
|
+
factory :openstax_accounts_group_member, class: OpenStax::Accounts::GroupMember do
|
3
3
|
association :group, factory: :openstax_accounts_group
|
4
4
|
association :user, factory: :openstax_accounts_account
|
5
5
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
FactoryBot.define do
|
2
|
-
factory :openstax_accounts_group_nesting, :
|
2
|
+
factory :openstax_accounts_group_nesting, class: OpenStax::Accounts::GroupNesting do
|
3
3
|
association :container_group, factory: :openstax_accounts_group
|
4
4
|
association :member_group, factory: :openstax_accounts_group
|
5
5
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
FactoryBot.define do
|
2
|
-
factory :openstax_accounts_group_owner, :
|
2
|
+
factory :openstax_accounts_group_owner, class: OpenStax::Accounts::GroupOwner do
|
3
3
|
association :group, factory: :openstax_accounts_group
|
4
4
|
association :user, factory: :openstax_accounts_account
|
5
5
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_accounts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.13.
|
4
|
+
version: 7.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Slavinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -255,7 +255,7 @@ dependencies:
|
|
255
255
|
- !ruby/object:Gem::Version
|
256
256
|
version: '0'
|
257
257
|
- !ruby/object:Gem::Dependency
|
258
|
-
name:
|
258
|
+
name: puma
|
259
259
|
requirement: !ruby/object:Gem::Requirement
|
260
260
|
requirements:
|
261
261
|
- - ">="
|