njiuko-pwush 0.3.1 → 0.3.2

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: 60a9a2ea8e0265c8f275ca51a36f9b1517eaedf47862d70b46743a019af1bea9
4
- data.tar.gz: 811e46470701ee7345311d173f2a4896fd2edb2f8b6d8044404aadbbfd5cab66
3
+ metadata.gz: 8c247a8f9ad36d87cf5ebcfe27daf9814381952d9f81b8676c9d27a1eea0e87d
4
+ data.tar.gz: 75a2a22142118a6850f0e19517d4ce2379a025313e6902d536cf429670ee384a
5
5
  SHA512:
6
- metadata.gz: 1235a03026893de2de7e4c9c514075d131eb80ec5de457f9a051418ee8aff03afbe0830574d445a670de12d93e2e099390277d0d659a165bc2f765e932ddca5e
7
- data.tar.gz: 6a7cc440e151f4276f9e53e4b0118702cc73829c1a7df6e1e68e30c122099412a0f36c19b5e67ebef041f45abbff6c462ac9ab5f9070708d275626748f8cb4a8
6
+ metadata.gz: fb28679f896bfbf79da43feebb67d901f0ca8e3ae3d99fbaf574d2bebc3578cc48f6665d283956f7c6fc5beb5632d6970d0cf304404b6e6f3981358d999160a0
7
+ data.tar.gz: 2673a532abcefebdaaeece154dac34f9c2ffa302c5774e01147f0af59a801478950868392095c4b3d79704bf2fa79a66a5f5d66fccd54fd8ace41d70202fe550
@@ -0,0 +1,32 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+ pull_request:
14
+ branches: [ master ]
15
+
16
+ jobs:
17
+ test:
18
+
19
+ runs-on: ubuntu-latest
20
+ strategy:
21
+ matrix:
22
+ ruby-version: ['2.6', '2.7', '3.0']
23
+
24
+ steps:
25
+ - uses: actions/checkout@v2
26
+ - name: Set up Ruby
27
+ uses: ruby/setup-ruby@v1
28
+ with:
29
+ ruby-version: ${{ matrix.ruby-version }}
30
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
31
+ - name: Run tests
32
+ run: bundle exec rake
data/lib/pwush/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pwush
2
- VERSION = '0.3.1'.freeze
2
+ VERSION = '0.3.2'.freeze
3
3
  end
data/pwush.gemspec CHANGED
@@ -24,14 +24,14 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_dependency 'dry-monads', '~> 1.0'
26
26
  spec.add_dependency 'dry-struct', '~> 1.0'
27
- spec.add_dependency 'http', '~> 4.4'
27
+ spec.add_dependency 'http', '~> 5.0'
28
28
  spec.add_dependency 'oj', '~> 3'
29
29
 
30
- spec.add_development_dependency 'bundler', '~> 1.16'
30
+ spec.add_development_dependency 'bundler', '~> 2.2'
31
31
  spec.add_development_dependency 'pry-byebug', '~> 3.6'
32
- spec.add_development_dependency 'rake', '>= 12.3.3'
32
+ spec.add_development_dependency 'rake', '~> 13.0.6'
33
33
  spec.add_development_dependency 'rspec', '~> 3.0'
34
- spec.add_development_dependency 'rspec_junit_formatter', '~> 0.3'
35
- spec.add_development_dependency 'simplecov', '~> 0.16'
36
- spec.add_development_dependency 'webmock', '~> 3.0'
34
+ spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4'
35
+ spec.add_development_dependency 'simplecov', '~> 0.21'
36
+ spec.add_development_dependency 'webmock', '~> 3.14'
37
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: njiuko-pwush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Litvinov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-09-16 00:00:00.000000000 Z
12
+ date: 2021-09-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dry-monads
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '4.4'
48
+ version: '5.0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '4.4'
55
+ version: '5.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: oj
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -73,14 +73,14 @@ dependencies:
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '1.16'
76
+ version: '2.2'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '1.16'
83
+ version: '2.2'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: pry-byebug
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -99,16 +99,16 @@ dependencies:
99
99
  name: rake
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ">="
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: 12.3.3
104
+ version: 13.0.6
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ">="
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: 12.3.3
111
+ version: 13.0.6
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: rspec
114
114
  requirement: !ruby/object:Gem::Requirement
@@ -129,42 +129,42 @@ dependencies:
129
129
  requirements:
130
130
  - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '0.3'
132
+ version: '0.4'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '0.3'
139
+ version: '0.4'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: simplecov
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '0.16'
146
+ version: '0.21'
147
147
  type: :development
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '0.16'
153
+ version: '0.21'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: webmock
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: '3.0'
160
+ version: '3.14'
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: '3.0'
167
+ version: '3.14'
168
168
  description: Pushwoosh remote API ruby toolkit
169
169
  email:
170
170
  - beyondthemkad@gmail.com
@@ -175,7 +175,7 @@ executables:
175
175
  extensions: []
176
176
  extra_rdoc_files: []
177
177
  files:
178
- - ".circleci/config.yml"
178
+ - ".github/workflows/ruby.yml"
179
179
  - ".gitignore"
180
180
  - ".rspec"
181
181
  - ".ruby-version"
data/.circleci/config.yml DELETED
@@ -1,64 +0,0 @@
1
- version: 2.0
2
- defaults: &default_job
3
- working_directory: ~/repo
4
-
5
- docker:
6
- - image: circleci/ruby:2.4-node-browsers
7
-
8
- steps:
9
- - checkout
10
-
11
- # - type: cache-restore
12
- # name: Restore bundle cache
13
- # key: pwush-{{ checksum "Gemfile.lock" }}
14
-
15
- - run:
16
- name: install dependencies
17
- command: |
18
- bundle install --jobs=4 --retry=3 --path vendor/bundle
19
-
20
- # - type: cache-save
21
- # name: Store bundle cache
22
- # key: pwush-{{ checksum "Gemfile.lock" }}
23
- # paths:
24
- # - vendor/bundle
25
-
26
- - run:
27
- name: Download cc-test-reporter
28
- command: |
29
- mkdir -p tmp/
30
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./tmp/cc-test-reporter
31
- chmod +x ./tmp/cc-test-reporter
32
-
33
- - run:
34
- name: Run tests
35
- command: |
36
- bundle exec rake
37
- ./tmp/cc-test-reporter format-coverage -t simplecov -o tmp/codeclimate.json
38
-
39
- - run:
40
- name: Upload coverage results to Code Climate
41
- command: |
42
- ./tmp/cc-test-reporter upload-coverage -i tmp/codeclimate.json -r ce337e25b76b0c3048abfdb2d5aa6d3e87cc8540d90f0029ef7416683814732e
43
-
44
- jobs:
45
- ruby-2.4:
46
- <<: *default_job
47
- docker:
48
- - image: circleci/ruby:2.4-node-browsers
49
- ruby-2.5:
50
- <<: *default_job
51
- docker:
52
- - image: circleci/ruby:2.5-node-browsers
53
- ruby-2.6:
54
- <<: *default_job
55
- docker:
56
- - image: circleci/ruby:2.6-node-browsers
57
-
58
- workflows:
59
- version: 2
60
- multiple-rubies:
61
- jobs:
62
- - ruby-2.4
63
- - ruby-2.5
64
- - ruby-2.6