devise-specs 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -10
- data/devise-specs.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bed81def6e8215569da1d3e31d246cc5880d801
|
4
|
+
data.tar.gz: eb2db6c8e69595eb26ce62d2be1918f09ac3fb34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8043e3e182f0e3e999ccfb2ee85f375b8aa2576ab28210212317099ba66512e654adeef0faa0c058d1446f89c5be04b63618d1a65272643291c7e64a9809d8da
|
7
|
+
data.tar.gz: c47c69aa64ad0da00f5f8385a2417d98343ccc48539e8c25008b93a9327535be9b1a610cd5cc702bec46cd66ab7dc452642982d28691f8287ecea03ee63db04f
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -15,7 +15,7 @@ Works with Rails 4 and 5.
|
|
15
15
|
|
16
16
|
## Installation
|
17
17
|
|
18
|
-
|
18
|
+
Make sure `devise-specs`, `devise`, `rspec-rails`, `capybara` and fixture replacement gems are added to the `Gemfile`:
|
19
19
|
```ruby
|
20
20
|
gem 'devise'
|
21
21
|
|
@@ -24,7 +24,7 @@ group :development do
|
|
24
24
|
end
|
25
25
|
|
26
26
|
group :test do
|
27
|
-
gem 'capybara'
|
27
|
+
gem 'capybara' # already present in Rails 5.1 Gemfile
|
28
28
|
end
|
29
29
|
|
30
30
|
group :development, :test do
|
@@ -42,7 +42,7 @@ Generate the RSpec configuratoin files:
|
|
42
42
|
$ rails generate rspec:install
|
43
43
|
```
|
44
44
|
|
45
|
-
Generate the Devise configuration files and follow the setup instructions:
|
45
|
+
Generate the Devise configuration files and follow the setup instructions to define the default url options, root route and flash messages:
|
46
46
|
```
|
47
47
|
$ rails generate devise:install
|
48
48
|
```
|
@@ -62,13 +62,6 @@ Add the authentication links to the layout, `user_signed_in?` should be `admin_s
|
|
62
62
|
<% end %>
|
63
63
|
```
|
64
64
|
|
65
|
-
Add the following lines to `config/application.rb` if you are using the Fabrication gem with version less than 2.15.1:
|
66
|
-
```ruby
|
67
|
-
config.generators do |g|
|
68
|
-
g.fixture_replacement :fabrication
|
69
|
-
end
|
70
|
-
```
|
71
|
-
|
72
65
|
## Usage
|
73
66
|
|
74
67
|
Specs are created automatically when you generate a Devise model, e.g. `User`:
|
data/devise-specs.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-specs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrii Ponomarov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|