restful_resource 2.12.1 → 2.13.0

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: 6d99c38a79730e832e99b155798ae920f45eed26dd44435ce71efcb58fd6094c
4
- data.tar.gz: 46ea4b63768ee7cf60ee5aa33fe02c96f5e715e6512d0a0cff38483ff975325b
3
+ metadata.gz: cec2e659ed71ca619e9330f081ea3fca44f3c8c81f99b64c61da09fdfb10eba3
4
+ data.tar.gz: 3bb1d23623d56833ccd47633322b198acae8167cd60a55112fcd5e3a93f73ec4
5
5
  SHA512:
6
- metadata.gz: fc155eb1cd1fd0d3e70654dd6d5b4b6824409533f8d3d72a0aed79eca56501b8eea9745732fb7fd26406df9051edfde3a20fe31e9042666cfe1b7f8e47b7a735
7
- data.tar.gz: 9f7bb0b92f5dcff2161547829cc4b798d00e5ac1a614559e6785dee231a0a4552e54998d927c8d947dba005e555b81144eba8f78e8e5eabee707ea70aff2c422
6
+ metadata.gz: 9c4c9daef6e98629a3cbfd5dff8def60dec64c9c9dcc2c98522a27936fffa898f8621c56dbbc535327e4560bb3481618bf3d7c450084a61cfd8b74fa92881b90
7
+ data.tar.gz: 2be3a33eefb0985c586ccdd42dcbc8dce6cd0b62bc0789eab7f0fbc50d150d032da23daf8893ace5cd79b4a51d546f1ef5ffc0b4b501d909fce5cdbf5eef9395
data/.circleci/config.yml CHANGED
@@ -1,29 +1,28 @@
1
- version: 2
1
+ version: 2.1
2
+
2
3
  jobs:
3
- build:
4
+ test:
5
+ parameters:
6
+ ruby:
7
+ type: string
4
8
  docker:
5
- - image: circleci/ruby:2.7
9
+ - image: cimg/ruby:<< parameters.ruby >>
6
10
  steps:
7
11
  - checkout
12
+ - run: bundle install
8
13
  - run:
9
- name: Bundle Install
10
- command: |
11
- gem install bundler && \
12
- bundle check || bundle install
13
- - run:
14
- name: Run rspec in parallel
14
+ name: rspec
15
15
  command: |
16
- bundle exec rspec --profile 10 \
17
- --format RspecJunitFormatter \
18
- --out test_results/rspec.xml \
19
- --format progress \
20
- $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
16
+ bundle exec rspec --format progress \
17
+ --format RspecJunitFormatter --out test-results/rspec.xml
21
18
  - store_test_results:
22
- path: test_results
23
-
19
+ path: test-results
24
20
 
25
21
  workflows:
26
22
  version: 2
27
- build:
23
+ test:
28
24
  jobs:
29
- - build
25
+ - test:
26
+ matrix:
27
+ parameters:
28
+ ruby: ['2.7', '3.0']
@@ -0,0 +1,23 @@
1
+ version: 2
2
+ registries:
3
+ rubygems-server-rubygems-pkg-github-com-carwow:
4
+ type: rubygems-server
5
+ url: https://rubygems.pkg.github.com/carwow
6
+ username: "${{secrets.RUBYGEMS_SERVER_RUBYGEMS_PKG_GITHUB_COM_CARWOW_USERNAME}}"
7
+ password: "${{secrets.RUBYGEMS_SERVER_RUBYGEMS_PKG_GITHUB_COM_CARWOW_PASSWORD}}"
8
+
9
+ updates:
10
+ - package-ecosystem: bundler
11
+ directory: "/"
12
+ schedule:
13
+ interval: daily
14
+ time: "09:00"
15
+ open-pull-requests-limit: 10
16
+ ignore:
17
+ - dependency-name: activesupport
18
+ versions:
19
+ - 6.1.2
20
+ - 6.1.2.1
21
+ - 6.1.3
22
+ registries:
23
+ - rubygems-server-rubygems-pkg-github-com-carwow
data/.gitignore CHANGED
@@ -18,3 +18,4 @@ tmp
18
18
  *.swp
19
19
  *.swo
20
20
  /tags
21
+ /Gemfile.lock
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ 2.13.0
4
+ ---
5
+
6
+ - Require ruby >= 2.7
7
+
3
8
  2.10.0
4
9
  ---
5
10
 
@@ -1,3 +1,3 @@
1
1
  module RestfulResource
2
- VERSION = '2.12.1'.freeze
2
+ VERSION = '2.13.0'.freeze
3
3
  end
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ['lib']
19
- spec.required_ruby_version = Gem::Requirement.new('>= 2.4.0')
19
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
20
20
 
21
21
  spec.add_development_dependency 'bundler'
22
22
  spec.add_development_dependency 'carwow_rubocop'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restful_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.1
4
+ version: 2.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Santoro
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-04-06 00:00:00.000000000 Z
12
+ date: 2021-11-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -246,12 +246,12 @@ extra_rdoc_files: []
246
246
  files:
247
247
  - ".circleci/config.yml"
248
248
  - ".codeclimate.yml"
249
+ - ".github/dependabot.yml"
249
250
  - ".gitignore"
250
251
  - ".rubocop.yml"
251
252
  - ".rubocop_todo.yml"
252
253
  - CHANGELOG.md
253
254
  - Gemfile
254
- - Gemfile.lock
255
255
  - LICENSE.txt
256
256
  - README.md
257
257
  - Rakefile
@@ -299,14 +299,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
299
299
  requirements:
300
300
  - - ">="
301
301
  - !ruby/object:Gem::Version
302
- version: 2.4.0
302
+ version: 2.7.0
303
303
  required_rubygems_version: !ruby/object:Gem::Requirement
304
304
  requirements:
305
305
  - - ">="
306
306
  - !ruby/object:Gem::Version
307
307
  version: '0'
308
308
  requirements: []
309
- rubygems_version: 3.1.2
309
+ rubygems_version: 3.1.4
310
310
  signing_key:
311
311
  specification_version: 4
312
312
  summary: A simple activerecord inspired rest resource base class implemented using
data/Gemfile.lock DELETED
@@ -1,123 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- restful_resource (2.12.1)
5
- activesupport (~> 6.0)
6
- faraday (~> 1.0)
7
- faraday-cdn-metrics (~> 0.2)
8
- faraday-encoding
9
- faraday-http-cache (~> 2.2)
10
- faraday_middleware (~> 1.0)
11
- link_header
12
- rack (~> 2.2)
13
- typhoeus (~> 1.4)
14
-
15
- GEM
16
- remote: https://rubygems.org/
17
- specs:
18
- activesupport (6.1.3.1)
19
- concurrent-ruby (~> 1.0, >= 1.0.2)
20
- i18n (>= 1.6, < 2)
21
- minitest (>= 5.1)
22
- tzinfo (~> 2.0)
23
- zeitwerk (~> 2.3)
24
- ast (2.4.1)
25
- carwow_rubocop (3.4.1)
26
- rubocop (>= 0.93)
27
- rubocop-performance
28
- rubocop-rspec
29
- coderay (1.1.3)
30
- concurrent-ruby (1.1.8)
31
- diff-lcs (1.4.4)
32
- ethon (0.12.0)
33
- ffi (>= 1.3.0)
34
- faraday (1.3.0)
35
- faraday-net_http (~> 1.0)
36
- multipart-post (>= 1.2, < 3)
37
- ruby2_keywords
38
- faraday-cdn-metrics (0.2.0)
39
- faraday (~> 1)
40
- faraday-encoding (0.0.5)
41
- faraday
42
- faraday-http-cache (2.2.0)
43
- faraday (>= 0.8)
44
- faraday-net_http (1.0.1)
45
- faraday_middleware (1.0.0)
46
- faraday (~> 1.0)
47
- ffi (1.15.0)
48
- i18n (1.8.10)
49
- concurrent-ruby (~> 1.0)
50
- link_header (0.0.8)
51
- method_source (1.0.0)
52
- minitest (5.14.4)
53
- multipart-post (2.1.1)
54
- parallel (1.20.0)
55
- parser (2.7.2.0)
56
- ast (~> 2.4.1)
57
- pry (0.14.0)
58
- coderay (~> 1.1)
59
- method_source (~> 1.0)
60
- rack (2.2.3)
61
- rainbow (3.0.0)
62
- rake (13.0.3)
63
- regexp_parser (1.8.2)
64
- rexml (3.2.4)
65
- rspec (3.10.0)
66
- rspec-core (~> 3.10.0)
67
- rspec-expectations (~> 3.10.0)
68
- rspec-mocks (~> 3.10.0)
69
- rspec-core (3.10.0)
70
- rspec-support (~> 3.10.0)
71
- rspec-expectations (3.10.0)
72
- diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.10.0)
74
- rspec-its (1.3.0)
75
- rspec-core (>= 3.0.0)
76
- rspec-expectations (>= 3.0.0)
77
- rspec-mocks (3.10.0)
78
- diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.10.0)
80
- rspec-support (3.10.0)
81
- rspec_junit_formatter (0.4.1)
82
- rspec-core (>= 2, < 4, != 2.12.0)
83
- rubocop (1.3.0)
84
- parallel (~> 1.10)
85
- parser (>= 2.7.1.5)
86
- rainbow (>= 2.2.2, < 4.0)
87
- regexp_parser (>= 1.8)
88
- rexml
89
- rubocop-ast (>= 1.1.1)
90
- ruby-progressbar (~> 1.7)
91
- unicode-display_width (>= 1.4.0, < 2.0)
92
- rubocop-ast (1.1.1)
93
- parser (>= 2.7.1.5)
94
- rubocop-performance (1.8.1)
95
- rubocop (>= 0.87.0)
96
- rubocop-ast (>= 0.4.0)
97
- rubocop-rspec (2.0.0)
98
- rubocop (~> 1.0)
99
- rubocop-ast (>= 1.1.0)
100
- ruby-progressbar (1.10.1)
101
- ruby2_keywords (0.0.4)
102
- typhoeus (1.4.0)
103
- ethon (>= 0.9.0)
104
- tzinfo (2.0.4)
105
- concurrent-ruby (~> 1.0)
106
- unicode-display_width (1.7.0)
107
- zeitwerk (2.4.2)
108
-
109
- PLATFORMS
110
- ruby
111
-
112
- DEPENDENCIES
113
- bundler
114
- carwow_rubocop
115
- pry
116
- rake
117
- restful_resource!
118
- rspec
119
- rspec-its
120
- rspec_junit_formatter
121
-
122
- BUNDLED WITH
123
- 2.1.4