fishplate 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.dependabot/config.yml +18 -0
- data/Gemfile.lock +16 -11
- data/Rakefile +1 -1
- data/fishplate.gemspec +9 -8
- data/lib/fishplate/tasks.rake +3 -3
- data/lib/fishplate/version.rb +1 -1
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '039ef352eadb1966d08aa130372f479976a6b72891f683186447908285b89f98'
|
4
|
+
data.tar.gz: c1c80a271177db421ea4010f0df0205abd2bedb847ba428edfc958ce2987883d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9423c1f220e127f4bd8f26676fcf34f0754f689e7b79b3017295bdc73d62c679bfb963dc672efbef2704c156214255258c89f5200241610bd76282fd946bc69
|
7
|
+
data.tar.gz: 2cdc17c717193a57f8b3e585c851f2c639d3edc31ca0ba98e2981663618e07c8e6356a550ca8e0e6b8ba5e566d7b78ee1b7c3b27cf9f888f06100ee38f7842eb
|
@@ -0,0 +1,18 @@
|
|
1
|
+
version: 1
|
2
|
+
|
3
|
+
update_configs:
|
4
|
+
- package_manager: "ruby:bundler"
|
5
|
+
directory: "/"
|
6
|
+
update_schedule: "monthly"
|
7
|
+
commit_message:
|
8
|
+
prefix: "[dependabot]"
|
9
|
+
allowed_updates:
|
10
|
+
- match:
|
11
|
+
update_type: "all"
|
12
|
+
automerged_updates:
|
13
|
+
- match:
|
14
|
+
dependency_type: "development"
|
15
|
+
update_type: "all"
|
16
|
+
- match:
|
17
|
+
dependency_type: "production"
|
18
|
+
update_type: "all"
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fishplate (1.0.
|
4
|
+
fishplate (1.0.3)
|
5
5
|
a9n (~> 1.0)
|
6
6
|
activemodel (~> 6.0)
|
7
7
|
activerecord (~> 6.0)
|
@@ -12,7 +12,7 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
a9n (1.
|
15
|
+
a9n (1.1.1)
|
16
16
|
activemodel (6.0.2.1)
|
17
17
|
activesupport (= 6.0.2.1)
|
18
18
|
activerecord (6.0.2.1)
|
@@ -26,21 +26,22 @@ GEM
|
|
26
26
|
zeitwerk (~> 2.2)
|
27
27
|
ast (2.4.0)
|
28
28
|
coderay (1.1.2)
|
29
|
-
concurrent-ruby (1.1.
|
29
|
+
concurrent-ruby (1.1.6)
|
30
30
|
diff-lcs (1.3)
|
31
|
-
i18n (1.8.
|
31
|
+
i18n (1.8.2)
|
32
32
|
concurrent-ruby (~> 1.0)
|
33
33
|
jaro_winkler (1.5.4)
|
34
34
|
method_source (0.9.2)
|
35
|
-
minitest (5.
|
35
|
+
minitest (5.14.0)
|
36
36
|
parallel (1.19.1)
|
37
|
-
parser (2.7.0.
|
37
|
+
parser (2.7.0.3)
|
38
38
|
ast (~> 2.4.0)
|
39
39
|
pry (0.12.2)
|
40
40
|
coderay (~> 1.1.0)
|
41
41
|
method_source (~> 0.9.0)
|
42
42
|
rainbow (3.0.0)
|
43
43
|
rake (13.0.1)
|
44
|
+
rexml (3.2.4)
|
44
45
|
rspec (3.9.0)
|
45
46
|
rspec-core (~> 3.9.0)
|
46
47
|
rspec-expectations (~> 3.9.0)
|
@@ -50,19 +51,22 @@ GEM
|
|
50
51
|
rspec-expectations (3.9.0)
|
51
52
|
diff-lcs (>= 1.2.0, < 2.0)
|
52
53
|
rspec-support (~> 3.9.0)
|
53
|
-
rspec-mocks (3.9.
|
54
|
+
rspec-mocks (3.9.1)
|
54
55
|
diff-lcs (>= 1.2.0, < 2.0)
|
55
56
|
rspec-support (~> 3.9.0)
|
56
|
-
rspec-support (3.9.
|
57
|
-
rubocop (0.
|
57
|
+
rspec-support (3.9.2)
|
58
|
+
rubocop (0.80.0)
|
58
59
|
jaro_winkler (~> 1.5.1)
|
59
60
|
parallel (~> 1.10)
|
60
|
-
parser (>= 2.
|
61
|
+
parser (>= 2.7.0.1)
|
61
62
|
rainbow (>= 2.2.2, < 4.0)
|
63
|
+
rexml
|
62
64
|
ruby-progressbar (~> 1.7)
|
63
65
|
unicode-display_width (>= 1.4.0, < 1.7)
|
64
66
|
rubocop-performance (1.5.2)
|
65
67
|
rubocop (>= 0.71.0)
|
68
|
+
rubocop-rspec (1.38.1)
|
69
|
+
rubocop (>= 0.68.1)
|
66
70
|
ruby-progressbar (1.10.1)
|
67
71
|
sqlite3 (1.4.2)
|
68
72
|
thread_safe (0.3.6)
|
@@ -70,7 +74,7 @@ GEM
|
|
70
74
|
thread_safe (~> 0.1)
|
71
75
|
tzinfo-data (1.2019.3)
|
72
76
|
tzinfo (>= 1.0.0)
|
73
|
-
unicode-display_width (1.6.
|
77
|
+
unicode-display_width (1.6.1)
|
74
78
|
zeitwerk (2.2.2)
|
75
79
|
|
76
80
|
PLATFORMS
|
@@ -84,6 +88,7 @@ DEPENDENCIES
|
|
84
88
|
rspec
|
85
89
|
rubocop
|
86
90
|
rubocop-performance
|
91
|
+
rubocop-rspec
|
87
92
|
sqlite3
|
88
93
|
|
89
94
|
BUNDLED WITH
|
data/Rakefile
CHANGED
data/fishplate.gemspec
CHANGED
@@ -3,14 +3,14 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
require 'fishplate/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
spec.name
|
7
|
-
spec.version
|
8
|
-
spec.authors
|
9
|
-
spec.email
|
6
|
+
spec.name = 'fishplate'
|
7
|
+
spec.version = Fishplate::VERSION
|
8
|
+
spec.authors = ['Krzysztof Knapik']
|
9
|
+
spec.email = ['knapo@knapo.net']
|
10
10
|
|
11
|
-
spec.summary
|
11
|
+
spec.summary = 'Fishplate is a library allowing running ActiveRecord without Railties.'
|
12
12
|
spec.homepage = 'https://github.com/RenoFi/fishplate'
|
13
|
-
spec.license
|
13
|
+
spec.license = 'MIT'
|
14
14
|
|
15
15
|
spec.metadata['homepage_uri'] = 'https://github.com/RenoFi/fishplate'
|
16
16
|
spec.metadata['source_code_uri'] = 'https://github.com/RenoFi/fishplate'
|
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.files = Dir.chdir(__dir__) do
|
19
19
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin/|spec/|\.rub)}) }
|
20
20
|
end
|
21
|
-
spec.bindir
|
22
|
-
spec.executables
|
21
|
+
spec.bindir = 'exe'
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
25
|
spec.required_ruby_version = '>= 2.6'
|
@@ -37,5 +37,6 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_development_dependency 'rspec'
|
38
38
|
spec.add_development_dependency 'rubocop'
|
39
39
|
spec.add_development_dependency 'rubocop-performance'
|
40
|
+
spec.add_development_dependency 'rubocop-rspec'
|
40
41
|
spec.add_development_dependency 'sqlite3'
|
41
42
|
end
|
data/lib/fishplate/tasks.rake
CHANGED
@@ -15,11 +15,11 @@ end
|
|
15
15
|
desc "Generate new migration with name given, example: rake generate:migration[CreateUsers]"
|
16
16
|
namespace :generate do
|
17
17
|
task :migration, [:name] do |name, args|
|
18
|
-
klass
|
19
|
-
number
|
18
|
+
klass = args[:name].tr('-', '_').camelize
|
19
|
+
number = ActiveRecord::Migration.next_migration_number(0)
|
20
20
|
file_name = "#{number}_#{klass.underscore}.rb"
|
21
21
|
file_path = A9n.root.join("db/migrate", file_name)
|
22
|
-
content
|
22
|
+
content = <<-CONTENT
|
23
23
|
|class #{klass} < ActiveRecord::Migration[#{ActiveRecord::Migration.current_version}]
|
24
24
|
| def change
|
25
25
|
| end
|
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.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: a9n
|
@@ -178,6 +178,20 @@ dependencies:
|
|
178
178
|
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rubocop-rspec
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
196
|
name: sqlite3
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,6 +213,7 @@ executables: []
|
|
199
213
|
extensions: []
|
200
214
|
extra_rdoc_files: []
|
201
215
|
files:
|
216
|
+
- ".dependabot/config.yml"
|
202
217
|
- ".gitignore"
|
203
218
|
- ".rspec"
|
204
219
|
- ".travis.yml"
|