refinerycms-testing 3.0.6 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0075e4e374ddb572ff34a576aff1242d33b0ef48
4
- data.tar.gz: 198a15b66fff94d7801546e48964c0d9fd55fdec
3
+ metadata.gz: 34b26725afd6c43a2f19d1391306e0b95e8ba10a
4
+ data.tar.gz: 00aafbea0d4488e06d6367c4bbea7e82262fa85a
5
5
  SHA512:
6
- metadata.gz: 1f7a085423ec3ef10d4d821e6f71506bd44794fcc5dac6a2dc0502214ffa45b59ad7ad66eb7e102f19c6772f26d6799615615a03d8723967116ac2f24f124c1f
7
- data.tar.gz: 2b877dbe203d967e4d85cdc6b7fdff6c47d822987c24477b3161c0ea3c531f49f5cb63e2cf819fbaf970f4c1fbe6f8cdf3214ab4d9ae76805a951e573e301495
6
+ metadata.gz: 295fb76d539c235ad55a5f0ec9249a70ef1c434720671e84e3b832638e0f9ffb221c648f9281c3e0a051e37140d2165fe4e396096c169092532a2dba5ef043b8
7
+ data.tar.gz: 2bd4bcc05c0fa965239a0b82c6c5647208b2ff6e82f8b0e1ac556f098e4deee72f0a0e01c7b2ce730cfd5fcbd343893435b979101e254508cc206d01664005af
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,6 +1,7 @@
1
1
  require 'refinerycms-core'
2
2
  require 'rspec-rails'
3
3
  require 'factory_girl'
4
+ require 'rails-controller-testing'
4
5
 
5
6
  module Refinery
6
7
  autoload :TestingGenerator, 'generators/refinery/testing/testing_generator'
@@ -3,16 +3,6 @@ module Refinery
3
3
  module ControllerMacros
4
4
  module Authentication
5
5
 
6
- def refinery_login_with(*roles)
7
- Refinery.deprecate('refinery_login_with', when: '3.1', replacement: 'refinery_login')
8
- refinery_login
9
- end
10
-
11
- def refinery_login_with_factory(factory)
12
- Refinery.deprecate('refinery_login_with_factory', when: '3.1', replacement: 'refinery_login')
13
- refinery_login
14
- end
15
-
16
6
  def refinery_login
17
7
  let(:logged_in_user) { Refinery::Core::NilUser.new }
18
8
  end
@@ -7,11 +7,6 @@ module Refinery
7
7
  # NO-OP, Overwrite this in an extension.
8
8
  end
9
9
 
10
- def refinery_login_with(factory)
11
- Refinery.deprecate('refinery_login_with', when: '3.1', replacement: 'refinery_login')
12
- refinery_login
13
- end
14
-
15
10
  end
16
11
  end
17
12
  end
@@ -19,10 +19,11 @@ Gem::Specification.new do |s|
19
19
  s.files = `git ls-files`.split("\n")
20
20
 
21
21
  s.add_dependency 'refinerycms-core', version
22
- s.add_dependency 'database_cleaner', '~> 1.3.0'
23
- s.add_dependency 'factory_girl_rails', '~> 4.6.0'
24
- s.add_dependency 'rspec-rails', '~> 3.0'
25
- s.add_dependency 'capybara', '~> 2.4.3'
22
+ s.add_dependency 'database_cleaner', '~> 1.6'
23
+ s.add_dependency 'factory_girl_rails', '~> 4.6'
24
+ s.add_dependency 'rspec-rails', '~> 3.5'
25
+ s.add_dependency 'capybara', '~> 2.7'
26
+ s.add_dependency 'rails-controller-testing', '~> 0.1.1'
26
27
 
27
28
  s.required_ruby_version = Refinery::Version.required_ruby_version
28
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.6
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Arndt
@@ -32,7 +32,7 @@ cert_chain:
32
32
  jOQmH9VbgbfUrXYM1YOKdlwW5sPR1f4PKLDlvEE+bppIUgKOgLOIv3i7KwrGvFOq
33
33
  5r7Wz/HY31SM47mkK21saPJG4NvUFEycf0wlpzP657Pl9aVo47aKKbxX
34
34
  -----END CERTIFICATE-----
35
- date: 2017-10-02 00:00:00.000000000 Z
35
+ date: 2017-09-29 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: refinerycms-core
@@ -40,70 +40,84 @@ dependencies:
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 3.0.6
43
+ version: 4.0.0
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - '='
49
49
  - !ruby/object:Gem::Version
50
- version: 3.0.6
50
+ version: 4.0.0
51
51
  - !ruby/object:Gem::Dependency
52
52
  name: database_cleaner
53
53
  requirement: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - "~>"
56
56
  - !ruby/object:Gem::Version
57
- version: 1.3.0
57
+ version: '1.6'
58
58
  type: :runtime
59
59
  prerelease: false
60
60
  version_requirements: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - "~>"
63
63
  - !ruby/object:Gem::Version
64
- version: 1.3.0
64
+ version: '1.6'
65
65
  - !ruby/object:Gem::Dependency
66
66
  name: factory_girl_rails
67
67
  requirement: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - "~>"
70
70
  - !ruby/object:Gem::Version
71
- version: 4.6.0
71
+ version: '4.6'
72
72
  type: :runtime
73
73
  prerelease: false
74
74
  version_requirements: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - "~>"
77
77
  - !ruby/object:Gem::Version
78
- version: 4.6.0
78
+ version: '4.6'
79
79
  - !ruby/object:Gem::Dependency
80
80
  name: rspec-rails
81
81
  requirement: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - "~>"
84
84
  - !ruby/object:Gem::Version
85
- version: '3.0'
85
+ version: '3.5'
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - "~>"
91
91
  - !ruby/object:Gem::Version
92
- version: '3.0'
92
+ version: '3.5'
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: capybara
95
95
  requirement: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - "~>"
98
98
  - !ruby/object:Gem::Version
99
- version: 2.4.3
99
+ version: '2.7'
100
100
  type: :runtime
101
101
  prerelease: false
102
102
  version_requirements: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - - "~>"
105
105
  - !ruby/object:Gem::Version
106
- version: 2.4.3
106
+ version: '2.7'
107
+ - !ruby/object:Gem::Dependency
108
+ name: rails-controller-testing
109
+ requirement: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: 0.1.1
114
+ type: :runtime
115
+ prerelease: false
116
+ version_requirements: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - "~>"
119
+ - !ruby/object:Gem::Version
120
+ version: 0.1.1
107
121
  description: This plugin adds the ability to tests against the Refinery CMS gem while
108
122
  inside a Refinery CMS extension
109
123
  email: refinerycms@p.arndt.io
@@ -137,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
137
151
  requirements:
138
152
  - - ">="
139
153
  - !ruby/object:Gem::Version
140
- version: 2.0.0
154
+ version: 2.2.2
141
155
  required_rubygems_version: !ruby/object:Gem::Requirement
142
156
  requirements:
143
157
  - - ">="
metadata.gz.sig CHANGED
Binary file