releaf 1.1.15 → 1.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/releaf/rspec/helpers.rb +5 -4
- data/lib/releaf/version.rb +1 -1
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9544f5af2bac13cb38d5f32fe01dd92b4d6e13fd
|
4
|
+
data.tar.gz: c52367f6ba1866a27d078442f1ea65079f34a63a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15839d2217efb54720c3893d162399eeabbb75838c42a47371dae063d1088646efb171cbe4b2d47b43d4bdceadbb29ba3a6012e56c545c641ca666e950f36152
|
7
|
+
data.tar.gz: ae4b558900bdb81d957637725eaa935a0a9027eb78988ae69f7b7b2a1f2d418b7a058c39bbd5ee085aab6e319dbb76e459ac4992bd2ac83a01600134742de738
|
data/lib/releaf/rspec/helpers.rb
CHANGED
@@ -13,12 +13,13 @@ module Releaf::Test
|
|
13
13
|
ActiveRecord::Base.connection.adapter_name
|
14
14
|
end
|
15
15
|
|
16
|
-
def auth_as_user(full_login = false,
|
17
|
-
if
|
18
|
-
user =
|
16
|
+
def auth_as_user(full_login = false, factory_or_instance = :user)
|
17
|
+
if factory_or_instance.is_a?(Symbol) || factory_or_instance.is_a?(String)
|
18
|
+
user = create(factory_or_instance)
|
19
19
|
else
|
20
|
-
user =
|
20
|
+
user = factory_or_instance
|
21
21
|
end
|
22
|
+
|
22
23
|
if full_login
|
23
24
|
visit "/"
|
24
25
|
within("form.login") do
|
data/lib/releaf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: releaf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CubeSystems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: releaf-core
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.1.
|
19
|
+
version: 1.1.16
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.1.
|
26
|
+
version: 1.1.16
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: releaf-i18n_database
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.1.
|
33
|
+
version: 1.1.16
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.1.
|
40
|
+
version: 1.1.16
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: releaf-permissions
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.1.
|
47
|
+
version: 1.1.16
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.1.
|
54
|
+
version: 1.1.16
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: releaf-content
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.1.
|
61
|
+
version: 1.1.16
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.1.
|
68
|
+
version: 1.1.16
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-rails
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -345,26 +345,26 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
345
345
|
version: '0'
|
346
346
|
requirements: []
|
347
347
|
rubyforge_project:
|
348
|
-
rubygems_version: 2.6.
|
348
|
+
rubygems_version: 2.6.14
|
349
349
|
signing_key:
|
350
350
|
specification_version: 4
|
351
351
|
summary: Administration interface for Ruby on Rails
|
352
352
|
test_files:
|
353
|
-
- spec/factories/
|
353
|
+
- spec/factories/node_route.rb
|
354
|
+
- spec/factories/publisher.rb
|
355
|
+
- spec/factories/node.rb
|
354
356
|
- spec/factories/banner_page.rb
|
355
357
|
- spec/factories/book.rb
|
356
|
-
- spec/factories/chapter.rb
|
357
358
|
- spec/factories/common.rb
|
358
359
|
- spec/factories/home_page.rb
|
359
|
-
- spec/factories/
|
360
|
-
- spec/factories/node_route.rb
|
361
|
-
- spec/factories/publisher.rb
|
360
|
+
- spec/factories/author.rb
|
362
361
|
- spec/factories/role.rb
|
363
362
|
- spec/factories/text_page.rb
|
364
363
|
- spec/factories/user.rb
|
364
|
+
- spec/factories/chapter.rb
|
365
|
+
- spec/support/wait_steps.rb
|
365
366
|
- spec/support/controller_macros.rb
|
366
367
|
- spec/support/excel_helpers.rb
|
367
368
|
- spec/support/shared/service_includer.rb
|
368
|
-
- spec/support/wait_steps.rb
|
369
|
-
- spec/rails_helper.rb
|
370
369
|
- spec/spec_helper.rb
|
370
|
+
- spec/rails_helper.rb
|