smart_engine 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -6
- data/CHANGELOG.md +11 -1
- data/Gemfile.lock +11 -11
- data/README.md +10 -0
- data/bin/console +1 -1
- data/lib/smart_core/engine/version.rb +2 -1
- data/lib/smart_core/errors.rb +4 -0
- data/smart_engine.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6541e8d5473adec2d2694952dc216c597868a1d18ec7c87f31d12f3d9bf0ae16
|
4
|
+
data.tar.gz: 4f1edf67c3389b91202778926243ff99c52280bad57a5a833888239a7f5e23cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71b7cc9b85346c7ed17281c0f50ddf5026cc6ad0b135087a1915fee6620be85019a1bdd0e79ec15ee5a14c8da207da84322ef297917ad1eb1956ec7b85b1b648
|
7
|
+
data.tar.gz: d7a4fabcc86cb65ef4309d99581d8a3f2c215164f7a405a0d6bf5ac5c0deeed5f6320c3b83530ccc6ef5b67bfe70d3d765289ae574b08dd3cf97428b6d4308b6
|
data/.travis.yml
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
language: ruby
|
3
3
|
cache: bundler
|
4
4
|
before_install: gem install bundler -v 2.1.2
|
5
|
+
os: linux
|
5
6
|
script:
|
6
7
|
- bundle exec rake rubocop
|
7
8
|
- bundle exec rake rspec
|
@@ -9,17 +10,11 @@ jobs:
|
|
9
10
|
fast_finish: true
|
10
11
|
include:
|
11
12
|
- rvm: 2.4.9
|
12
|
-
os: [linux, osx]
|
13
13
|
- rvm: 2.5.7
|
14
|
-
os: [linux, osx]
|
15
14
|
- rvm: 2.6.5
|
16
|
-
os: [linux, osx]
|
17
15
|
- rvm: 2.7.0
|
18
|
-
os: [linux, osx]
|
19
16
|
- rvm: ruby-head
|
20
|
-
os: [linux, osx]
|
21
17
|
- rvm: jruby-head
|
22
|
-
os: [linux, osx]
|
23
18
|
allow_failures:
|
24
19
|
- rvm: ruby-head
|
25
20
|
- rvm: jruby-head
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
## [0.3.0] -202-01-17
|
5
|
+
### Added
|
6
|
+
- Global error type `SmartCore::NameError` inherited from `::NameError`;
|
7
|
+
|
8
|
+
### Changed
|
9
|
+
- Actualized development dependencies;
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
- Invalid gem requirement in `bin/console`;
|
13
|
+
|
4
14
|
## [0.2.0] - 2020-01-02
|
5
15
|
### Changed
|
6
|
-
- `SmartCore::FrozenError` inherits classic `::FrozenError` behaviour for `Ruby >= 2.5.0` and old `::RuntimeError` behaviour for `Ruby < 2.5.0
|
16
|
+
- `SmartCore::FrozenError` inherits classic `::FrozenError` behaviour for `Ruby >= 2.5.0` and old `::RuntimeError` behaviour for `Ruby < 2.5.0`;
|
7
17
|
|
8
18
|
## [0.1.0] - 2020-01-02
|
9
19
|
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
smart_engine (0.
|
4
|
+
smart_engine (0.3.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
armitage-rubocop (0.
|
10
|
-
rubocop (= 0.
|
9
|
+
armitage-rubocop (0.79.0)
|
10
|
+
rubocop (= 0.79.0)
|
11
11
|
rubocop-performance (= 1.5.2)
|
12
12
|
rubocop-rails (= 2.4.1)
|
13
13
|
rubocop-rake (= 0.5.0)
|
@@ -20,12 +20,12 @@ GEM
|
|
20
20
|
json (2.3.0)
|
21
21
|
method_source (0.9.2)
|
22
22
|
parallel (1.19.1)
|
23
|
-
parser (2.7.0.
|
23
|
+
parser (2.7.0.2)
|
24
24
|
ast (~> 2.4.0)
|
25
25
|
pry (0.12.2)
|
26
26
|
coderay (~> 1.1.0)
|
27
27
|
method_source (~> 0.9.0)
|
28
|
-
rack (2.
|
28
|
+
rack (2.1.1)
|
29
29
|
rainbow (3.0.0)
|
30
30
|
rake (13.0.1)
|
31
31
|
rspec (3.9.0)
|
@@ -37,14 +37,14 @@ GEM
|
|
37
37
|
rspec-expectations (3.9.0)
|
38
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
39
39
|
rspec-support (~> 3.9.0)
|
40
|
-
rspec-mocks (3.9.
|
40
|
+
rspec-mocks (3.9.1)
|
41
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
42
42
|
rspec-support (~> 3.9.0)
|
43
|
-
rspec-support (3.9.
|
44
|
-
rubocop (0.
|
43
|
+
rspec-support (3.9.2)
|
44
|
+
rubocop (0.79.0)
|
45
45
|
jaro_winkler (~> 1.5.1)
|
46
46
|
parallel (~> 1.10)
|
47
|
-
parser (>= 2.
|
47
|
+
parser (>= 2.7.0.1)
|
48
48
|
rainbow (>= 2.2.2, < 4.0)
|
49
49
|
ruby-progressbar (~> 1.7)
|
50
50
|
unicode-display_width (>= 1.4.0, < 1.7)
|
@@ -63,13 +63,13 @@ GEM
|
|
63
63
|
json (>= 1.8, < 3)
|
64
64
|
simplecov-html (~> 0.10.0)
|
65
65
|
simplecov-html (0.10.2)
|
66
|
-
unicode-display_width (1.6.
|
66
|
+
unicode-display_width (1.6.1)
|
67
67
|
|
68
68
|
PLATFORMS
|
69
69
|
ruby
|
70
70
|
|
71
71
|
DEPENDENCIES
|
72
|
-
armitage-rubocop (~> 0.
|
72
|
+
armitage-rubocop (~> 0.79)
|
73
73
|
bundler (~> 2.1)
|
74
74
|
pry (~> 0.12)
|
75
75
|
rake (~> 13.0)
|
data/README.md
CHANGED
@@ -20,6 +20,16 @@ require 'smart_core'
|
|
20
20
|
|
21
21
|
---
|
22
22
|
|
23
|
+
## Technologies
|
24
|
+
|
25
|
+
- **Global set of error types**:
|
26
|
+
- `SmartCore::Error` (inherited from `::StandardError`);
|
27
|
+
- `SmartCore::ArgumentError` (inherited from `::ArgumentError`);
|
28
|
+
- `SmartCore::FrozenError` (inherited from `::FrozenError`);
|
29
|
+
- `SmartCore::NameError` (inherited from `::NameError`);
|
30
|
+
|
31
|
+
---
|
32
|
+
|
23
33
|
## Contributing
|
24
34
|
|
25
35
|
- Fork it ( https://github.com/smart-rb/smart_engine )
|
data/bin/console
CHANGED
data/lib/smart_core/errors.rb
CHANGED
data/smart_engine.gemspec
CHANGED
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_development_dependency 'bundler', '~> 2.1'
|
38
38
|
spec.add_development_dependency 'rake', '~> 13.0'
|
39
39
|
spec.add_development_dependency 'rspec', '~> 3.9'
|
40
|
-
spec.add_development_dependency 'armitage-rubocop', '~> 0.
|
40
|
+
spec.add_development_dependency 'armitage-rubocop', '~> 0.79'
|
41
41
|
spec.add_development_dependency 'simplecov', '~> 0.17'
|
42
42
|
spec.add_development_dependency 'pry', '~> 0.12'
|
43
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rustam Ibragimov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
61
|
+
version: '0.79'
|
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: '0.
|
68
|
+
version: '0.79'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|