devise-bootstrap-form 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +46 -0
- data/.gitignore +12 -0
- data/.rubocop.yml +6 -18
- data/CHANGELOG.md +13 -1
- data/CONTRIBUTING.md +22 -10
- data/Dangerfile +11 -13
- data/Gemfile +1 -0
- data/README.md +3 -2
- data/devise-bootstrap-form.gemspec +15 -10
- data/lib/devise_bootstrap_form/railtie.rb +2 -0
- data/lib/devise_bootstrap_form/version.rb +1 -1
- data/lib/generators/devise/views/bootstrap_form_generator.rb +2 -2
- metadata +14 -15
- data/.travis.yml +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e648e6a37294388fe0ac3b168a71bb25b612a7a5c2044c9e14ad2fa52ac4f9d
|
4
|
+
data.tar.gz: e35e50df2246d2a026e7314bc39324fb890e1b59eccf262cf895d770507246cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c25fe5579ee38bd3ecda497023f5f3a2b7775ca0816ef1f17206c057331576673dc15ff3f3bbadf68c6d0670f185853c37826661f6ef09022ee327f97a418594
|
7
|
+
data.tar.gz: f68845e7b03738f5115e1ec79ab21ae87ee2e3a17a57068572f88ac212c1b56b9e782e8f99bbe19de18c22e3a67c719a37c83702a0c8fdf8506df97acf32ce17
|
@@ -0,0 +1,46 @@
|
|
1
|
+
name: Ruby
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
pull_request:
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
Lint:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v2
|
12
|
+
- uses: ruby/setup-ruby@v1
|
13
|
+
with:
|
14
|
+
ruby-version: 2.7.2
|
15
|
+
bundler-cache: true
|
16
|
+
- name: Danger
|
17
|
+
if: ${{ github.event_name == 'pull_request' }}
|
18
|
+
run: |
|
19
|
+
gem install danger
|
20
|
+
export DANGER_GITHUB_API_TOKEN=${{ github.token }}
|
21
|
+
danger
|
22
|
+
- name: Rubocop
|
23
|
+
run: bundle exec rubocop --auto-correct
|
24
|
+
Test:
|
25
|
+
runs-on: ubuntu-latest
|
26
|
+
strategy:
|
27
|
+
fail-fast: false
|
28
|
+
matrix:
|
29
|
+
ruby-version: [ '3.1', '3.0', '2.7', '2.6' ]
|
30
|
+
gemfile: [ '7.0', '6.1', '6.0', '5.2', 'edge' ]
|
31
|
+
exclude:
|
32
|
+
- { ruby-version: '3.1', gemfile: "6.1" } # Triggers some deprecations that might never get fixed
|
33
|
+
- { ruby-version: '3.1', gemfile: "6.0" }
|
34
|
+
- { ruby-version: '3.1', gemfile: "5.2" }
|
35
|
+
- { ruby-version: '3.0', gemfile: "5.2" }
|
36
|
+
- { ruby-version: '2.6', gemfile: "edge" }
|
37
|
+
- { ruby-version: '2.6', gemfile: "7.0" }
|
38
|
+
steps:
|
39
|
+
- uses: actions/checkout@v2
|
40
|
+
- name: Set up Ruby
|
41
|
+
uses: ruby/setup-ruby@v1
|
42
|
+
with:
|
43
|
+
ruby-version: ${{ matrix.ruby-version }}
|
44
|
+
bundler-cache: true
|
45
|
+
- name: Run tests
|
46
|
+
run: bundle exec rake test
|
data/.gitignore
CHANGED
@@ -7,9 +7,21 @@
|
|
7
7
|
/pkg/
|
8
8
|
/tmp/
|
9
9
|
*.gem
|
10
|
+
.cache/
|
10
11
|
|
11
12
|
.vagrant/
|
12
13
|
# For some reason, the test cases generate the mailer views in this directory,
|
13
14
|
# as well as the `test/rails_app/app/views/devise/mailer` directory.
|
14
15
|
# TODO: Figure out why and stop it from happening.
|
15
16
|
# app/views/devise/mailer/
|
17
|
+
|
18
|
+
# or .local/share/pry/pry_history if you need to be more exact
|
19
|
+
.local/
|
20
|
+
.irb_history
|
21
|
+
.byebug_history
|
22
|
+
# For Debian images with Bash
|
23
|
+
.bash_history
|
24
|
+
# For Alpine images
|
25
|
+
.ash_history
|
26
|
+
|
27
|
+
vendor/bundle
|
data/.rubocop.yml
CHANGED
@@ -10,7 +10,7 @@ Style/StringLiterals:
|
|
10
10
|
- "test/rails_app/app/mailers/*"
|
11
11
|
- "test/es_rails_app/app/mailers/*"
|
12
12
|
|
13
|
-
Layout/
|
13
|
+
Layout/ParameterAlignment:
|
14
14
|
# Alignment of parameters in multi-line method calls.
|
15
15
|
#
|
16
16
|
# The `with_first_parameter` style aligns the following lines along the same
|
@@ -32,7 +32,7 @@ Layout/AlignParameters:
|
|
32
32
|
# But it can be overridden by setting this parameter
|
33
33
|
# IndentationWidth: ~
|
34
34
|
|
35
|
-
|
35
|
+
Layout/LineLength:
|
36
36
|
Max: 132
|
37
37
|
# To make it possible to copy or click on URIs in the code, we allow lines
|
38
38
|
# containing a URI to be longer than Max.
|
@@ -51,12 +51,11 @@ Metrics/LineLength:
|
|
51
51
|
|
52
52
|
# Rails 5 only requires 2.2.2.
|
53
53
|
AllCops:
|
54
|
+
NewCops: enable
|
54
55
|
DisplayCopNames: true
|
55
56
|
DisplayStyleGuide: true
|
56
|
-
TargetRubyVersion: 2.
|
57
|
-
# TargetRubyVersion: <%= RUBY_VERSION[/\d+\.\d+/] %>
|
57
|
+
TargetRubyVersion: 2.6
|
58
58
|
Exclude:
|
59
|
-
# - "test/rails_app/**/*"
|
60
59
|
- Capfile
|
61
60
|
- Gemfile
|
62
61
|
- "test/rails_app/bin/**/*"
|
@@ -66,12 +65,6 @@ AllCops:
|
|
66
65
|
- "test/rails_app/log/**/*"
|
67
66
|
- "test/rails_app/tmp/**/*"
|
68
67
|
- "test/rails_app/vendor/**/*"
|
69
|
-
# - test/rails_app/config/boot.rb
|
70
|
-
# - test/rails_app/config/application.rb
|
71
|
-
# - test/rails_app/config/environment.rb
|
72
|
-
# - "test/rails_app/config/environments/*"
|
73
|
-
# - "test/rails_app/config/initializers/*"
|
74
|
-
# - test/rails_app/db/schema.rb
|
75
68
|
- "test/rails_app/node_modules/**/*"
|
76
69
|
- "test/rails_app/bower_components/**/*"
|
77
70
|
- test/rails_app/Gemfile
|
@@ -84,17 +77,12 @@ AllCops:
|
|
84
77
|
- "test/es_rails_app/log/**/*"
|
85
78
|
- "test/es_rails_app/tmp/**/*"
|
86
79
|
- "test/es_rails_app/vendor/**/*"
|
87
|
-
# - test/es_rails_app/config/boot.rb
|
88
|
-
# - test/es_rails_app/config/application.rb
|
89
|
-
# - test/es_rails_app/config/environment.rb
|
90
|
-
# - "test/es_rails_app/config/environments/*"
|
91
|
-
# - "test/es_rails_app/config/initializers/*"
|
92
|
-
# - test/es_rails_app/db/schema.rb
|
93
80
|
- "test/es_rails_app/node_modules/**/*"
|
94
81
|
- "test/es_rails_app/bower_components/**/*"
|
95
82
|
- test/es_rails_app/Gemfile
|
96
83
|
- test/es_rails_app/Guardfile
|
97
84
|
- test/es_rails_app/Rakefile
|
85
|
+
- vendor/bundle/**/*
|
98
86
|
|
99
87
|
Metrics/BlockLength:
|
100
88
|
Exclude:
|
@@ -113,7 +101,7 @@ Metrics/MethodLength:
|
|
113
101
|
- test/**/*.rb
|
114
102
|
|
115
103
|
# TODO: Remove this when minimum Ruby is 2.3.
|
116
|
-
Layout/
|
104
|
+
Layout/HeredocIndentation:
|
117
105
|
Exclude:
|
118
106
|
- Dangerfile
|
119
107
|
- devise-bootstrap-form.gemspec
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,17 @@
|
|
12
12
|
|
13
13
|
* None.
|
14
14
|
|
15
|
+
## [0.4.0][] (2022-01-02)
|
16
|
+
|
17
|
+
### New features
|
18
|
+
|
19
|
+
* Use GitHub actions instead of Travis.
|
20
|
+
* New RuboCop rules.
|
21
|
+
|
22
|
+
### Bugfixes
|
23
|
+
|
24
|
+
* Fix dependencies so we only use Bootstrap 4.
|
25
|
+
|
15
26
|
## [0.3.0]
|
16
27
|
|
17
28
|
### New features
|
@@ -47,7 +58,8 @@
|
|
47
58
|
* N/A.
|
48
59
|
|
49
60
|
```
|
50
|
-
[Pending Release]: https://github.com/lcreid/devise-bootstrap-form/compare/.v0.
|
61
|
+
[Pending Release]: https://github.com/lcreid/devise-bootstrap-form/compare/.v0.4.0...HEAD
|
62
|
+
[0.4.0]: https://github.com/lcreid/devise-bootstrap-form/compare/v0.3.0..v0.4.0
|
51
63
|
[0.3.0]: https://github.com/lcreid/devise-bootstrap-form/compare/v0.2.0..v0.3.0
|
52
64
|
[0.2.0]: https://github.com/lcreid/devise-bootstrap-form/compare/v0.1.0..v0.2.0
|
53
65
|
[0.1.0]: https://github.com/lcreid/devise-bootstrap-form/compare/...v0.2.0
|
data/CONTRIBUTING.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
# Contributing
|
2
|
+
|
2
3
|
If you find a bug or have an idea for a feature:
|
3
4
|
|
4
5
|
1. Search the issues to see if the bug has been found, or the feature has already been requested. If so, feel free to add your constructive input to the existing issue. Otherwise...
|
@@ -7,12 +8,14 @@ If you find a bug or have an idea for a feature:
|
|
7
8
|
4. If you don't want to submit your own pull request, your issue is still welcome and we'll review it and respond appropriately.
|
8
9
|
|
9
10
|
## Testing
|
11
|
+
|
10
12
|
### Manual and Exploratory Testing
|
13
|
+
|
11
14
|
There are test apps in `test/rails_app`, for the default locale, and `es_rails_app` for a Spanish locale.
|
12
15
|
|
13
|
-
To use the `devise-bootstrap-form` gem:
|
16
|
+
To use the `devise-bootstrap-form` gem in a test app:
|
14
17
|
|
15
|
-
```
|
18
|
+
```bash
|
16
19
|
cd test/rails_app # or cd test/es_rails_app
|
17
20
|
# Generate the view in the test app
|
18
21
|
rails g devise:views:bootstrap_form
|
@@ -22,23 +25,32 @@ rails s -b 0.0.0.0 &
|
|
22
25
|
|
23
26
|
### Automated Testing
|
24
27
|
|
28
|
+
To run the tests and the RuboCop checks:
|
29
|
+
|
30
|
+
```bash
|
31
|
+
rake
|
25
32
|
```
|
33
|
+
|
34
|
+
To run just the tests:
|
35
|
+
|
36
|
+
```bash
|
26
37
|
rake test
|
27
38
|
```
|
28
39
|
|
29
40
|
## Gotchas
|
41
|
+
|
30
42
|
To test that the views work for a model other than the default `User`, the test apps use `Person` as the Devise model. It's a bit frustrating to remember that you can't just cut and paste examples that assume the model is `User`.
|
31
43
|
|
32
|
-
## Coding
|
44
|
+
## Coding Guidelines
|
33
45
|
|
34
46
|
This project uses [RuboCop](https://github.com/bbatsov/rubocop) to enforce standard Ruby coding
|
35
47
|
guidelines. The coding standards are close to the out-of-the-box RuboCop standards. The main differences are:
|
36
48
|
|
37
|
-
* We prefer double-quoted strings
|
38
|
-
* We allow 132 characters per line
|
39
|
-
* We don't lint most of the Rails-generated files in the test application
|
49
|
+
* We prefer double-quoted strings.
|
50
|
+
* We allow 132 characters per line.
|
51
|
+
* We don't lint most of the Rails-generated files in the test application.
|
40
52
|
|
41
|
-
Note the
|
53
|
+
Note the GitHub actions build will fail and your PR cannot be merged if the linter finds errors.
|
42
54
|
|
43
|
-
* Test that your contributions pass with `rake lint
|
44
|
-
* The linter is also run as part of the default rake task `rake
|
55
|
+
* Test that your contributions pass with `rake lint`.
|
56
|
+
* The linter is also run as part of the default rake task `rake`.
|
data/Dangerfile
CHANGED
@@ -24,19 +24,19 @@ if has_lib_changes && !has_test_changes
|
|
24
24
|
warn("There are code changes, but no corresponding tests. "\
|
25
25
|
"Please include tests if this PR introduces any modifications in "\
|
26
26
|
"#{project_name}'s behavior.",
|
27
|
-
|
27
|
+
sticky: false)
|
28
28
|
end
|
29
29
|
|
30
30
|
# ------------------------------------------------------------------------------
|
31
31
|
# Have you updated CHANGELOG.md?
|
32
32
|
# ------------------------------------------------------------------------------
|
33
33
|
if !has_changelog_changes && has_lib_changes
|
34
|
-
markdown
|
35
|
-
Here's an example of a CHANGELOG.md entry (place it immediately under the `* Your contribution here!` line):
|
34
|
+
markdown <<~MARKDOWN
|
35
|
+
Here's an example of a CHANGELOG.md entry (place it immediately under the `* Your contribution here!` line):
|
36
36
|
|
37
|
-
```markdown
|
38
|
-
* [##{pr_number}](#{pr_url}): #{github.pr_title} - [@#{github.pr_author}](https://github.com/#{github.pr_author}).
|
39
|
-
```
|
37
|
+
```markdown
|
38
|
+
* [##{pr_number}](#{pr_url}): #{github.pr_title} - [@#{github.pr_author}](https://github.com/#{github.pr_author}).
|
39
|
+
```
|
40
40
|
MARKDOWN
|
41
41
|
warn("Please update CHANGELOG.md with a description of your changes. "\
|
42
42
|
"If this PR is not a user-facing change (e.g. just refactoring), "\
|
@@ -46,11 +46,9 @@ end
|
|
46
46
|
# ------------------------------------------------------------------------------
|
47
47
|
# Did you remove the CHANGELOG's "Your contribution here!" line?
|
48
48
|
# ------------------------------------------------------------------------------
|
49
|
-
if has_changelog_changes
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
)
|
55
|
-
end
|
49
|
+
if has_changelog_changes && File.read("CHANGELOG.md").scan(/^\s*[-*] Your contribution here/i).count < 3
|
50
|
+
raise(
|
51
|
+
"Please put the `- Your contribution here!` line back into CHANGELOG.md.",
|
52
|
+
sticky: false
|
53
|
+
)
|
56
54
|
end
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -14,8 +14,9 @@ Add these lines to your application's `Gemfile`:
|
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
gem 'bootstrap', '~> 4.0'
|
17
|
-
gem "bootstrap_form", "
|
18
|
-
gem 'devise'
|
17
|
+
gem "bootstrap_form", "~> 4.0"
|
18
|
+
gem 'devise'
|
19
|
+
# gem 'devise-i18n'
|
19
20
|
# gem 'devise_invitable'
|
20
21
|
gem 'devise-bootstrap-form'
|
21
22
|
```
|
@@ -11,14 +11,14 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.email = ["larry.reid@jadesystems.ca"]
|
12
12
|
|
13
13
|
spec.summary = "Generates nicer views for Devise that use Bootstrap via the `bootstrap_form` gem."
|
14
|
-
spec.description =
|
15
|
-
This gem generates Devise views styled with Bootstrap via the `bootstrap_form`
|
16
|
-
gem. If you plan to use, or are using, `bootstrap_form` in your app, your Devise
|
17
|
-
forms will be consistent with the rest of your forms.
|
18
|
-
|
19
|
-
The generator will detect if you're using `devise_invitable`, and will generate
|
20
|
-
`bootstrap_form` forms for its views as well. If you're using `devise-i18n`, the
|
21
|
-
forms will use translations.
|
14
|
+
spec.description = <<~DESC
|
15
|
+
This gem generates Devise views styled with Bootstrap via the `bootstrap_form`
|
16
|
+
gem. If you plan to use, or are using, `bootstrap_form` in your app, your Devise
|
17
|
+
forms will be consistent with the rest of your forms.
|
18
|
+
|
19
|
+
The generator will detect if you're using `devise_invitable`, and will generate
|
20
|
+
`bootstrap_form` forms for its views as well. If you're using `devise-i18n`, the
|
21
|
+
forms will use translations.
|
22
22
|
DESC
|
23
23
|
spec.homepage = "https://github.com/lcreid/devise-bootstrap-form"
|
24
24
|
spec.license = "MIT"
|
@@ -31,18 +31,23 @@ forms will use translations.
|
|
31
31
|
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
32
32
|
end
|
33
33
|
|
34
|
+
spec.required_ruby_version = ">= 2.6"
|
35
|
+
|
34
36
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
35
37
|
spec.bindir = "exe"
|
36
38
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
37
39
|
spec.require_paths = ["lib"]
|
38
40
|
|
39
|
-
spec.add_dependency "bootstrap_form", "
|
41
|
+
spec.add_dependency "bootstrap_form", "~> 4.0"
|
40
42
|
# Devise deprecated devise_error_messages! at 4.6.0, so for later versions
|
41
43
|
# we add a new partial.
|
42
44
|
spec.add_dependency "devise", ">= 4.6.0"
|
43
45
|
spec.add_dependency "rails", ">= 5.0.0"
|
44
|
-
spec.add_development_dependency "bundler"
|
46
|
+
spec.add_development_dependency "bundler"
|
45
47
|
spec.add_development_dependency "chandler"
|
46
48
|
spec.add_development_dependency "pry"
|
47
49
|
spec.add_development_dependency "rake"
|
50
|
+
spec.metadata = {
|
51
|
+
"rubygems_mfa_required" => "true"
|
52
|
+
}
|
48
53
|
end
|
@@ -24,7 +24,7 @@ module Devise
|
|
24
24
|
copy_base_devise(BootstrapFormGenerator.i18n ? "i18n" : "devise")
|
25
25
|
# The shared error message view is already internationalized.
|
26
26
|
copy_file "views/devise/shared/_error_messages.html.erb",
|
27
|
-
|
27
|
+
"app/views/devise/shared/_error_messages.html.erb"
|
28
28
|
copy_invitable_devise
|
29
29
|
end
|
30
30
|
|
@@ -40,7 +40,7 @@ module Devise
|
|
40
40
|
def copy_base_devise(source)
|
41
41
|
%w[confirmations passwords registrations sessions shared unlocks].each do |dir|
|
42
42
|
directory File.join("views/#{source}", dir),
|
43
|
-
|
43
|
+
"app/views/devise/#{dir}"
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-bootstrap-form
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Larry Reid
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap_form
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0
|
19
|
+
version: '4.0'
|
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: 4.0
|
26
|
+
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: devise
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
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: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: chandler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,10 +122,10 @@ executables: []
|
|
122
122
|
extensions: []
|
123
123
|
extra_rdoc_files: []
|
124
124
|
files:
|
125
|
+
- ".github/workflows/ruby.yml"
|
125
126
|
- ".gitignore"
|
126
127
|
- ".rspec"
|
127
128
|
- ".rubocop.yml"
|
128
|
-
- ".travis.yml"
|
129
129
|
- CHANGELOG.md
|
130
130
|
- CODE_OF_CONDUCT.md
|
131
131
|
- CONTRIBUTING.md
|
@@ -174,7 +174,7 @@ homepage: https://github.com/lcreid/devise-bootstrap-form
|
|
174
174
|
licenses:
|
175
175
|
- MIT
|
176
176
|
metadata:
|
177
|
-
|
177
|
+
rubygems_mfa_required: 'true'
|
178
178
|
post_install_message:
|
179
179
|
rdoc_options: []
|
180
180
|
require_paths:
|
@@ -183,15 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
183
|
requirements:
|
184
184
|
- - ">="
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version: '
|
186
|
+
version: '2.6'
|
187
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
188
|
requirements:
|
189
189
|
- - ">="
|
190
190
|
- !ruby/object:Gem::Version
|
191
191
|
version: '0'
|
192
192
|
requirements: []
|
193
|
-
|
194
|
-
rubygems_version: 2.7.6
|
193
|
+
rubygems_version: 3.2.32
|
195
194
|
signing_key:
|
196
195
|
specification_version: 4
|
197
196
|
summary: Generates nicer views for Devise that use Bootstrap via the `bootstrap_form`
|
data/.travis.yml
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.2.9
|
4
|
-
- 2.3.6
|
5
|
-
- 2.4.3
|
6
|
-
- 2.5.0
|
7
|
-
before_install:
|
8
|
-
# https://docs.travis-ci.com/user/languages/ruby/#bundler-20
|
9
|
-
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
10
|
-
- gem i rubygems-update -v '<3' && update_rubygems
|
11
|
-
- gem install bundler -v 1.17.3 --no-document
|
12
|
-
|
13
|
-
matrix:
|
14
|
-
include:
|
15
|
-
# Bleeding edge
|
16
|
-
- rvm: ruby-head
|
17
|
-
|
18
|
-
# Running one job to execute DANGER bot
|
19
|
-
- rvm: 2.5.0
|
20
|
-
script:
|
21
|
-
- gem install danger
|
22
|
-
- danger
|
23
|
-
|
24
|
-
allow_failures:
|
25
|
-
- rvm: ruby-head
|