performify 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0573239c81cad59742fbf5afe8fd585ac76a0d945f894ce0e851b122c9855f55'
4
- data.tar.gz: 4fc0dc9f782369644bded7f1fdaadca51f76e5f4f537e968586202030bed333d
3
+ metadata.gz: d13a5e97cc5534c7f85d91d1b3e65ec55830f2006bfda7ac57940c6ad7e30c9d
4
+ data.tar.gz: 34cd73abe679e97577581f43357c3e1727aaad45671bf6a778cddda32f7c9559
5
5
  SHA512:
6
- metadata.gz: f29227a1c1f0b01dd87b8a723657b14894a95eda87260a55474a7cc95d427b701dce33df8ab38d03b6364724628d2992ac9b35de9359693da3aaa616b5816f70
7
- data.tar.gz: 1e88826c4a4c59e820bfedfc50511e3a6d8f9c903e84e61f13a47b39373c3d10718cac9e78fdf1eb3612a4e21891d8e51d1eb26a6a18d41fb8281a7be2799c98
6
+ metadata.gz: a2e9e69d59d859c2951fa56a1d235c70fcbc35b254872ee56f5354982f3a7b277458c276e3c4f5d440e81faec855b61146aa8dbf2c9ce4713cd6951b28c62f1d
7
+ data.tar.gz: 076cb868c4d988383084001ff445e80677012dc7f2a28c2b82366576252fd4b5125b3e5d13e682a794771a0b70e66cef294b9952d94804a207a82a649264ea6e
@@ -0,0 +1,25 @@
1
+ name: Test
2
+ on:
3
+ push:
4
+ branches:
5
+ - master
6
+
7
+ pull_request:
8
+ branches:
9
+ - master
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+
17
+ - uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 2.7.2
20
+ bundler-cache: true
21
+
22
+ - name: Test
23
+ run: |
24
+ bundle exec rspec --format progress
25
+
@@ -0,0 +1 @@
1
+ 2.7.0
@@ -5,3 +5,7 @@
5
5
  This version is switching performify from version `0.12.0` of `dry-validation` to `dry-schema` of version `1.4` which means breaking changes:
6
6
 
7
7
  - Because additional options are not supported by `dry-schema` (or at least I have not found this support in the source code) we were forced to drop them as well. So, from now you can't use `current_user` in your schemas by default because it's not being passed implicitly.
8
+
9
+ ## 1.0.1
10
+
11
+ This version has all dependencies updated to latest version. We also switched automated testing from Circle CI (which was failing) to Github Action.
@@ -1,3 +1,3 @@
1
1
  module Performify
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.2'.freeze
3
3
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency "dry-schema", "~> 1.5"
28
28
 
29
29
  spec.add_development_dependency "sqlite3", "~> 1.4"
30
- spec.add_development_dependency "bundler", "~> 2.1.2"
30
+ spec.add_development_dependency "bundler", ">= 2.2"
31
31
  spec.add_development_dependency "rake", "~> 12.3.3"
32
32
  spec.add_development_dependency "rspec", "~> 3.5"
33
33
  spec.add_development_dependency "rubocop", "~> 0.48"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: performify
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
  - Sergey Tsvetkov
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-19 00:00:00.000000000 Z
11
+ date: 2021-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 2.1.2
61
+ version: '2.2'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 2.1.2
68
+ version: '2.2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -144,10 +144,11 @@ executables: []
144
144
  extensions: []
145
145
  extra_rdoc_files: []
146
146
  files:
147
- - ".circleci/config.yml"
147
+ - ".github/workflows/test.yml"
148
148
  - ".gitignore"
149
149
  - ".rspec"
150
150
  - ".rubocop.yml"
151
+ - ".ruby-version"
151
152
  - CHANGELOG.md
152
153
  - Gemfile
153
154
  - LICENSE.txt
@@ -168,7 +169,7 @@ homepage: https://github.com/kimrgrey/performify
168
169
  licenses:
169
170
  - MIT
170
171
  metadata: {}
171
- post_install_message:
172
+ post_install_message:
172
173
  rdoc_options: []
173
174
  require_paths:
174
175
  - lib
@@ -184,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
185
  version: '0'
185
186
  requirements: []
186
187
  rubygems_version: 3.1.2
187
- signing_key:
188
+ signing_key:
188
189
  specification_version: 4
189
190
  summary: Service classes that makes your life easier
190
191
  test_files: []
@@ -1,43 +0,0 @@
1
- version: 2
2
- jobs:
3
- build:
4
- docker:
5
- - image: circleci/ruby:2.4.1-node-browsers
6
-
7
- working_directory: ~/repo
8
-
9
- steps:
10
- - checkout
11
-
12
- - restore_cache:
13
- keys:
14
- - performify-dependencies-{{ checksum "performify.gemspec" }}
15
- - performify-dependencies-
16
-
17
- - run:
18
- name: install dependencies
19
- command: |
20
- bundle install --jobs=4 --retry=3 --path vendor/bundle
21
-
22
- - save_cache:
23
- paths:
24
- - ./vendor/bundle
25
- key: performify-dependencies-{{ checksum "performify.gemspec" }}
26
-
27
- - run:
28
- name: run tests
29
- command: |
30
- mkdir /tmp/test-results
31
- TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
32
-
33
- bundle exec rspec --format progress \
34
- --format RspecJunitFormatter \
35
- --out /tmp/test-results/rspec.xml \
36
- --format progress \
37
- $TEST_FILES
38
-
39
- - store_test_results:
40
- path: /tmp/test-results
41
- - store_artifacts:
42
- path: /tmp/test-results
43
- destination: test-results