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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70cda20326ebd513f16c9d3ff9529b56f7e083b85a4843fe3f7640e7b8d1da1c
4
- data.tar.gz: 416c6ec9229b668b3cd6dbe779c99a80afe34debbc8d70dc9c0ac3c6d318348b
3
+ metadata.gz: 6541e8d5473adec2d2694952dc216c597868a1d18ec7c87f31d12f3d9bf0ae16
4
+ data.tar.gz: 4f1edf67c3389b91202778926243ff99c52280bad57a5a833888239a7f5e23cf
5
5
  SHA512:
6
- metadata.gz: 7fa576346189eaaaaa0e48818ee0688904c900792449c6595ca8885f428a18f345ab24b7257b4cc0c5b0b0842c9383e5d885572d37220b1a0a9dcaf5c6ccc11a
7
- data.tar.gz: 7386071b2ed63e7760747b8c7f0c5cbf01a78fc4f7e3c8442ac9c4139c924bd07300943383105589327c9b68365012829e9c9a7eac617f9455c44cc6f159ca0c
6
+ metadata.gz: 71b7cc9b85346c7ed17281c0f50ddf5026cc6ad0b135087a1915fee6620be85019a1bdd0e79ec15ee5a14c8da207da84322ef297917ad1eb1956ec7b85b1b648
7
+ data.tar.gz: d7a4fabcc86cb65ef4309d99581d8a3f2c215164f7a405a0d6bf5ac5c0deeed5f6320c3b83530ccc6ef5b67bfe70d3d765289ae574b08dd3cf97428b6d4308b6
@@ -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
@@ -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
 
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smart_engine (0.2.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.78.0)
10
- rubocop (= 0.78.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.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.0.8)
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.0)
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.1)
44
- rubocop (0.78.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.6)
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.0)
66
+ unicode-display_width (1.6.1)
67
67
 
68
68
  PLATFORMS
69
69
  ruby
70
70
 
71
71
  DEPENDENCIES
72
- armitage-rubocop (~> 0.78)
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 )
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  require 'bundler/setup'
5
- require 'smart_engine'
5
+ require 'smart_core'
6
6
 
7
7
  require 'pry'
8
8
  Pry.start
@@ -6,6 +6,7 @@ module SmartCore
6
6
  #
7
7
  # @api public
8
8
  # @since 0.1.0
9
- VERSION = '0.2.0'
9
+ # @version 0.3.0
10
+ VERSION = '0.3.0'
10
11
  end
11
12
  end
@@ -9,6 +9,10 @@ module SmartCore
9
9
  # @since 0.1.0
10
10
  ArgumentError = Class.new(::ArgumentError)
11
11
 
12
+ # @api public
13
+ # @since 0.3.0
14
+ NameError = Class.new(::NameError)
15
+
12
16
  # @api public
13
17
  # @since 0.2.0
14
18
  FrozenError = begin # rubocop:disable Naming/ConstantName
@@ -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.78'
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.2.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-02 00:00:00.000000000 Z
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.78'
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.78'
68
+ version: '0.79'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement