rom-factory 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +0,0 @@
1
- # this file is managed by rom-rb/devtools project
2
-
3
- version: "2"
4
-
5
- exclude_patterns:
6
- - "benchmarks/"
7
- - "examples/"
8
- - "spec/"
9
-
10
- plugins:
11
- rubocop:
12
- enabled: true
@@ -1,118 +0,0 @@
1
- name: ci
2
-
3
- on:
4
- push:
5
- paths:
6
- - .github/workflows/ci.yml
7
- - lib/**
8
- - spec/**
9
- - Gemfile
10
- - "*.gemspec"
11
- pull_request:
12
- branches:
13
- - master
14
-
15
- jobs:
16
- tests-mri:
17
- runs-on: ubuntu-latest
18
- services:
19
- db:
20
- image: postgres:10.8
21
- env:
22
- POSTGRES_USER: runner
23
- POSTGRES_PASSWORD: ""
24
- POSTGRES_DB: rom_factory
25
- ports:
26
- - 5432:5432
27
- # needed because the postgres container does not provide a healthcheck
28
- options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
29
- strategy:
30
- fail-fast: false
31
- matrix:
32
- ruby: ["2.6.x", "2.5.x", "2.4.x"]
33
- appraisal: ["faker_1", "faker_2"]
34
- include:
35
- - ruby: "2.6.x"
36
- coverage: "true"
37
- steps:
38
- - uses: actions/checkout@v1
39
- - name: Install dependencies
40
- run: sudo apt-get install -y --no-install-recommends libpq-dev
41
- - name: Set up Ruby
42
- uses: actions/setup-ruby@v1
43
- with:
44
- ruby-version: ${{matrix.ruby}}
45
- - name: Install bundler
46
- run: gem install bundler
47
- - name: Bundle
48
- env:
49
- BUNDLE_GEMFILE: gemfiles/${{matrix.appraisal}}.gemfile
50
- run: bundle install --jobs 4 --retry 3 --without tools docs benchmarks
51
- - name: Run all tests
52
- env:
53
- COVERAGE: ${{matrix.coverage}}
54
- BUNDLE_GEMFILE: gemfiles/${{matrix.appraisal}}.gemfile
55
- run: bundle exec rake
56
- - name: Download test reporter
57
- if: "matrix.coverage == 'true'"
58
- env:
59
- CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
60
- run: |
61
- [ "$CC_TEST_REPORTER_ID" = "" ] && exit 0
62
- mkdir -p tmp/
63
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./tmp/cc-test-reporter
64
- chmod +x ./tmp/cc-test-reporter
65
- ./tmp/cc-test-reporter before-build
66
- - name: Send coverage results
67
- if: "matrix.coverage == 'true'"
68
- env:
69
- CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
70
- GIT_COMMIT_SHA: ${{github.sha}}
71
- GIT_BRANCH: ${{github.ref}}
72
- GIT_COMMITTED_AT: ${{github.event.head_commit.timestamp}}
73
- run: |
74
- [ "$CC_TEST_REPORTER_ID" = "" ] && exit 0
75
- GIT_BRANCH=`ruby -e "puts ENV['GITHUB_REF'].split('/', 3).last"` \
76
- GIT_COMMITTED_AT=`ruby -r time -e "puts Time.iso8601(ENV['GIT_COMMITTED_AT']).to_i"` \
77
- ./tmp/cc-test-reporter after-build
78
-
79
- tests-others:
80
- runs-on: ubuntu-latest
81
- services:
82
- db:
83
- image: postgres:10.8
84
- env:
85
- POSTGRES_USER: root
86
- POSTGRES_PASSWORD: ""
87
- POSTGRES_DB: rom_factory
88
- ports:
89
- - 5432:5432
90
- # needed because the postgres container does not provide a healthcheck
91
- options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
92
- strategy:
93
- fail-fast: false
94
- matrix:
95
- image: ["jruby:9.2.9", "ruby:rc"]
96
- include:
97
- - image: "jruby:9.2.9"
98
- database_url: "jdbc:postgresql://db/rom_factory"
99
- - image: "ruby:rc"
100
- database_url: "postgres://db/rom_factory"
101
- container:
102
- image: ${{matrix.image}}
103
- steps:
104
- - uses: actions/checkout@v1
105
- - name: Install git
106
- run: |
107
- apt-get update
108
- apt-get install -y --no-install-recommends git
109
- - name: Install dependencies
110
- run: apt-get install -y --no-install-recommends libpq-dev
111
- - name: Install bundler
112
- run: gem install bundler
113
- - name: Bundle
114
- run: bundle install --jobs 4 --retry 3 --without tools docs benchmarks
115
- - name: Run all tests
116
- run: bundle exec rake
117
- env:
118
- DATABASE_URL: ${{matrix.database_url}}
@@ -1,34 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rake", "~> 12.0"
6
- gem "rspec", "~> 3.0"
7
- gem "rom", branch: "master", git: "https://github.com/rom-rb/rom"
8
- gem "faker", "~> 1.7"
9
-
10
- group :test do
11
- gem "rom-sql", github: "rom-rb/rom-sql", branch: "master"
12
- gem "inflecto"
13
- gem "pry-byebug", platforms: :mri
14
- gem "pry", platforms: :jruby
15
- gem "codeclimate-test-reporter"
16
- gem "simplecov"
17
- gem "pg", "~> 0.21", platforms: [:mri, :truffleruby]
18
- gem "jdbc-postgres", platforms: :jruby
19
- gem "warning"
20
- end
21
-
22
- group :tools do
23
- gem "byebug", platform: :mri
24
- gem "redcarpet"
25
- end
26
-
27
- group :benchmarks do
28
- gem "activerecord"
29
- gem "benchmark-ips"
30
- gem "factory_bot"
31
- gem "fabrication"
32
- end
33
-
34
- gemspec path: "../"
@@ -1,178 +0,0 @@
1
- GIT
2
- remote: https://github.com/rom-rb/rom
3
- revision: 3db318e22550d17ce21e14a035329b33c7e6f5d5
4
- branch: master
5
- specs:
6
- rom (5.1.2)
7
- rom-changeset (~> 5.1)
8
- rom-core (~> 5.1, >= 5.1.2)
9
- rom-repository (~> 5.1)
10
- rom-changeset (5.1.2)
11
- dry-core (~> 0.4)
12
- rom-core (~> 5.1, >= 5.1.2)
13
- transproc (~> 1.0, >= 1.1.0)
14
- rom-core (5.1.2)
15
- concurrent-ruby (~> 1.1)
16
- dry-container (~> 0.7)
17
- dry-core (~> 0.4)
18
- dry-equalizer (~> 0.2)
19
- dry-inflector (~> 0.1)
20
- dry-initializer (~> 3.0, >= 3.0.1)
21
- dry-struct (~> 1.0)
22
- dry-types (~> 1.0)
23
- transproc (~> 1.0, >= 1.1.0)
24
- rom-repository (5.1.2)
25
- dry-core (~> 0.4)
26
- dry-initializer (~> 3.0, >= 3.0.1)
27
- rom-core (~> 5.1, >= 5.1.2)
28
-
29
- GIT
30
- remote: https://github.com/rom-rb/rom-sql.git
31
- revision: b678e410eef1a608e48613120c30ccee6c02ab7f
32
- branch: master
33
- specs:
34
- rom-sql (3.1.0)
35
- dry-core (~> 0.4)
36
- dry-equalizer (~> 0.2)
37
- dry-types (~> 1.0)
38
- rom-core (~> 5.0, >= 5.0.1)
39
- sequel (>= 4.49)
40
-
41
- PATH
42
- remote: ..
43
- specs:
44
- rom-factory (0.10.0)
45
- dry-configurable (~> 0.7)
46
- dry-core (~> 0.4)
47
- faker (>= 1.7, < 3.0)
48
- rom-core (~> 5.0)
49
-
50
- GEM
51
- remote: https://rubygems.org/
52
- specs:
53
- activemodel (6.0.2)
54
- activesupport (= 6.0.2)
55
- activerecord (6.0.2)
56
- activemodel (= 6.0.2)
57
- activesupport (= 6.0.2)
58
- activesupport (6.0.2)
59
- concurrent-ruby (~> 1.0, >= 1.0.2)
60
- i18n (>= 0.7, < 2)
61
- minitest (~> 5.1)
62
- tzinfo (~> 1.1)
63
- zeitwerk (~> 2.2)
64
- appraisal (2.2.0)
65
- bundler
66
- rake
67
- thor (>= 0.14.0)
68
- benchmark-ips (2.7.2)
69
- byebug (11.0.1)
70
- codeclimate-test-reporter (1.0.9)
71
- simplecov (<= 0.13)
72
- coderay (1.1.2)
73
- concurrent-ruby (1.1.5)
74
- diff-lcs (1.3)
75
- docile (1.1.5)
76
- dry-configurable (0.9.0)
77
- concurrent-ruby (~> 1.0)
78
- dry-core (~> 0.4, >= 0.4.7)
79
- dry-container (0.7.2)
80
- concurrent-ruby (~> 1.0)
81
- dry-configurable (~> 0.1, >= 0.1.3)
82
- dry-core (0.4.9)
83
- concurrent-ruby (~> 1.0)
84
- dry-equalizer (0.3.0)
85
- dry-inflector (0.2.0)
86
- dry-initializer (3.0.2)
87
- dry-logic (1.0.5)
88
- concurrent-ruby (~> 1.0)
89
- dry-core (~> 0.2)
90
- dry-equalizer (~> 0.2)
91
- dry-struct (1.2.0)
92
- dry-core (~> 0.4, >= 0.4.3)
93
- dry-equalizer (~> 0.3)
94
- dry-types (~> 1.0)
95
- ice_nine (~> 0.11)
96
- dry-types (1.2.2)
97
- concurrent-ruby (~> 1.0)
98
- dry-container (~> 0.3)
99
- dry-core (~> 0.4, >= 0.4.4)
100
- dry-equalizer (~> 0.3)
101
- dry-inflector (~> 0.1, >= 0.1.2)
102
- dry-logic (~> 1.0, >= 1.0.2)
103
- fabrication (2.21.0)
104
- factory_bot (5.1.1)
105
- activesupport (>= 4.2.0)
106
- faker (1.9.6)
107
- i18n (>= 0.7)
108
- i18n (1.7.0)
109
- concurrent-ruby (~> 1.0)
110
- ice_nine (0.11.2)
111
- inflecto (0.0.2)
112
- json (2.3.0)
113
- method_source (0.9.2)
114
- minitest (5.13.0)
115
- pg (0.21.0)
116
- pry (0.12.2)
117
- coderay (~> 1.1.0)
118
- method_source (~> 0.9.0)
119
- pry-byebug (3.7.0)
120
- byebug (~> 11.0)
121
- pry (~> 0.10)
122
- rake (12.3.3)
123
- redcarpet (3.5.0)
124
- rspec (3.9.0)
125
- rspec-core (~> 3.9.0)
126
- rspec-expectations (~> 3.9.0)
127
- rspec-mocks (~> 3.9.0)
128
- rspec-core (3.9.0)
129
- rspec-support (~> 3.9.0)
130
- rspec-expectations (3.9.0)
131
- diff-lcs (>= 1.2.0, < 2.0)
132
- rspec-support (~> 3.9.0)
133
- rspec-mocks (3.9.0)
134
- diff-lcs (>= 1.2.0, < 2.0)
135
- rspec-support (~> 3.9.0)
136
- rspec-support (3.9.0)
137
- sequel (5.27.0)
138
- simplecov (0.13.0)
139
- docile (~> 1.1.0)
140
- json (>= 1.8, < 3)
141
- simplecov-html (~> 0.10.0)
142
- simplecov-html (0.10.2)
143
- thor (1.0.0)
144
- thread_safe (0.3.6)
145
- transproc (1.1.1)
146
- tzinfo (1.2.5)
147
- thread_safe (~> 0.1)
148
- warning (0.10.1)
149
- zeitwerk (2.2.2)
150
-
151
- PLATFORMS
152
- ruby
153
-
154
- DEPENDENCIES
155
- activerecord
156
- appraisal
157
- benchmark-ips
158
- byebug
159
- codeclimate-test-reporter
160
- fabrication
161
- factory_bot
162
- faker (~> 1.7)
163
- inflecto
164
- jdbc-postgres
165
- pg (~> 0.21)
166
- pry
167
- pry-byebug
168
- rake (~> 12.0)
169
- redcarpet
170
- rom!
171
- rom-factory!
172
- rom-sql!
173
- rspec (~> 3.0)
174
- simplecov
175
- warning
176
-
177
- BUNDLED WITH
178
- 2.1.2
@@ -1,34 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rake", "~> 12.0"
6
- gem "rspec", "~> 3.0"
7
- gem "rom", branch: "master", git: "https://github.com/rom-rb/rom"
8
- gem "faker", "~> 2.8"
9
-
10
- group :test do
11
- gem "rom-sql", github: "rom-rb/rom-sql", branch: "master"
12
- gem "inflecto"
13
- gem "pry-byebug", platforms: :mri
14
- gem "pry", platforms: :jruby
15
- gem "codeclimate-test-reporter"
16
- gem "simplecov"
17
- gem "pg", "~> 0.21", platforms: [:mri, :truffleruby]
18
- gem "jdbc-postgres", platforms: :jruby
19
- gem "warning"
20
- end
21
-
22
- group :tools do
23
- gem "byebug", platform: :mri
24
- gem "redcarpet"
25
- end
26
-
27
- group :benchmarks do
28
- gem "activerecord"
29
- gem "benchmark-ips"
30
- gem "factory_bot"
31
- gem "fabrication"
32
- end
33
-
34
- gemspec path: "../"
@@ -1,178 +0,0 @@
1
- GIT
2
- remote: https://github.com/rom-rb/rom
3
- revision: 3db318e22550d17ce21e14a035329b33c7e6f5d5
4
- branch: master
5
- specs:
6
- rom (5.1.2)
7
- rom-changeset (~> 5.1)
8
- rom-core (~> 5.1, >= 5.1.2)
9
- rom-repository (~> 5.1)
10
- rom-changeset (5.1.2)
11
- dry-core (~> 0.4)
12
- rom-core (~> 5.1, >= 5.1.2)
13
- transproc (~> 1.0, >= 1.1.0)
14
- rom-core (5.1.2)
15
- concurrent-ruby (~> 1.1)
16
- dry-container (~> 0.7)
17
- dry-core (~> 0.4)
18
- dry-equalizer (~> 0.2)
19
- dry-inflector (~> 0.1)
20
- dry-initializer (~> 3.0, >= 3.0.1)
21
- dry-struct (~> 1.0)
22
- dry-types (~> 1.0)
23
- transproc (~> 1.0, >= 1.1.0)
24
- rom-repository (5.1.2)
25
- dry-core (~> 0.4)
26
- dry-initializer (~> 3.0, >= 3.0.1)
27
- rom-core (~> 5.1, >= 5.1.2)
28
-
29
- GIT
30
- remote: https://github.com/rom-rb/rom-sql.git
31
- revision: b678e410eef1a608e48613120c30ccee6c02ab7f
32
- branch: master
33
- specs:
34
- rom-sql (3.1.0)
35
- dry-core (~> 0.4)
36
- dry-equalizer (~> 0.2)
37
- dry-types (~> 1.0)
38
- rom-core (~> 5.0, >= 5.0.1)
39
- sequel (>= 4.49)
40
-
41
- PATH
42
- remote: ..
43
- specs:
44
- rom-factory (0.10.0)
45
- dry-configurable (~> 0.7)
46
- dry-core (~> 0.4)
47
- faker (>= 1.7, < 3.0)
48
- rom-core (~> 5.0)
49
-
50
- GEM
51
- remote: https://rubygems.org/
52
- specs:
53
- activemodel (6.0.2)
54
- activesupport (= 6.0.2)
55
- activerecord (6.0.2)
56
- activemodel (= 6.0.2)
57
- activesupport (= 6.0.2)
58
- activesupport (6.0.2)
59
- concurrent-ruby (~> 1.0, >= 1.0.2)
60
- i18n (>= 0.7, < 2)
61
- minitest (~> 5.1)
62
- tzinfo (~> 1.1)
63
- zeitwerk (~> 2.2)
64
- appraisal (2.2.0)
65
- bundler
66
- rake
67
- thor (>= 0.14.0)
68
- benchmark-ips (2.7.2)
69
- byebug (11.0.1)
70
- codeclimate-test-reporter (1.0.9)
71
- simplecov (<= 0.13)
72
- coderay (1.1.2)
73
- concurrent-ruby (1.1.5)
74
- diff-lcs (1.3)
75
- docile (1.1.5)
76
- dry-configurable (0.9.0)
77
- concurrent-ruby (~> 1.0)
78
- dry-core (~> 0.4, >= 0.4.7)
79
- dry-container (0.7.2)
80
- concurrent-ruby (~> 1.0)
81
- dry-configurable (~> 0.1, >= 0.1.3)
82
- dry-core (0.4.9)
83
- concurrent-ruby (~> 1.0)
84
- dry-equalizer (0.3.0)
85
- dry-inflector (0.2.0)
86
- dry-initializer (3.0.2)
87
- dry-logic (1.0.5)
88
- concurrent-ruby (~> 1.0)
89
- dry-core (~> 0.2)
90
- dry-equalizer (~> 0.2)
91
- dry-struct (1.2.0)
92
- dry-core (~> 0.4, >= 0.4.3)
93
- dry-equalizer (~> 0.3)
94
- dry-types (~> 1.0)
95
- ice_nine (~> 0.11)
96
- dry-types (1.2.2)
97
- concurrent-ruby (~> 1.0)
98
- dry-container (~> 0.3)
99
- dry-core (~> 0.4, >= 0.4.4)
100
- dry-equalizer (~> 0.3)
101
- dry-inflector (~> 0.1, >= 0.1.2)
102
- dry-logic (~> 1.0, >= 1.0.2)
103
- fabrication (2.21.0)
104
- factory_bot (5.1.1)
105
- activesupport (>= 4.2.0)
106
- faker (2.8.1)
107
- i18n (>= 1.6, < 1.8)
108
- i18n (1.7.0)
109
- concurrent-ruby (~> 1.0)
110
- ice_nine (0.11.2)
111
- inflecto (0.0.2)
112
- json (2.3.0)
113
- method_source (0.9.2)
114
- minitest (5.13.0)
115
- pg (0.21.0)
116
- pry (0.12.2)
117
- coderay (~> 1.1.0)
118
- method_source (~> 0.9.0)
119
- pry-byebug (3.7.0)
120
- byebug (~> 11.0)
121
- pry (~> 0.10)
122
- rake (12.3.3)
123
- redcarpet (3.5.0)
124
- rspec (3.9.0)
125
- rspec-core (~> 3.9.0)
126
- rspec-expectations (~> 3.9.0)
127
- rspec-mocks (~> 3.9.0)
128
- rspec-core (3.9.0)
129
- rspec-support (~> 3.9.0)
130
- rspec-expectations (3.9.0)
131
- diff-lcs (>= 1.2.0, < 2.0)
132
- rspec-support (~> 3.9.0)
133
- rspec-mocks (3.9.0)
134
- diff-lcs (>= 1.2.0, < 2.0)
135
- rspec-support (~> 3.9.0)
136
- rspec-support (3.9.0)
137
- sequel (5.27.0)
138
- simplecov (0.13.0)
139
- docile (~> 1.1.0)
140
- json (>= 1.8, < 3)
141
- simplecov-html (~> 0.10.0)
142
- simplecov-html (0.10.2)
143
- thor (1.0.0)
144
- thread_safe (0.3.6)
145
- transproc (1.1.1)
146
- tzinfo (1.2.5)
147
- thread_safe (~> 0.1)
148
- warning (0.10.1)
149
- zeitwerk (2.2.2)
150
-
151
- PLATFORMS
152
- ruby
153
-
154
- DEPENDENCIES
155
- activerecord
156
- appraisal
157
- benchmark-ips
158
- byebug
159
- codeclimate-test-reporter
160
- fabrication
161
- factory_bot
162
- faker (~> 2.8)
163
- inflecto
164
- jdbc-postgres
165
- pg (~> 0.21)
166
- pry
167
- pry-byebug
168
- rake (~> 12.0)
169
- redcarpet
170
- rom!
171
- rom-factory!
172
- rom-sql!
173
- rspec (~> 3.0)
174
- simplecov
175
- warning
176
-
177
- BUNDLED WITH
178
- 2.1.2