fishplate 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.bundler-version +1 -0
- data/.dependabot/config.yml +7 -2
- data/.github/workflows/auto-approve.yml +3 -3
- data/.github/workflows/auto-merge.yml +19 -0
- data/.travis.yml +1 -0
- data/Gemfile +0 -1
- data/Gemfile.lock +51 -51
- data/README.md +1 -12
- data/fishplate.gemspec +1 -1
- data/lib/fishplate.rb +1 -1
- data/lib/fishplate/tasks.rake +1 -1
- data/lib/fishplate/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34c5c7465470b446a28ee88c8b202cec4fc744ecace1692cb24eb9bfb255f781
|
|
4
|
+
data.tar.gz: 659d828b7287e68807b8212edd655b9caeb05c204e5ff1926d709bc1995ed3a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 888cda2d7bf52020f48bc2b6a487fbfb24c79888e443025469887732f36454754be5be252b977cb632c7248a5bb1bc0229b9c38736acdd1797cf8cb0a52262e0
|
|
7
|
+
data.tar.gz: 93baf883a64281babf62738b5698460eaa447891285eb1c3087d6b9ca0339a1a018ec15d3378d6e1b9e0d3ce0ba225765256469a2ef85c58af64e2aed643b494
|
data/.bundler-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.9
|
data/.dependabot/config.yml
CHANGED
|
@@ -3,9 +3,14 @@ version: 1
|
|
|
3
3
|
update_configs:
|
|
4
4
|
- package_manager: "ruby:bundler"
|
|
5
5
|
directory: "/"
|
|
6
|
-
update_schedule: "
|
|
6
|
+
update_schedule: "daily"
|
|
7
7
|
commit_message:
|
|
8
8
|
prefix: "[dependabot]"
|
|
9
9
|
allowed_updates:
|
|
10
10
|
- match:
|
|
11
|
-
|
|
11
|
+
dependency_type: "all"
|
|
12
|
+
update_type: "security"
|
|
13
|
+
automerged_updates:
|
|
14
|
+
- match:
|
|
15
|
+
dependency_type: "all"
|
|
16
|
+
update_type: "security:patch"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# automatically approve PRs submitted by Dependabot
|
|
1
|
+
# automatically approve PRs submitted by Dependabot or Renofidev
|
|
2
2
|
# this will allow Dependabot to automatically merge dependency update PRs where CI passes
|
|
3
3
|
# from: https://github.com/hmarr/auto-approve-action
|
|
4
|
-
name: Auto approve
|
|
4
|
+
name: Auto approve dependency upgrades PRs
|
|
5
5
|
|
|
6
6
|
on:
|
|
7
7
|
pull_request
|
|
@@ -11,6 +11,6 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
13
|
- uses: hmarr/auto-approve-action@v2.0.0
|
|
14
|
-
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
|
|
14
|
+
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev'
|
|
15
15
|
with:
|
|
16
16
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: automerge
|
|
2
|
+
on:
|
|
3
|
+
pull_request_review:
|
|
4
|
+
types:
|
|
5
|
+
- submitted
|
|
6
|
+
check_suite:
|
|
7
|
+
types:
|
|
8
|
+
- completed
|
|
9
|
+
status: {}
|
|
10
|
+
jobs:
|
|
11
|
+
automerge:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- name: automerge
|
|
15
|
+
uses: "pascalgn/automerge-action@v0.12.0"
|
|
16
|
+
env:
|
|
17
|
+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
18
|
+
MERGE_METHOD: squash
|
|
19
|
+
MERGE_DELETE_BRANCH: true
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
fishplate (1.1.
|
|
4
|
+
fishplate (1.1.2)
|
|
5
5
|
a9n (~> 1.0)
|
|
6
6
|
activemodel (~> 6.0)
|
|
7
7
|
activerecord (~> 6.0)
|
|
@@ -13,72 +13,72 @@ GEM
|
|
|
13
13
|
remote: https://rubygems.org/
|
|
14
14
|
specs:
|
|
15
15
|
a9n (1.2.2)
|
|
16
|
-
activemodel (6.
|
|
17
|
-
activesupport (= 6.
|
|
18
|
-
activerecord (6.
|
|
19
|
-
activemodel (= 6.
|
|
20
|
-
activesupport (= 6.
|
|
21
|
-
activesupport (6.
|
|
16
|
+
activemodel (6.1.3)
|
|
17
|
+
activesupport (= 6.1.3)
|
|
18
|
+
activerecord (6.1.3)
|
|
19
|
+
activemodel (= 6.1.3)
|
|
20
|
+
activesupport (= 6.1.3)
|
|
21
|
+
activesupport (6.1.3)
|
|
22
22
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
23
|
-
i18n (>=
|
|
24
|
-
minitest (
|
|
25
|
-
tzinfo (~>
|
|
26
|
-
zeitwerk (~> 2.
|
|
27
|
-
ast (2.4.
|
|
23
|
+
i18n (>= 1.6, < 2)
|
|
24
|
+
minitest (>= 5.1)
|
|
25
|
+
tzinfo (~> 2.0)
|
|
26
|
+
zeitwerk (~> 2.3)
|
|
27
|
+
ast (2.4.2)
|
|
28
28
|
coderay (1.1.3)
|
|
29
|
-
concurrent-ruby (1.1.
|
|
29
|
+
concurrent-ruby (1.1.8)
|
|
30
30
|
diff-lcs (1.4.4)
|
|
31
|
-
i18n (1.8.
|
|
31
|
+
i18n (1.8.9)
|
|
32
32
|
concurrent-ruby (~> 1.0)
|
|
33
33
|
method_source (1.0.0)
|
|
34
|
-
minitest (5.14.
|
|
35
|
-
parallel (1.
|
|
36
|
-
parser (
|
|
34
|
+
minitest (5.14.3)
|
|
35
|
+
parallel (1.20.1)
|
|
36
|
+
parser (3.0.0.0)
|
|
37
37
|
ast (~> 2.4.1)
|
|
38
|
-
pry (0.
|
|
38
|
+
pry (0.14.0)
|
|
39
39
|
coderay (~> 1.1)
|
|
40
40
|
method_source (~> 1.0)
|
|
41
41
|
rainbow (3.0.0)
|
|
42
|
-
rake (13.0.
|
|
43
|
-
regexp_parser (
|
|
42
|
+
rake (13.0.3)
|
|
43
|
+
regexp_parser (2.0.3)
|
|
44
44
|
rexml (3.2.4)
|
|
45
|
-
rspec (3.
|
|
46
|
-
rspec-core (~> 3.
|
|
47
|
-
rspec-expectations (~> 3.
|
|
48
|
-
rspec-mocks (~> 3.
|
|
49
|
-
rspec-core (3.
|
|
50
|
-
rspec-support (~> 3.
|
|
51
|
-
rspec-expectations (3.
|
|
45
|
+
rspec (3.10.0)
|
|
46
|
+
rspec-core (~> 3.10.0)
|
|
47
|
+
rspec-expectations (~> 3.10.0)
|
|
48
|
+
rspec-mocks (~> 3.10.0)
|
|
49
|
+
rspec-core (3.10.1)
|
|
50
|
+
rspec-support (~> 3.10.0)
|
|
51
|
+
rspec-expectations (3.10.1)
|
|
52
52
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
53
|
-
rspec-support (~> 3.
|
|
54
|
-
rspec-mocks (3.
|
|
53
|
+
rspec-support (~> 3.10.0)
|
|
54
|
+
rspec-mocks (3.10.2)
|
|
55
55
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
56
|
-
rspec-support (~> 3.
|
|
57
|
-
rspec-support (3.
|
|
58
|
-
rubocop (
|
|
56
|
+
rspec-support (~> 3.10.0)
|
|
57
|
+
rspec-support (3.10.2)
|
|
58
|
+
rubocop (1.10.0)
|
|
59
59
|
parallel (~> 1.10)
|
|
60
|
-
parser (>=
|
|
60
|
+
parser (>= 3.0.0.0)
|
|
61
61
|
rainbow (>= 2.2.2, < 4.0)
|
|
62
|
-
regexp_parser (>= 1.
|
|
62
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
63
63
|
rexml
|
|
64
|
-
rubocop-ast (>=
|
|
64
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
|
65
65
|
ruby-progressbar (~> 1.7)
|
|
66
|
-
unicode-display_width (>= 1.4.0, <
|
|
67
|
-
rubocop-ast (
|
|
68
|
-
parser (>= 2.7.1.
|
|
69
|
-
rubocop-
|
|
70
|
-
rubocop
|
|
71
|
-
rubocop-rspec (
|
|
72
|
-
rubocop (~> 0
|
|
73
|
-
|
|
66
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
67
|
+
rubocop-ast (1.4.1)
|
|
68
|
+
parser (>= 2.7.1.5)
|
|
69
|
+
rubocop-rake (0.5.1)
|
|
70
|
+
rubocop
|
|
71
|
+
rubocop-rspec (2.2.0)
|
|
72
|
+
rubocop (~> 1.0)
|
|
73
|
+
rubocop-ast (>= 1.1.0)
|
|
74
|
+
ruby-progressbar (1.11.0)
|
|
74
75
|
sqlite3 (1.4.2)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
tzinfo-data (1.2020.1)
|
|
76
|
+
tzinfo (2.0.4)
|
|
77
|
+
concurrent-ruby (~> 1.0)
|
|
78
|
+
tzinfo-data (1.2021.1)
|
|
79
79
|
tzinfo (>= 1.0.0)
|
|
80
|
-
unicode-display_width (
|
|
81
|
-
zeitwerk (2.4.
|
|
80
|
+
unicode-display_width (2.0.0)
|
|
81
|
+
zeitwerk (2.4.2)
|
|
82
82
|
|
|
83
83
|
PLATFORMS
|
|
84
84
|
ruby
|
|
@@ -90,9 +90,9 @@ DEPENDENCIES
|
|
|
90
90
|
rake
|
|
91
91
|
rspec
|
|
92
92
|
rubocop
|
|
93
|
-
rubocop-
|
|
93
|
+
rubocop-rake
|
|
94
94
|
rubocop-rspec
|
|
95
95
|
sqlite3
|
|
96
96
|
|
|
97
97
|
BUNDLED WITH
|
|
98
|
-
2.
|
|
98
|
+
2.2.3
|
data/README.md
CHANGED
|
@@ -43,7 +43,7 @@ Fishplate.load_tasks
|
|
|
43
43
|
Available rake tasks are:
|
|
44
44
|
```
|
|
45
45
|
rake console # Run application console
|
|
46
|
-
rake generate:migration[name] # Generate new migration with name given, e.g
|
|
46
|
+
rake generate:migration[name] # Generate new migration with name given, e.g rake generate:migration[CreateUsers]
|
|
47
47
|
|
|
48
48
|
rake db:create # Creates the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:create:all to create all databases in the config). Wi...
|
|
49
49
|
rake db:drop # Drops the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:drop:all to drop all databases in the config). Without ...
|
|
@@ -65,17 +65,6 @@ rake db:structure:load # Recreates the databases from the struc
|
|
|
65
65
|
rake db:version # Retrieves the current schema version number
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
When `rubocop` is available:
|
|
69
|
-
```
|
|
70
|
-
rake rubocop # Run RuboCop
|
|
71
|
-
rake rubocop:auto_correct # Auto-correct RuboCop offenses
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
When `rspec` is available:
|
|
75
|
-
```
|
|
76
|
-
rake spec # Run RSpec code examples
|
|
77
|
-
```
|
|
78
|
-
|
|
79
68
|
## Contributing
|
|
80
69
|
|
|
81
70
|
Bug reports and pull requests are welcome on GitHub at https://github.com/RenoFi/fishplate. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/fishplate.gemspec
CHANGED
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
|
36
36
|
spec.add_development_dependency 'rake'
|
|
37
37
|
spec.add_development_dependency 'rspec'
|
|
38
38
|
spec.add_development_dependency 'rubocop'
|
|
39
|
-
spec.add_development_dependency 'rubocop-
|
|
39
|
+
spec.add_development_dependency 'rubocop-rake'
|
|
40
40
|
spec.add_development_dependency 'rubocop-rspec'
|
|
41
41
|
spec.add_development_dependency 'sqlite3'
|
|
42
42
|
end
|
data/lib/fishplate.rb
CHANGED
|
@@ -18,7 +18,7 @@ module Fishplate
|
|
|
18
18
|
def load_tasks
|
|
19
19
|
Kernel.load 'active_record/railties/databases.rake'
|
|
20
20
|
Kernel.load File.expand_path('fishplate/tasks.rake', __dir__)
|
|
21
|
-
A9n.root.join('lib/tasks').glob('
|
|
21
|
+
A9n.root.join('lib/tasks').glob('**/*.rake').sort.each { |f| Kernel.load f }
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
def database_configuration
|
data/lib/fishplate/tasks.rake
CHANGED
|
@@ -12,8 +12,8 @@ task console: :environment do
|
|
|
12
12
|
IRB.start
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
desc "Generate new migration with name given, example: rake generate:migration[CreateUsers]"
|
|
16
15
|
namespace :generate do
|
|
16
|
+
desc "Generate new migration with name given, example: rake generate:migration[CreateUsers]"
|
|
17
17
|
task :migration, [:name] do |name, args|
|
|
18
18
|
klass = args[:name].tr('-', '_').camelize
|
|
19
19
|
number = ActiveRecord::Migration.next_migration_number(0)
|
data/lib/fishplate/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fishplate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Krzysztof Knapik
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-02-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: a9n
|
|
@@ -165,7 +165,7 @@ dependencies:
|
|
|
165
165
|
- !ruby/object:Gem::Version
|
|
166
166
|
version: '0'
|
|
167
167
|
- !ruby/object:Gem::Dependency
|
|
168
|
-
name: rubocop-
|
|
168
|
+
name: rubocop-rake
|
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
|
170
170
|
requirements:
|
|
171
171
|
- - ">="
|
|
@@ -213,12 +213,14 @@ executables: []
|
|
|
213
213
|
extensions: []
|
|
214
214
|
extra_rdoc_files: []
|
|
215
215
|
files:
|
|
216
|
+
- ".bundler-version"
|
|
216
217
|
- ".dependabot/config.yml"
|
|
217
218
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
|
218
219
|
- ".github/ISSUE_TEMPLATE/config.yml"
|
|
219
220
|
- ".github/ISSUE_TEMPLATE/story.md"
|
|
220
221
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
|
221
222
|
- ".github/workflows/auto-approve.yml"
|
|
223
|
+
- ".github/workflows/auto-merge.yml"
|
|
222
224
|
- ".gitignore"
|
|
223
225
|
- ".rspec"
|
|
224
226
|
- ".travis.yml"
|
|
@@ -254,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
254
256
|
- !ruby/object:Gem::Version
|
|
255
257
|
version: '0'
|
|
256
258
|
requirements: []
|
|
257
|
-
rubygems_version: 3.
|
|
259
|
+
rubygems_version: 3.2.3
|
|
258
260
|
signing_key:
|
|
259
261
|
specification_version: 4
|
|
260
262
|
summary: Fishplate is a library allowing running ActiveRecord without Railties.
|