truemail-rspec 0.8.0 → 0.9.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: 79d57916c2608c249cb6c13d364831ee48439257815cc9b48cb7ce1a9716351c
4
- data.tar.gz: 1aed32b995f032784eeead13ae9e388bcf7318ac53c8abc4b9dc144d3753a183
3
+ metadata.gz: b68145a74875be431a5f7e366dd3b4ed8968dded925e5c05e437020b0c6b3d23
4
+ data.tar.gz: 56f12f82acb53ea75c5ab619073cf9e003c6694d06622074c94a4214b31762a4
5
5
  SHA512:
6
- metadata.gz: 7f39045807f4faa8af25e74ef68fd58c9f94e639102a52ed1d2c3a8e23b5a79d95deb5e3d23868e076b0c65857778643c0e3643920d6b7474d9e18cb57d91bfa
7
- data.tar.gz: aa7ac217cb456f932fa1f03d0f21f93a5ceb96eae4cd10d4c34ad67e176385f069ac078d95770c9869c95f9a0c6f243a50e9399b60768cfe2057e1e78c65a06e
6
+ metadata.gz: dc6467e4217e81a6a4e7a839ec158185351bd06df073825556cb005f880a28806863be833842c15d49796d09f33ee63c70d8ebe7833cf6bde35f4c684b2b8d55
7
+ data.tar.gz: a14eeb327a6f7ab5d67614fa623ea7e1411f972172fd433ad83aa8649fe6ce4b4200e25f60ab6dce7bab6c25fae2ec998ad780cdf73ee640333180f6e93e1aad
data/.circleci/config.yml CHANGED
@@ -34,6 +34,12 @@ references:
34
34
  curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
35
35
  chmod +x ./cc-test-reporter
36
36
 
37
+ use_latest_gemspec: &use_latest_gemspec
38
+ run:
39
+ name: Using latest gemspec
40
+ command: |
41
+ cp .circleci/gemspec_latest truemail-rspec.gemspec
42
+
37
43
  use_compatible_gemspec: &use_compatible_gemspec
38
44
  run:
39
45
  name: Use compatible gemspec
@@ -51,6 +57,7 @@ jobs:
51
57
  steps:
52
58
  - checkout
53
59
 
60
+ - <<: *use_latest_gemspec
54
61
  - <<: *restore_bundle_cache
55
62
  - <<: *bundle_install
56
63
  - <<: *save_bundle_cache
@@ -71,6 +78,7 @@ jobs:
71
78
  steps:
72
79
  - checkout
73
80
 
81
+ - <<: *use_latest_gemspec
74
82
  - <<: *restore_bundle_cache
75
83
  - <<: *bundle_install
76
84
  - <<: *save_bundle_cache
@@ -107,7 +115,7 @@ jobs:
107
115
  - checkout
108
116
  - <<: *use_compatible_gemspec
109
117
  - ruby/install-deps:
110
- bundler-version: "2.3.5"
118
+ bundler-version: "2.3.7"
111
119
  with-cache: false
112
120
  path: './vendor/custom_bundle'
113
121
  - run:
@@ -39,5 +39,4 @@ Gem::Specification.new do |spec|
39
39
  spec.add_development_dependency 'pry-byebug', '~> 3.9'
40
40
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
41
41
  spec.add_development_dependency 'rspec', '~> 3.10'
42
- spec.add_development_dependency 'simplecov', '~> 0.17.1'
43
42
  end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = ::File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'truemail/rspec/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'truemail-rspec'
9
+ spec.version = Truemail::RSpec::VERSION
10
+ spec.authors = ['Vladislav Trotsenko']
11
+ spec.email = ['admin@bestweb.com.ua']
12
+
13
+ spec.summary = %(truemail-rspec)
14
+ spec.description = %(Truemail RSpec helpers)
15
+
16
+ spec.homepage = 'https://github.com/truemail-rb/truemail-rspec'
17
+ spec.license = 'MIT'
18
+
19
+ spec.metadata = {
20
+ 'homepage_uri' => 'https://truemail-rb.org',
21
+ 'changelog_uri' => 'https://github.com/truemail-rb/truemail-rspec/blob/master/CHANGELOG.md',
22
+ 'source_code_uri' => 'https://github.com/truemail-rb/truemail-rspec',
23
+ 'documentation_uri' => 'https://truemail-rb.org/truemail-rspec',
24
+ 'bug_tracker_uri' => 'https://github.com/truemail-rb/truemail-rspec/issues'
25
+ }
26
+
27
+ spec.required_ruby_version = '>= 2.5.0'
28
+
29
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
30
+ spec.bindir = 'exe'
31
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| ::File.basename(f) }
32
+ spec.require_paths = ['lib']
33
+
34
+ spec.add_runtime_dependency 'ffaker', '~> 2.20'
35
+ spec.add_runtime_dependency 'net-smtp', '~> 0.3.1'
36
+ spec.add_runtime_dependency 'rspec', '~> 3.11'
37
+ spec.add_runtime_dependency 'truemail', '~> 2.6', '>= 2.6.2'
38
+
39
+ spec.add_development_dependency 'bundler-audit', '~> 0.9.0.1'
40
+ spec.add_development_dependency 'fasterer', '~> 0.9.0'
41
+ spec.add_development_dependency 'ffaker', '~> 2.20'
42
+ spec.add_development_dependency 'overcommit', '~> 0.58.0'
43
+ spec.add_development_dependency 'pry-byebug', '~> 3.9'
44
+ spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
45
+ spec.add_development_dependency 'reek', '~> 6.1'
46
+ spec.add_development_dependency 'rspec', '~> 3.11'
47
+ spec.add_development_dependency 'rubocop', '~> 1.25', '>= 1.25.1'
48
+ spec.add_development_dependency 'rubocop-performance', '~> 1.13', '>= 1.13.2'
49
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.8'
50
+ spec.add_development_dependency 'simplecov', '~> 0.21.2'
51
+ end
@@ -0,0 +1,26 @@
1
+ # Development environment guide
2
+
3
+ ## Preparing
4
+
5
+ Clone `truemail-rspec` repository:
6
+
7
+ ```bash
8
+ git clone https://github.com/truemail-rb/truemail-rspec.git
9
+ cd truemail-rspec
10
+ ```
11
+
12
+ Configure latest Ruby environment:
13
+
14
+ ```bash
15
+ echo 'ruby-3.1.1' > .ruby-version
16
+ cp .circleci/gemspec_latest truemail.gemspec
17
+ ```
18
+
19
+ ## Commiting
20
+
21
+ Commit your changes excluding `.ruby-version`, `truemail.gemspec`
22
+
23
+ ```bash
24
+ git add . ':!.ruby-version' ':!truemail.gemspec'
25
+ git commit -m 'Your new awesome truemail feature'
26
+ ```
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1.0
1
+ ruby-2.5.0
data/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
4
 
5
+ ## [0.9.0] - 2022-02-23
6
+
7
+ ### Added
8
+
9
+ - Added development environment guide docs
10
+
11
+ ### Updated
12
+
13
+ - Updated gem runtime dependencies
14
+ - Updated gem development dependencies
15
+ - Updated minimal Ruby version for RubyGems environment
16
+ - Updated CircleCI configs
17
+ - Updated contributing guide
18
+
5
19
  ## [0.8.0] - 2022-01-25
6
20
 
7
21
  ### Updated
data/CONTRIBUTING.md CHANGED
@@ -42,5 +42,7 @@ Guidelines for pull requests:
42
42
  2. Fork the repo, checkout to `develop` branch
43
43
  3. Run the tests. This is to make sure your starting point works
44
44
  4. Read our [branch naming convention](.github/BRANCH_NAMING_CONVENTION.md)
45
- 5. Create a new branch and make your changes. This includes tests for features!
46
- 6. Push to your fork and submit a pull request to `develop` branch
45
+ 5. Create a new branch
46
+ 6. Read our [setup development environment guide](.github/DEVELOPMENT_ENVIRONMENT_GUIDE.md)
47
+ 7. Make your changes. Please note that your PR should include tests for the new codebase!
48
+ 9. Push to your fork and submit a pull request to `develop` branch
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Truemail
4
4
  module RSpec
5
- VERSION = '0.8.0'
5
+ VERSION = '0.9.0'
6
6
  end
7
7
  end
@@ -32,20 +32,11 @@ Gem::Specification.new do |spec|
32
32
  spec.require_paths = ['lib']
33
33
 
34
34
  spec.add_runtime_dependency 'ffaker', '~> 2.20'
35
- spec.add_runtime_dependency 'net-smtp', '~> 0.3'
36
- spec.add_runtime_dependency 'rspec', '~> 3.10'
35
+ spec.add_runtime_dependency 'net-smtp', '~> 0.3.1' if ::RUBY_VERSION >= '3.1.0'
36
+ spec.add_runtime_dependency 'rspec', '~> 3.11'
37
37
  spec.add_runtime_dependency 'truemail', '~> 2.6', '>= 2.6.2'
38
38
 
39
- spec.add_development_dependency 'bundler-audit', '~> 0.9.0.1'
40
- spec.add_development_dependency 'fasterer', '~> 0.9.0'
41
39
  spec.add_development_dependency 'ffaker', '~> 2.20'
42
- spec.add_development_dependency 'overcommit', '~> 0.58.0'
43
- spec.add_development_dependency 'pry-byebug', '~> 3.9'
44
40
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
45
- spec.add_development_dependency 'reek', '~> 6.1'
46
- spec.add_development_dependency 'rspec', '~> 3.10'
47
- spec.add_development_dependency 'rubocop', '~> 1.25'
48
- spec.add_development_dependency 'rubocop-performance', '~> 1.13', '>= 1.13.2'
49
- spec.add_development_dependency 'rubocop-rspec', '~> 2.8'
50
- spec.add_development_dependency 'simplecov', '~> 0.17.1'
41
+ spec.add_development_dependency 'rspec', '~> 3.11'
51
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: truemail-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladislav Trotsenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-25 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffaker
@@ -24,34 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.20'
27
- - !ruby/object:Gem::Dependency
28
- name: net-smtp
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.3'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '0.3'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rspec
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: '3.10'
33
+ version: '3.11'
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '3.10'
40
+ version: '3.11'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: truemail
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,34 +58,6 @@ dependencies:
72
58
  - - ">="
73
59
  - !ruby/object:Gem::Version
74
60
  version: 2.6.2
75
- - !ruby/object:Gem::Dependency
76
- name: bundler-audit
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: 0.9.0.1
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: 0.9.0.1
89
- - !ruby/object:Gem::Dependency
90
- name: fasterer
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: 0.9.0
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: 0.9.0
103
61
  - !ruby/object:Gem::Dependency
104
62
  name: ffaker
105
63
  requirement: !ruby/object:Gem::Requirement
@@ -114,34 +72,6 @@ dependencies:
114
72
  - - "~>"
115
73
  - !ruby/object:Gem::Version
116
74
  version: '2.20'
117
- - !ruby/object:Gem::Dependency
118
- name: overcommit
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: 0.58.0
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: 0.58.0
131
- - !ruby/object:Gem::Dependency
132
- name: pry-byebug
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '3.9'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '3.9'
145
75
  - !ruby/object:Gem::Dependency
146
76
  name: rake
147
77
  requirement: !ruby/object:Gem::Requirement
@@ -162,96 +92,20 @@ dependencies:
162
92
  - - ">="
163
93
  - !ruby/object:Gem::Version
164
94
  version: 13.0.6
165
- - !ruby/object:Gem::Dependency
166
- name: reek
167
- requirement: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - "~>"
170
- - !ruby/object:Gem::Version
171
- version: '6.1'
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - "~>"
177
- - !ruby/object:Gem::Version
178
- version: '6.1'
179
95
  - !ruby/object:Gem::Dependency
180
96
  name: rspec
181
97
  requirement: !ruby/object:Gem::Requirement
182
98
  requirements:
183
99
  - - "~>"
184
100
  - !ruby/object:Gem::Version
185
- version: '3.10'
186
- type: :development
187
- prerelease: false
188
- version_requirements: !ruby/object:Gem::Requirement
189
- requirements:
190
- - - "~>"
191
- - !ruby/object:Gem::Version
192
- version: '3.10'
193
- - !ruby/object:Gem::Dependency
194
- name: rubocop
195
- requirement: !ruby/object:Gem::Requirement
196
- requirements:
197
- - - "~>"
198
- - !ruby/object:Gem::Version
199
- version: '1.25'
200
- type: :development
201
- prerelease: false
202
- version_requirements: !ruby/object:Gem::Requirement
203
- requirements:
204
- - - "~>"
205
- - !ruby/object:Gem::Version
206
- version: '1.25'
207
- - !ruby/object:Gem::Dependency
208
- name: rubocop-performance
209
- requirement: !ruby/object:Gem::Requirement
210
- requirements:
211
- - - "~>"
212
- - !ruby/object:Gem::Version
213
- version: '1.13'
214
- - - ">="
215
- - !ruby/object:Gem::Version
216
- version: 1.13.2
217
- type: :development
218
- prerelease: false
219
- version_requirements: !ruby/object:Gem::Requirement
220
- requirements:
221
- - - "~>"
222
- - !ruby/object:Gem::Version
223
- version: '1.13'
224
- - - ">="
225
- - !ruby/object:Gem::Version
226
- version: 1.13.2
227
- - !ruby/object:Gem::Dependency
228
- name: rubocop-rspec
229
- requirement: !ruby/object:Gem::Requirement
230
- requirements:
231
- - - "~>"
232
- - !ruby/object:Gem::Version
233
- version: '2.8'
234
- type: :development
235
- prerelease: false
236
- version_requirements: !ruby/object:Gem::Requirement
237
- requirements:
238
- - - "~>"
239
- - !ruby/object:Gem::Version
240
- version: '2.8'
241
- - !ruby/object:Gem::Dependency
242
- name: simplecov
243
- requirement: !ruby/object:Gem::Requirement
244
- requirements:
245
- - - "~>"
246
- - !ruby/object:Gem::Version
247
- version: 0.17.1
101
+ version: '3.11'
248
102
  type: :development
249
103
  prerelease: false
250
104
  version_requirements: !ruby/object:Gem::Requirement
251
105
  requirements:
252
106
  - - "~>"
253
107
  - !ruby/object:Gem::Version
254
- version: 0.17.1
108
+ version: '3.11'
255
109
  description: Truemail RSpec helpers
256
110
  email:
257
111
  - admin@bestweb.com.ua
@@ -261,8 +115,10 @@ extra_rdoc_files: []
261
115
  files:
262
116
  - ".circleci/config.yml"
263
117
  - ".circleci/gemspec_compatible"
118
+ - ".circleci/gemspec_latest"
264
119
  - ".codeclimate.yml"
265
120
  - ".github/BRANCH_NAMING_CONVENTION.md"
121
+ - ".github/DEVELOPMENT_ENVIRONMENT_GUIDE.md"
266
122
  - ".github/ISSUE_TEMPLATE/bug_report.md"
267
123
  - ".github/ISSUE_TEMPLATE/feature_request.md"
268
124
  - ".github/ISSUE_TEMPLATE/issue_report.md"
@@ -314,7 +170,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
314
170
  - !ruby/object:Gem::Version
315
171
  version: '0'
316
172
  requirements: []
317
- rubygems_version: 3.3.3
173
+ rubyforge_project:
174
+ rubygems_version: 2.7.3
318
175
  signing_key:
319
176
  specification_version: 4
320
177
  summary: truemail-rspec