decorations 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
  SHA256:
3
- metadata.gz: 8ed4a6a9ad2e293960710c49eb3f7f31a89229152b9f06e740306b51297436cf
4
- data.tar.gz: c32bc0c54335489f0ed27ea5d3dd1b6ad6b459f73081947fe3d4cd4f96cd7864
3
+ metadata.gz: c0478f2a6e231684f03d50f8f4e13ccba7afa372ac5c44215764fc6ee4f93da5
4
+ data.tar.gz: 39ea7341ddb532abdee65e484ee78b6dae3015a9f7998b94b90e6ae30f970c7c
5
5
  SHA512:
6
- metadata.gz: 94bb6c8548e46f8728c89cd787a07d6c4f8ea6eeec4ffa4a078d545b352d76a6b52a4c9c965979f2d626ee335c6fab2fdd36f2d561d7da4365d37ec0fc71edc8
7
- data.tar.gz: 8f9b6453d7ea75a91fb81a2d71776086c8e564f1b8d2db50cab03a3899891e2711d6c3d446943316136587c89c61f6b6681537b154961f81edb570702536e22d
6
+ metadata.gz: 74365496f68c9d7a225f01ecc81ff8baa308da472194b7509159ad5ab271149aaf5f78a11f492263eb8ce3167e6f867a0bfa1efd7d7f33c0e8e5f2108fbb2b92
7
+ data.tar.gz: 8de82fc3a517565492a7cf4d2327239140adaeeed90581a9cf8513e6c476444825f61ab1b3d52009cabee2e748ac9b6d317273bd3df6c7f2103631466b31aa04
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- decorations (0.1.1)
4
+ decorations (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Decorations
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/decorations.svg)](https://badge.fury.io/rb/decorations)
4
+ [![Build Status](https://travis-ci.org/watmin/Ruby-decorations.svg?branch=master)](https://travis-ci.org/watmin/Ruby-decorations)
5
+ [![Coverage Status](https://coveralls.io/repos/github/watmin/Ruby-decorations/badge.svg?branch=master)](https://coveralls.io/github/watmin/Ruby-decorations?branch=master)
6
+
3
7
  Python like decorators for Ruby. Inspired by Rack and previous attempts at decorations
4
8
 
5
9
  ## Installation
@@ -67,7 +67,7 @@ module Decorations
67
67
  # @api private
68
68
  def append_decorations(name, decorators, decorated_methods)
69
69
  decorators.each do |klass, args|
70
- decorated_methods[name] << klass.new(klass, instance_method(name), *args)
70
+ decorated_methods[name] << klass.new(self, instance_method(name), *args)
71
71
  end
72
72
  end
73
73
 
@@ -3,5 +3,5 @@
3
3
  module Decorations
4
4
  ##
5
5
  # The version of the Ruby-decorations gem
6
- VERSION = '0.1.1'
6
+ VERSION = '0.1.2'
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decorations
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
  - John Shields