polist 0.1.2 → 0.2.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
  SHA1:
3
- metadata.gz: 59530803f30806d38aad0b2b2e37762dab03e78f
4
- data.tar.gz: 7924ccb32b0d0b7b7c3c37cf8c56ac5576fc51bc
3
+ metadata.gz: e3560bfc50da5328ae12a2b31ab6dbe3fc6fae2c
4
+ data.tar.gz: 23a7ed25314de50f230f5873f6c2d6cde85816b4
5
5
  SHA512:
6
- metadata.gz: 718ccf7c528203354af38782e24bb9389470c4aaceac911004bd07087159cc27bfecd7bb71d6a71937cd8e3a433fe1aeea5409c062c4c76e5d3874824cd4274b
7
- data.tar.gz: 947b3032b594965dbbb517a106adaf3c4be08070889eb879f5f113be5c6fb359188bc87b40b350a9123ede0b0925764cfbd8378b3f07d6aab5dceda5658b0be3
6
+ metadata.gz: e83b7700c5735d2504bbf5b1c5417a1df9afd40bdd0181e5f04eacf1a83c744c482ad924dfd638187f3226493ffcad252accccb1e886da19bdbe10b02faa4536
7
+ data.tar.gz: 23fa3ae5d10a43689b23d1a82862a81174600deab131c200e052520b36252a55f9dad99760a21cf2bd7f12451db59d4e3debfa666814d7de59f351b3dddcc317
@@ -4,7 +4,6 @@ AllCops:
4
4
  Exclude:
5
5
  - polist.gemspec
6
6
 
7
-
8
7
  # Layout
9
8
 
10
9
  Layout/AlignParameters:
@@ -22,6 +22,10 @@ module Polist
22
22
 
23
23
  attr_accessor :params
24
24
 
25
+ def self.inherited(klass)
26
+ klass.const_set(:Failure, Class.new(klass::Failure))
27
+ end
28
+
25
29
  def self.build(*args)
26
30
  new(*args)
27
31
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Polist
4
- VERSION = "0.1.2"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuri Smirnov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-06 00:00:00.000000000 Z
11
+ date: 2017-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tainbox
@@ -168,4 +168,3 @@ signing_key:
168
168
  specification_version: 4
169
169
  summary: A gem for creating simple service classes.
170
170
  test_files: []
171
- has_rdoc: