abstractize 0.1.1 → 0.1.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
  SHA1:
3
- metadata.gz: f1e2773034d97aff98a400951fb8a484c135aa9b
4
- data.tar.gz: b715e7e5ed5204bd0f03f3d83b0aa58471285852
3
+ metadata.gz: 7af474adc7423d4e7a73aea13160cd9d90071fb4
4
+ data.tar.gz: 94ce1ac032dc1421865e4a5a6ce123d27451326b
5
5
  SHA512:
6
- metadata.gz: d50361a3e8c8df8b4d742b2e42d8344c2a5732fed356057e7f8a9e3e797560e869df1eb172c7e1ae0bcfde845e70b66415f91bb4b31cb2dd98e7f74168fdcdd9
7
- data.tar.gz: 758ad0a94643af82471358cafcdccdb3e3c0c3c1dba0e6f4f0abdc027aecd4ffb6fd73214337464dcee89ad75113d0d7cb73d31d3b2fb25dd8d1ab6541ea7551
6
+ metadata.gz: 60e85d89776d9ddcb5534b87f6255ad63d2b8889fc2c11b7e0c53f35c86106dead61e2bb1f62170e7dcce7538d494d111b7926580074fcd9c0f0b2e47fb2d246
7
+ data.tar.gz: a10819f0a1242e997afc152d6a5adcdc134e0ca54d13481dbfdeb455a1e3d33a5fdca714ae03b16bcd68ea6361f2ca4896100a00b5d933245b2d9f6f7acbbe83
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /vendor/bundle/
@@ -1 +1 @@
1
- 2.2.0
1
+ 2.3.1
@@ -1,3 +1,2 @@
1
1
  language: ruby
2
- rvm:
3
- - 2.2.1
2
+ script: bundle exec rspec
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Abstractize
2
2
 
3
+ [![Build Status](https://travis-ci.org/jreinert/abstractize.svg?branch=development)](https://travis-ci.org/jreinert/abstractize)
4
+
3
5
  A simple mixin for abstract class functionality in ruby
4
6
 
5
7
  ## Installation
@@ -14,9 +14,8 @@ module Abstractize
14
14
 
15
15
  def abstract_new(base)
16
16
  lambda do |*args|
17
- instance = super(*args)
18
17
  fail AbstractError, "cannot instanciate #{name}" if self == base
19
- instance
18
+ super(*args)
20
19
  end
21
20
  end
22
21
 
@@ -1,3 +1,3 @@
1
1
  module Abstractize
2
- VERSION = "0.1.1"
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abstractize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Reinert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-19 00:00:00.000000000 Z
11
+ date: 2016-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.4.5
125
+ rubygems_version: 2.5.1
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: Simple mixin to provide abstract class functionality