archfiend 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +46 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +1 -1
- data/.rubocop.yml +2 -1
- data/CHANGES.md +14 -6
- data/Gemfile.lock +64 -52
- data/README.md +3 -2
- data/archfiend.gemspec +7 -5
- data/lib/archfiend/generators/daemon.rb +1 -1
- data/lib/archfiend/generators/daemon/templates/.rubocop.yml +5 -0
- data/lib/archfiend/generators/daemon/templates/Gemfile.tt +3 -2
- data/lib/archfiend/generators/daemon/templates/config/database.yml.example.tt +4 -1
- data/lib/archfiend/logging/default_formatter.rb +2 -2
- data/lib/archfiend/logging/multi_logger.rb +2 -2
- data/lib/archfiend/version.rb +1 -1
- data/scripts/{travis → circleci}/checks/footprint.rb +0 -0
- data/scripts/{travis → circleci}/script +1 -1
- metadata +44 -18
- data/.travis.yml +0 -11
- data/scripts/travis/install +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b77215bfc6156fd50ae564ea799a68fec72445b00df1bb61c0656d1599063aa1
|
4
|
+
data.tar.gz: 12d2b3946dfe0cfe888742d63651650eaab268aa189f5e19d842797b5ff3026f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ece7224ac74af105b895394f41ccf5e15381d42316a33bbf2f8be50d97a3b3b286cb227fb370980987817fb08ec758e19b975e769b94f41db8f99596cecc1bc8
|
7
|
+
data.tar.gz: 4cbcd0895a171e80933cf3a7cac0d1ed4ea8d596e8169de4711bfcc4a46a5776c824600a91eec2ce4f41af5b2d379022a5c11185a1ea759753de7cdacb936505
|
@@ -0,0 +1,46 @@
|
|
1
|
+
version: 2
|
2
|
+
jobs:
|
3
|
+
build:
|
4
|
+
docker:
|
5
|
+
- image: circleci/ruby:2.5.1-node
|
6
|
+
environment:
|
7
|
+
BUNDLE_JOBS: 3
|
8
|
+
BUNDLE_RETRY: 3
|
9
|
+
BUNDLE_PATH: vendor/bundle
|
10
|
+
RAILS_ENV: test
|
11
|
+
PGHOST: 127.0.0.1
|
12
|
+
PGUSER: circleci-user
|
13
|
+
COVERAGE: true
|
14
|
+
- image: circleci/postgres:9.6
|
15
|
+
environment:
|
16
|
+
POSTGRES_USER: circleci-user
|
17
|
+
POSTGRES_DB: rails_archfiend
|
18
|
+
POSTGRES_PASSWORD:
|
19
|
+
|
20
|
+
working_directory: ~/repo
|
21
|
+
|
22
|
+
steps:
|
23
|
+
- checkout
|
24
|
+
|
25
|
+
# Download and cache dependencies
|
26
|
+
- restore_cache:
|
27
|
+
keys:
|
28
|
+
- v1-dependencies-{{ checksum "Gemfile.lock" }}
|
29
|
+
# fallback to using the latest cache if no exact match is found
|
30
|
+
- v1-dependencies-
|
31
|
+
|
32
|
+
- run:
|
33
|
+
name: install dependencies
|
34
|
+
command: (bundle check || bundle install) && gem install gem_footprint_analyzer
|
35
|
+
|
36
|
+
- save_cache:
|
37
|
+
paths:
|
38
|
+
- ./vendor/bundle
|
39
|
+
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
40
|
+
|
41
|
+
- run:
|
42
|
+
name: run tests
|
43
|
+
command: scripts/circleci/script
|
44
|
+
|
45
|
+
- store_artifacts:
|
46
|
+
path: coverage
|
@@ -10,7 +10,7 @@ Before submitting the PR make sure the following are checked:
|
|
10
10
|
* [ ] Feature branch is up-to-date with `master` (if not - rebase it).
|
11
11
|
* [ ] Squashed related commits together.
|
12
12
|
* [ ] Added tests.
|
13
|
-
* [ ] Added an entry to the [Changelog](../blob/master/CHANGELOG.md) if the new code introduces user-observable changes.
|
13
|
+
* [ ] Added an entry to the [Changelog](../blob/master/CHANGELOG.md) if the new code introduces user-observable changes.
|
14
14
|
* [ ] The PR relates to *only* one subject with a clear title
|
15
15
|
and description in grammatically correct, complete sentences.
|
16
16
|
* [ ] Run `bundle exec rspec` & `bundle exec rubocop`.
|
data/.rubocop.yml
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require:
|
2
|
+
- rubocop-rails
|
2
3
|
- rubocop-rspec
|
3
4
|
|
4
5
|
AllCops:
|
@@ -7,6 +8,7 @@ AllCops:
|
|
7
8
|
- 'log/**/*'
|
8
9
|
- 'script/**/*'
|
9
10
|
- 'tmp/**/*'
|
11
|
+
- 'vendor/**/*'
|
10
12
|
DisplayCopNames: true
|
11
13
|
TargetRubyVersion: 2.4
|
12
14
|
|
@@ -327,4 +329,3 @@ Style/RegexpLiteral:
|
|
327
329
|
|
328
330
|
RSpec/FilePath:
|
329
331
|
Enabled: false
|
330
|
-
|
data/CHANGES.md
CHANGED
@@ -2,22 +2,30 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file, in reverse chronological order.
|
4
4
|
|
5
|
-
## [
|
6
|
-
[master]: https://github.com/toptal/archfiend/compare/0.1.1...HEAD
|
5
|
+
## [0.1.2] (2020-04-09)
|
7
6
|
|
8
|
-
|
9
|
-
|
7
|
+
### Changes:
|
8
|
+
|
9
|
+
* support progname argument and block syntax by MultiLogger and DefaultFormatter
|
10
|
+
* generated daemons will use Rubocop version of at least 0.72.0
|
11
|
+
|
12
|
+
## [0.1.1] (2019-01-14)
|
13
|
+
|
14
|
+
### Changes:
|
10
15
|
|
11
16
|
* daemons gem removed in favor of Process.daemon
|
12
17
|
* add formatter setting for all loggers
|
13
18
|
* fix the usage of Forwardable
|
14
19
|
* split requires for runtime and cli phases
|
15
20
|
|
16
|
-
## 0.1.0 (2018-10-10)
|
17
|
-
[0.1.0]: https://github.com/toptal/archfiend/compare/13d855f...0.1.0
|
21
|
+
## [0.1.0] (2018-10-10)
|
18
22
|
|
19
23
|
### Changes:
|
20
24
|
|
21
25
|
* updated the documentation
|
22
26
|
* added the generator extensions interface
|
23
27
|
* extracted the gem
|
28
|
+
|
29
|
+
[0.1.2]: https://github.com/toptal/archfiend/compare/0.1.1...0.1.2
|
30
|
+
[0.1.1]: https://github.com/toptal/archfiend/compare/0.1.0...0.1.1
|
31
|
+
[0.1.0]: https://github.com/toptal/archfiend/compare/13d855f...0.1.0
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
archfiend (0.1.
|
4
|
+
archfiend (0.1.2)
|
5
5
|
oj (~> 3.6)
|
6
6
|
thor (~> 0.20)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (5.2.
|
12
|
-
activesupport (= 5.2.
|
13
|
-
activerecord (5.2.
|
14
|
-
activemodel (= 5.2.
|
15
|
-
activesupport (= 5.2.
|
11
|
+
activemodel (5.2.3)
|
12
|
+
activesupport (= 5.2.3)
|
13
|
+
activerecord (5.2.3)
|
14
|
+
activemodel (= 5.2.3)
|
15
|
+
activesupport (= 5.2.3)
|
16
16
|
arel (>= 9.0)
|
17
|
-
activesupport (5.2.
|
17
|
+
activesupport (5.2.3)
|
18
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
19
19
|
i18n (>= 0.7, < 2)
|
20
20
|
minitest (~> 5.1)
|
@@ -22,56 +22,60 @@ GEM
|
|
22
22
|
arel (9.0.0)
|
23
23
|
ast (2.4.0)
|
24
24
|
coderay (1.1.2)
|
25
|
-
concurrent-ruby (1.
|
26
|
-
config (
|
27
|
-
activesupport (>=
|
28
|
-
deep_merge (~> 1.2.1)
|
29
|
-
dry-
|
25
|
+
concurrent-ruby (1.1.5)
|
26
|
+
config (2.0.0)
|
27
|
+
activesupport (>= 4.2)
|
28
|
+
deep_merge (~> 1.2, >= 1.2.1)
|
29
|
+
dry-schema (~> 1.0)
|
30
30
|
deep_merge (1.2.1)
|
31
31
|
diff-lcs (1.3)
|
32
|
-
|
32
|
+
docile (1.3.2)
|
33
|
+
dry-configurable (0.8.3)
|
33
34
|
concurrent-ruby (~> 1.0)
|
34
|
-
|
35
|
+
dry-core (~> 0.4, >= 0.4.7)
|
36
|
+
dry-container (0.7.2)
|
35
37
|
concurrent-ruby (~> 1.0)
|
36
38
|
dry-configurable (~> 0.1, >= 0.1.3)
|
37
|
-
dry-core (0.4.
|
39
|
+
dry-core (0.4.8)
|
38
40
|
concurrent-ruby (~> 1.0)
|
39
|
-
dry-equalizer (0.2.
|
41
|
+
dry-equalizer (0.2.2)
|
40
42
|
dry-inflector (0.1.2)
|
41
|
-
dry-
|
42
|
-
|
43
|
+
dry-initializer (3.0.1)
|
44
|
+
dry-logic (1.0.2)
|
45
|
+
concurrent-ruby (~> 1.0)
|
43
46
|
dry-core (~> 0.2)
|
44
47
|
dry-equalizer (~> 0.2)
|
45
|
-
dry-
|
48
|
+
dry-schema (1.3.1)
|
49
|
+
concurrent-ruby (~> 1.0)
|
50
|
+
dry-configurable (~> 0.8, >= 0.8.3)
|
51
|
+
dry-core (~> 0.4)
|
52
|
+
dry-equalizer (~> 0.2)
|
53
|
+
dry-initializer (~> 3.0)
|
54
|
+
dry-logic (~> 1.0)
|
55
|
+
dry-types (~> 1.0)
|
56
|
+
dry-types (1.1.0)
|
46
57
|
concurrent-ruby (~> 1.0)
|
47
58
|
dry-container (~> 0.3)
|
48
59
|
dry-core (~> 0.4, >= 0.4.4)
|
49
|
-
dry-equalizer (~> 0.2)
|
60
|
+
dry-equalizer (~> 0.2, >= 0.2.2)
|
50
61
|
dry-inflector (~> 0.1, >= 0.1.2)
|
51
|
-
dry-logic (~> 0
|
52
|
-
|
53
|
-
concurrent-ruby (~> 1.0)
|
54
|
-
dry-configurable (~> 0.1, >= 0.1.3)
|
55
|
-
dry-core (~> 0.2, >= 0.2.1)
|
56
|
-
dry-equalizer (~> 0.2)
|
57
|
-
dry-logic (~> 0.4, >= 0.4.0)
|
58
|
-
dry-types (~> 0.13.1)
|
59
|
-
i18n (1.1.0)
|
62
|
+
dry-logic (~> 1.0, >= 1.0.2)
|
63
|
+
i18n (1.6.0)
|
60
64
|
concurrent-ruby (~> 1.0)
|
61
|
-
jaro_winkler (1.5.
|
62
|
-
method_source (0.9.
|
65
|
+
jaro_winkler (1.5.3)
|
66
|
+
method_source (0.9.2)
|
63
67
|
minitest (5.11.3)
|
64
|
-
oj (3.
|
65
|
-
parallel (1.
|
66
|
-
parser (2.
|
68
|
+
oj (3.10.6)
|
69
|
+
parallel (1.17.0)
|
70
|
+
parser (2.6.4.0)
|
67
71
|
ast (~> 2.4.0)
|
68
|
-
pg (
|
69
|
-
|
70
|
-
pry (0.11.3)
|
72
|
+
pg (1.1.4)
|
73
|
+
pry (0.12.2)
|
71
74
|
coderay (~> 1.1.0)
|
72
75
|
method_source (~> 0.9.0)
|
76
|
+
rack (2.0.7)
|
73
77
|
rainbow (3.0.0)
|
74
|
-
rake (
|
78
|
+
rake (12.3.3)
|
75
79
|
rspec (3.8.0)
|
76
80
|
rspec-core (~> 3.8.0)
|
77
81
|
rspec-expectations (~> 3.8.0)
|
@@ -85,22 +89,28 @@ GEM
|
|
85
89
|
diff-lcs (>= 1.2.0, < 2.0)
|
86
90
|
rspec-support (~> 3.8.0)
|
87
91
|
rspec-support (3.8.0)
|
88
|
-
rubocop (0.
|
92
|
+
rubocop (0.74.0)
|
89
93
|
jaro_winkler (~> 1.5.1)
|
90
94
|
parallel (~> 1.10)
|
91
|
-
parser (>= 2.
|
92
|
-
powerpack (~> 0.1)
|
95
|
+
parser (>= 2.6)
|
93
96
|
rainbow (>= 2.2.2, < 4.0)
|
94
97
|
ruby-progressbar (~> 1.7)
|
95
|
-
unicode-display_width (
|
96
|
-
rubocop-
|
97
|
-
|
98
|
-
|
98
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
99
|
+
rubocop-rails (2.3.2)
|
100
|
+
rack (>= 1.1)
|
101
|
+
rubocop (>= 0.72.0)
|
102
|
+
rubocop-rspec (1.35.0)
|
103
|
+
rubocop (>= 0.60.0)
|
104
|
+
ruby-progressbar (1.10.1)
|
105
|
+
simplecov (0.18.0)
|
106
|
+
docile (~> 1.1)
|
107
|
+
simplecov-html (~> 0.11.0)
|
108
|
+
simplecov-html (0.11.0)
|
99
109
|
thor (0.20.3)
|
100
110
|
thread_safe (0.3.6)
|
101
111
|
tzinfo (1.2.5)
|
102
112
|
thread_safe (~> 0.1)
|
103
|
-
unicode-display_width (1.
|
113
|
+
unicode-display_width (1.6.0)
|
104
114
|
|
105
115
|
PLATFORMS
|
106
116
|
ruby
|
@@ -109,13 +119,15 @@ DEPENDENCIES
|
|
109
119
|
activerecord (~> 5)
|
110
120
|
archfiend!
|
111
121
|
bundler (~> 1.15)
|
112
|
-
config (~>
|
113
|
-
pg (~>
|
122
|
+
config (~> 2.0)
|
123
|
+
pg (~> 1.1)
|
114
124
|
pry (~> 0.11)
|
115
|
-
rake (~>
|
125
|
+
rake (~> 12.3)
|
116
126
|
rspec (~> 3.0)
|
117
|
-
rubocop (~> 0.
|
118
|
-
rubocop-
|
127
|
+
rubocop (~> 0.72)
|
128
|
+
rubocop-rails (~> 2.2)
|
129
|
+
rubocop-rspec (~> 1.33)
|
130
|
+
simplecov (~> 0.18)
|
119
131
|
|
120
132
|
BUNDLED WITH
|
121
|
-
1.17.
|
133
|
+
1.17.3
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Archfiend (/ˈɑrtʃˈfind/) - a basic daemon generator. It features boilerplate for common development tools (ActiveRecord, RSpec, FactoryBot, RuboCop),
|
4
4
|
handles daemonizing, configuration, logging and more. It provides a way to structure backend applications in an organized manner.
|
5
5
|
|
6
|
-
[![
|
6
|
+
[![CircleCI](https://circleci.com/gh/toptal/archfiend/tree/master.svg?style=svg&circle-token=19722f09aa6a0fef0039d3286016100158b14669)](https://circleci.com/gh/toptal/archfiend/tree/master)
|
7
7
|
[![Gem Version](https://badge.fury.io/rb/archfiend.svg)](https://badge.fury.io/rb/archfiend)
|
8
8
|
|
9
9
|
## Contents
|
@@ -11,6 +11,7 @@ handles daemonizing, configuration, logging and more. It provides a way to struc
|
|
11
11
|
* [Primitives](#primitives)
|
12
12
|
* [Featured gems](#featured-gems)
|
13
13
|
* [Changelog](#changelog)
|
14
|
+
* [Roadmap](#roadmap)
|
14
15
|
* [Contributing](#contributing)
|
15
16
|
* [License](#license)
|
16
17
|
* [Code of Conduct](#code-of-conduct)
|
@@ -112,4 +113,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
112
113
|
|
113
114
|
## Code of Conduct
|
114
115
|
|
115
|
-
Everyone interacting in the Archfiend project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/toptal/archfiend/blob/master/CODE_OF_CONDUCT.md).
|
116
|
+
Everyone interacting in the Archfiend project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/toptal/archfiend/blob/master/CODE_OF_CONDUCT.md).
|
data/archfiend.gemspec
CHANGED
@@ -22,13 +22,15 @@ Gem::Specification.new do |spec|
|
|
22
22
|
|
23
23
|
spec.add_development_dependency 'activerecord', '~> 5' # For specs
|
24
24
|
spec.add_development_dependency 'bundler', '~> 1.15'
|
25
|
-
spec.add_development_dependency 'config', '~>
|
25
|
+
spec.add_development_dependency 'config', '~> 2.0'
|
26
26
|
spec.add_dependency 'oj', '~> 3.6'
|
27
|
-
spec.add_development_dependency 'pg', '~>
|
27
|
+
spec.add_development_dependency 'pg', '~> 1.1'
|
28
28
|
spec.add_development_dependency 'pry', '~> 0.11'
|
29
|
-
spec.add_development_dependency 'rake', '~>
|
29
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
30
30
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
31
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
32
|
-
spec.add_development_dependency 'rubocop-
|
31
|
+
spec.add_development_dependency 'rubocop', '~> 0.72'
|
32
|
+
spec.add_development_dependency 'rubocop-rails', '~> 2.2'
|
33
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 1.33'
|
34
|
+
spec.add_development_dependency 'simplecov', '~> 0.18'
|
33
35
|
spec.add_dependency 'thor', '~> 0.20' # CLI
|
34
36
|
end
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require:
|
2
|
+
- rubocop-rails
|
2
3
|
- rubocop-rspec
|
3
4
|
|
4
5
|
AllCops:
|
@@ -7,6 +8,7 @@ AllCops:
|
|
7
8
|
- 'log/**/*'
|
8
9
|
- 'script/**/*'
|
9
10
|
- 'tmp/**/*'
|
11
|
+
- 'vendor/**/*'
|
10
12
|
DisplayCopNames: true
|
11
13
|
TargetRubyVersion: 2.4
|
12
14
|
|
@@ -135,6 +137,9 @@ Rails/LexicallyScopedActionFilter:
|
|
135
137
|
Rails/Presence:
|
136
138
|
Enabled: false
|
137
139
|
|
140
|
+
Rails/RakeEnvironment:
|
141
|
+
Enabled: false
|
142
|
+
|
138
143
|
Rails/ReadWriteAttribute:
|
139
144
|
Enabled: false
|
140
145
|
|
@@ -19,8 +19,9 @@ group :development, :test do
|
|
19
19
|
gem 'pry-byebug'
|
20
20
|
gem 'pry-doc', require: false
|
21
21
|
gem 'rspec', require: false
|
22
|
-
gem 'rubocop', require: false
|
23
|
-
gem 'rubocop-
|
22
|
+
gem 'rubocop', '~> 0.74.0', require: false
|
23
|
+
gem 'rubocop-rails', '>= 2.2.0', require: false
|
24
|
+
gem 'rubocop-rspec', '>= 1.33.0', require: false
|
24
25
|
gem 'shoulda-matchers', '~> 3.1'
|
25
26
|
gem 'timecop', require: false
|
26
27
|
gem 'webmock', require: false
|
@@ -9,6 +9,9 @@ default: &default
|
|
9
9
|
host: <%%= ENV.fetch('DATABASE_HOST', 'localhost') %>
|
10
10
|
port: <%%= ENV.fetch('DATABASE_PORT', 5432) %>
|
11
11
|
|
12
|
+
# Google Cloud PubSub Client defaults to 12 threads for a single subscription:
|
13
|
+
# 4 streams * (2 callback threads + 1 push threads).
|
14
|
+
# You should add another 12 to the pool when you make a new subscription.
|
12
15
|
pool: 12
|
13
16
|
reconnect: true
|
14
17
|
|
@@ -17,7 +20,7 @@ development:
|
|
17
20
|
|
18
21
|
test:
|
19
22
|
<<: *default
|
20
|
-
database:
|
23
|
+
database: <%= daemon_name %>_test
|
21
24
|
|
22
25
|
staging:
|
23
26
|
<<: *default
|
@@ -2,10 +2,10 @@ module Archfiend
|
|
2
2
|
class Logging
|
3
3
|
# Simple formatter that includes both PID and a unique thread id
|
4
4
|
class DefaultFormatter < BaseFormatter
|
5
|
-
def call(severity, datetime,
|
5
|
+
def call(severity, datetime, progname, msg)
|
6
6
|
description, _backtrace = description_and_backtrace(severity, msg)
|
7
7
|
|
8
|
-
"#{datetime.utc.iso8601(3)} #{::Process.pid} TID-#{tid} #{severity}: #{description}\n"
|
8
|
+
"#{datetime.utc.iso8601(3)} #{::Process.pid} TID-#{tid} #{severity} -- #{progname}: #{description}\n"
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|
@@ -13,10 +13,10 @@ module Archfiend
|
|
13
13
|
private
|
14
14
|
|
15
15
|
# @return [Object] The return value is forwarded from the first logger that responds to the method_name
|
16
|
-
def method_missing(method_name, *args)
|
16
|
+
def method_missing(method_name, *args, &block)
|
17
17
|
return super unless responding_loggers(method_name).any?
|
18
18
|
|
19
|
-
responding_loggers(method_name).map { |l| l.public_send(method_name, *args) }.first
|
19
|
+
responding_loggers(method_name).map { |l| l.public_send(method_name, *args, &block) }.first
|
20
20
|
end
|
21
21
|
|
22
22
|
def respond_to_missing?(symbol, include_private = false)
|
data/lib/archfiend/version.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archfiend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciek Dubiński
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: oj
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.1'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: pry
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
103
|
+
version: '12.3'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
110
|
+
version: '12.3'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,28 +128,56 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0.
|
131
|
+
version: '0.72'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0.
|
138
|
+
version: '0.72'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rubocop-rails
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '2.2'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '2.2'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: rubocop-rspec
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
142
156
|
requirements:
|
143
157
|
- - "~>"
|
144
158
|
- !ruby/object:Gem::Version
|
145
|
-
version: '1.
|
159
|
+
version: '1.33'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.33'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: simplecov
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0.18'
|
146
174
|
type: :development
|
147
175
|
prerelease: false
|
148
176
|
version_requirements: !ruby/object:Gem::Requirement
|
149
177
|
requirements:
|
150
178
|
- - "~>"
|
151
179
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
180
|
+
version: '0.18'
|
153
181
|
- !ruby/object:Gem::Dependency
|
154
182
|
name: thor
|
155
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,11 +200,11 @@ executables:
|
|
172
200
|
extensions: []
|
173
201
|
extra_rdoc_files: []
|
174
202
|
files:
|
203
|
+
- ".circleci/config.yml"
|
175
204
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
176
205
|
- ".gitignore"
|
177
206
|
- ".rspec"
|
178
207
|
- ".rubocop.yml"
|
179
|
-
- ".travis.yml"
|
180
208
|
- CHANGES.md
|
181
209
|
- CODE_OF_CONDUCT.md
|
182
210
|
- Gemfile
|
@@ -240,9 +268,8 @@ files:
|
|
240
268
|
- lib/archfiend/subprocess_loop.rb
|
241
269
|
- lib/archfiend/thread_loop.rb
|
242
270
|
- lib/archfiend/version.rb
|
243
|
-
- scripts/
|
244
|
-
- scripts/
|
245
|
-
- scripts/travis/script
|
271
|
+
- scripts/circleci/checks/footprint.rb
|
272
|
+
- scripts/circleci/script
|
246
273
|
homepage: https://github.com/toptal/archfiend
|
247
274
|
licenses:
|
248
275
|
- MIT
|
@@ -262,8 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
289
|
- !ruby/object:Gem::Version
|
263
290
|
version: '0'
|
264
291
|
requirements: []
|
265
|
-
|
266
|
-
rubygems_version: 2.7.6
|
292
|
+
rubygems_version: 3.0.3
|
267
293
|
signing_key:
|
268
294
|
specification_version: 4
|
269
295
|
summary: A tool to simplify creation and development of Ruby daemons
|
data/.travis.yml
DELETED
data/scripts/travis/install
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
# This script handles the Travis build execution in the 'install' phase.
|
4
|
-
# It runs Bundler.
|
5
|
-
|
6
|
-
require 'pathname'
|
7
|
-
require 'fileutils'
|
8
|
-
|
9
|
-
def system!(*args)
|
10
|
-
system(*args) || abort("\n== Command #{args} failed ==")
|
11
|
-
end
|
12
|
-
|
13
|
-
system('bundle check --gemfile=Gemfile') || system!('bundle install --jobs=3 --retry=3 --gemfile=Gemfile')
|
14
|
-
system!('gem install gem_footprint_analyzer')
|