ffi-geos 2.1.0 → 2.3.1

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: c6489cba5533e2154d395430af2b57dedd195f431ab1ae63ef4a1be3307870d8
4
- data.tar.gz: dbb16e1d9215fc4319ea2bc1e3c4ad0e09d4680f9bb414305409510c52847eba
3
+ metadata.gz: cb538fc74121ad3a69c5e76990cadbbdeb65394b249f2a9d29baa81c27effbe0
4
+ data.tar.gz: 55371fd3931c952efcdd2a7fc0ba337d9baff3386b884b733529f7c9028a250a
5
5
  SHA512:
6
- metadata.gz: 270ba46d702eceb2bccf449530b95e31bcc47789737daed07de74923df4d30ca5e73f0408b9baf62a1e4e373c6dd0728bc13038aa833a00791e502d58f54f5f7
7
- data.tar.gz: 53e9981f5a55363b4aeaae90aa4edb3328cace0e909689f5673a65075e7fff6bb62704a4ce7aeab3514998818e51380b6ec31b9d12dd15f898f3627f5e1c439e
6
+ metadata.gz: efd983b0b469595f2103d2057411e8bcb6a01c2742d26d9b99fac2ddeeffb749d30d61be13a7e3b1838091c63cc68fe1e769bde26fce0df6ceb277df9550845f
7
+ data.tar.gz: cfcc398d7bc3243ee4519e7160a3c9ee0c8c16fe1aab2c9697b12ccd407ecf41e6972b4fb4554b9e3fb3d7dd9c75fc1e2d59f8214527759ae11bde85ab1dd0d3
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: FFI Geos
3
+ 'on':
4
+ push:
5
+ branches:
6
+ - master
7
+ - github-actions
8
+ pull_request:
9
+ jobs:
10
+ tests:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ ruby: [ '2.6', '2.7', '3.0', '3.1' ]
15
+ name: Ruby ${{ matrix.ruby }} tests
16
+ steps:
17
+ - name: Check out app
18
+ uses: actions/checkout@v2
19
+ with:
20
+ fetch-depth: 0
21
+ - name: Set up apt packages
22
+ run: sudo apt-get -yqq install libgeos-dev
23
+ - name: Set up Ruby
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: ${{ matrix.ruby }}
27
+ - name: Bundle install
28
+ run: |-
29
+ gem update --system
30
+ bundle install --path=.bundle --jobs 2 --retry 3
31
+ - name: Run Tests
32
+ env:
33
+ COVERAGE: 'true'
34
+ CI: 'true'
35
+ run: bundle exec rake test
36
+ - name: Fix coverage report
37
+ if: always()
38
+ run: sed -i "s/\/home\/runner\/work\/ffi-geos\/ffi-geos\//\/github\/workspace\//g" coverage/coverage.json || true
39
+ - name: Run rubocop
40
+ if: always()
41
+ env:
42
+ RAILS_ENV: test
43
+ run: bundle exec rubocop --parallel --format=json > rubocop-report.json || true
44
+ - name: Run SonarCloud
45
+ if: always()
46
+ uses: sonarsource/sonarcloud-github-action@master
47
+ env:
48
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
49
+ SONAR_TOKEN: "${{ secrets.SONAR_CLOUD_TOKEN }}"
@@ -0,0 +1,217 @@
1
+ Minitest:
2
+ Enabled: true
3
+ Include:
4
+ - '**/test/**/*'
5
+ - '**/*_test.rb'
6
+
7
+ Minitest/AssertEmpty:
8
+ Description: 'This cop enforces the test to use `assert_empty` instead of using `assert(object.empty?)`.'
9
+ StyleGuide: 'https://minitest.rubystyle.guide#assert-empty'
10
+ Enabled: true
11
+ VersionAdded: '0.2'
12
+
13
+ Minitest/AssertEmptyLiteral:
14
+ Description: 'This cop enforces the test to use `assert_empty` instead of using `assert_equal([], object)`.'
15
+ Enabled: true
16
+ VersionAdded: '0.5'
17
+ VersionChanged: '0.11'
18
+
19
+ Minitest/AssertEqual:
20
+ Description: 'This cop enforces the test to use `assert_equal` instead of using `assert(expected == actual)`.'
21
+ StyleGuide: 'https://minitest.rubystyle.guide#assert-equal-arguments-order'
22
+ Enabled: true
23
+ VersionAdded: '0.4'
24
+
25
+ Minitest/AssertInDelta:
26
+ Description: 'This cop enforces the test to use `assert_in_delta` instead of using `assert_equal` to compare floats.'
27
+ StyleGuide: 'https://minitest.rubystyle.guide/#assert-in-delta'
28
+ Enabled: true
29
+ VersionAdded: '0.10'
30
+
31
+ Minitest/AssertionInLifecycleHook:
32
+ Description: 'This cop checks for usage of assertions in lifecycle hooks.'
33
+ Enabled: true
34
+ VersionAdded: '0.10'
35
+
36
+ Minitest/AssertMatch:
37
+ Description: 'This cop enforces the test to use `assert_match` instead of using `assert(matcher.match(object))`.'
38
+ StyleGuide: 'https://minitest.rubystyle.guide#assert-match'
39
+ Enabled: true
40
+ VersionAdded: '0.6'
41
+
42
+ Minitest/AssertIncludes:
43
+ Description: 'This cop enforces the test to use `assert_includes` instead of using `assert(collection.include?(object))`.'
44
+ StyleGuide: 'https://minitest.rubystyle.guide#assert-includes'
45
+ Enabled: true
46
+ VersionAdded: '0.2'
47
+
48
+ Minitest/AssertInstanceOf:
49
+ Description: 'This cop enforces the test to use `assert_instance_of(Class, object)` over `assert(object.instance_of?(Class))`'
50
+ StyleGuide: 'https://minitest.rubystyle.guide#assert-instance-of'
51
+ Enabled: true
52
+ VersionAdded: '0.4'
53
+
54
+ Minitest/AssertKindOf:
55
+ Description: 'This cop enforces the test to use `assert_kind_of(Class, object)` over `assert(object.kind_of?(Class))`'
56
+ StyleGuide: 'https://github.com/rubocop/minitest-style-guide#assert-kind-of'
57
+ Enabled: true
58
+ VersionAdded: '0.10'
59
+
60
+ Minitest/AssertNil:
61
+ Description: 'This cop enforces the test to use `assert_nil` instead of using `assert_equal(nil, something)` or `assert(something.nil?)`.'
62
+ StyleGuide: 'https://minitest.rubystyle.guide#assert-nil'
63
+ Enabled: true
64
+ VersionAdded: '0.1'
65
+
66
+ Minitest/AssertOutput:
67
+ Description: 'This cop checks for opportunities to use `assert_output`.'
68
+ StyleGuide: 'https://minitest.rubystyle.guide/#assert-output'
69
+ Enabled: true
70
+ VersionAdded: '0.10'
71
+
72
+ Minitest/AssertPathExists:
73
+ Description: 'This cop enforces the test to use `assert_path_exists` instead of using `assert(File.exist?(path))`.'
74
+ StyleGuide: 'https://minitest.rubystyle.guide/#assert-path-exists'
75
+ Enabled: true
76
+ VersionAdded: '0.10'
77
+
78
+ Minitest/AssertRespondTo:
79
+ Description: 'This cop enforces the test to use `assert_respond_to(object, :do_something)` over `assert(object.respond_to?(:do_something))`.'
80
+ StyleGuide: 'https://minitest.rubystyle.guide#assert-responds-to-method'
81
+ Enabled: true
82
+ VersionAdded: '0.3'
83
+
84
+ Minitest/AssertSilent:
85
+ Description: "This cop enforces the test to use `assert_silent { ... }` instead of using `assert_output('', '') { ... }`."
86
+ StyleGuide: 'https://github.com/rubocop/minitest-style-guide#assert-silent'
87
+ Enabled: true
88
+ VersionAdded: '0.10'
89
+
90
+ Minitest/AssertTruthy:
91
+ Description: 'This cop enforces the test to use `assert(actual)` instead of using `assert_equal(true, actual)`.'
92
+ StyleGuide: 'https://minitest.rubystyle.guide#assert-truthy'
93
+ Enabled: true
94
+ VersionAdded: '0.2'
95
+
96
+ Minitest/AssertWithExpectedArgument:
97
+ Description: 'This cop tries to detect when a user accidentally used `assert` when they meant to use `assert_equal`.'
98
+ Enabled: true
99
+ Safe: false
100
+ VersionAdded: '0.11'
101
+
102
+ Minitest/GlobalExpectations:
103
+ Description: 'This cop checks for deprecated global expectations.'
104
+ StyleGuide: 'https://minitest.rubystyle.guide#global-expectations'
105
+ Enabled: true
106
+ EnforcedStyle: any
107
+ Include:
108
+ - '**/test/**/*'
109
+ - '**/*_test.rb'
110
+ - '**/spec/**/*'
111
+ - '**/*_spec.rb'
112
+ SupportedStyles:
113
+ - _
114
+ - any
115
+ - expect
116
+ - value
117
+ VersionAdded: '0.7'
118
+ VersionChanged: '0.16'
119
+
120
+ Minitest/LiteralAsActualArgument:
121
+ Description: 'This cop enforces correct order of `expected` and `actual` arguments for `assert_equal`.'
122
+ StyleGuide: 'https://minitest.rubystyle.guide/#assert-equal-arguments-order'
123
+ Enabled: true
124
+ VersionAdded: '0.10'
125
+
126
+ Minitest/MultipleAssertions:
127
+ Description: 'This cop checks if test cases contain too many assertion calls.'
128
+ Enabled: true
129
+ VersionAdded: '0.10'
130
+ Max: 3
131
+
132
+ Minitest/NoAssertions:
133
+ Description: 'This cop checks for at least one assertion (or flunk) in tests.'
134
+ Enabled: false
135
+ VersionAdded: '0.12'
136
+
137
+ Minitest/RefuteEmpty:
138
+ Description: 'This cop enforces to use `refute_empty` instead of using `refute(object.empty?)`.'
139
+ StyleGuide: 'https://minitest.rubystyle.guide#refute-empty'
140
+ Enabled: true
141
+ VersionAdded: '0.3'
142
+
143
+ Minitest/RefuteEqual:
144
+ Description: 'Check if your test uses `refute_equal` instead of `assert(expected != object)` or `assert(! expected == object))`.'
145
+ StyleGuide: 'https://minitest.rubystyle.guide#refute-equal'
146
+ Enabled: true
147
+ VersionAdded: '0.3'
148
+
149
+ Minitest/RefuteFalse:
150
+ Description: 'Check if your test uses `refute(actual)` instead of `assert_equal(false, actual)`.'
151
+ StyleGuide: 'https://minitest.rubystyle.guide#refute-false'
152
+ Enabled: true
153
+ VersionAdded: '0.3'
154
+
155
+ Minitest/RefuteInDelta:
156
+ Description: 'This cop enforces the test to use `refute_in_delta` instead of using `refute_equal` to compare floats.'
157
+ StyleGuide: 'https://minitest.rubystyle.guide/#refute-in-delta'
158
+ Enabled: true
159
+ VersionAdded: '0.10'
160
+
161
+ Minitest/RefuteIncludes:
162
+ Description: 'This cop enforces the test to use `refute_includes` instead of using `refute(collection.include?(object))`.'
163
+ StyleGuide: 'https://minitest.rubystyle.guide#refute-includes'
164
+ Enabled: true
165
+ VersionAdded: '0.3'
166
+
167
+ Minitest/RefuteMatch:
168
+ Description: 'This cop enforces the test to use `refute_match` instead of using `refute(matcher.match(object))`.'
169
+ StyleGuide: 'https://minitest.rubystyle.guide#refute-match'
170
+ Enabled: true
171
+ VersionAdded: '0.6'
172
+
173
+ Minitest/RefuteInstanceOf:
174
+ Description: 'This cop enforces the test to use `refute_instance_of(Class, object)` over `refute(object.instance_of?(Class))`.'
175
+ StyleGuide: 'https://minitest.rubystyle.guide#refute-instance-of'
176
+ Enabled: true
177
+ VersionAdded: '0.4'
178
+
179
+ Minitest/RefuteKindOf:
180
+ Description: 'This cop enforces the test to use `refute_kind_of(Class, object)` over `refute(object.kind_of?(Class))`.'
181
+ StyleGuide: 'https://github.com/rubocop/minitest-style-guide#refute-kind-of'
182
+ Enabled: true
183
+ VersionAdded: '0.10'
184
+
185
+ Minitest/RefuteNil:
186
+ Description: 'This cop enforces the test to use `refute_nil` instead of using `refute_equal(nil, something)` or `refute(something.nil?)`.'
187
+ StyleGuide: 'https://minitest.rubystyle.guide#refute-nil'
188
+ Enabled: true
189
+ VersionAdded: '0.2'
190
+
191
+ Minitest/RefutePathExists:
192
+ Description: 'This cop enforces the test to use `refute_path_exists` instead of using `refute(File.exist?(path))`.'
193
+ StyleGuide: 'https://minitest.rubystyle.guide/#refute-path-exists'
194
+ Enabled: true
195
+ VersionAdded: '0.10'
196
+
197
+ Minitest/RefuteRespondTo:
198
+ Description: 'This cop enforces the test to use `refute_respond_to(object, :do_something)` over `refute(object.respond_to?(:do_something))`.'
199
+ StyleGuide: 'https://minitest.rubystyle.guide#refute-respond-to'
200
+ Enabled: true
201
+ VersionAdded: '0.4'
202
+
203
+ Minitest/TestMethodName:
204
+ Description: 'This cop enforces that test method names start with `test_` prefix.'
205
+ Enabled: true
206
+ VersionAdded: '0.10'
207
+
208
+ Minitest/UnreachableAssertion:
209
+ Description: 'This cop checks for an `assert_raises` block containing any unreachable assertions.'
210
+ Enabled: true
211
+ VersionAdded: '0.14'
212
+
213
+ Minitest/UnspecifiedException:
214
+ Description: 'This cop checks for a specified error in `assert_raises`.'
215
+ StyleGuide: 'https://minitest.rubystyle.guide#unspecified-exception'
216
+ Enabled: true
217
+ VersionAdded: '0.10'