fishplate 1.0.1 → 1.0.2

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
  SHA256:
3
- metadata.gz: 8e989be0e676139c61150704dd7d572361e8e938c395888fe0990d1483c36b61
4
- data.tar.gz: e40a0d674b9fa446dbec7142b4d464af78fa887e2fc9e9618cf52330dd3664a3
3
+ metadata.gz: 78ad8edb702616555fec399e6a815cec69708e05a60011588ec689c3e037577c
4
+ data.tar.gz: c5c5efb7b31839ec85488c214a33fd90ce180cdd2f8d7e7e70fec0781c840c11
5
5
  SHA512:
6
- metadata.gz: 9674364a4dce4dcbdb4ab51b83ea24ff0f9434f63cbdd7d09aef9043ebc69b848c69684f72fada366d0659073e94c746be70d2b1898903931b184a5c098c1d3f
7
- data.tar.gz: 6dfb9a75a907ea724bd47d507463f0dc2cf13c5ba710a53803d9b523e62a36d3ae6d425bef24990021ba60be1e47c9c13aff80d824a2d5d63171bf7280eadc04
6
+ metadata.gz: c0bebd9625982bf009d7baa3ce8add15c2b01f1885417815511afabddd32435664b59bc9bd04468cbbac627b5894352100a6e3e1264cea0f94d93a85127b4998
7
+ data.tar.gz: d443b80f304456ce0a345f53cfa157e7ffe4d8af70fee5446edf4648f43959eda2d58544e2d009682e6ca59d74f5b5b21f539a5b2af13396443d7b4d8ae16555
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fishplate (1.0.1)
4
+ fishplate (1.0.2)
5
5
  a9n (~> 1.0)
6
6
  activemodel (~> 6.0)
7
7
  activerecord (~> 6.0)
@@ -28,7 +28,7 @@ GEM
28
28
  coderay (1.1.2)
29
29
  concurrent-ruby (1.1.5)
30
30
  diff-lcs (1.3)
31
- i18n (1.7.0)
31
+ i18n (1.8.1)
32
32
  concurrent-ruby (~> 1.0)
33
33
  jaro_winkler (1.5.4)
34
34
  method_source (0.9.2)
@@ -45,15 +45,15 @@ GEM
45
45
  rspec-core (~> 3.9.0)
46
46
  rspec-expectations (~> 3.9.0)
47
47
  rspec-mocks (~> 3.9.0)
48
- rspec-core (3.9.0)
49
- rspec-support (~> 3.9.0)
48
+ rspec-core (3.9.1)
49
+ rspec-support (~> 3.9.1)
50
50
  rspec-expectations (3.9.0)
51
51
  diff-lcs (>= 1.2.0, < 2.0)
52
52
  rspec-support (~> 3.9.0)
53
53
  rspec-mocks (3.9.0)
54
54
  diff-lcs (>= 1.2.0, < 2.0)
55
55
  rspec-support (~> 3.9.0)
56
- rspec-support (3.9.0)
56
+ rspec-support (3.9.1)
57
57
  rubocop (0.78.0)
58
58
  jaro_winkler (~> 1.5.1)
59
59
  parallel (~> 1.10)
@@ -64,6 +64,7 @@ GEM
64
64
  rubocop-performance (1.5.2)
65
65
  rubocop (>= 0.71.0)
66
66
  ruby-progressbar (1.10.1)
67
+ sqlite3 (1.4.2)
67
68
  thread_safe (0.3.6)
68
69
  tzinfo (1.2.6)
69
70
  thread_safe (~> 0.1)
@@ -83,6 +84,7 @@ DEPENDENCIES
83
84
  rspec
84
85
  rubocop
85
86
  rubocop-performance
87
+ sqlite3
86
88
 
87
89
  BUNDLED WITH
88
90
  1.17.3
@@ -37,4 +37,5 @@ 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 'sqlite3'
40
41
  end
@@ -40,14 +40,14 @@ module Fishplate
40
40
  end
41
41
 
42
42
  def setup!
43
- A9n.root.join('config/initializers').glob('*.rb').sort.each { |f| require f }
44
-
45
43
  configure_active_record
46
44
 
47
45
  setup_database_tasks
48
46
 
49
47
  setup_db_connection
50
48
 
49
+ load_initializers
50
+
51
51
  add_sidekiq_middleware if defined?(Sidekiq)
52
52
  end
53
53
 
@@ -78,6 +78,10 @@ module Fishplate
78
78
  ActiveRecord::Base.establish_connection
79
79
  end
80
80
 
81
+ def load_initializers
82
+ A9n.root.join('config/initializers').glob('*.rb').sort.each { |f| require f }
83
+ end
84
+
81
85
  def add_sidekiq_middleware
82
86
  Sidekiq.configure_server do |config|
83
87
  config.server_middleware do |chain|
@@ -1,3 +1,3 @@
1
1
  module Fishplate
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.0.2".freeze
3
3
  end
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.1
4
+ version: 1.0.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: 2019-12-28 00:00:00.000000000 Z
11
+ date: 2020-01-09 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: sqlite3
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
  description:
182
196
  email:
183
197
  - knapo@knapo.net